Search the forum.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257244#4257244
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257244
___
jboss-user mailing list
And yes there is example code. You can use the lines of code the jbpm-console
uses to get the context. Then your webapp should work in JBoss and in Tomcat.
Look into my post about JNDI.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257249#4257249
Reply to
Thanks. Using ProcessEngine processEngine = Configuration.getProcessEngine();
worked.
I have run into another problem: My JBpm web app calls a web service. The
client is based on Axis2.
I get this exception:
org.jbpm.pvm.internal.wire.Wireexception: couldnot invole method .
I first had to
Unjar the Axis2 war-file and remove all the jars from the lib-folder which are
not in the following list:
| activation-1.1.jar
| antlr-2.7.7.jar
| axiom-api-1.2.8.jar
| axiom-dom-1.2.8.jar
| axiom-impl-1.2.8.jar
| axis2-adb-1.5.jar
| axis2-adb-codegen-1.5.jar
|
Oops but this did not work.
The exception is cryptic:
...Wireexception:could not invoke method
on ...:org/apache/axis2/databinsing/ADBBean
Any solutions? Sebastian, can you please recheck the libs?
View the original post :
I checked, they should be alright. As far as I understood from your posts your
situation is a bit different. You are invoking web services from a process so
you are not using the war, are you? My struggle was deploying Axis2 to offer
webservices on the same Tomcat installation jBPM uses.
You
Thanks. I could get it working. Keeping the axis2 jar in the WEB-INF/lib did
not work. As you suggested, I moved it to Tomcats lib folder and things worked.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257322#4257322
Reply to the post :