没有myRole plink的服务名称

时间:2012-06-15 08:36:54

标签: eclipse esb wso2 bpel wso2esb

当我试图运行我的BPEL流程时,我会登陆以下错误。

myRole plink没有服务名称{合作伙伴链接名称}。

  

[2012-06-15 14:02:58,973]错误 - NStateLatch - Latch错误,是   释放状态1但实际上是-1 java.lang.Exception at   org.apache.ode.bpel.engine.NStateLatch.release(NStateLatch.java:113)     在   org.apache.ode.bpel.engine.BpelProcess.getEndpointToMyRoleMap(BpelProcess.java:769)     在   org.apache.ode.bpel.engine.BpelProcess.initMyRoleMex(BpelProcess.java:336)     在   org.apache.ode.bpel.engine.BpelEngineImpl.createNewMyRoleMex(BpelEngineImpl.java:219)     在   org.apache.ode.bpel.engine.BpelEngineImpl.createMessageExchange(BpelEngineImpl.java:153)     在   org.wso2.carbon.bpel.core.ode.integration.BPELProcessProxy.createMessageExchange(BPELProcessProxy.java:269)     在   org.wso2.carbon.bpel.core.ode.integration.BPELProcessProxy.onAxisServiceInvoke(BPELProcessProxy.java:148)     在   org.wso2.carbon.bpel.core.ode.integration.axis2.receivers.BPELMessageReceiver.handleInOutOperation(BPELMessageReceiver.java:100)     在   org.wso2.carbon.bpel.core.ode.integration.axis2.receivers.BPELMessageReceiver.invokeBusinessLogic(BPELMessageReceiver.java:73)     在   org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)     在org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)     在   org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)     在   org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)     在   org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:199)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:641)at   javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at at   org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)     在   org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)     在   org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at   org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)     在   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)     在   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)     在   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)     在   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)     在   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)     在   org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)     在   org.wso2.carbon.server.TomcatServer $ 1.invoke(TomcatServer.java:254)     在   org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)     在   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)     在   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)     在   org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)     在   org.apache.coyote.http11.Http11NioProtocol $ Http11ConnectionHandler.process(Http11NioProtocol.java:356)     在   org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java:1534)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.runTask(ThreadPoolExecutor.java:886)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:908)     在java.lang.Thread.run(Thread.java:662)

     

[2012-06-15 14:02:58,975]错误 - BPELProcessProxy - 异常   调用ODE时发生java.lang.IllegalArgumentException:否   myRole plink EmployeeDSPL的服务名称   org.apache.ode.bpel.engine.BpelProcess.setRoles(BpelProcess.java:546)     在   org.apache.ode.bpel.engine.BpelProcess.access $ 1400(BpelProcess.java:93)     在   org.apache.ode.bpel.engine.BpelProcess $ HydrationLatch.doHydrate(BpelProcess.java:940)     在   org.apache.ode.bpel.engine.BpelProcess $ HydrationLatch.access 100 $(BpelProcess.java:836)     在   org.apache.ode.bpel.engine.BpelProcess $ HydrationLatch $ 2.run(BpelProcess.java:846)     在org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:92)     在   org.apache.ode.bpel.engine.BpelProcess.getEndpointToMyRoleMap(BpelProcess.java:766)     在   org.apache.ode.bpel.engine.BpelProcess.initMyRoleMex(BpelProcess.java:336)     在   org.apache.ode.bpel.engine.BpelEngineImpl.createNewMyRoleMex(BpelEngineImpl.java:219)     在   org.apache.ode.bpel.engine.BpelEngineImpl.createMessageExchange(BpelEngineImpl.java:153)     在   org.wso2.carbon.bpel.core.ode.integration.BPELProcessProxy.createMessageExchange(BPELProcessProxy.java:269)     在   org.wso2.carbon.bpel.core.ode.integration.BPELProcessProxy.onAxisServiceInvoke(BPELProcessProxy.java:148)     在   org.wso2.carbon.bpel.core.ode.integration.axis2.receivers.BPELMessageReceiver.handleInOutOperation(BPELMessageReceiver.java:100)     在   org.wso2.carbon.bpel.core.ode.integration.axis2.receivers.BPELMessageReceiver.invokeBusinessLogic(BPELMessageReceiver.java:73)     在   org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)     在org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)     在   org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)     在   org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)     在   org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:199)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:641)at   javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at at   org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)     在   org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)     在   org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at   org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)     在   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)     在   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)     在   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)     在   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)     在   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)     在   org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)     在   org.wso2.carbon.server.TomcatServer $ 1.invoke(TomcatServer.java:254)     在   org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)     在   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)     在   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)     在   org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)     在   org.apache.coyote.http11.Http11NioProtocol $ Http11ConnectionHandler.process(Http11NioProtocol.java:356)     在   org.apache.tomcat.util.net.NioEndpoint $ SocketProcessor.run(NioEndpoint.java:1534)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.runTask(ThreadPoolExecutor.java:886)     在   java.util.concurrent.ThreadPoolExecutor中的$ Worker.run(ThreadPoolExecutor.java:908)     在java.lang.Thread.run(Thread.java:662)

这是阻碍..任何人都可以告诉我为什么会出现这个问题?

我为我的合作伙伴链接分配了相应的角色,如下所示:

enter image description here

我的代码也按照显示的用户界面

1 个答案:

答案 0 :(得分:1)

我看到你为“EmployeeDSPL”设置了一个myrole。但我在您的流程中看不到使用此partnerlink的任何<receive>活动。我想你只是想尝试调用外部合作伙伴服务。在这种情况下,您只需要合作伙伴角色。将“我的角色”设置为“无”

HTH