I am starting servicemix and getting this error :

ERROR - GeronimoLog.error(102) | failed to process packet:
java.net.SocketExcept
ion: socket closed
19:20:36,437 ERROR [MulticastDiscoveryAgent] failed to process packet:
java.net.
SocketException: socket closed
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'jbi' defined in file
[C:\servicemix\revolution\servicemix.xml]:
Initialization of bean failed; nested exception is javax.jbi.JBIException:
Error
 calling init
org.springframework.beans.factory.BeanCreationException: Error creating bean
wit
h name 'jbi' defined in file [C:\servicemix\revolution\servicemix.xml]:
Initiali
zation of bean failed; nested exception is javax.jbi.JBIException: Error
calling
 init
javax.jbi.JBIException: Error calling init
        at
org.apache.servicemix.common.BaseLifeCycle.init(BaseLifeCycle.java:10

I added following in servicemix.xml file :

<sm:activationSpec>
       <sm:component>
         <jsr181:component>
           <jsr181:endpoints>
             <jsr181:endpoint
pojoClass="com.rhg.infrastructure.webservices.HelloService"
annotations="none" service="demo:Hello" endpoint="helloService"/>
           </jsr181:endpoints>
         </jsr181:component>
       </sm:component>
       </sm:activationSpec>

      
       <sm:activationSpec>
       <sm:component>
        <http:component>
        <http:endpoints>
            <http:endpoint service="demo:Hello"
                                         endpoint="helloService"
                       role="consumer" 
                     defaultOperation="pingHello"
                       locationURI="http://localhost:8194/Service/";
                       defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; 
                 soap="true" />
         </http:endpoints>
         </http:component>
         
        </sm:component>
       </sm:activationSpec> 

--
View this message in context: 
http://www.nabble.com/starting-servicemix-with-http-endpoint-t1570609.html#a4265193
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to