eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
384 stars 143 forks source link

[Blocking]DOM parser usage results in startup failure, v3 b64, AIX 6.1, java6 SR5 #9702

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 15 years ago

Could not startup promoted GlassFish v3 build 64 on AIX 6.1 using java6 SR5

No error message or exception at all. And server.log does not have any error or exception message at all.

The only error message is from the console stdout.

aixas5(aroot):glassfish/bin -> ./asadmin start-domain

Waiting for DAS to start. Error starting domain: domain1. It didn't start in 600 seconds Command start-domain failed.

Reference information:

aixas5(aroot):glassfish/bin -> /export/homer/v3_ws/glassfishv3/glassfish/bin/asadmin version --verbose

Version string could not be obtained from Server [localhost:4848] for some reason. (Turn debugging on e.g. by setting AS_DEBUG=true in your environment, to see the details). Using locally retrieved version string from version class. Version = GlassFish v3.0-b64 (build 64) asadmin Java Runtime Environment version: 1.6.0 Command version executed successfully.

AIX Java6 version aixas5(aroot):homer/v3_ws -> /usr/java6/bin/java -version java version "1.6.0" Java(TM) SE Runtime Environment (build pap3260sr5-20090529_04(SR5)) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr5-20090519_35743 (JIT enabled, AOT enabled) J9VM - 20090519_035743_bHdSMr JIT - r9_20090518_2017 GC - 20090417_AA) JCL - 20090529_01

ixas5(aroot):domain1/logs -> vi server.log Sep 23, 2009 6:05:37 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation command line: /usr/java6/bin/java -cp /export/homer/v3_ws/glassfishv3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:LogFile=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/logs/jvm.log -XX:MaxPermSize=192m -XX:+LogVMOutput -Xmx512m -javaagent:/export/homer/v3_ws/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true -client -Dcom.sun.aas.instanceRoot=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -Dcom.sun.aas.installRoot=/export/homer/v3_ws/glassfishv3/glassfish -Djavax.net.ssl.trustStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/cacerts.jks -Djava.security.policy=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/server.policy -Djava.endorsed.dirs=/export/homer/v3_ws/glassfishv3/glassfish/lib/endorsed -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.security.auth.login.config=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/login.conf -Djavax.net.ssl.keyStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/keystore.jks -Djava.ext.dirs=/usr/java6/lib/ext:/usr/java6/jre/lib/ext:/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/lib/ext:/export/homer/v3_ws/glassf ishv3/javadb/lib -Djava.library.path=/export/homer/v3_ws/glassfishv3/glassfish/lib:/usr/java6/jre/lib/ppc:/usr/lib:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/lib/ppc com.sun.enterprise.glassfish.bootstrap.ASMain -asadmin-classpath /export/homer/v3_ws/glassfishv3/glassfish/modules/admin-cli.jar -verbose false -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -debug false -asadmin-args start-domain -domainname domain1 -domaindir /export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -instancename server -read-stdin true -upgrade false Sep 23, 2009 6:05:37 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: Successfully launched in 68 msec.

Environment

Operating System: All Platform: Other

Affected Versions

[3.1]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented hyau said: Update the priorty

glassfishrobot commented 15 years ago

@glassfishrobot Commented hyau said: Update the priority

glassfishrobot commented 15 years ago

@glassfishrobot Commented km said: I may be wrong here, but b64 was probably bad and I am not sure if this is related to 9685. Can you please do the following:

Thanks.

glassfishrobot commented 15 years ago

@glassfishrobot Commented sherryshen said: Thank Kedar for looking into the issue and the suggestion. I login the machine and saw the server is not up, but glassfish processes are there. I will send you machine info in another email so that you can pick the info you need.

