geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: Getting java.lang.NullPointerException with geronimo-tomcat6-jee5-2.0.1-bin
Date Thu, 16 Aug 2007 10:37:28 GMT
Have you tried to access the Admin Console before the server fully started?
Are you getting this error consistently?

Vamsi

On 8/16/07, Ashish Jain <ashjain2@gmail.com> wrote:
>
> Hi!!
>
>  I am getting null pointer exception with geronimo-tomcat6-jee5-2.0.1-bin.
> Server starts fine
>
> Booting Geronimo Kernel (in Java 1.5.0)...
> Module  1/31 org.apache.geronimo.configs/rmi-naming/2.0.1/car                 st
> arted in   .981s
> Module  2/31 org.apache.geronimo.configs/j2ee-server/2.0.1/car
> st
> arted in   .330s
> Module  3/31 org.apache.geronimo.configs/transaction/2.0.1/car
> st
> arted in  2.033s
> Module  4/31 org.apache.geronimo.configs/j2ee-security/2.0.1/car
> st
> arted in   .000s
> Module  5/31 org.apache.geronimo.configs/openejb/2.0.1/car
> st
> arted in 18.666s
> Module  6/31 org.apache.geronimo.configs/j2ee-corba-yoko/2.0.1/car
> st
> arted in  4.486s
> Module  7/31 org.apache.geronimo.configs/system-database/2.0.1/car
> st
> arted in   .000s
> Module  8/31 org.apache.geronimo.configs/activemq-broker/2.0.1/car
> st
> arted in   .000s
> Module  9/31 org.apache.geronimo.configs/activemq-ra/2.0.1/car
> st
> arted in   .000s
> Module 10/31 org.apache.geronimo.configs/jasper/2.0.1/car                     st
> arted in   .030s
> Module 11/31 org.apache.geronimo.configs/myfaces/2.0.1/car
> st
> arted in   .030s
> Module 12/31 org.apache.geronimo.configs/tomcat6/2.0.1/car
> 15:
> 16:54,197 ERROR [[/]] "Restricted listeners property file not found
>  started in  3.956s
> Module 13/31 org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car
> st
> arted in   .751s
> Module 14/31 org.apache.geronimo.configs/j2ee-deployer/2.0.1/car              st
> arted in   .491s
> Module 15/31 org.apache.geronimo.configs/connector-deployer/2.0.1/car
> st
> arted in   .210s
> Module 16/31 org.apache.geronimo.configs/persistence-jpa10-deployer/2.0.1/car
> st
> arted in   .160s
> Module 17/31 org.apache.geronimo.configs/openejb-deployer/2.0.1/car
> st
> arted in   .371s
> Module 18/31 org.apache.geronimo.configs/client-deployer/2.0.1/car
> st
> arted in   .230s
> Module 19/31 org.apache.geronimo.configs/axis2-deployer/2.0.1/car
> st
> arted in   .451s
> Module 20/31 org.apache.geronimo.configs/axis-deployer/2.0.1/car
> st
> arted in  2.023s
> Module 21/31 org.apache.geronimo.configs/javamail/2.0.1/car
> st
> arted in   .241s
> Module 22/31 org.apache.geronimo.configs/sharedlib/2.0.1/car
> st
> arted in   .010s
> Module 23/31 org.apache.geronimo.configs/tomcat6-deployer/2.0.1/car           st
> arted in   .150s
> Module 24/31 org.apache.geronimo.configs/jasper-deployer/2.0.1/car
> st
> arted in   .050s
> Module 25/31 org.apache.geronimo.configs/myfaces-deployer/2.0.1/car
> st
> arted in   .050s
> Module 26/31 org.apache.geronimo.configs/welcome-tomcat/2.0.1/car
> st
> arted in   .471s
> Module 27/31 org.apache.geronimo.configs/dojo-tomcat/2.0.1/car
> st
> arted in   .211s
> Module 28/31 org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car
> st
> arted in  3.966s
> Module 29/31 org.apache.geronimo.configs/remote-deploy-tomcat/2.0.1/car
> st
> arted in   .440s
> Module 30/31 org.apache.geronimo.configs/hot-deployer/2.0.1/car
> st
> arted in   .671s
> Module 31/31 org.apache.geronimo.configs/jsr88-rar-configurer/2.0.1/car
> st
> arted in   .010s
> Startup completed in 48.270s seconds
>   Listening on Ports:
>     1050 127.0.0.1 CORBA Naming Service
>     1099 0.0.0.0   RMI Naming
>     1527 0.0.0.0   Derby Connector
>     2001 127.0.0.1 OpenEJB ORB Adapter
>     4201 0.0.0.0   OpenEJB Daemon
>     6882 127.0.0.1 OpenEJB ORB Adapter
>     8009 0.0.0.0   Tomcat Connector AJP AJP
>     8080 0.0.0.0   Tomcat Connector HTTP BIO HTTP
>     8443 0.0.0.0   Tomcat Connector HTTPS BIO HTTPS
>     9999 0.0.0.0   JMX Remoting Connector
>    61613 0.0.0.0   ActiveMQ Transport Connector
>    61616 0.0.0.0   ActiveMQ Transport Connector
>
>   Started Application Modules:
>     EAR: org.apache.geronimo.configs/webconsole-tomcat/2.0.1/car
>     RAR: org.apache.geronimo.configs/activemq-ra/2.0.1/car
>     RAR: org.apache.geronimo.configs/system-database/2.0.1/car
>     WAR: org.apache.geronimo.configs/dojo-tomcat/2.0.1/car
>     WAR: org.apache.geronimo.configs/remote-deploy-tomcat/2.0.1/car
>     WAR: org.apache.geronimo.configs/welcome-tomcat/2.0.1/car
>
>   Web Applications:
>     /
>     /console
>     /console-standard
>     /dojo
>     /remote-deploy
>
> But when I try to access the admin console I get the following
>
> http://localhost:8080/console/
>
> 15:15:21,193 ERROR [[/console]] StandardWrapper.Throwable
> java.lang.NullPointerException
>     at
> org.apache.pluto.portalImpl.core.PortletContainerEnvironment.addContainerService
> (PortletContainerEnvironment.java:46)
>     at org.apache.pluto.portalImpl.Servlet.init(Servlet.java :113)
>     at org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1053)
>     at org.apache.catalina.core.StandardWrapper.allocate(
> StandardWrapper.java:780)
>     at org.apache.catalina.core.StandardWrapperValve.invoke (
> StandardWrapperValve.java:129)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>     at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:525)
>     at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke
> (GeronimoStandardContext.java:351)
>     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
> GeronimoBeforeAfterValve.java:47)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke (
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
>     at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:563)
>     at org.apache.catalina.connector.CoyoteAdapter.service (
> CoyoteAdapter.java:261)
>     at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:581)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :447)
>     at java.lang.Thread.run(Thread.java:803)
> 15:15:21,203 ERROR [[se-console]] Allocate exception for servlet
> se-console
> java.lang.NullPointerException
>     at
> org.apache.pluto.portalImpl.core.PortletContainerEnvironment.addContainerService
> (PortletContainerEnvironment.java:46)
>     at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:113)
>     at org.apache.catalina.core.StandardWrapper.loadServlet (
> StandardWrapper.java:1053)
>     at org.apache.catalina.core.StandardWrapper.allocate(
> StandardWrapper.java:780)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:129)
>     at org.apache.catalina.core.StandardContextValve.invoke (
> StandardContextValve.java:175)
>     at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java :525)
>     at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke
> (GeronimoStandardContext.java:351)
>     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
> GeronimoBeforeAfterValve.java :47)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke (
> StandardEngineValve.java:109)
>     at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:563)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:261)
>     at org.apache.coyote.http11.Http11Processor.process (
> Http11Processor.java:844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:581)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :447)
>     at java.lang.Thread.run(Thread.java:803)
> 15:16:54,197 ERROR [[/]] "Restricted listeners property file not found
> 15:17:26,693 ERROR [[/console]] StandardWrapper.Throwable
> java.lang.NullPointerException
>     at
> org.apache.pluto.portalImpl.core.PortletContainerEnvironment.addContainerService
> (PortletContainerEnvironment.java:46)
>     at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:113)
>     at org.apache.catalina.core.StandardWrapper.loadServlet (
> StandardWrapper.java:1053)
>     at org.apache.catalina.core.StandardWrapper.allocate(
> StandardWrapper.java:780)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:129)
>     at org.apache.catalina.core.StandardContextValve.invoke (
> StandardContextValve.java:175)
>     at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java :525)
>     at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke
> (GeronimoStandardContext.java:351)
>     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
> GeronimoBeforeAfterValve.java :47)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke (
> StandardEngineValve.java:109)
>     at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:563)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:261)
>     at org.apache.coyote.http11.Http11Processor.process (
> Http11Processor.java:844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:581)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :447)
>     at java.lang.Thread.run(Thread.java:803)
> 15:17:26,693 ERROR [[se-console]] Allocate exception for servlet
> se-console
> java.lang.NullPointerException
>     at
> org.apache.pluto.portalImpl.core.PortletContainerEnvironment.addContainerService(
> PortletContainerEnvironment.java:46)
>     at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:113)
>     at org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1053)
>     at org.apache.catalina.core.StandardWrapper.allocate (
> StandardWrapper.java:780)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:129)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>     at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:525)
>     at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
> GeronimoStandardContext.java:351)
>     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
> GeronimoBeforeAfterValve.java:47)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java :128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
>     at org.apache.catalina.valves.AccessLogValve.invoke (
> AccessLogValve.java:563)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:261)
>     at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (
> Http11Protocol.java:581)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :447)
>     at java.lang.Thread.run(Thread.java:803)
> 15:18:29,003 ERROR [[/console]] StandardWrapper.Throwable
> java.lang.NullPointerException
>     at
> org.apache.pluto.portalImpl.core.PortletContainerEnvironment.addContainerService
> (PortletContainerEnvironment.java:46)
>     at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:113)
>     at org.apache.catalina.core.StandardWrapper.loadServlet (
> StandardWrapper.java:1053)
>     at org.apache.catalina.core.StandardWrapper.allocate(
> StandardWrapper.java:780)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:129)
>     at org.apache.catalina.core.StandardContextValve.invoke (
> StandardContextValve.java:175)
>     at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java :525)
>     at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke
> (GeronimoStandardContext.java:351)
>     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
> GeronimoBeforeAfterValve.java :47)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke (
> StandardEngineValve.java:109)
>     at org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:563)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:261)
>     at org.apache.coyote.http11.Http11Processor.process (
> Http11Processor.java:844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:581)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :447)
>     at java.lang.Thread.run(Thread.java:803)
> 15:18:29,003 ERROR [[se-console]] Allocate exception for servlet
> se-console
> java.lang.NullPointerException
>     at
> org.apache.pluto.portalImpl.core.PortletContainerEnvironment.addContainerService(
> PortletContainerEnvironment.java:46)
>     at org.apache.pluto.portalImpl.Servlet.init(Servlet.java:113)
>     at org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1053)
>     at org.apache.catalina.core.StandardWrapper.allocate (
> StandardWrapper.java:780)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:129)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>     at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
> DefaultSubjectValve.java:56)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:525)
>     at
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
> GeronimoStandardContext.java:351)
>     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
> GeronimoBeforeAfterValve.java:47)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java :128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
>     at org.apache.catalina.valves.AccessLogValve.invoke (
> AccessLogValve.java:563)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:261)
>     at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (
> Http11Protocol.java:581)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :447)
>     at java.lang.Thread.run(Thread.java:803)
>
> regards
> Ashish
>

Mime
View raw message