You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by brijesh <br...@gmail.com> on 2009/05/20 12:28:14 UTC

servicemix.war on weblogic 10.0 gives Unknown message exchange: InOut error


hello , 

I deployed servicemix.war on weblogic 10.0, 
I have service assembly  with cxf-bc and calling smx-bean, but i am getting
following error , 


<![CDATA[Unknown message exchange: InOut[
  id: ID:192.168.2.86-1215cca91be-3:11
  status: Active
  role: provider
  service: {http://www.ekaplus.com/ne}eventLoggerService
  endpoint: eventLoggerEP
  operation: {http://www.ekaplus.com/NotifyEvent/}notifyEvent
  in: <?xml version="1.0" encoding="UTF-8"?>


this SA works perfectly fine with tomcat 6.0. Any idea on this????


following error stack 


org.apache.cxf.interceptor.Fault: Unknown message exchange: InOut[
  id: ID:192.168.2.86-1215cca91be-3:11
  status: Active
  role: provider
  service: {http://www.ekaplus.com/ne}eventLoggerService
  endpoint: eventLoggerEP
  operation: {http://www.ekaplus.com/NotifyEvent/}notifyEvent
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://www.ekaplus.com/NotifyEvent/" xmlns
:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="notifyEventRequest" type="msg:notifyEventRequest" version="1.0"><jbi:
part><not:notifyEvent xmlns:not="http://www.ekaplus.com/NotifyEvent/">
         <in><test> test message </test></in>
      </not:notifyEvent></jbi:part></jbi:message>
] on endpoint: Endpoint[service:
{http://www.ekaplus.com/ne}eventLoggerService, endpoint: eventLoggerEP,
role: provider]
        at
org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.handleMessage(CxfBcConsumer.java:626)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:278)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:252)
        at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:840)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:657)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:377)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:497)
Caused by: org.apache.servicemix.bean.UnknownMessageExchangeTypeException:
Unknown message exchange: InOut[
  id: ID:192.168.2.86-1215cca91be-3:11
  status: Active
  role: provider
  service: {http://www.ekaplus.com/ne}eventLoggerService
  endpoint: eventLoggerEP
  operation: {http://www.ekaplus.com/NotifyEvent/}notifyEvent
  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://www.ekaplus.com/NotifyEvent/" xmlns
:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="notifyEventRequest" type="msg:notifyEventRequest" version="1.0"><jbi:
part><not:notifyEvent xmlns:not="http://www.ekaplus.com/NotifyEvent/">
         <in><test> test message </test></in>
      </not:notifyEvent></jbi:part></jbi:message>
] on endpoint: Endpoint[service:
{http://www.ekaplus.com/ne}eventLoggerService, endpoint: eventLoggerEP,
role: provider]
        at
org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpoint.java:251)
        at
org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:211)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        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:595)


bc xbean as follows 

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
       xmlns:ne="http://www.ekaplus.com/ne"
       xmlns:sns="http://tempuri.org/"
       xmlns:nte="http://www.ekaplus.com/NotifyEvent/"
       xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
http://servicemix.apache.org/schema/servicemix-cxfbc-3.2.2.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
		
  <cxfbc:consumer wsdl="classpath:NotifyEvent.wsdl"
                       targetService="ne:eventLoggerService"
                      />

 <cxfbc:provider wsdl="classpath:EKASUNUtils.wsdl"
                     
locationURI="http://10.0.2.80:8001/wsSUNConnect/EKASUNUtils.asmx"
                      service="sns:EKASUNUtils"
                      endpoint="EKASUNUtilsSoap"
                      interfaceName="sns:EKASUNUtilsSoap"/>


</beans>

bean xbean as follows 

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:bean="http://servicemix.apache.org/bean/1.0"
       xmlns:ne="http://www.ekaplus.com/ne"
       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://servicemix.apache.org/bean/1.0
http://servicemix.apache.org/schema/servicemix-bean-3.2.3.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

  <bean:endpoint service="ne:eventLoggerService" endpoint="eventLoggerEP"
bean="#messageLogger"/>

  <bean id="messageLogger" class="com.ekaplus.accounting.MessageLogger"/>

</beans>


Any idea on this 

Regards
Brijesh N K
-- 
View this message in context: http://www.nabble.com/servicemix.war-on-weblogic-10.0-gives-Unknown-message-exchange%3A-InOut-error-tp23632839p23632839.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.