Issue 9685 is about v3 b65 nightly. v3 b64 promoted works on Linux, Solaris and Windows based on sqe testing.

  1. ps -ef | grep java root 286910 1 0 18:05:37 pts/2 0:09 /usr/java6/bin/java -cp /export/homer/v3_ws/glassfishv3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:LogFile=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/logs/jvm.log -XX:MaxPermSize=192m -XX:+LogVMOutput -Xmx512m -javaagent:/export/homer/v3_ws/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true -client -Dcom.sun.aas.instanceRoot=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -Dcom.sun.aas.installRoot=/export/homer/v3_ws/glassfishv3/glassfish -Djavax.net.ssl.trustStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/cacerts.jks -Djava.security.policy=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/server.policy -Djava.endorsed.dirs=/export/homer/v3_ws/glassfishv3/glassfish/lib/endorsed -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.security.auth.login.config=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/login.conf -Djavax.net.ssl.keyStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/keystore.jks -Djava.ext.dirs=/usr/java6/lib/ext:/usr/java6/jre/lib/ext:/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/lib/ext:/export/homer/v3_ws/glassfishv3/javadb/lib -Djava.library.path=/export/homer/v3_ws/glassfishv3/glassfish/lib:/usr/java6/jre/lib/ppc:/usr/lib:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/lib/ppc com.sun.enterprise.glassfish.bootstrap.ASMain -asadmin-classpath /export/homer/v3_ws/glassfishv3/glassfish/modules/admin-cli.jar -verbose false -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -debug false -asadmin-args start-domain -domainname domain1 -domaindir /export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -instancename server -read-stdin true -upgrade false root 303342 1 0 16:45:49 pts/0 0:10 /usr/java6/bin/java -cp /export/homer/v3_ws/glassfishv3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:LogFile=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/logs/jvm.log -XX:+LogVMOutput -XX:MaxPermSize=192m -Xmx512m -javaagent:/export/homer/v3_ws/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true -client -Dcom.sun.aas.instanceRoot=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -Dcom.sun.aas.installRoot=/export/homer/v3_ws/glassfishv3/glassfish -Djavax.net.ssl.trustStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/cacerts.jks -Djava.security.policy=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/server.policy -Djava.endorsed.dirs=/export/homer/v3_ws/glassfishv3/glassfish/lib/endorsed -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.security.auth.login.config=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/login.conf -Djavax.net.ssl.keyStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/keystore.jks -Djava.ext.dirs=/usr/java6/lib/ext:/usr/java6/jre/lib/ext:/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/lib/ext:/export/homer/v3_ws/glassfishv3/javadb/lib -Djava.library.path=/export/homer/v3_ws/glassfishv3/glassfish/lib:/usr/java6/jre/lib/ppc:/usr/lib:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/lib/ppc com.sun.enterprise.glassfish.bootstrap.ASMain -asadmin-classpath /export/homer/v3_ws/glassfishv3/glassfish/modules/admin-cli.jar -verbose false -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -debug false -asadmin-args start-domain,,,domain1 -domainname domain1 -domaindir /export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -instancename server -read-stdin true -upgrade false root 409676 368796 0 21:06:00 pts/7 0:00 grep java
  2. ./asadmin version Version string could not be obtained from Server [localhost:4848] for some reason. (Turn debugging on e.g. by setting AS_DEBUG=true in your environment, to see the details). Using locally retrieved version string from version class. Version = GlassFish v3.0-b64 (build 64) Command version executed successfully.
glassfishrobot commented 15 years ago

@glassfishrobot Commented km said: I will log in to the system soon, but it would have been great if the thread dump were attached right away. It speeds up resolution process ...

glassfishrobot commented 15 years ago

@glassfishrobot Commented hyau said: We have exception now. It seems to be a no Class Found Exception: "java.lang.NoClassDefFoundError"

Here is the "asadmin start-domain --verbose":

aixas5(aroot):glassfish/bin -> /export/homer/v3_ws/glassfishv3/glassfish/bin/asadmin start-domain --verbose

