Problem deploying on JBoss 5
karypid Dec 8, 2008 5:44 PMIf anyone is trying to run jBPM 3.3.0 on JBoss 5, please use this thread to post your experience.
I've come across two issues, the first of which was simple to fix, whereas the other I hope someone will step up and fix:
NOTE: I am using the "default" configuration of JBoss 5 and Sun JDK 1.5
1) Multiple data sources are installed in server/default/deploy/jbpm
Regardless of which database you select, the installation creates data sources for all supported DBs: jbpm-hsqldb-ds.xml, jbpm-mysql-ds.xml, jbpm-postgresql-ds.xml and jbpm-sybase-ds.xml. Remove / rename the ones you don't need so that deployment errors regardin the JbpmDS are fixed.
2) Accessing the traditional (not GWT) console causes an exception to be thrown:
When accessing http://localhost:8080/jbpm-console I am redirected to http://localhost:8080/jbpm-console/sa/processes.jsf
There, I get the following error:
00:26:37,610 ERROR [compiler] Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar 00:26:38,375 ERROR [viewhandler] Error Rendering View[/ua/login-example.xhtml] java.lang.NullPointerException at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310) at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) 00:26:38,375 ERROR [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /ua/login-example.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@192f599] 00:26:38,375 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
It looks like some tag libraries are missing. Can somebody say what files to add and in what directory?