Advertisement

12.12.2006 at 10:06AM PST, ID: 22090777
[x]
Attachment Details

java.io.IOException: Server returned HTTP response code: 500 for URL

Asked by satrad in BEA WebLogic Application Server

Tags: , , , ,

Hi

I have an application running in the server and another application calls that servlet. And both the applications are in different servers. It runs perfectly fine from my system, but when I login into another system and try running the application, it does not work. Could any one please let me know why would that strange behaviour happen.

The servlet code is,
PrintWriter out;
res.setContentType("text/html");
out = res.getWriter();
Connection connection = null;
try {
InputStream input = req.getInputStream();
connection = getConnection();
XMLParser.parseXml(connection, new InputSource(input));
connection.commit();
} catch (Exception e) {

This is the error I get

2006-12-01 13:46:33,660 ERROR [AWT-EventQueue-0] container.URLPost ( URLPost.java:74) - java.io.IOException: Server returned HTTP response code: 500 for URL: http://url:7001/proj/Submit
java.io.IOException: Server returned HTTP response code: 500 for URL: http://url:7001/proj/Submit
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.comp.proj.application.container.URLPost.doPostData(URLPost.java:59)
at com.comp.proj.application.container.SummaryPanel.processSubmit(SummaryPanel.java:631)
at com.comp.proj.application.container.SummaryPanel.access$400(SummaryPanel.java:58)

Appreciate all your help
ThanksStart Free Trial
 
 
[+][-]12.15.2006 at 01:15AM PST, ID: 18145024

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: BEA WebLogic Application Server
Tags: 500, http, response, returned, server
Sign Up Now!
Solution Provided By: Ajar
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32