[jboss-user] [JBoss jBPM] - Re: Cannog get BPM-BPEL on jBoss AS 5.0

sarishjain do-not-reply at jboss.com
Thu Apr 9 13:43:53 EDT 2009


Deployment was successful, but while executing the process on 5.0.1, partner service invocations are failing with this exception,

  | 
  | org.jbpm.bpel.BpelException: no port implements the required port type: portType={http://jbpm.org/examples/ticket}TicketIssuer
  | 	at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:97)
  | 	at org.jbpm.bpel.endpointref.SoapEndpointReference.selectPort(SoapEndpointReference.java:52)
  | 	at org.jbpm.bpel.integration.jms.IntegrationControl.createCaller(IntegrationControl.java:261)
  | 	at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:162)
  | 	at org.jbpm.bpel.integration.def.InvokeAction.execute(InvokeAction.java:75)
  | 	at sun.reflect.GeneratedMethodAccessor403.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
  | 	at org.jbpm.graph.def.Action_$$_javassist_149.execute(Action_$$_javassist_149.java)
  | 	at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
  | 	at org.jbpm.graph.def.Node.execute(Node.java:335)
  | 	at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:123)
  | 	at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | 	at org.jbpm.graph.def.Node.leave(Node.java:390)
  | 	at org.jbpm.bpel.graph.def.Activity.proceed(Activity.java:241)
  | 	at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:229)
  | 	at org.jbpm.bpel.graph.basic.Receive.messageReceived(Receive.java:53)
  | 	at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
  | 	at org.jbpm.bpel.graph.basic.Receive_$$_javassist_19.messageReceived(Receive_$$_javassist_19.java)
  | 	at org.jbpm.bpel.integration.def.ReceiveAction.deliverMessage(ReceiveAction.java:98)
  | 	at sun.reflect.GeneratedMethodAccessor396.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
  | 	at org.jbpm.bpel.integration.def.ReceiveAction_$$_javassist_92.deliverMessage(ReceiveAction_$$_javassist_92.java)
  | 	at org.jbpm.bpel.integration.jms.StartListener.deliverRequest(StartListener.java:219)
  | 	at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:165)
  | 	at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:229)
  | 	at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043)
  | 	at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  | 	at java.lang.Thread.run(Thread.java:613)
  | 
  | 

May be some code fix is required within the BPEL source files


Not the invocation of that service (configured to be invoked as part of the workflow) worked

  | Call call = createCall("http://localhost:8080/ticket/ticketIssuer","http://jbpm.org/examples/ticket","createTicket");
  | 			String ret = (String) call.invoke(new Object[] { });
  | 
  | 			System.out.println("Sent 'Hello!', got '" + ret + "'");
  | 

Any pointers on this one?

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

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



More information about the jboss-user mailing list