[jboss-user] [JBoss jBPM] - NullPointerException deploying jbpm-console embedded into jb

mteira do-not-reply at jboss.com
Fri Oct 6 05:03:55 EDT 2006


Hello.

Deploying jbpm-console.war on a JBoss 4.0.4 GA is working succesfully, and I'm able to navigate through the console pages without problem.

But when I try to deploy jbpm.ear instead, some problem that seem related with JavaServer Faces arise. The related log is:

2006-10-06 10:12:52,142 INFO  [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbpm-console, warUrl=.../tmp/deploy/tmp16361jbpm.ear-contents/jbpm-console-exp.war/
  | 2006-10-06 10:12:52,683 INFO  [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
  | 2006-10-06 10:12:52,853 INFO  [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/C:/apps/jboss-4.0.4.GA/server/jbpm/tmp/deploy/tmp16361jbpm.ear-contents/jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
  | 2006-10-06 10:12:53,604 INFO  [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml
  | 2006-10-06 10:12:53,845 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name null or empty, ignoring
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,105 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | 2006-10-06 10:12:54,115 DEBUG [org.apache.myfaces.webapp.webxml.WebXmlParser] Ignored node '#text' of type 3
  | g.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy5.deploy(Unknown Source)
  | 	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  | 	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  | 	at org.jboss.Main.boot(Main.java:200)
  | 	at org.jboss.Main$1.run(Main.java:464)
  | 	at java.lang.Thread.run(Thread.java:595)
  | 2006-10-06 10:12:54,636 ERROR [STDERR] 06-oct-2006 10:12:54 com.sun.faces.config.ConfigureListener contextInitialized
  | INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context 'null'
  | 2006-10-06 10:12:54,716 INFO  [org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/apps/jboss-4.0.4.GA/server/jbpm/deploy/jbpm.ear

What I find weird is that when the console is deployed using jbpm-console.war even the information logs are very different:

2006-10-06 09:52:58,966 INFO  [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbpm-console, warUrl=.../tmp/deploy/tmp45700jbpm-console-exp.war/
  | 2006-10-06 09:53:00,849 ERROR [STDERR] 06-oct-2006 9:52:59 com.sun.faces.config.ConfigureListener contextInitialized
  | INFO: Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context 'null'
  | 2006-10-06 09:53:02,542 ERROR [STDERR] 06-oct-2006 9:53:02 com.sun.faces.spi.InjectionProviderFactory createInstance
  | ADVERTENCIA: JSF1033: Resource injection is DISABLED.
  | 2006-10-06 09:53:03,433 ERROR [STDERR] 06-oct-2006 9:53:03 com.sun.faces.config.ConfigureListener isJspTwoOne
  | ADVERTENCIA: Incorrect JSP version found, method getJspApplicationContext does not exist.
  | 2006-10-06 09:53:03,443 ERROR [STDERR] 06-oct-2006 9:53:03 com.sun.faces.config.ConfigureListener contextInitialized
  | INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context 'null'

When deploying with jbpm.ear, the console is not functional, and trying to access http://localhost/jbpm-console throws an exception:

2006-10-06 10:13:07,644 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-console].[FacesServlet]] Servlet.service() for servlet FacesServlet threw exception
  | java.lang.NullPointerException
  | 	at com.sun.faces.lifecycle.ELResolverInitPhaseListener.populateFacesELResolverForJsp(ELResolverInitPhaseListener.java:135)
  | 	at com.sun.faces.lifecycle.ELResolverInitPhaseListener.beforePhase(ELResolverInitPhaseListener.java:100)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:105)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)

I'm really confused about this. As the jbpm-console deployed as jbpm.ear or jbpm-console.war are pretty the same (except some configuration files not related with faces). Also, I suppose that some of the 'ERROR' logs that show under right operation are not critical, as:

  | 2006-10-06 09:53:03,433 ERROR [STDERR] 06-oct-2006 9:53:03 com.sun.faces.config.ConfigureListener isJspTwoOne
  | ADVERTENCIA: Incorrect JSP version found, method getJspApplicationContext does not exist.

Any idea about what is causing the errors with the jbpm.ear deployment?

Thanks a lot.
Regards.

-- 
Manuel.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976518#3976518

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976518



More information about the jboss-user mailing list