[jboss-user] [JBoss jBPM] - Re: Invoking webservice from action

jagr do-not-reply at jboss.com
Mon May 19 10:53:38 EDT 2008


Why sometimes when I execute process and enter in node that invoke webservice Exception is thrown because don't find the class? 

  | ava.lang.NoClassDefFoundError: com/aixtelecom/portbooker/UpdatePrice_Service
  | 	at com.aixtelecom.portbooker.bpm.actions.Node1Action.execute(Node1Action.java:32)
  | 	at org.jbpm.graph.def.Action.execute(Action.java:122)
  | 	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264)
  | 	at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)
  | 	at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)
  | 	at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)
  | 	at org.jbpm.graph.def.Node.enter(Node.java:303)
  | 	at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(<generated>)
  | 	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | 	at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | 	at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$ef5f66fa.enter(<generated>)
  | 	at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | 	at org.jbpm.graph.def.Node.leave(Node.java:394)
  | 	at org.jbpm.graph.node.StartState.leave(StartState.java:70)

Jax-ws only generate .class from webservice.
I add these .class into folder and in eclipse I specify in build path project, Add class folder and I select folder that contains .class generated.
Into action of jbpm, I can use this generated classes and invoke web service, but now, when I execute the process and enter into node that invoke ws, exception java.lang.NoClassDefFoundError is thrown but I don't know why.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151792#4151792

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151792



More information about the jboss-user mailing list