Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Won't Fix
-
1.0.1
-
None
-
Apache Geronimo 1.0 pre-M5 (trunk Rev 232975) on Windows XP or 2003 Server with Sun JDK 1.4.2_09
Description
When Pluto is used within Apache Geronimo (using Jetty 5.1.4) for its Admin Console, if the Castor level used by Geronimo is upgraded from 0.9.5.3 (which works) to 0.9.7, then the following runtime exception occurs when the Admin tries to login and access the Portlets -
Booting Geronimo Kernel (in Java 1.4.2_08)...
Starting Geronimo Application Server
[********] 100% 26s Startup complete
Listening on Ports:
1099 0.0.0.0 RMI Naming
1527 127.0.0.1 Derby Connector
4201 127.0.0.1 OpenEJB Connector EJB
8080 0.0.0.0 Jetty Connector HTTP
8443 0.0.0.0 Jetty Connector HTTPS
61616 0.0.0.0 ActiveMQ Message Broker Connector
Geronimo Application Server started (version 1.0-SNAPSHOT)
10:58:45,633 WARN [/console] ServiceManager: An unidentified error occurred
javax.servlet.UnavailableException: Unable to construct unmarshaller for web.xml
at org.apache.pluto.portalImpl.services.portletdefinitionregistry.Portle
tDefinitionRegistryServiceContextImpl.loadApplicationDefinition(PortletDefinitio
nRegistryServiceContextImpl.java:181)
at org.apache.pluto.portalImpl.services.portletdefinitionregistry.Portle
tDefinitionRegistryServiceContextImpl.init(PortletDefinitionRegistryServiceConte
xtImpl.java:89)
at org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
er.java:223)
at org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
er.java:98)
at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:78)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
a:383)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java
:329)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405
)
at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolde
r.java:92)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:832)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171
)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:823)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
67)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:635)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.exolab.castor.mapping.MappingException: Nested error: java.lang.N
ullPointerException
at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:295)
at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:247)
at org.exolab.castor.xml.Unmarshaller.setMapping(Unmarshaller.java:475)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:246)
at org.apache.pluto.portalImpl.services.portletdefinitionregistry.Portle
tDefinitionRegistryServiceContextImpl.loadApplicationDefinition(PortletDefinitio
nRegistryServiceContextImpl.java:176)
... 23 more
10:58:45,813 WARN [/console] se-console: Initialization failed!
java.lang.Exception: ServiceManager: Services initialized (5/6 successful).
at org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
er.java:273)
at org.apache.pluto.portalImpl.services.ServiceManager.init(ServiceManag
er.java:98)
at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:78)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
a:383)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java
:329)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405
)
at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolde
r.java:92)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:832)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171
)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:823)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
67)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:635)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
10:58:45,823 WARN [/console] /console/portal/server/server_info:
javax.servlet.UnavailableException: Initialization of one or more services faile
d.
at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:84)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
a:383)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java
:329)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405
)
at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolde
r.java:92)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:832)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171
)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:823)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
67)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:635)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
10:58:45,823 WARN [ServletHandler] /console/portal/server/server_info:
javax.servlet.UnavailableException: Initialization of one or more services faile
d.
at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:84)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
a:383)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java
:329)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405
)
at org.apache.geronimo.jetty.JettyServletHolder.handle(JettyServletHolde
r.java:92)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:832)
at org.mortbay.jetty.servlet.JSR154Filter.doFilter(JSR154Filter.java:171
)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:823)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
67)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:635)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)