users@glassfish.java.net

Synchronization errors in Glassfish SSH Cluster Setup

From: <forums_at_java.net>
Date: Fri, 17 Feb 2012 04:36:23 -0600 (CST)

Hi out there.

My name is basti, I'm the new one ;-)

I think I am a advanced glassfish user, but this error drives me crazy.

Here is the setup, I try to setup:

All servers are windows 2008 64 bit Edition (don't ask...)

  * glassfish version is 3.1.1
  * 1 Server as Domain Admin Server
  * 4 additional server as ssh-nodes, each server 1 instance
  * these 4 servers are assigned to 2 clusters
  * for the ssh communication I installed cygwin with a default host-config
    setup (ssh login is successful, the server fingerprints are sucessfully
    inserted in cygwin)

Now: When I setup these things with my asadmin batch script, the script
prints out no errors, but a warning: " Warning: Synchronization with DAS
failed, continuing startup..."

The script runs fully through and the described setup looks just fine...but
it isn't!

Looking into a server.log of an instance, there are serveral errors:

  *   java.lang.IllegalArgumentException: WEB0314: virtual server server has
    an invalid docroot

C:\glassfish3\glassfish\nodes\gibson-5.tecis.hh\gibson-5.tecis.hh-instance/docroot
    at

com.sun.enterprise.web.WebContainer.validateDocroot(WebContainer.java:1235)
    at com.sun.enterprise.web.WebContainer.createHost(WebContainer.java:1171)
     at
    com.sun.enterprise.web.WebContainer.createHosts(WebContainer.java:1142) >>
    there is no folder "docroot" for this instance...
  * when I try to restart these instances from DAS there is this message:
    DTX5016:Error in XA recovery. See logs for more details
    java.lang.RuntimeException: Connector Runtime not initialized
    at

com.sun.enterprise.connectors.ConnectorRuntime.getRuntime(ConnectorRuntime.java:213)
    at

com.sun.enterprise.connectors.util.ResourcesUtil.getRuntime(ResourcesUtil.java:122)
    at

com.sun.enterprise.connectors.util.ResourcesUtil.getDomain(ResourcesUtil.java:115)Cannot
    start container web
  * when I try to deploy a simple application I get this error in the DAS

log:[#|2012-02-17T11:13:36.955+0100|SEVERE|glassfish3.1.1|grizzly|_ThreadID=101;_ThreadName=Thread-2;|doSelect
    exception
    java.util.concurrent.RejectedExecutionException: The thread pool's task
    queue is full, limit: 256
    at

com.sun.grizzly.util.AbstractThreadPool.onTaskQueueOverflow(AbstractThreadPool.java:473)
    at com.sun.grizzly.util.SyncThreadPool.execute(SyncThreadPool.java:191)
    at

com.sun.grizzly.util.GrizzlyExecutorService.execute(GrizzlyExecutorService.java:162)
    Googling for this errors brings me to several Bug issues from glassfish
    (http://java.net/jira/browse/GLASSFISH-13837,
    http://java.net/jira/browse/GLASSFISH-6942,
    http://java.net/jira/browse/GLASSFISH-16289). But all issues have one
    problem: there are oficially fixed in my glassfish version.

 

Do you have any Ideas or just links to fix these issues?

 

 


--
[Message sent by forum member 'lb54']
View Post: http://forums.java.net/node/883607