Workaround mentioned here :
http://forums.java.net/jive/thread.jspa?threadID=21748&tstart=0
Jason Lee wrote:
> Is there a work-around for now? "Don't use JDK 6?" :)
>
> -----
> Jason Lee, SCJP
> Programmer/Analyst
> http://www.iec-okc.com
>
>
>
>> -----Original Message-----
>> From: Vijay.Ramachandran_at_Sun.COM [mailto:Vijay.Ramachandran_at_Sun.COM]
>> Sent: Thursday, January 11, 2007 12:52 PM
>> To: dev_at_glassfish.dev.java.net
>> Subject: Re: Problems booting GlassFish vw with jdk 1.6
>>
>> This is known issue :
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=1688
>>
>> A fix was checked in yesterday - it will be available in GFv2
>> nightly builds dated 1/12 or the next promoted build
>>
>> Vijay
>>
>> Dyego Souza Dantas Leal wrote:
>>
>>> I downloaded the GlassFish v2 b30 and JDk 1.6.0... final...
>>>
>>> when start the GlassFish , put this error:
>>>
>>>
>>> 11/01/2007 13:53:18
>>> com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
>>> INFO:
>>> c:/Arquivos de programas/Java/jdk1.6.0/jre/..\bin\java
>>> -client
>>> -Xmx512m
>>> -XX:NewRatio=2
>>>
>>>
>> -Dcom.sun.aas.defaultLogFile=C:/glassfish/domains/domain1/logs/server.
>>
>>> log -Djava.endorsed.dirs=C:/glassfish/lib/endorsed
>>>
>>>
>> -Djava.security.policy=C:/glassfish/domains/domain1/config/server.poli
>>
>>> cy
>>>
>>>
>> -Djava.security.auth.login.config=C:/glassfish/domains/domain1/config/
>>
>>> login.conf
>>>
>>> -Dsun.rmi.dgc.server.gcInterval=3600000
>>> -Dsun.rmi.dgc.client.gcInterval=3600000
>>>
>>>
>> -Djavax.net.ssl.keyStore=C:/glassfish/domains/domain1/config/keystore.
>>
>>> jks
>>>
>>>
>> -Djavax.net.ssl.trustStore=C:/glassfish/domains/domain1/config/cacerts
>>
>>> .jks
>>>
>>> -Djava.ext.dirs=c:/Arquivos de
>>> programas/Java/jdk1.6.0/jre/../lib/ext;c:/Arquivos de
>>>
>>>
>> programas/Java/jdk1.6.0/jre/../jre/lib/ext;C:/glassfish/domains/domain
>>
>>> 1/lib/ext;C:/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-e
>>
>>> e.jar,dbschema.jar,j2ee-svc.jar
>>>
>>>
>>>
>> -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4
>>
>> .jar,C:/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbst
>>
>> ate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,%MFWK_HO
>>
>>> ME%/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=C:/glassfish/updatecenter
>>> -Dcom.sun.aas.instanceRoot=C:/glassfish/domains/domain1
>>> -Dcom.sun.aas.domainName=domain1
>>> -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,c:/Arquivos de
>>>
>>>
>> programas/Java/jdk1.6.0/jre/../lib/tools.jar,install/applications/jmsr
>>
>> a/imqjmsra.jar,commons-launcher.jar,C:/glassfish/imq/lib/jaxm-api.jar,
>>
>> C:/glassfish/imq/lib/fscontext.jar,C:/glassfish/imq/lib/imqbroker.jar,
>>
>> C:/glassfish/imq/lib/imqjmx.jar,C:/glassfish/imq/lib/imqxm.jar,C:/glas
>>
>> sfish/lib/ant/lib/ant.jar,webservices-rt.jar,webservices-tools.jar,mai
>>
>> l.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxrem
>>
>> ote_optional.jar,C:/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-
>>
>> logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cm
>>
>>> p.jar,C:/glassfish/updatecenter/lib/updatecenter.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.xml.bind,javax.he
>>
>>> lp,javax.portlet
>>>
>>>
>>>
>> -Dcom.sun.aas.classloader.serverClassPath=C:/glassfish/lib/install/app
>>
>> lications/jmsra/imqjmsra.jar,C:/glassfish/imq/lib/jaxm-api.jar,C:/glas
>>
>> sfish/imq/lib/fscontext.jar,C:/glassfish/imq/lib/imqbroker.jar,C:/glas
>>
>> sfish/imq/lib/imqjmx.jar,C:/glassfish/lib/ant/lib/ant.jar,C:/glassfish
>>
>>> /lib/SUNWjdmk/5.1/lib/jdmkrt.jar
>>>
>>> -Dcom.sun.aas.classloader.appserverChainJars.ee=
>>> -Dcom.sun.aas.configRoot=C:/glassfish/config
>>>
>>>
>> -Djava.library.path=C:\glassfish\lib;C:\glassfish\lib;C:\glassfish\bin
>>
>>> ;C:\glassfish\lib
>>>
>>> -Dcom.sun.aas.instanceName=server
>>> -Dcom.sun.aas.processLauncher=SE
>>> -Dcom.sun.aas.installRoot=C:/glassfish
>>> -Dcom.sun.aas.ClassPathPrefix=
>>> -Dcom.sun.aas.ClassPathSuffix=
>>> -Dcom.sun.aas.ServerClassPath=
>>> -Dcom.sun.aas.promptForIdentity=true
>>> -cp
>>> ;C:/glassfish/lib/appserv-launch.jar
>>> com.sun.enterprise.server.PELaunch
>>> start
>>>
>>>
>> [#|2007-01-11T13:53:18.781-0200|INFO|sun-appserver-ee9.1|javax.enterpr
>>
>>> ise.system.core|_ThreadID=10;_ThreadName=main;|Starting
>>> Sun Java System Application Server Enterprise Edition 9.1
>>>
>> (build b30)
>>
>>> ...|#]
>>>
>>>
>>>
>> [#|2007-01-11T13:53:19.687-0200|INFO|sun-appserver-ee9.1|javax
>> .enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098:
>>
>>> AS Socket Service Initialization has been completed.|#]
>>>
>>>
>>>
>> [#|2007-01-11T13:53:19.718-0200|INFO|sun-appserver-ee9.1|javax.enterpr
>>
>>> ise.system.core|_ThreadID=10;_ThreadName=main;Java
>>> HotSpot(TM) Client VM;1.6.0;Sun Microsystems Inc.;|CORE5076: Using
>>> [Java HotSpot(TM) Client VM, Version 1.6.0] from [Sun Microsystems
>>> Inc.]|#]
>>>
>>>
>>>
>> [#|2007-01-11T13:53:19.765-0200|INFO|sun-appserver-ee9.1|javax
>> .enterprise.system.core.security|_ThreadID=10;_ThreadName=main
>> ;|SEC1002:
>>
>>> Security Manager is OFF.|#]
>>>
>>>
>>>
>> [#|2007-01-11T13:53:21.671-0200|INFO|sun-appserver-ee9.1|javax.enterpr
>>
>> ise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanSer
>>
>>> ver
>>> initialized successfully|#]
>>>
>>>
>>>
>> [#|2007-01-11T13:53:21.921-0200|INFO|sun-appserver-ee9.1|javax
>> .enterprise.system.core.security|_ThreadID=10;_ThreadName=main
>> ;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143:
>>
>>> Loading policy provider
>>> com.sun.enterprise.security.provider.PolicyWrapper.|#]
>>>
>>>
>>>
>> [#|2007-01-11T13:53:22.015-0200|INFO|sun-appserver-ee9.1|javax.enterpr
>>
>> ise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|sgmt.ser
>>
>>> vice_initialized|#]
>>>
>>>
>>>
>>>
>> [#|2007-01-11T13:53:22.531-0200|WARNING|sun-appserver-ee9.1|ja
>> vax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main
>> ;_RequestID=bd76d8a4-5950-49fb-8ec1-0b3fde133abe;|com.sun.apps
>> erv.server.ServerLifecycleException:
>>
>>> java.lang.LinkageError: JAXB 2.0 API is being loaded from the
>>> bootstrap classloader, but this RI (from
>>>
>>>
>> jar:file:/C:/glassfish/lib/webservices-rt.jar!/com/sun/xml/bind/v2/mod
>>
>>> el/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed
>>>
>> directory
>>
>>> mechanism to place jaxb-api.jar in the bootstrap classloader. (See
>>> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>>> at
>>>
>>>
>> com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramew
>>
>>> ork.java:180)
>>>
>>> at
>>>
>>>
>> com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootst
>>
>>> rap.java:163)
>>>
>>> at
>>>
>>>
>> com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycle
>>
>>> Module.java:210)
>>>
>>> at
>>>
>>>
>> com.sun.appserv.server.ServerLifecycleModule.onInitialization(ServerLi
>>
>>> fecycleModule.java:241)
>>>
>>> at
>>>
>>>
>> com.sun.appserv.server.LifecycleModuleService.initialize(LifecycleModu
>>
>>> leService.java:187)
>>>
>>> at
>>>
>>>
>> com.sun.appserv.server.LifecycleModuleService.onInitialization(Lifecyc
>>
>>> leModuleService.java:118)
>>>
>>> at
>>>
>>>
>> com.sun.enterprise.server.ApplicationServer.onInitialization(Applicati
>>
>>> onServer.java:240)
>>>
>>> at
>>>
>>>
>> com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnD
>>
>>> emandServer.java:93)
>>>
>>> at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
>>> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>>
>>> ava:39)
>>>
>>> at
>>>
>>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>>
>>> orImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
>>> Caused by: java.lang.LinkageError: JAXB 2.0 API is being
>>>
>> loaded from
>>
>>> the bootstrap classloader, but this RI (from
>>>
>>>
>> jar:file:/C:/glassfish/lib/webservices-rt.jar!/com/sun/xml/bind/v2/mod
>>
>>> el/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed
>>>
>> directory
>>
>>> mechanism to place jaxb-api.jar in the bootstrap classloader. (See
>>> http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
>>> at
>>>
>>>
>> com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java
>>
>>> :135)
>>>
>>> at
>>>
>>>
>> com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContext
>>
>>> Impl.java:389)
>>>
>>> at
>>>
>>>
>> com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.jav
>>
>>> a:253)
>>>
>>> at
>>>
>>>
>> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactor
>> y.java:84)
>>
>>> at
>>>
>>>
>> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactor
>> y.java:66)
>>
>>> at
>>>
>>>
>> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactor
>> y.java:132)
>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>>
>>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>>
>>> ava:39)
>>>
>>> at
>>>
>>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>>
>>> orImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>>
>> javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
>>
>>> at javax.xml.bind.ContextFinder.find(ContextFinder.java:286)
>>> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
>>> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
>>> at
>>>
>>>
>> com.sun.jbi.management.registry.xml.RegistryImpl.initJaxbContext(Regis
>>
>>> tryImpl.java:202)
>>>
>>> at
>>>
>>>
>> com.sun.jbi.management.registry.xml.RegistryImpl.<init>(RegistryImpl.j
>>
>>> ava:248)
>>>
>>> at
>>>
>>>
>> com.sun.jbi.management.registry.RegistryBuilder.buildRegistry(Registry
>>
>>> Builder.java:79)
>>>
>>> at
>>>
>>>
>> com.sun.jbi.framework.JBIFramework.initRegistry(JBIFramework.java:576)
>>
>>> at com.sun.jbi.framework.JBIFramework.init(JBIFramework.java:151)
>>> at
>>>
>>>
>> com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramew
>>
>>> ork.java:123)
>>>
>>> ... 14 more
>>> |#]
>>>
>>>
>>>
>>>
>>> why ?
>>>
>>>
>> ---------------------------------------------------------------------
>> 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
>
>