Sep 24, 2009 9:37:40 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation command line: /usr/java6/bin/java -cp /export/homer/v3_ws/glassfishv3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:LogFile=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/logs/jvm.log -XX:MaxPermSize=192m -XX:+LogVMOutput -Xmx512m -javaagent:/export/homer/v3_ws/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true -client -Dcom.sun.aas.instanceRoot=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -Dcom.sun.aas.installRoot=/export/homer/v3_ws/glassfishv3/glassfish -Djavax.net.ssl.trustStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/cacerts.jks -Djava.security.policy=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/server.policy -Djava.endorsed.dirs=/export/homer/v3_ws/glassfishv3/glassfish/lib/endorsed -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.security.auth.login.config=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/login.conf -Djavax.net.ssl.keyStore=/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/config/keystore.jks -Djava.ext.dirs=/usr/java6/lib/ext:/usr/java6/jre/lib/ext:/export/homer/v3_ws/glassfishv3/glassfish/domains/domain1/lib/ext:/export/homer/v3_ws/glassfishv3/javadb/lib -Djava.library.path=/export/homer/v3_ws/glassfishv3/glassfish/lib:/usr/java6/jre/lib/ppc:/usr/lib:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/lib/ppc com.sun.enterprise.glassfish.bootstrap.ASMain -asadmin-classpath /export/homer/v3_ws/glassfishv3/glassfish/modules/admin-cli.jar -verbose true -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -debug false -asadmin-args start-domain,,,--verbose -domainname domain1 -domaindir /export/homer/v3_ws/glassfishv3/glassfish/domains/domain1 -instancename server -read-stdin true -upgrade false Sep 24, 2009 9:37:40 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: Successfully launched in 67 msec. Sep 24, 2009 9:37:41 AM com.sun.enterprise.glassfish.bootstrap.ASMain main INFO: Launching GlassFish on Felix platform

Welcome to Felix

Sep 24, 2009 9:37:44 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [66] Sep 24, 2009 9:37:44 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.core.kernel [12] Sep 24, 2009 9:37:45 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.common.util [156] Sep 24, 2009 9:37:45 AM OSGiModuleImpl start INFO: Started bundle com.sun.enterprise.config [56] Sep 24, 2009 9:37:45 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.connectors.internal-api [118] Sep 24, 2009 9:37:45 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.common.internal-api [74] Sep 24, 2009 9:37:45 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.admin.server-mgmt [59] Sep 24, 2009 9:37:45 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.admin.config-api [77] Sep 24, 2009 9:37:45 AM org.hibernate.validation.util.Version INFO: Hibernate Validator null Sep 24, 2009 9:37:45 AM org.hibernate.validation.engine.resolver.DefaultTraversableResolver detectJPA INFO: Instantiated an instance of org.hibernate.validation.engine.resolver.JPATraversableResolver. Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle com.sun.grizzly.grizzly-config [84] Sep 24, 2009 9:37:46 AM org.glassfish.config.support.DomainXml upgrade SEVERE: Upgrading domain.xml failed Type org.jvnet.hk2.annotations.Service not present Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.branding [117] Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.ejb.gf-ejb-connector [65] Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.common.glassfish-naming [3] Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.transaction.jta [6] Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.common.glassfish-api [155] Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.common.container-common [91] Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.admin.monitoring-core [15] Sep 24, 2009 9:37:46 AM OSGiModuleImpl start INFO: Started bundle org.glassfish.flashlight.framework [130] java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.parsers.DOMParser at org.glassfish.flashlight.impl.provider.ProbeProviderXMLParser.initProperties(ProbeProviderXMLParser.java:101) at org.glassfish.flashlight.impl.provider.ProbeProviderXMLParser.(ProbeProviderXMLParser.java:84) at org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:250) at org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:304) at org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:210) at org.glassfish.admin.monitor.MonitoringBootstrap.moduleStarted(MonitoringBootstrap.java:161) at org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:114) at org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:413) at org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:107) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89) at java.security.AccessController.doPrivileged(AccessController.java:202) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:208) at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:129) at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:460) at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:404) at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:121) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699) at org.apache.felix.framework.Felix.startBundle(Felix.java:1621) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890) at org.jvnet.hk2.osgimain.Main.start(Main.java:117) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699) at org.apache.felix.framework.Felix.startBundle(Felix.java:1621) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:735) Caused by: java.lang.ClassNotFoundException: com.sun.org.apache.xerces.internal.parsers.DOMParser at java.net.URLClassLoader.findClass(URLClassLoader.java:419) at java.lang.ClassLoader.loadClass(ClassLoader.java:643) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:658) at org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1347) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:665) at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1631) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) ... 33 more ERROR: Error starting reference:file:/export/homer/v3_ws/glassfishv3/glassfish/modules/osgi-main.jar (org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [100].)

