GeeCON Prague 2014*
The moose likes Servlets and the fly likes Server Returning 500 response code for a URL request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Server Returning 500 response code for a URL request" Watch "Server Returning 500 response code for a URL request" New topic
Author

Server Returning 500 response code for a URL request

chandra kambham
Ranch Hand

Joined: Jun 09, 2008
Posts: 74
Hi Ranchers,

Our Web application is deployed on the SUN One Portal Server version 6.0 .
When we request for a particular URL the server is responding with the 500 Status code.
For example the URL: "http:test.com/testapp/common" -- is resulting in 500 error code...
Our Application name is: testapp and there exist a folder named "common" under this "testapp" folder...

I am not able to understand why the server is responding with 500 error code for this url request.?

Could some one please help me regarding this...

Many Thanks,
K.Chandra

Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

An HTTP 500 error code is pretty much meaningless, all it indicates is something went wrong in the code running on the server. If you want to find out what is causing this you will need to read the server log.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
chandra kambham
Ranch Hand

Joined: Jun 09, 2008
Posts: 74
Hi Paul,

Can you please let me know which logs of server i should check now..?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sorry, I've never use Sun One Portal Server so I've no idea. The documentation should tell you, though I'm a little surprised you managed to get this far without knowing
chandra kambham
Ranch Hand

Joined: Jun 09, 2008
Posts: 74
Hi,

I have checked the server error log and found the below entry:



Is this some thing related to configuration of server that is blocking the access to this perticular folder..?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  17

chandra kambham wrote:Hi,
I have checked the server error log and found the below entry:

Is this some thing related to configuration of server that is blocking the access to this perticular folder..?


Are you trying to get a directory listing of that folder?? A directory listing looks something like this



SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
chandra kambham
Ranch Hand

Joined: Jun 09, 2008
Posts: 74
Hi Ankit,

Yes I am trying to get a directory listing of that folder. But instead I am getting 500 error code..
 
GeeCON Prague 2014
 
subject: Server Returning 500 response code for a URL request