dev@glassfish.java.net

Re: Admin-console problem in b28

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Mon, 18 Dec 2006 23:11:39 -0800

Hi Dmitry,
> Hello all.
>
> Tipically i upgrade glassfish build by backup-domain/restore domain.
>
> After this procedure on b28 admin console generate 404 Error.
>
> How to move domain into b28?
Sorry that i missed the point that you are using
backup-domain/restore-domain command. There are changes regarding how
the admin console is deployed in b28. Are you running cluster profile
or developer profile ? If you can send me the few lines that starts
with <web-module>, i see if i can help you moving forward.
As for all the errors you are getting when starting the default created
domain, it doesn't seem to be related to the admin console changes. It
is related to the JBI framework changes. I am cc'ing Binod who may
know about this.

thanks
Anissa.



Dmitry Mozheyko wrote:
> -----Original Message-----
> From: Anissa Lam <Anissa.Lam_at_Sun.COM>
> To: dev_at_glassfish.dev.java.net
> Date: Mon, 18 Dec 2006 08:03:59 -0800
> Subject: Re: Admin-console problem in b28
>
>
>> I believe if you use https://hostname:4849 (or 4848 depending on your
>> configuratoin) to access the admin console, you will be fine.
>> It is a bug that using https://hostname:4849/*asadmin* gets a 404
>> error, and the GUI team is looking into that.
>>
>> thanks
>> Anissa
>>
>
> No, not fine, if i try to http://HOSTNAME:4848 my request forwards onto http://HOSTNAME:4848/adminconsole/admingui/TopFrameset and 404 error shows.
>
>
> And if i start default autocreated domain i see this errors:
>
> [#|2006-12-19T09:20:52.459+0300|WARNING|sun-appserver-ee9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|com.sun.appserv.server.ServerLifecycleException: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/opt/sun/glassfish/lib/webservices-rt.jar!/com/sun/xml/bind/v2/model/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(SunASJBIFramework.java:180)
> at com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootstrap.java:163)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
> at com.sun.appserv.server.ServerLifecycleModule.onInitialization(ServerLifecycleModule.java:241)
> at com.sun.appserv.server.LifecycleModuleService.initialize(LifecycleModuleService.java:187)
> at com.sun.appserv.server.LifecycleModuleService.onInitialization(LifecycleModuleService.java:118)
> 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:316)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> 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: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:/opt/sun/glassfish/lib/webservices-rt.jar!/com/sun/xml/bind/v2/model/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(JAXBContextImpl.java:389)
> at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:253)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:84)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:66)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:132)
> 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: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(RegistryImpl.java:202)
> at com.sun.jbi.management.registry.xml.RegistryImpl.<init>(RegistryImpl.java:248)
> at com.sun.jbi.management.registry.RegistryBuilder.buildRegistry(RegistryBuilder.java:79)
> at com.sun.jbi.framework.JBIFramework.initRegistry(JBIFramework.java:574)
> at com.sun.jbi.framework.JBIFramework.init(JBIFramework.java:151)
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:123)
> ... 14 more
> |#]
>
> [#|2006-12-19T09:20:52.468+0300|WARNING|sun-appserver-ee9.1|javax.enterprise|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|LCM0203: Lifecycle module [JBIFramework] threw ServerLifecycleException
> com.sun.appserv.server.ServerLifecycleException: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/opt/sun/glassfish/lib/webservices-rt.jar!/com/sun/xml/bind/v2/model/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(SunASJBIFramework.java:180)
> at com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootstrap.java:163)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
> at com.sun.appserv.server.ServerLifecycleModule.onInitialization(ServerLifecycleModule.java:241)
> at com.sun.appserv.server.LifecycleModuleService.initialize(LifecycleModuleService.java:187)
> at com.sun.appserv.server.LifecycleModuleService.onInitialization(LifecycleModuleService.java:118)
> 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:316)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> 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: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:/opt/sun/glassfish/lib/webservices-rt.jar!/com/sun/xml/bind/v2/model/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(JAXBContextImpl.java:389)
> at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:253)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:84)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:66)
> at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:132)
> 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: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(RegistryImpl.java:202)
> at com.sun.jbi.management.registry.xml.RegistryImpl.<init>(RegistryImpl.java:248)
> at com.sun.jbi.management.registry.RegistryBuilder.buildRegistry(RegistryBuilder.java:79)
> at com.sun.jbi.framework.JBIFramework.initRegistry(JBIFramework.java:574)
> at com.sun.jbi.framework.JBIFramework.init(JBIFramework.java:151)
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:123)
> ... 14 more
> |#]
>
> [#|2006-12-19T09:20:54.655+0300|INFO|sun-appserver-ee9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans successful|#]
>
> [#|2006-12-19T09:20:55.272+0300|INFO|sun-appserver-ee9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;service:jmx:rmi:///jndi/rmi://yadvina:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://yadvina:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]
>
> [#|2006-12-19T09:20:55.273+0300|INFO|sun-appserver-ee9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]
>
> [#|2006-12-19T09:20:56.215+0300|SEVERE|sun-appserver-ee9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|JBIFW0013: Unable to start Component Registry due to an exception: java.lang.NullPointerException (<no exception message available>). Stack trace follows.|#]
>
> [#|2006-12-19T09:20:56.217+0300|SEVERE|sun-appserver-ee9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|java.lang.NullPointerException
> at com.sun.jbi.framework.ComponentRegistry.startService(ComponentRegistry.java:147)
> at com.sun.jbi.framework.JBIFramework.startup(JBIFramework.java:235)
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:131)
> at com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootstrap.java:163)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
> at com.sun.appserv.server.ServerLifecycleModule.onStartup(ServerLifecycleModule.java:252)
> at com.sun.appserv.server.LifecycleModuleService.onStartup(LifecycleModuleService.java:213)
> at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> 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:597)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
> |#]
>
> [#|2006-12-19T09:20:56.218+0300|SEVERE|sun-appserver-ee9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|JBIFW0013: Unable to start Message Router due to an exception: java.lang.NullPointerException (<no exception message available>). Stack trace follows.|#]
>
> [#|2006-12-19T09:20:56.219+0300|SEVERE|sun-appserver-ee9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|java.lang.NullPointerException
> at com.sun.jbi.management.system.ModelSystemService.bootstrap(ModelSystemService.java:186)
> at com.sun.jbi.messaging.MessageService.startService(MessageService.java:158)
> at com.sun.jbi.framework.JBIFramework.startup(JBIFramework.java:252)
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:131)
> at com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootstrap.java:163)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
> at com.sun.appserv.server.ServerLifecycleModule.onStartup(ServerLifecycleModule.java:252)
> at com.sun.appserv.server.LifecycleModuleService.onStartup(LifecycleModuleService.java:213)
> at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> 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:597)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
> |#]
>
> [#|2006-12-19T09:20:56.220+0300|SEVERE|sun-appserver-ee9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|JBIFW0013: Unable to start Management Service due to an exception: java.lang.NullPointerException (<no exception message available>). Stack trace follows.|#]
>
> [#|2006-12-19T09:20:56.220+0300|SEVERE|sun-appserver-ee9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|java.lang.NullPointerException
> at com.sun.jbi.management.system.ManagementService.startService(ManagementService.java:195)
> at com.sun.jbi.framework.JBIFramework.startup(JBIFramework.java:272)
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:131)
> at com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootstrap.java:163)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
> at com.sun.appserv.server.ServerLifecycleModule.onStartup(ServerLifecycleModule.java:252)
> at com.sun.appserv.server.LifecycleModuleService.onStartup(LifecycleModuleService.java:213)
> at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> 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:597)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
> |#]
>
> [#|2006-12-19T09:20:56.222+0300|SEVERE|sun-appserver-ee9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|JBIFW0014: JBI framework startup failed; one or more services failed to start.|#]
>
> [#|2006-12-19T09:20:56.224+0300|WARNING|sun-appserver-ee9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|
> com.sun.appserv.server.ServerLifecycleException: javax.jbi.JBIException: JBIFW0014: JBI framework startup failed; one or more services failed to start.
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:180)
> at com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootstrap.java:163)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
> at com.sun.appserv.server.ServerLifecycleModule.onStartup(ServerLifecycleModule.java:252)
> at com.sun.appserv.server.LifecycleModuleService.onStartup(LifecycleModuleService.java:213)
> at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> 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:597)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
> Caused by: javax.jbi.JBIException: JBIFW0014: JBI framework startup failed; one or more services failed to start.
> at com.sun.jbi.framework.JBIFramework.startup(JBIFramework.java:290)
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:131)
> ... 13 more
> |#]
>
> [#|2006-12-19T09:20:56.226+0300|WARNING|sun-appserver-ee9.1|javax.enterprise|_ThreadID=10;_ThreadName=main;_RequestID=3fbfcae2-6189-48ef-8057-35a53bfa8757;|LCM0203: Lifecycle module [JBIFramework] threw ServerLifecycleException
> com.sun.appserv.server.ServerLifecycleException: javax.jbi.JBIException: JBIFW0014: JBI framework startup failed; one or more services failed to start.
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:180)
> at com.sun.jbi.framework.sun.SunASJBIBootstrap.handleEvent(SunASJBIBootstrap.java:163)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:210)
> at com.sun.appserv.server.ServerLifecycleModule.onStartup(ServerLifecycleModule.java:252)
> at com.sun.appserv.server.LifecycleModuleService.onStartup(LifecycleModuleService.java:213)
> at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
> 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:597)
> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
> Caused by: javax.jbi.JBIException: JBIFW0014: JBI framework startup failed; one or more services failed to start.
> at com.sun.jbi.framework.JBIFramework.startup(JBIFramework.java:290)
> at com.sun.jbi.framework.sun.SunASJBIFramework.handleEvent(SunASJBIFramework.java:131)
> ... 13 more
> |#]
>
>
> Server runs on Sun Fire V210, Solaris 10, JDK6,
>
> It is right behaviour?
>
>
>> Dmitry Mozheyko wrote:
>>
>>> Hello all.
>>>
>>> Tipically i upgrade glassfish build by backup-domain/restore domain.
>>>
>>> After this procedure on b28 admin console generate 404 Error.
>>>
>>> How to move domain into b28?
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>