JBoss Community

issues about the bpmn2user JBPM5 Web Example

created by Feki Ahmed in jBPM Development - View the full discussion

Hi,

i tryed to make the 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/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/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/downloadImage/2-740498-18721/450-184/prob.png

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community