Solved

java.io.IOException: mark/reset not supported

Posted on 2006-06-20
5
831 Views
Last Modified: 2011-09-20
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
Comment
Question by:g46905
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 16942691
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
 

Author Comment

by:g46905
ID: 16942725
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
 
LVL 30

Expert Comment

by:Mayank S
ID: 16942775
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
 
LVL 92

Expert Comment

by:objects
ID: 16948839
> Is it on the server side?

yes it is on the server side
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16950309
:-)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to Alipay 10 72
Print Rhino Java Array in Javascript 1 39
jsp CRUD operations with and without prepared statement also hibernatge 1 31
Java List 4 43
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question