aspose file tools*
The moose likes Web Services and the fly likes java.io.IOException: Invalid CRLF found in token Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "java.io.IOException: Invalid CRLF found in token " Watch "java.io.IOException: Invalid CRLF found in token " New topic
Author

java.io.IOException: Invalid CRLF found in token

Janakee
Greenhorn

Joined: May 07, 2008
Posts: 2
hi...

I have created a web service in RAD. I have configured ssl basic security to the Websphere Application Server v6.0 by creating a key store,trust store and signer certificate.While testing the web service using this server i encountered a exception

java.io.IOException: Invalid CRLF found in token




in detail....

faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: java.io.IOException: Invalid CRLF found in token
faultActor: null
faultDetail:

java.io.IOException: Invalid CRLF found in token
at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:189)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:757)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:332)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:738)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:659)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:617)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:452)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:908)
at com.ibm.CalculatorSoapBindingStub.add(CalculatorSoapBindingStub.java:102)
at com.ibm.CalculatorProxy.add(CalculatorProxy.java:67)
at com.ibm._jsp._Result._jspService(_Result.java:150)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: java.io.IOException: Invalid CRLF found in token
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.parseResponseMessageSync(HttpOutboundServiceContextImpl.java:1536)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.readSyncResponse(HttpOutboundServiceContextImpl.java:616)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.startResponseReadSync(HttpOutboundServiceContextImpl.java:1635)
at com.ibm.ws.http.channel.outbound.impl.HttpOutboundServiceContextImpl.finishRequestMessage(HttpOutboundServiceContextImpl.java:1068)
at com.ibm.ws.webservices.engine.transport.http.HttpOutboundChannelConnection.sendSOAPRequest(HttpOutboundChannelConnection.java:281)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:536)
... 35 more
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"JanakeeJ",
Please check your private messages.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Janakee",
Please check your private messages, again.
-Ben
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.io.IOException: Invalid CRLF found in token