Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » JAXB webservice exception(Getting the following excepton - javax.xml.ws.WebServiceException: java.io.IOException: Stream is closed exception)
icon4.gif  JAXB webservice exception [message #664161] Thu, 07 April 2011 16:47
Haroon  is currently offline Haroon Friend
Messages: 2
Registered: April 2011
Junior Member
Hi All,

My Eclipse RCP application publishes a JAXB webservice in Eclipse JRE's lightweight webserver. When the service is invoked by an external client, I get a javax.xml.ws.WebServiceException: java.io.IOException: Stream is closed exception. The service is up as I could hit the endpoint wsdl url in the browser.

One thing which I have noticed is that when i build the Eclipse product from my local machine, the webservice works fine.

But the product taken from the subversion does'nt. Although both the products are built from same version of code.

The launcher jar in the plugins folder for the product which i built from the workspace is org.eclipse.equinox.launcher_1.0.200.v20090520.jar

and that of the product from the subversion is org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar


Can it be something with the JRE/Eclipse version.
JRE version is 1.6.0_21.
Eclipse for RCP/Plug-in Developers1.2.0.20090617-1252

Please help me in debugging the issue.


Stack trace of the exception is as follows

javax.xml.ws.WebServiceException: java.io.IOException: Stream is closed
at com.sun.xml.internal.ws.streaming.TidyXMLStreamReader.close( Unknown S
ource)
at com.sun.xml.internal.ws.server.sei.EndpointArgumentsBuilder$ DocLit.re
adRequest(Unknown Source)
at com.sun.xml.internal.ws.server.sei.EndpointMethodHandler.inv oke(Unkno
wn Source)
at com.sun.xml.internal.ws.server.sei.SEIInvokerTube.processReq uest(Unkn
own Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
at com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(Unkn own Sourc
e)
at com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolk it.handle
(Unknown Source)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(Un known Sou
rce)
at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler. handleExc
hange(Unknown Source)
at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler. handle(Un
known Source)
at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
at sun.net.httpserver.AuthFilter.doFilter(Unknown Source)
at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(Un known Sou
rce)
at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
at sun.net.httpserver.ServerImpl$Exchange.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unkno wn Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Stream is closed
at sun.net.httpserver.FixedLengthInputStream.readImpl(Unknown Source)
at sun.net.httpserver.LeftOverInputStream.drain(Unknown Source)
at sun.net.httpserver.LeftOverInputStream.close(Unknown Source)
at java.io.FilterInputStream.close(Unknown Source)
at com.sun.xml.internal.ws.transport.http.server.ServerConnecti onImpl$1.
close(Unknown Source)
... 22 more



--

cheers

Haroon.
Previous Topic:Problem with dynamic weaving in equinox
Next Topic:Problems with @PreUpdate and flush()
Goto Forum:
  


Current Time: Fri Apr 19 13:22:29 GMT 2024

Powered by FUDForum. Page generated in 0.01843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top