glassfishrobot commented 15 years ago

@glassfishrobot Commented km said: Ah, thanks. Looks like a class loading issue for Xerces. I am not sure why we are using that parser, but I no nothing about it ...

Starting with Prashanth and then probably it will boil down to class loading issues ...

glassfishrobot commented 15 years ago

@glassfishrobot Commented abbagani said: The problem is in DOMParser parser = new DOMParser();

Cannot find DOMParser. This is triggered as part of the Startup event.

Why can't it find the class, I believe its part of the JDK. The XML I am trying to load is bundled in jersey-gf-bundle.jar. Is jersey overriding this class? I have no idea.

This feature has been there since 7/12 and I never heard of this issue before. I cant think of any changes to this area from my side.

glassfishrobot commented 15 years ago

@glassfishrobot Commented kumara said: Yes, this is the first time glassfish is being tested on AIX. AIX JDK does not have all the packages that Sun JDK has.

glassfishrobot commented 15 years ago

@glassfishrobot Commented abbagani said: We are planning to move to Stax parser for improving the performance in monitoring (9629). That will solve this issue. Transferring the bug to Byron.

glassfishrobot commented 15 years ago

@glassfishrobot Commented bnevins said: You know for a fact that the STaX parser is available in AIX JDK – but DOM Parser is not? I'm highly skeptical!

It seems like an OSGi expert (does Richard Hall still work at Sun?) should be able to solve this problem via OSGi.

glassfishrobot commented 15 years ago

@glassfishrobot Commented bnevins said: All->HP

glassfishrobot commented 15 years ago

@glassfishrobot Commented ai109478 said: Will remove DOM parser. I presume other issues will show-up after that. Will look into them as time permits for GFv3. Changing the target to GFv3.1.

glassfishrobot commented 15 years ago

@glassfishrobot Commented hyau said: Update the summary with "[Blocking]" This bug original testbed is AIX.

Question: 1) How come the Platform change to "HP" not other? 2) How could we add one more platform since IT does not have "AIX"?

glassfishrobot commented 15 years ago

@glassfishrobot Commented bnevins said: I thought AIX == HP My mistake - I changed it to "other"

=======================================

DOM Parser has been removed and replaced with a STaX Parser.

AIX must have a STaX parser available because Launcher uses it and there are no problems launching

glassfishrobot commented 15 years ago

@glassfishrobot Commented hyau said: I still could not startup GlassFish v3 promoted build 67 (zip distribution). glassfish-v3-b67.zip) on AIX 6.1 using java 1.6.0 SR5.

This issue still exist.

GlassFish v3 still could not startup on AIX platform for any testing.

glassfishrobot commented 15 years ago

@glassfishrobot Commented hyau said: Here is the "./asadmin start-domain --verbose" output.

If developer need, I have a vnc session "aixas5.sfbay.sun.com:1" to the AIX 6.1 system.

/export/homer/glassfishv3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:LogFile=/export/homer/glassfishv3/glassfish/domains/domain1/logs/jvm.log -XX:+LogVMOutput -XX:MaxPermSize=192m -Xmx512m -javaagent:/export/homer/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true -client -Dcom.sun.aas.instanceRoot=/export/homer/glassfishv3/glassfish/domains/domain1 -Dcom.sun.aas.installRoot=/export/homer/glassfishv3/glassfish -Djavax.net.ssl.trustStore=/export/homer/glassfishv3/glassfish/domains/domain1/config/cacerts.jks -Djava.security.policy=/export/homer/glassfishv3/glassfish/domains/domain1/config/server.policy -Djava.endorsed.dirs=/export/homer/glassfishv3/glassfish/lib/endorsed -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.security.auth.login.config=/export/homer/glassfishv3/glassfish/domains/domain1/config/login.conf -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Djavax.net.ssl.keyStore=/export/homer/glassfishv3/glassfish/domains/domain1/config/keystore.jks -Djava.ext.dirs=/usr/java6/lib/ext:/usr/java6/jre/lib/ext:/export/homer/glassfishv3/glassfish/domains/domain1/lib/ext:/export/homer/glassfishv3/javadb/lib -Djava.library.path=/export/homer/glassfishv3/glassfish/lib:/usr/java6/jre/lib/ppc:/usr/lib:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/lib/ppc com.sun.enterprise.glassfish.bootstrap.ASMain -asadmin-classpath /export/homer/glassfishv3/glassfish/modules/admin-cli.jar -verbose true -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -debug false -asadmin-args start-domain,,,--verbose -domainname domain1 -domaindir /export/homer/glassfishv3/glassfish/domains/domain1 -instancename server -read-stdin true -upgrade false Oct 16, 2009 11:34:29 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: Successfully launched in 57 msec. Oct 16, 2009 11:34:29 AM com.sun.enterprise.glassfish.bootstrap.ASMain main INFO: Launching GlassFish on Felix platform

