[jboss-dev-forums] [jBPM Development] - Question about jbpm4 in web application

roxy1987 do-not-reply at jboss.com
Tue May 17 05:03:25 EDT 2011


roxy1987 [http://community.jboss.org/people/roxy1987] created the discussion

"Question about jbpm4 in web application"

To view the discussion, visit: http://community.jboss.org/message/605617#605617

--------------------------------------------------------------
HI,

I am using jbpm 4.3 in my web application. Whenever I try to run the method deploy, that is actually using repository service to deploy the resource, it gives the following exception :

javax.servlet.ServletException: Servlet.init() for servlet MainServlet threw exception
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
 java.lang.Thread.run(Thread.java:619)
*root cause* 
java.lang.NoSuchMethodError: org.w3c.dom.Element.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
     org.jbpm.pvm.internal.xml.DomBuilder.startElement(DomBuilder.java:318)
     org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
     org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
     org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
     org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
     org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:452)
     org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:389)
     org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)
     org.jbpm.pvm.internal.wire.xml.WireParser.<clinit>(WireParser.java:284)
     org.jbpm.pvm.internal.cfg.ConfigurationParser.<init>(ConfigurationParser.java:46)
     org.jbpm.pvm.internal.cfg.ConfigurationParser.<clinit>(ConfigurationParser.java:49)
     org.jbpm.pvm.internal.cfg.ConfigurationImpl.parse(ConfigurationImpl.java:139)
     org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:118)
     org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:76)
     org.jbpm.api.Configuration.buildProcessEngine(Configuration.java:105)
     action.MainServlet.init(MainServlet.java:52)
     org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
     org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
     org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
     org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
     org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
     java.lang.Thread.run(Thread.java:619)


This has something to do with the jars i am using but I have searched java forums for this exception and could not find anything. SO finally I posted this question here so if any one who came across could help.

regds.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/605617#605617]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110517/fc0e13f3/attachment.html 


More information about the jboss-dev-forums mailing list