cancel
Showing results for 
Search instead for 
Did you mean: 

500 Internal Server Error

Former Member
0 Kudos

Hi all,

when I am deploying my application in server it is giving "500 Internal Server Error". Even a simple project with default view when I create the application and deploying its giving this error.

the total page is looking like this

<b>500 Internal Server Error

Web Dynpro Container/SAP J2EE Engine/6.40

Failed to process request. Please contact your system administrator.</b>

please can anyone tell me why this is happening? what might be the problem??

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

hye,

I am getting the same error.

here's the stack trace

java.lang.NullPointerException

at com.sap.xapps.custom.component.Portfolio_list.execute__Rpm__Vc_Portfolio_Getlist_Input(Portfolio_list.java:204)

at com.sap.xapps.custom.component.wdp.InternalPortfolio_list.execute__Rpm__Vc_Portfolio_Getlist_Input(InternalPortfolio_list.java:215)

at com.sap.xapps.custom.component.Portfolio_list.wdDoInit(Portfolio_list.java:100)

at com.sap.xapps.custom.component.wdp.InternalPortfolio_list.wdDoInit(InternalPortfolio_list.java:172)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:707)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)

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

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

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

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

and Im using an RFC in the web dynpro.

can anyone tell me why Im getting the error?

Harika

Former Member
0 Kudos

reinstalled NWDS

former_member189631
Active Contributor
0 Kudos

Pradeep,

*I suggest you to check your coding part , Mapping and binding.

Regards,

Ramganesan K.

Former Member
0 Kudos

as previously said, I am not at all using any code... not even single line of code.

create new WD project, gave project name

right click on component controller, create new component controller->gave name

right click on application->create new application->gave

save metadata, build and deployed.

It should show the default view. But giving the 500 internal error.

so no chance of code or mapping error

former_member189631
Active Contributor
0 Kudos

Ok Predeep,

Yeah you are right. If nothing is done (Mapping and Bind) atleast it could

show the empty Page.

Why dont you restart the server ?

Could you Create archive,Rebuild,deploy your application properly?

Regards,

Ram.

Former Member
0 Kudos

ya... everything i did perfectly. Rebuilding, deploying.

But i think there is some problem with archive. because, when iam creating DC's building it and CHECKIN to the portal(with out deploying), the changes are reflecting and i could able to see everything.

when i am creating archive and deploying it its giving error.

so could you please help me out what will be the problems due to archive and how to resolve those.?

Former Member
0 Kudos

Hi pradeep

This error comes oftenly if your coding part contains any problem. Try to check your code.

regards

ambica

former_member189631
Active Contributor
0 Kudos

Pradeep,

*The server Might be down or Not Running.

*Please see the server node is indicating Green.

*I suggest you to restart the server by rightclick-->restart

Regards,

Ramganesan K.

Former Member
0 Kudos

server nodes are in green color only.

abhijeet_mukkawar
Active Contributor
0 Kudos

can you ping the server from your pc ?

Former Member
0 Kudos

hi

did u try restarting the server and deploying the application?

regards

prasy

Former Member
0 Kudos

when i ping the server from preferences->jdi->development configurations its giving error <b>ping failed User credentials are invalid or user is denied access</b>

Former Member
0 Kudos

i tried with restarting and deploying it. no change

abhijeet_mukkawar
Active Contributor
0 Kudos

check out the credentials with basis guys, check if they are authorised or not.

regards

Former Member
0 Kudos

hi,

chk out the password of the deployment server with the server admin/BASIS. it might be b'coz ur r supplying the wrong password

Former Member
0 Kudos

my team mate is accessing the same server with same credentials but he is not facing any problem.

Former Member
0 Kudos

hi

try chkin out the firewall settings in ur system..mayb its preventing ur system from accessing the server

Former Member
0 Kudos

Hi,

nothing has been changed, it was working well yesterday, suddenly today its happening. all the settings are same as yesterday.

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

can you ping your server from <b>command prompt</b>

regards

Former Member
0 Kudos

yes i could able to ping the server from command prompt

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

are you not getting the full stack trace, if not

In IE, turn off the "Show Friendly HTTP error messages" by choosing tools - internet options - advanced. Then the full error messages will be displayed, as well as the line number of the error.

also check this

are you using ADS?

if you are using RFC, from content admin try to test and ping your JCOs

regards

Former Member
0 Kudos

I did as you said, still I am not getting stack trace. and I am not using ADS, JCO's,RFC's, nothing.

just creating project

creating component

creating application

build and deploy application.

as far i know, it should display a default view with the view name text view.

deployment finished successfully. and this error is coming.

former_member189631
Active Contributor
0 Kudos

Pradeep,

Please check these,

*Your code should be error Free. Please check your code

id giving exception.

*Check your Mapping and Binding

*Check the J2ee engine details in Preferences -->J2EE Engine

*Check you have Successfuly deployed your application.

*If you feel any of your code may give the exception then enclose them with

Exception Handling Blocks

Regards,

Ramganesan K.

Former Member
0 Kudos

Thanks for the quick response...

But even if i try the worst case... ie.. just creating a project, creating component controller and then creating an application. and just deploying that application. It should show the default view, right?? I am not able to view that also.

I didnt not write single line of code.

and in preferences->j2ee server, server is perfectly alright.

I am not at all touching RFC's. Its like a HELLO WORLD program.

others are also using the same server, but they are doing good.

There is no mappings, no bindings... nothing.

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

this error occurs when server's HTTP response is no ok, try to get the full stack trace by doing setting in Internet Option, check if you can ping the server.

regards

luciano_leitedasilva
Contributor
0 Kudos

Hi,

Please, post a more complete information, like the java stack trace and if the application is using a RFC model.

Regards,

Luciano

Former Member
0 Kudos

hi

go thru this

hope it solves ur problem...

regards

prasy