Welcome to Felix

Oct 16, 2009 11:34:37 AM org.glassfish.admin.monitor.MonitoringBootstrap discoverProbeProviders INFO: Discovering the ProbeProviders [#|2009-10-16T11:34:37.905-0700|SEVERE|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=2;_ThreadName=pool-2-thread-1;|Error processing com.sun.enterprise.v3.server.TransactionRecovery org.jvnet.hk2.component.ComponentException: Injection failed on com.sun.hk2.component.Holder com.sun.enterprise.v3.server.TransactionRecovery.rrMgr at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:91) at java.security.AccessController.doPrivileged(AccessController.java:202) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup$2.run(AppServerStartup.java:223) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:735) Caused by: java.lang.IllegalArgumentException: Can not set com.sun.hk2.component.Holder field com.sun.enterprise.v3.server.TransactionRecovery.rrMgr to org.jvnet.hk2.component.Habitat$5 at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:158) at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:162) at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:75) at java.lang.reflect.Field.set(Field.java:659) at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:84) ... 15 more

| #] |

[#|2009-10-16T11:34:38.186-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;|java.lang.TypeNotPresentException: Type org.jvnet.hk2.annotations.Service not present|#]

[#|2009-10-16T11:34:38.188-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38)|#]

[#|2009-10-16T11:34:38.189-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50)|#]

[#|2009-10-16T11:34:38.189-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at java.lang.Class.getDeclaredAnnotations(Class.java:1628)|#]

[#|2009-10-16T11:34:38.189-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at java.lang.Class.getAnnotations(Class.java:1589)|#]

[#|2009-10-16T11:34:38.189-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at java.lang.Class.getAnnotation(Class.java:1569)|#]

[#|2009-10-16T11:34:38.189-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.component.Wombs.create(Wombs.java:51)|#]

[#|2009-10-16T11:34:38.190-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.LazyInhabitant.createWomb(LazyInhabitant.java:102)|#]

[#|2009-10-16T11:34:38.190-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:92)|#]

[#|2009-10-16T11:34:38.190-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)|#]

[#|2009-10-16T11:34:38.190-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]

[#|2009-10-16T11:34:38.190-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.ConfigModel$1.get(ConfigModel.java:111)|#]

[#|2009-10-16T11:34:38.191-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.ConfigModel$1.get(ConfigModel.java:109)|#]

[#|2009-10-16T11:34:38.191-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.Dom.getProxyType(Dom.java:749)|#]

[#|2009-10-16T11:34:38.191-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.Dom.createProxy(Dom.java:744)|#]

[#|2009-10-16T11:34:38.191-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.ConfigModel$SingleNode.get(ConfigModel.java:446)|#]

[#|2009-10-16T11:34:38.191-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.Dom.getter(Dom.java:837)|#]

[#|2009-10-16T11:34:38.192-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.ConfigBean._getter(ConfigBean.java:155)|#]

[#|2009-10-16T11:34:38.192-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.ConfigBean.getter(ConfigBean.java:163)|#]

[#|2009-10-16T11:34:38.192-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.config.Dom.invoke(Dom.java:787)|#]

[#|2009-10-16T11:34:38.192-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.glassfish.config.support.TranslatedConfigView.invoke(TranslatedConfigView.java:83)|#]

[#|2009-10-16T11:34:38.192-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at $Proxy12.getNetworkConfig(Unknown Source)|#]

[#|2009-10-16T11:34:38.193-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:266)|#]

[#|2009-10-16T11:34:38.193-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)|#]

[#|2009-10-16T11:34:38.193-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:91)|#]

[#|2009-10-16T11:34:38.193-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at java.security.AccessController.doPrivileged(AccessController.java:202)|#]

[#|2009-10-16T11:34:38.193-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88)|#]

[#|2009-10-16T11:34:38.194-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)|#]

[#|2009-10-16T11:34:38.194-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)|#]

[#|2009-10-16T11:34:38.194-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)|#]

[#|2009-10-16T11:34:38.194-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]

[#|2009-10-16T11:34:38.194-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:240)|#]

[#|2009-10-16T11:34:38.194-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:129)|#]

[#|2009-10-16T11:34:38.195-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)|#]

[#|2009-10-16T11:34:38.195-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)|#]

[#|2009-10-16T11:34:38.195-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:121)|#]

[#|2009-10-16T11:34:38.195-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)|#]

[#|2009-10-16T11:34:38.195-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)|#]

[#|2009-10-16T11:34:38.201-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)|#]

[#|2009-10-16T11:34:38.201-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)|#]

[#|2009-10-16T11:34:38.201-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.jvnet.hk2.osgimain.Main.start(Main.java:124)|#]

[#|2009-10-16T11:34:38.202-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)|#]

[#|2009-10-16T11:34:38.202-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)|#]

[#|2009-10-16T11:34:38.202-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)|#]

[#|2009-10-16T11:34:38.202-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076)|#]

[#|2009-10-16T11:34:38.202-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)|#]

[#|2009-10-16T11:34:38.203-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at java.lang.Thread.run(Thread.java:735)|#]

[#|2009-10-16T11:34:38.203-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;|Caused by: |#]

[#|2009-10-16T11:34:38.203-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;|java.lang.ClassNotFoundException: org.jvnet.hk2.annotations.Service|#]

[#|2009-10-16T11:34:38.206-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at java.lang.Class.forNameImpl(Native Method)|#]

[#|2009-10-16T11:34:38.206-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at java.lang.Class.forName(Class.java:169)|#]

[#|2009-10-16T11:34:38.206-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)|#]

[#|2009-10-16T11:34:38.207-0700|SEVERE|glassfish|null|_ThreadID=1;_ThreadName=FelixStartLevel;| ... 45 more|#]

[#|2009-10-16T11:34:38.207-0700|INFO|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=FelixStartLevel;|Startup service failed to start : Type org.jvnet.hk2.annotations.Service not present|#]

^C[#|2009-10-16T11:34:38.445-0700|INFO|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=FelixStartLevel;|GlassFish v3 startup time : Felix(7280ms) startup services(1271ms) total(8551ms)|#]

[#|2009-10-16T11:34:38.446-0700|INFO|glassfish|javax.enterprise.system.tools.monitor.org.glassfish.admin.monitor|_ThreadID=1;_ThreadName=FelixStartLevel;|Discovering the XML ProbeProviders from lib/monitor|#]

[#|2009-10-16T11:34:38.542-0700|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=3;_ThreadName=Thread-9;|JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://aixas5:8686/jndi/rmi://aixas5:8686/jmxrmi|#]

glassfishrobot commented 15 years ago

@glassfishrobot Commented kumara said: Please open another issue. I have modified the summary to accurately reflect the changes done for this issue.

Closing as Resolved.

BTW, the log in previous comment (see below) indicates that server started successfully. So, you might want to get log again before filing the issue.

[#|2009-10-16T11:34:38.445- 0700|INFO|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadN ame=FelixStartLevel;|GlassFish v3 startup time : Felix(7280ms) startup services(1271ms) total(8551ms)|#]

glassfishrobot commented 15 years ago

@glassfishrobot Commented Issue-Links: depends on GLASSFISH-9629

glassfishrobot commented 15 years ago

@glassfishrobot Commented Was assigned to bnevins

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-9702

glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by hyau

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as fixed on Thursday, May 20th 2010, 3:44:22 pm