• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 941
  • Last Modified:

java.io.IOException: mark/reset not supported

One of our vendors is posting a file to our server and below is the error I am receiving..Can you tell me why this would happen? Is it on the server side? Thanks for your help


java.io.IOException: mark/reset not supported
      at java.io.InputStream.reset(InputStream.java:351)
      at com.expressdx.servlet.EdiGisbUpload.process(EdiGisbUpload.java:639)
      at com.expressdx.servlet.EdiGisbUpload.doPost(EdiGisbUpload.java:413)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
      at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java(Compiled Code))
      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
      at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

0
g46905
Asked:
g46905
1 Solution
 
CEHJCommented:
Looks like EdiGisbUpload is trying to call mark or reset on a stream that doesn't support it. Try changing the version of that class
0
 
g46905Author Commented:
We recently had a server upgrade and since then, we started receiving this error. Is there any setting that has changed on the server side?

Thanks
0
 
Mayank SAssociate Director - Product EngineeringCommented:
This is why upgrading should not be done without proper testing :) I think the best is to revert to the older version if you want no code-changes.
0
 
objectsCommented:
> Is it on the server side?

yes it is on the server side
0
 
CEHJCommented:
:-)
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now