I just did a fresh build, a 'maven configure-runtime', and I'm not
seeing any problem.
I think your build or checkout is not up to date.
Lloyd
On Feb 8, 2007, at 10:08 AM, Lloyd L Chambers wrote:
> This is related to a change I've made.
>
> But it has worked fine for me with a complete rebuild, and
> QuickLook and Tinderbox are passing.
>
> It looks to me like your PEMain() is not up to date. Please verify
> that main() looks like this:
>
> public static void main(String[] args) {
> new AtStartup().submit( HowToRun.RUN_IN_SEPARATE_THREAD );
> ...
>
> I'll do a PE build and verify.
>
> Lloyd
>
> On Feb 8, 2007, at 9:48 AM, Bobby Bissett - Javasoft wrote:
>
>> Even after a "clean clobber" and a "checkout bootstrap-all build
>> configure-runtime" I am unable to start the server. Any ideas what
>> is going on? I will try removing everything (gf, gf_dep, pub),
>> restarting the computer, and starting from scratch. But if anyone
>> has an idea what this is, it'd be nice. I have made a backup of
>> everything under 'publish' in case of questions.
>>
>> Bobby
>> Feb 8, 2007 12:44:24 PM
>> com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
>> INFO:
>> c:/jdk1.5.0/jre/..\bin\java
>> -client
>> -Xmx512m
>> -XX:NewRatio=2
>> -Dcom.sun.aas.defaultLogFile=D:/work/ws/publish/glassfish/domains/
>> domain1/logs/server.log
>> -Djava.endorsed.dirs=D:/work/ws/publish/glassfish/lib/endorsed
>> -Djava.security.policy=D:/work/ws/publish/glassfish/domains/
>> domain1/config/server.policy
>> -Djava.security.auth.login.config=D:/work/ws/publish/glassfish/
>> domains/domain1/config/login.conf
>> -Dsun.rmi.dgc.server.gcInterval=3600000
>> -Dsun.rmi.dgc.client.gcInterval=3600000
>> -Djavax.net.ssl.keyStore=D:/work/ws/publish/glassfish/domains/
>> domain1/config/keystore.jks
>> -Djavax.net.ssl.trustStore=D:/work/ws/publish/glassfish/domains/
>> domain1/config/cacerts.jks
>> -Djava.ext.dirs=c:/jdk1.5.0/jre/../lib/ext;c:/jdk1.5.0/jre/../jre/
>> lib/ext;D:/work/ws/publish/glassfish/domains/domain1/lib/ext;D:/
>> work/ws/publish/glassfish/javadb/lib
>> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
>> -
>> Djavax.management.builder.initial=com.sun.enterprise.admin.server.cor
>> e.jmx.AppServerMBeanServerBuilder
>> -
>> Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.e
>> nterprise.config.serverbeans.AppserverConfigEnvironmentFactory
>> -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
>> -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
>> -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-
>> rt.jar,webservices-tools.jar,commons-logging.jar,commons-launcher.jar
>> -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-
>> cli-ee.jar,dbschema.jar,j2ee-svc.jar
>> -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/
>> hadbjdbc4.jar,D:/work/ws/publish/glassfish/lib/SUNWjdmk/5.1/lib/
>> jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%
>> HADB_HOME%/lib/hadbmgt.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
>> -Dcom.sun.aas.configName=server-config
>> -Ddomain.name=domain1
>> -Djmx.invoke.getters=true
>> -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
>> -Dcom.sun.updatecenter.home=D:/work/ws/publish/glassfish/updatecenter
>> -Dcom.sun.aas.instanceRoot=D:/work/ws/publish/glassfish/domains/
>> domain1
>> -Dcom.sun.aas.domainName=domain1
>> -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,c:/jdk1.5.0/
>> jre/../lib/tools.jar,install/applications/jmsra/
>> imqjmsra.jar,commons-launcher.jar,D:/work/ws/publish/glassfish/imq/
>> lib/jaxm-api.jar,D:/work/ws/publish/glassfish/imq/lib/
>> fscontext.jar,D:/work/ws/publish/glassfish/imq/lib/
>> imqbroker.jar,D:/work/ws/publish/glassfish/imq/lib/imqjmx.jar,D:/
>> work/ws/publish/glassfish/imq/lib/imqxm.jar,D:/work/ws/publish/
>> glassfish/lib/ant/lib/ant.jar,webservices-rt.jar,webservices-
>> tools.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-
>> jstl.jar,appserv-env.jar,jmxremote_optional.jar,D:/work/ws/publish/
>> glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-
>> logging.jar,activation.jar,appserv-rt.jar,appserv-
>> admin.jar,appserv-cmp.jar,D:/work/ws/publish/glassfish/
>> updatecenter/lib/updatecenter.jar,D:/work/ws/publish/glassfish/jbi/
>> lib/jbi.jar
>> -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-
>> se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/
>> hadbjdbc4.jar,jgroups-all.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
>> -
>> Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLo
>> gManager
>> -
>> Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portle
>> t
>> -Dcom.sun.aas.classloader.serverClassPath=D:/work/ws/publish/
>> glassfish/lib/install/applications/jmsra/imqjmsra.jar,D:/work/ws/
>> publish/glassfish/imq/lib/jaxm-api.jar,D:/work/ws/publish/
>> glassfish/imq/lib/fscontext.jar,D:/work/ws/publish/glassfish/imq/
>> lib/imqbroker.jar,D:/work/ws/publish/glassfish/imq/lib/
>> imqjmx.jar,D:/work/ws/publish/glassfish/lib/ant/lib/ant.jar,D:/
>> work/ws/publish/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
>> -Dcom.sun.aas.classloader.appserverChainJars.ee=
>> -Dcom.sun.aas.configRoot=D:/work/ws/publish/glassfish/config
>> -Djava.library.path=D:\work\ws\publish\glassfish\lib;D:\work\ws
>> \publish\glassfish\lib;D:\work\ws\publish\glassfish\bin;D:\work\ws
>> \publish\glassfish\lib
>> -Dcom.sun.aas.instanceName=server
>> -Dcom.sun.aas.processLauncher=SE
>> -Dcom.sun.aas.installRoot=D:/work/ws/publish/glassfish
>> -Dcom.sun.aas.ClassPathPrefix=
>> -Dcom.sun.aas.ClassPathSuffix=
>> -Dcom.sun.aas.ServerClassPath=
>> -Dcom.sun.aas.promptForIdentity=true
>> -cp
>> ;D:/work/ws/publish/glassfish/lib/appserv-launch.jar
>> com.sun.enterprise.server.PELaunch
>> start
>> [#|2007-02-08T12:44:24.730-0500|INFO|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|
>> Starting Sun Java System Application Server 9.1 (build local) ...|#]
>>
>> [#|2007-02-08T12:44:25.601-0500|INFO|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|
>> CORE5098: AS Socket Service Initialization has been completed.|#]
>>
>> [#|2007-02-08T12:44:25.641-0500|INFO|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java
>> HotSpot(TM) Client VM;1.5.0_09;Sun Microsystems Inc.;|CORE5076:
>> Using [Java HotSpot(TM) Client VM, Version 1.5.0_09] from [Sun
>> Microsystems Inc.]|#]
>>
>> [#|2007-02-08T12:44:25.692-0500|INFO|sun-appserver9.1|
>> javax.enterprise.system.core.security|
>> _ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]
>>
>> [#|2007-02-08T12:44:27.414-0500|SEVERE|sun-appserver9.1|
>> javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|
>> ADM0003:MBeanServer initialization failed
>> java.lang.Error: Can't load
>> com.sun.enterprise.management.ext.logging.LoggingImpl, caught:
>> java.lang.reflect.InvocationTargetException
>> at
>> com.sun.enterprise.server.logging.AMXLoggingHook._enableLoggingHook
>> (AMXLoggingHook.java:155)
>> at
>> com.sun.enterprise.server.logging.AMXLoggingHook.enableLoggingHook
>> (AMXLoggingHook.java:121)
>> at com.sun.enterprise.admin.server.core.AdminService.init
>> (AdminService.java:284)
>> at
>> com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onInitiali
>> zation(AdminServiceLifeCycle.java:103)
>> at com.sun.enterprise.server.ApplicationServer.onInitialization
>> (ApplicationServer.java:240)
>> at
>> com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization
>> (OnDemandServer.java:93)
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:370)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:307)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
>> Caused by: java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance
>> (NativeConstructorAccessorImpl.java:39)
>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
>> (DelegatingConstructorAccessorImpl.java:27)
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> at
>> com.sun.enterprise.server.logging.AMXLoggingHook._enableLoggingHook
>> (AMXLoggingHook.java:141)
>> ... 12 more
>> Caused by: java.lang.IllegalStateException: must call preload first
>> at com.sun.enterprise.management.support.TypeInfos.getInstance
>> (TypeInfos.java:201)
>> at
>> com.sun.enterprise.management.support.AMXImplBase.getInterfaceMBeanIn
>> fo(AMXImplBase.java:286)
>> at com.sun.enterprise.management.support.AMXImplBase.<init>
>> (AMXImplBase.java:365)
>> at com.sun.enterprise.management.support.AMXImplBase.<init>
>> (AMXImplBase.java:228)
>> at com.sun.enterprise.management.ext.logging.LoggingImpl.<init>
>> (LoggingImpl.java:127)
>> ... 17 more
>> |#]
>>
>> [#|2007-02-08T12:44:27.424-0500|SEVERE|sun-appserver9.1|
>> javax.enterprise.system.core|
>> _ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.Ad
>> minServiceLifeCycle_at_a1d7b;com.sun.appserv.server.ServerLifecycleExcep
>> tion: Can't load
>> com.sun.enterprise.management.ext.logging.LoggingImpl, caught:
>> java.lang.reflect.InvocationTargetException;|Service
>> com.sun.enterprise.admin.server.core.AdminServiceLifeCycle_at_a1d7b
>> cannot be initialized! :
>> com.sun.appserv.server.ServerLifecycleException: Can't load
>> com.sun.enterprise.management.ext.logging.LoggingImpl, caught:
>> java.lang.reflect.InvocationTargetException|#]
>>
>> [#|2007-02-08T12:44:27.424-0500|SEVERE|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|
>> CORE5071: An error occured during initialization
>> com.sun.appserv.server.ServerLifecycleException: Can't load
>> com.sun.enterprise.management.ext.logging.LoggingImpl, caught:
>> java.lang.reflect.InvocationTargetException
>> at com.sun.enterprise.admin.server.core.AdminService.init
>> (AdminService.java:303)
>> at
>> com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onInitiali
>> zation(AdminServiceLifeCycle.java:103)
>> at com.sun.enterprise.server.ApplicationServer.onInitialization
>> (ApplicationServer.java:240)
>> at
>> com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization
>> (OnDemandServer.java:93)
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:370)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:307)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
>> |#]
>>
>> [#|2007-02-08T12:44:27.424-0500|SEVERE|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server
>> Startup failed. Exiting...|#]
>>
>> [#|2007-02-08T12:44:27.424-0500|INFO|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server
>> shutdown in progress...|#]
>>
>> [#|2007-02-08T12:44:27.524-0500|WARNING|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|
>> CORE5061: Exception :
>> com.sun.appserv.server.ServerLifecycleException
>> at
>> com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown
>> (JmxConnectorLifecycle.java:146)
>> at com.sun.enterprise.server.ApplicationServer.onShutdown
>> (ApplicationServer.java:446)
>> at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown
>> (OnDemandServer.java:123)
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:397)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:307)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:39)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
>> |#]
>>
>> [#|2007-02-08T12:44:27.544-0500|WARNING|sun-appserver9.1|
>> javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|
>> core.tmp_folder_deletion_failed|#]
>>
>> [#|2007-02-08T12:44:27.985-0500|SEVERE|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server
>> stopped due to Server startup failure.|#]
>>
>> [#|2007-02-08T12:44:27.995-0500|INFO|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|
>> sending notification to server...server|#]
>>
>> [#|2007-02-08T12:44:27.995-0500|INFO|sun-appserver9.1|
>> javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|
>> Server shutdown complete.|#]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>