[jboss-dev-forums] [jBPM Development] - issues about the bpmn2user JBPM5 Web Example
Feki Ahmed
do-not-reply at jboss.com
Thu Jun 7 12:41:09 EDT 2012
Feki Ahmed [https://community.jboss.org/people/bardelman] created the discussion
"issues about the bpmn2user JBPM5 Web Example"
To view the discussion, visit: https://community.jboss.org/message/740498#740498
--------------------------------------------------------------
Hi,
i tryed to make the https://community.jboss.org/people/bpmn2user/blog/2011/09/21/jbpm5-web-example bpmn2user JBPM5 Web Example running in eclipse and tomcat 6.0.35 (before deploying its war directly in the tomcat webapp directory)
i thought that i just had to execute it on maven (mvn eclipse) and then import(**) and run it after setting the bitronix configuration(***) to the server as written in the web page example but i actually have had alot problems :
1)- a classloading problem as servlet .java files were under the src/main/java, i fixed this by changing servlet's packages location to the WebContent/WEB-INF.(i wish to know if i can keep the example builld path show in the example webpage without having that problem but i dont know how..now i still not sure about the right project layout), here is my current layout :
https://community.jboss.org/servlet/JiveServlet/showImage/2-740498-18720/myprojectlayout.png https://community.jboss.org/servlet/JiveServlet/downloadImage/2-740498-18720/310-550/myprojectlayout.png
2)- alot of missing jars which i had to add to the tomcat/lib directory (i think it s weird that i had to add these same jars whose maven's dependancies were all(or most of them ) written in the pom project file.. tomcat cannot directly use the maven local repository ?!! why tomcat doesn t refer to the pom of the webapp?) here is my current tomcat lib directory (but i still have a NoClassDefFoundError: org/slf4j/LoggerFactory to solve and i may change it again):
https://community.jboss.org/servlet/JiveServlet/showImage/2-740498-18719/tomcatlib.png https://community.jboss.org/servlet/JiveServlet/downloadImage/2-740498-18719/450-232/tomcatlib.png
3) i also have a "cvc-complex-type.2.4.d: Invalid content was found starting with element 'param-name'. No child element is
expected at this point" on the web.xml which i failed to solve (maybe it doesn t really matter to keep it and run the application )
please, , i would like to know more details on these required jars on the tomcat/lib . i wish to find a video tutorial about this interesting example !!
Thanks.
_______________________
(**) i set the dynamic web module 2.5 and java 1.6 as project facets in this step.
(***):the bitronix configuration needs the native library and the APR which was too hard to build with visual studio c++ as it need knowledges on it, the easy solution was to install tomcat from the binary installer.
https://community.jboss.org/servlet/JiveServlet/showImage/2-740498-18721/prob.png https://community.jboss.org/servlet/JiveServlet/downloadImage/2-740498-18721/450-184/prob.png
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/740498#740498]
Start a new discussion in jBPM Development at Community
[https://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/20120607/5c5a43b9/attachment.html
More information about the jboss-dev-forums
mailing list