Facing issue when deploying guvnor.war in tomcat 7.0.30

How to deploy guvnor.war (version 5.4.0.Final) on a Tomcat 7.0.30 server? This gives me the following error:

Type : exception report

Message

Description The server detected an internal error that prevented it from completing this request.

Exception

java.lang.NullPointerException org.jboss.seam.transaction.TransactionServletListener.requestInitialized(TransactionServletListener.java:106) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) java.lang.Thread.run(Thread.java:722) 

Note. A full stack trace of the root cause is available in the Apache Tomcat / 7.0.30 Log.

+6
source share
1 answer

The following resolved the above problem for me. I have TomCat 7.0.34 installed with 5.4.0 Final of Guvnor .

You can disable the seam transaction listener by adding the appropriate <context-param> to the web.xml , which you should find in

 [tomcat-dir]\webapps\[nameOfGuvnorJar]\WEB-INF\ 

where [tomcat-dir] is your path to the top level directory where you installed Tomcat . and [nameOfGuvnorJar] is the name that you gave to the guvnor application that you deployed to Tomcat .

Required Rows:

 <context-param> <param-name>org.jboss.seam.transaction.disableListener</param-name> <param-value>true</param-value> </context-param> 

It must be added inside the <web-app> element <web-app>

You may need to restart the web server in order for the changes to be matched.

+18
source

All Articles