This is a problem that has already been reported.
The problem is due to the Sun SAAJ implementation we use
which is only compatible with JDK 5.  You should be able
to run it with JDK 5 without any problems.
Could you please raise a JIRA issue for that ? I guess we should
be able to find an older version to be 1.4 compatible ...

Cheers,
Guillaume Nodet

On 4/12/06, psprakash <[EMAIL PROTECTED]> wrote:
>
> Version:Servicemix Snapshot 3.0 built on Apr 6 on jdk 1.42.2
>
> Trying to run and test the Http-bing example
>
> Server startup was smooth with no error.
>
> On invoking client , I got the folllowing error on client side
> Exception in thread "main" java.io.IOException: Server returned HTTP
> response co
> de: 500 for URL: http://localhost:8912
>         at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
> nection.java:800)
>         at HttpClient.main(HttpClient.java:46)
>
> On server console I got the follwoing
>
> WARN - JCLLoggerAdapter.warn(346) | Error for /
> java.lang.NoSuchMethodError:
> java.util.Collections.emptyList()Ljava/util/List;
>         at
> com.sun.xml.messaging.saaj.soap.MessageImpl.<clinit>(MessageImpl.java
> :736)
>         at
> com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
> teMessage(SOAPMessageFactory1_1Impl.java:28)
>         at
> org.apache.servicemix.components.saaj.SaajMarshaler.createSOAPMessage
> (SaajMarshaler.java:121)
>         at
> org.apache.servicemix.components.saaj.SaajBinding.onMessageExchange(S
> aajBinding.java:88)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
> d(DeliveryChannelImpl.java:636)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
> w.java:171)
>         at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java
> :157)
>         at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.jav
> a:121)
>         at
> org.apache.servicemix.jbi.nmr.Broker.sendExchangePacket(Broker.java:2
> 95)
>         at
> org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
> ainer.java:683)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
> ryChannelImpl.java:450)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
> veryChannelImpl.java:524)
>         at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
> veryChannelImpl.java:501)
>         at
> org.apache.servicemix.components.http.HttpInOutBinding.processInOut(H
> ttpInOutBinding.java:59)
>         at
> org.apache.servicemix.components.http.HttpInOutBinding.process(HttpIn
> OutBinding.java:44)
>         at
> org.apache.servicemix.components.http.BindingServlet.doPost(BindingSe
> rvlet.java:75)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423
> )
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
> 50)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:5
> 36)
>         at org.mortbay.jetty.Server.handle(Server.java:309)
>         at org.mortbay.jetty.Server.handle(Server.java:285)
>         at
> org.mortbay.jetty.HttpConnection.doHandler(HttpConnection.java:364)
>         at
> org.mortbay.jetty.HttpConnection.access$1600(HttpConnection.java:46)
>         at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
> n.java:629)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:608)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:194)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:298)
>         at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.
> java:153)
>         at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
> .java:412)
>
> I have noticed similar posting but no resolution was provided in that
>
> Thanks,
> Siva
>
> --
> View this message in context: 
> http://www.nabble.com/Http-binding-example-Not-working-Gives-500-error-t1438851.html#a3884091
> Sent from the ServiceMix - User forum at Nabble.com.
>
>

Reply via email to