Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FileNotFound Servlet Exception

0 views
Skip to first unread message

Patrick Deloulay

unread,
Feb 4, 2002, 1:01:35 PM2/4/02
to
I am sending a lot request to a particular Servlet (using a custom POST query), and once in a while, WebLogic Server does not want to serve the query and throws a FileNotFound Exception. We are not heavily using the Server at this point. I have tried to play with the Post TimeOut properties in the Management console, but it does not help. Any pointers or ideas?
 
Thanks
 
http://???:80/xmlApiServlet
IOException caught: http://???:80/xmlApiServlet
java.io.FileNotFoundException: http://???:80/xmlApiServlet
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
 at
Patrick Deloulay
Lumenare Networks
 

Patrick Deloulay

unread,
Feb 8, 2002, 7:31:07 PM2/8/02
to
We are using WL6.1 SP1,
In the code we are just 'posting' some XML file to a specific and same servlet.
This behaviour of Servlet/URL 'File Not Found' happens sometimes, not always during heavy load...
Here is the piece of code that sends the query out, and read the response back...
 
[...]
         String servletUrlString="<protocol>://<server>:<port>/xmlApiServlet";
         java.net.URLConnection con = buildConnection(servletUrlString);
         DataOutputStream out = new DataOutputStream(con.getOutputStream());
         out.writeBytes(xmlData);
         out.flush();
         out.close();         
         StringBuffer sb = new StringBuffer();
         BufferedReader in =  new BufferedReader(new InputStreamReader(con.getInputStream()));
         String inputLine;
         while ( ( inputLine = in.readLine()) != null)
              sb.append(inputLine);        
         in.close();
[...]
 
Patrick
What version of the server/service pack are you using?  Also could you post the full stack trace; or better yet file a support case with BEA at http://www.bea.com/support/index.html.

Thanks
Jim

0 new messages