You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by emicalc <em...@libero.it> on 2006/05/05 10:29:54 UTC

error in http-binding example

Hello,
I have this problem with HTPP-binding example (in servicemix-2.0.2); I start
the service and then I start the client with ant command but there is the
following error:

D:\Program
Files\servicemix-2.0.2\assembly\target\servicemix-2.0.2\bin\servicemi
x-2.0.2\examples\http-binding>ant
Buildfile: build.xml

init:

compile:

run:
     [echo] Running example client
     [java] Exception in thread "main" java.io.IOException: Server returned
HTTP
 response code: 500 for URL: http://localhost:8912
     [java]     at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht
tpURLConnection.java:1149)
     [java]     at HttpClient.main(Unknown Source)
     [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 29 seconds
D:\Program
Files\servicemix-2.0.2\assembly\target\servicemix-2.0.2\bin\servicemi
x-2.0.2\examples\http-binding>java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

thank's you
--
View this message in context: http://www.nabble.com/error-in-http-binding-example-t1562542.html#a4243486
Sent from the ServiceMix - Dev forum at Nabble.com.


Re: error in http-binding example

Posted by Guillaume Nodet <gn...@gmail.com>.
One solution would be to download the binary distribution.
Or just try to build the assembly without building the other modules.
If you find any information on your problem, please report back, but I
have no way to reproduce it ...

Cheers,
Guillaume Nodet

On 5/5/06, emicalc <em...@libero.it> wrote:
>
> yes,......but I have this problem with 3.0 snapshot:
> http://www.nabble.com/servicemix-3.0-problem-t1555398.html
> Can you help me?????
> --
> View this message in context: http://www.nabble.com/error-in-http-binding-example-t1562542.html#a4243809
> Sent from the ServiceMix - Dev forum at Nabble.com.
>
>

Re: error in http-binding example

Posted by emicalc <em...@libero.it>.
yes,......but I have this problem with 3.0 snapshot:
http://www.nabble.com/servicemix-3.0-problem-t1555398.html
Can you help me?????
--
View this message in context: http://www.nabble.com/error-in-http-binding-example-t1562542.html#a4243809
Sent from the ServiceMix - Dev forum at Nabble.com.


Re: error in http-binding example

Posted by Guillaume Nodet <gn...@gmail.com>.
Could you try with 3.0-SNAPSHOT ?

Cheers,
Guillaume Nodet

On 5/5/06, emicalc <em...@libero.it> wrote:
>
> Hello,
> I have this problem with HTPP-binding example (in servicemix-2.0.2); I start
> the service and then I start the client with ant command but there is the
> following error:
>
> D:\Program
> Files\servicemix-2.0.2\assembly\target\servicemix-2.0.2\bin\servicemi
> x-2.0.2\examples\http-binding>ant
> Buildfile: build.xml
>
> init:
>
> compile:
>
> run:
>      [echo] Running example client
>      [java] Exception in thread "main" java.io.IOException: Server returned
> HTTP
>  response code: 500 for URL: http://localhost:8912
>      [java]     at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht
> tpURLConnection.java:1149)
>      [java]     at HttpClient.main(Unknown Source)
>      [java] Java Result: 1
>
> BUILD SUCCESSFUL
> Total time: 29 seconds
> D:\Program
> Files\servicemix-2.0.2\assembly\target\servicemix-2.0.2\bin\servicemi
> x-2.0.2\examples\http-binding>java -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
>
> thank's you
> --
> View this message in context: http://www.nabble.com/error-in-http-binding-example-t1562542.html#a4243486
> Sent from the ServiceMix - Dev forum at Nabble.com.
>
>