cancel
Showing results for 
Search instead for 
Did you mean: 

Internal Server Error 500!

Former Member
0 Kudos

HI Experts,

We are on JAVA 6.20 , we have 3 applications deployed on that, first two are working fine , other one gives error like this

Internal Server Error 500!

javax.servlet.ServletException: 17076: Error in initializing of the JSP instance

at com.inqmy.services.servlets_jsp.server.jsp.JSPServlet.service(JSPServlet.java:289)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)

at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)

at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)

at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)

at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)

at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)

at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)

at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)

at java.security.AccessController.doPrivileged(Native Method)

at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

after some time it get resolved due to redeployment or some time redeployment gives error like warning

09/11/16 09:41:21 - Temp files deleted...

09/11/16 09:41:21 - Ear-file updated successfully for 2275ms.

09/11/16 09:41:21 - References from loader to its loaders were made!

09/11/16 09:41:21 - Start to load additional library library:servlet ...

09/11/16 09:41:22 - Library jar-file(s) deployed to server successfully!

09/11/16 09:41:22 - Start to load additional library library:jco ...

09/11/16 09:41:22 - Library jar-file(s) deployed to server successfully!

09/11/16 09:41:23 - Start deploying ...

09/11/16 09:41:25 - Ear-file uploaded to server for 1942ms.

09/11/16 09:41:40 - Successfuly deployed! Deployment took 15472ms.

09/11/16 09:41:40 - WARNING : Deploy service return folowing WARNINGs:

Error can't load Servlet com.pwcinternals.myAP.ServiceInitiator : java.lang.ClassCastException: com.pwcinternals.myAP.ServiceInitiator

Error can't load Servlet com.pwcinternals.myAP.framework.servlet.MyAPActionServlet : java.lang.ClassCastException: com.pwcinternals.myAP.framework.servlet.MyAPActionServlet

Deployment took 15472ms.

09/11/16 09:41:40 - ***********************************************************

Request your help on this , some time everything get proper after proper dpeloyment first sreen appear but second screen give following error.

java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Exception

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

at com.pwcinternals.myAP.framework.servlet.MyAPActionServlet.process(MyAPActionServlet.java:56)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)

at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)

at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)

at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)

at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)

at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)

at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)

at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)

at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)

at java.security.AccessController.doPrivileged(Native Method)

at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)

Request your help on this ..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Yogesh,

as mentioned above the Internal 500 Server Error just incates that something went wrong. It does not indicate anything about the causes - except for the stacktrace.

I think the error lies somewhere in these lines:

Error can't load Servlet com.pwcinternals.myAP.ServiceInitiator : java.lang.ClassCastException: com.pwcinternals.myAP.ServiceInitiator Error can't load Servlet com.pwcinternals.myAP.framework.servlet.MyAPActionServlet : java.lang.ClassCastException: com.pwcinternals.myAP.framework.servlet.MyAPActionServlet
java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Exception at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at

I recommend you to check your classpath and dependencies of your project, since that is the most likely cause for your problems.

You can also check your code if you did some strange class casting.

I hope I could help you.

Best Regards,

Carl Heckmann

former_member193379
Active Contributor
0 Kudos

Yogesh,

It is not the cient side or coding problem, please see the more details about it.

HTTP Error 500 Internal server error

Introduction

The Web server (running the Web Site) encountered an unexpected condition that prevented it from fulfilling the request by the client (e.g. your Web browser or our CheckUpDown robot) for access to the requested URL.

This is a 'catch-all' error generated by the Web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client. In addition to the 500 error notified back to the client, the Web server should generate some kind of internal error log which gives more details of what went wrong. It is up to the operators of the Web server site to locate and analyse these logs.

500 errors in the HTTP cycle

Any client (e.g. your Web browser or our CheckUpDown robot) goes through the following cycle when it communicates with the Web server:

Obtain an IP address from the IP name of the site (the site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).

Open an IP socket connection to that IP address.

Write an HTTP data stream through that socket.

Receive an HTTP data stream back from the Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.

This error occurs in the final step above when the client receives an HTTP status code that it recognises as '500'.

Fixing 500 errors - general

This error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of the Web server site to locate and analyse the logs which should give further information about the error.

Fixing 500 errors - CheckUpDown

Please contact us (email preferred) whenever you encounter 500 errors on your CheckUpDown account. We then have to liaise with your ISP and the vendor of the Web server software so they can trace the exact reason for the error. Correcting the error may require recoding program logic for the Web server software, which could take some time.