5 Replies Latest reply on Jan 12, 2005 6:42 PM by 843833

    PE 8 - App Server start up issues

    843833
      Scroll all the way to the bottom of the log to see the error. The symptom is that in the start up console (win2k sp3), the "Start Default Server" hangs:

      --------- server.log ----------------
      [#|2005-01-10T19:16:06.689-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]

      [#|2005-01-10T19:16:06.699-0800|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
      C:/Sun/AppServer/jdk\bin\java
      -client
      -Xmx512m
      -XX:NewRatio=2
      -Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
      -Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
      -Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
      -Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
      -Dsun.rmi.dgc.server.gcInterval=3600000
      -Dsun.rmi.dgc.client.gcInterval=3600000
      -Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
      -Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
      -Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
      -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
      -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
      -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
      -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
      -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
      -Dcom.sun.enterprise.server.ss.ASQuickStartup="true"
      -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
      -Dcom.sun.aas.configName=server-config
      -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
      -Ddomain.name=domain1
      -Djmx.invoke.getters=true
      -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
      -Dcom.sun.aas.promptForIdentity=true
      -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
      -Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
      -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
      -Dcom.sun.aas.domainName=domain1
      -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
      -Dproduct.name=Sun-Java-System/Application-Server
      -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
      -Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
      -Djava.library.path=C:\Sun\AppServer\jdk\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINNT\system32;C:\WINNT;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\oracle\product\10.1.0\Db_1\bin;C:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin;C:\Oracle\product\10.1.0\Db__1\bin;C:\Oracle\product\10.1.0\Db__1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Db__1\jre\1.4.2\bin;C:\oracle\oraDesigner\bin;C:\oracle\oraDesigner1\bin;C:\oracle\ora81\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\ODBC\FileMaker;C:\Program Files\Common Files\Adaptec Shared\System;C:\system\support\tools;C:\Program Files\Microsoft SQL Server\80\Tools\Binn;C:\Program Files\Microsoft Platform SDK\Bin;C:\Program Files\Microsoft Platform SDK\Bin\WinNT;C:\Program Files\Microsoft Platform SDK\Bin\.;C:\Program Files\Microsoft Platform SDK\Bin\WinNT\.
      -Dcom.sun.aas.instanceName=server
      -Dcom.sun.aas.processLauncher=SE
      -cp
      C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-rt1.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
      com.sun.enterprise.server.PEMain
      start
      display
      native|#]

      [#|2005-01-10T19:16:10.915-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]

      [#|2005-01-10T19:16:11.045-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

      [#|2005-01-10T19:16:11.165-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.jms|_ThreadID=10;|JMS5038: jms-service element in domain.xml is configured to have type=REMOTE. JMS service will be started locally only if type is LOCAL.|#]

      [#|2005-01-10T19:16:11.756-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]

      [#|2005-01-10T19:16:11.766-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]

      [#|2005-01-10T19:16:12.377-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]

      [#|2005-01-10T19:16:12.407-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]

      [#|2005-01-10T19:16:12.417-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]

      [#|2005-01-10T19:16:13.328-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]

      [#|2005-01-10T19:16:13.528-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.system.stream.err|_ThreadID=10;|java.lang.NoClassDefFoundError: com/sun/jms/spi/xa/JMSXAConnectionFactory
           at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.<init>(J2EETransactionManagerImpl.java:157)
           at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.<init>(J2EETransactionManagerOpt.java:58)
           at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.createTransactionManager(J2EETransactionManagerImpl.java:256)
           at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:222)
           at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:591)
           at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:237)
           at com.sun.enterprise.server.PEMain.run(PEMain.java:284)
           at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
      |#]

      --------------------------------------

      Any help would be appreciated!

      -Jas
        • 1. Re: PE 8 - App Server start up issues
          843833
          Could you please check your path as the warning below suggested and ensure it has no spaces or that it does not contain any quotes.

          [#|2005-01-10T19:16:06.689-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.to ols.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop. Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components. |#]
          • 2. Re: PE 8 - App Server start up issues
            843833
            Thanks for pointing that out. After fixing the PATH issue, the problem remains.

            Even though the jms property is set to REMOTE instead of LOCAL, it seems that the app server depends on some of the JMS classes.

            Consider the following server.log and scroll all the way to the bottom to see the noclassdef message:

            -------------- server.log ------------------
            [#|2005-01-11T12:30:33.369-0800|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
            C:/Sun/AppServer/jdk\bin\java
            -client
            -Xmx512m
            -XX:NewRatio=2
            -Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
            -Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
            -Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
            -Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
            -Dsun.rmi.dgc.server.gcInterval=3600000
            -Dsun.rmi.dgc.client.gcInterval=3600000
            -Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
            -Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
            -Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
            -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
            -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
            -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
            -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
            -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
            -Dcom.sun.enterprise.server.ss.ASQuickStartup="true"
            -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
            -Dcom.sun.aas.configName=server-config
            -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
            -Ddomain.name=domain1
            -Djmx.invoke.getters=true
            -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
            -Dcom.sun.aas.promptForIdentity=true
            -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
            -Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
            -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
            -Dcom.sun.aas.domainName=domain1
            -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
            -Dproduct.name=Sun-Java-System/Application-Server
            -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
            -Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
            -Djava.library.path=C:\Sun\AppServer\jdk\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINNT\system32;C:\WINNT;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;c:\;c:\
            -Dcom.sun.aas.instanceName=server
            -Dcom.sun.aas.processLauncher=SE
            -cp
            C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-rt1.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
            com.sun.enterprise.server.PEMain
            start
            display
            native|#]

            [#|2005-01-11T12:30:37.615-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]

            [#|2005-01-11T12:30:37.776-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

            [#|2005-01-11T12:30:37.826-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.jms|_ThreadID=10;|JMS5038: jms-service element in domain.xml is configured to have type=REMOTE. JMS service will be started locally only if type is LOCAL.|#]

            [#|2005-01-11T12:30:38.386-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]

            [#|2005-01-11T12:30:38.386-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]

            [#|2005-01-11T12:30:39.138-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]

            [#|2005-01-11T12:30:39.168-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]

            [#|2005-01-11T12:30:39.178-0800|INFO|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]

            [#|2005-01-11T12:30:39.949-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]

            [#|2005-01-11T12:30:40.189-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.system.stream.err|_ThreadID=10;|java.lang.NoClassDefFoundError: com/sun/jms/spi/xa/JMSXAConnectionFactory
                 at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.<init>(J2EETransactionManagerImpl.java:157)
                 at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.<init>(J2EETransactionManagerOpt.java:58)
                 at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.createTransactionManager(J2EETransactionManagerImpl.java:256)
                 at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:222)
                 at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:591)
                 at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:237)
                 at com.sun.enterprise.server.PEMain.run(PEMain.java:284)
                 at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
            |#]

            ------------------------- end server.log ------------------------

            Again, the error message is java.lang.NoClassDefFoundError: com/sun/jms/spi/xa/JMSXAConnectionFactory.

            I have checked the class path in the this log - it indicates the jar file PATH where the imqjmsra.jar containing the class file is located (which is C:\Sun\AppServer\lib\install\applications\jmsra).

            I have also physically checked the existance of JMSXAConnectionFactory.class file in the imqjmsra.jar and its respective "path" in the .jar file. It is accurately defined as "com\sun\jms\spi\xa\".

            This leads me to conclude that the compile time JDK version for the JMSXAConnectionFactory.class is different (perhaps higher) than of the PE 8 JDK.

            Sun has issues in their PE 8 build process?

            Whats going on?

            -Jasbir
            • 3. Re: PE 8 - App Server start up issues
              843833
              Okay. I tried another thing: I changed the <jms-service> type property to LOCAL instead of REMOTE, I get the following in the server.log. Error message is:

              java.lang.ClassNotFoundException: com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl

              !!!

              This class is in the classpath.

              ------------ server.log ------------------
              [#|2005-01-11T13:23:32.140-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]

              [#|2005-01-11T13:23:32.150-0800|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
              C:/Sun/AppServer/jdk\bin\java
              -client
              -Xmx512m
              -XX:NewRatio=2
              -Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
              -Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
              -Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
              -Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
              -Dsun.rmi.dgc.server.gcInterval=3600000
              -Dsun.rmi.dgc.client.gcInterval=3600000
              -Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
              -Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
              -Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
              -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
              -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
              -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
              -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
              -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
              -Dcom.sun.enterprise.server.ss.ASQuickStartup="true"
              -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
              -Dcom.sun.aas.configName=server-config
              -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
              -Ddomain.name=domain1
              -Djmx.invoke.getters=true
              -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
              -Dcom.sun.aas.promptForIdentity=true
              -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
              -Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
              -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
              -Dcom.sun.aas.domainName=domain1
              -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
              -Dproduct.name=Sun-Java-System/Application-Server
              -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
              -Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
              -Djava.library.path=C:\Sun\AppServer\jdk\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINNT\system32;C:\WINNT;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\oracle\product\10.1.0\Db_1\bin;C:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin;C:\Oracle\product\10.1.0\Db__1\bin;C:\Oracle\product\10.1.0\Db__1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Db__1\jre\1.4.2\bin;C:\oracle\oraDesigner\bin;C:\oracle\oraDesigner1\bin;C:\oracle\ora81\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\ODBC\FileMaker;C:\Program Files\Common Files\Adaptec Shared\System;C:\system\support\tools;C:\Program Files\Microsoft SQL Server\80\Tools\Binn;C:\Program Files\Microsoft Platform SDK\Bin;C:\Program Files\Microsoft Platform SDK\Bin\WinNT;C:\Program Files\Microsoft Platform SDK\Bin\.;C:\Program Files\Microsoft Platform SDK\Bin\WinNT\.
              -Dcom.sun.aas.instanceName=server
              -Dcom.sun.aas.processLauncher=SE
              -cp
              C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-rt1.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
              com.sun.enterprise.server.PEMain
              start
              display
              native|#]

              [#|2005-01-11T13:23:34.544-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]

              [#|2005-01-11T13:23:34.774-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

              [#|2005-01-11T13:23:34.844-0800|SEVERE|sun-appserver-pe8.1|javax.enterprise.resource.jms|_ThreadID=10;|JMS5024: JMS service startup failed.|#]

              [#|2005-01-11T13:23:34.844-0800|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|Service com.sun.enterprise.jms.JmsProviderLifecycle@1a78071 cannot be initialized! : com.sun.appserv.server.ServerLifecycleException: com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl|#]

              [#|2005-01-11T13:23:34.844-0800|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
              com.sun.appserv.server.ServerLifecycleException: com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl
                   at com.sun.enterprise.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:289)
                   at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:215)
                   at com.sun.enterprise.server.PEMain.run(PEMain.java:284)
                   at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
              Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jmq.admin.jmsspi.JMSAdminFactoryImpl
                   at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
                   at java.security.AccessController.doPrivileged(Native Method)
                   at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
                   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
                   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
                   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
                   at java.lang.Class.forName0(Native Method)
                   at java.lang.Class.forName(Class.java:141)
                   at com.sun.enterprise.jms.IASJmsUtil.getJMSAdminFactory(IASJmsUtil.java:102)
                   at com.sun.enterprise.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:214)
                   ... 3 more
              |#]

              [#|2005-01-11T13:23:34.844-0800|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]

              [#|2005-01-11T13:23:34.844-0800|INFO|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]

              [#|2005-01-11T13:23:34.844-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :
              com.sun.appserv.server.ServerLifecycleException
                   at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:118)
                   at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
                   at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
                   at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
              |#]

              [#|2005-01-11T13:23:34.984-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|CORE5061: Exception :
              java.lang.NullPointerException
                   at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:389)
                   at com.sun.enterprise.jms.JmsProviderLifecycle.onShutdown(JmsProviderLifecycle.java:445)
                   at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
                   at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
                   at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
              |#]

              [#|2005-01-11T13:23:35.034-0800|WARNING|sun-appserver-pe8.1|javax.enterprise.system.tools.admin|_ThreadID=10;|core.tmp_folder_deletion_failed|#]

              [#|2005-01-11T13:23:35.034-0800|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.core|_ThreadID=10;|Server stopped due to Server startup failure.|#]

              -------------------- end server.log ---------------

              Again, the class is located in the classpath.

              It seems to me as a PE 8 compile time issue with respect to the JMS classes. But then, its only a guess.

              Any Sun engineers reading this forum?!

              -Jasbir
              • 4. Re: PE 8 - App Server start up issues
                843833
                I'm not sure but it looks like your classpath value is somehow malformed and that is causing the JMS class to not be found. Can you check your java-config elements of your domains/domain1/config/domain.xml file to make sure the classpath looks ok, i.e. no spaces or funny quotes. Maybe you could post the java-config sections of your domain.xml file.
                • 5. Re: PE 8 - App Server start up issues
                  843833
                  Check your classpath - the java library path seems to have some spaces like the following :

                  C:/Sun/Ap pServer/lib\mail.jar
                  C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.j ar
                  C: \Program Files\...

                  etc etc. Please ensure that the classpath set in java-config element of C:\Sun\AppServer\domain\domain1\config\domain.xml is correct without unexpected class path;