glassfish
  1. glassfish
  2. GLASSFISH-19496

Startup service failed to start in cluster with 2 nodes, 1 server per node

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Invalid
    • Affects Version/s: 3.1.2.2
    • Fix Version/s: None
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      SLES 11.1 64 bit Linux

      Description

      Start cluster command with 2 ndoes, 1 server per node fails with the error shown in the log below. The cluster has no application deployed. The startup error is in web contaienr, as shown below at the end of the logs.

      DAS server runs fine without any issues.

      Jan 06, 2013 10:48:06 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
      INFO: JVM invocation command line:
      -XX:+UnlockDiagnosticVMOptions
      -XX:PermSize=64m
      -XX:MaxPermSize=192m
      -XX:NewRatio=2
      -XX:+UseParallelGC
      -Xmx1024m
      -server
      -javaagent:/opt/glassfish3/glassfish/lib/monitor/flashlight-agent.jar
      -DjvmRoute
      -Dfelix.fileinstall.disableConfigSave=false
      -Djavax.net.ssl.keyStore=/opt/glassfish3/glassfish/nodes/node1/server1/config/keystore.jks
      -Djava.awt.headless=true
      -Dfelix.fileinstall.poll=5000
      -Djava.endorsed.dirs=/opt/glassfish3/glassfish/modules/endorsed:/opt/glassfish3/glassfish/lib/endorsed
      -Dfelix.fileinstall.bundles.startTransient=true
      -Djavax.net.ssl.trustStore=/opt/glassfish3/glassfish/nodes/node1/server1/config/cacerts.jks
      -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
      -DANTLR_USE_DIRECT_CLASS_LOADING=true
      -Djava.security.auth.login.config=/opt/glassfish3/glassfish/nodes/node1/server1/config/login.conf
      Dgosh.args=-noshutdown -c noop=true
      -Dcom.sun.enterprise.web.connector.enableJK=true
      -Dosgi.shell.telnet.maxconn=1
      -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
      -Dfelix.fileinstall.dir=/opt/glassfish3/glassfish/modules/autostart/
      -Dosgi.shell.telnet.port=26666
      -Djava.security.policy=/opt/glassfish3/glassfish/nodes/node1/server1/config/server.policy
      -Dfelix.fileinstall.log.level=3
      -Dcom.sun.aas.instanceRoot=/opt/glassfish3/glassfish/nodes/node1/server1
      -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
      -Dosgi.shell.telnet.ip=127.0.0.1
      -Dcom.sun.aas.installRoot=/opt/glassfish3/glassfish
      -Djava.ext.dirs=/opt/jdk1.7.0_10/lib/ext:/opt/jdk1.7.0_10/jre/lib/ext:/opt/glassfish3/glassfish/nodes/node1/server1/lib/ext
      -Dfelix.fileinstall.bundles.new.start=true
      Jan 06, 2013 10:48:07 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
      INFO: Successfully launched in 43 msec.
      [#|2013-01-06T22:48:24.344+0000|INFO|glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=Thread-2;|Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5)|#]

      [#|2013-01-06T22:48:25.637+0000|INFO|glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=1;_ThreadName=Thread-2;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]

      [#|2013-01-06T22:48:28.551+0000|INFO|glassfish3.1.2|javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions|_ThreadID=1;_ThreadName=Thread-2;|JTS5014: Recoverable JTS instance, serverId = [100]|#]

      [#|2013-01-06T22:48:29.495+0000|WARNING|glassfish3.1.2|javax.enterprise.system.core.org.glassfish.javaee.services|_ThreadID=1;_ThreadName=Thread-2;|JK configuration file /opt/glassfish3/glassfish/nodes/node1/server1/config/glassfish-jk.properties is not found.|#]

      [#|2013-01-06T22:48:29.696+0000|WARNING|glassfish3.1.2|javax.enterprise.system.core.org.glassfish.javaee.services|_ThreadID=1;_ThreadName=Thread-2;|JK configuration file /opt/glassfish3/glassfish/nodes/node1/server1/config/glassfish-jk.properties is not found.|#]

      [#|2013-01-06T22:48:30.045+0000|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 471ms - bound to [0.0.0.0:28080]|#]

      [#|2013-01-06T22:48:30.046+0000|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=23;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 277ms - bound to [0.0.0.0:28181]|#]

      [#|2013-01-06T22:48:30.118+0000|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 8ms - bound to [0.0.0.0:24848]|#]

      [#|2013-01-06T22:48:30.215+0000|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=Thread-2;|Grizzly Framework 1.9.50 started in: 34ms - bound to [0.0.0.0:443]|#]

      [#|2013-01-06T22:48:31.857+0000|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:28080]|#]

      [#|2013-01-06T22:48:31.900+0000|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:28181]|#]

      [#|2013-01-06T22:48:31.949+0000|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:24848]|#]

      [#|2013-01-06T22:48:32.050+0000|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-2;|WEB0169: Created HTTP listener [http-listener-3] on host/port [0.0.0.0:443]|#]
      [#|2013-01-06T22:48:32.059+0000|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=1;_ThreadName=Thread-2;|WEB0170: Apache mod_jk/jk2 attached to virtual-server [server] listening on port [8,009]|#]

      [#|2013-01-06T22:48:32.060+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=Thread-2;|Startup service failed to start : com.sun.enterprise.v3.services.impl.WebContainerStarter|#]

      [#|2013-01-06T22:48:32.530+0000|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin.cluster|_ThreadID=38;_ThreadName=Thread-2;|Server shutdown initiated|#]

      [#|2013-01-06T22:48:32.541+0000|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=38;_ThreadName=Thread-2;|Already stopped, so just returning|#]

        Activity

          People

          • Assignee:
            Amy Roh
            Reporter:
            ajay_vohra
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: