cancel
Showing results for 
Search instead for 
Did you mean: 

Jco Error :500 Internal Server Error

ajjunit84
Active Participant
0 Kudos

Hi experts ,

Struck with the Jco creation.SLD is configured and system is able to perform SLD check.

But when i am trying to create the Jco destination ,its throwing error like

======================

500 Internal Server Error

Failed to process request. Please contact your system administrator.

The initial exception that caused the request to fail, was:

java.lang.NullPointerException

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:985)

at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)

at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:272)

at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:237)

at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:144)

=====================

Pls suggest.

Regards

Ajay

Edited by: Ajay Sandal on Aug 3, 2009 2:48 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Ajay Sandal ,

apply the latest Support packages and restart the instance.

i hope this will help you and best of luck.

thanks,

Bharathi.k

ajjunit84
Active Participant
0 Kudos

SLD is all fine ,moreover its a local SLD.

ERP 6.0 and EP 7.0 are running on Dual stack.

Datasuppliers are also Okay.The issue is as soon as i click on Create Jco ,an error page (full IE page with error) opens.

Error ,which i have pasted before.

Java is on 7.0 SP 06 . Is this a bug ??

Regards

Ajay

Former Member
0 Kudos

hi,

check the follwing

1) created the technical sytem in SLD and system object in portal for R3 system.

2) SLD port-installation activities should complete

3) check assing SLD related roles and Authorizarion

4) whether you have changed the password for ( administrator / j2ee_admin )

thanks

Bharathi ch

Former Member
0 Kudos

Please try to restart the Java and check that you are able to create it.I think some service has stopped.

It is not authorization issue because if no authorization then you shall not getthe tab.

you have local Sld for Both the system. i think you should have one local sld and other system should point to that sld.

Thanks

Rishi Abrol

ajjunit84
Active Participant
0 Kudos

ERP 6.0 and EP are install ,EP is selected as a Usage type.Both are on same host.

Hence SLD is local with both systems there.

Regards

Ajay

ajjunit84
Active Participant
0 Kudos

Password has been changed ,but i am able to do administration in SLD.

Will try to get some downtime and restart the systems .lets see after that.

Regards

Ajay

Edited by: Ajay Sandal on Aug 5, 2009 1:36 PM

Former Member
0 Kudos

Hi Ajay,

Where did you change this password!Was you JCo Destinations working before changing the password!

I had this problem when I tried to change the port number i.e from 50000 to 8000

Thanks

Sunil

ajjunit84
Active Participant
0 Kudos

I remember ,you were also facing this kind of issue.

Password was changed in clinet XXX and able to login to portal ,VA with J2EE_ADMIn.Also updated the password in Secure Store.

It was never working before.Whenever i click on create Jco it throws a page with the error mentioned.

Anyway will restart the system today .Port..ports were not changed...its ERP + EP ..8002 is being used for BSP/ABAP or SICF etc and 50200 is for portal/Java.

BTW thanks for that ,i did a recheck ..i am able to access services in sicf with port 8002.

Thats all.

Regards

Ajay

ajjunit84
Active Participant
0 Kudos

I havn't changed the port although.

This is when i am trying to access Jco creation /Webdynpro page a t 5XX00 port.

pasting the error

===========================================================================

5#000F1F6C4222006A000000040000135800047087AF75B856#1249627973593#com.sap.tc.webdynpro.clientserver.session.RequestManager#sap.com/tcwddispwda#com.sap.tc.webdynpro.clientserver.session.RequestManager.ExceptionHandler.handleThrowable#J2EE_ADMIN#14591####ee2dcc90831e11deb756000f1f6c4222#SAPEngine_Application_Thread[impl:3]_57##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of a Web Dynpro application: "java.lang.NullPointerException".

[EXCEPTION]

#1#java.lang.NullPointerException

at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:985)

at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)

at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:272)

at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:237)

at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:144)

at com.sap.tc.webdynpro.tools.sld.wdp.InternalNameDefinition.wdDoInit(InternalNameDefinition.java:236)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)

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

at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:398)

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

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:690)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:536)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:705)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:560)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)

at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)

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

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:690)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:536)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:770)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navXXXX(ClientApplication.java:750)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navXXXX(ClientComponent.java:873)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:496)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:145)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:344)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

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

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

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

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

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

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

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)

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

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

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

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

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

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

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

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

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

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

=======================================================================================================

SLD is fine..

Regards

Ajay

Former Member
0 Kudos

Hi Ajay,

Please check the RFC Destination-type 'H'.check if this is working (i mean see the user name and password).check the connection,some times this can be a problem.

Thanks

Sunil

ajjunit84
Active Participant
0 Kudos

Sunil

I checked ,but there is no RFC type "H" defined in my system.

Can you pls let me know RFC destination name etc..so that i can try.

Also , when trying to save CIM setting its saying "Failed to Set set permissions for Domain"

Found some refrence and reimported the CR content and CIMSAP content ,stopped started SLD ,but sill i am facing this issue.

Regards

Ajay

Edited by: Ajay Sandal on Aug 11, 2009 7:05 PM

ajjunit84
Active Participant
0 Kudos

Hi Gurus,

Struck with this issue.

reworked in SLD ,CIM client settings when saving giving errors that"Not able to set permissions for domains"

However test is working fine.

Any suggestions??

Reards

Ajay

Edited by: Ajay Sandal on Aug 12, 2009 5:07 PM

ajjunit84
Active Participant
0 Kudos

Awaiting suggestions....

ajjunit84
Active Participant
0 Kudos

This was solved by deleting the Jco RFC in CIM and recreatign the Jco RFC.

Former Member
0 Kudos

Hi, Ajay.

I am having the same problem. Can you tell me how to delete the Jco RFC in CIM ?

Thanks a lot.

BR.

Louis Huang.

Former Member
0 Kudos

hi Ajay Sandal,

please find the following link, and the 4th point that is NullPointerException in the trace when maintaining JCO destinations

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2&override...

i hope it should help you.

thank you .

Bharathi Ch.

Former Member
0 Kudos

Refer to docs at []

ajjunit84
Active Participant
0 Kudos

SLD is configured and running fine.

Former Member
0 Kudos

Hi,

Please check that we maintain JCO which are of two type.One is metadata and model data.

Do you have your userid in the backend system for which you are creating the JCO.Please check the login mode used in the JCO is Ticket then you shouls have id in the backend System and this system.

Check that the Backend system is defined correctly in the System landscape of this System.

Thanks'

Rishi Abrol

ajjunit84
Active Participant
0 Kudos

Rishi

Understand that.But the issue is ,when i am clicking on Create Jco ,at that time its throwing me the exception.

Its not allowing to proceed.

Usually , i use J2EE_ADMIN to create Jco and while providing the connection details ,only then we have to provide the user id present in Backend or SSO in case of Ticket.

Regards

Ajay

ajjunit84
Active Participant
0 Kudos

Any ideas pls??

regards

Ajay

Former Member
0 Kudos

Please check that you are pointing to the correct SLD in visual Admin --->SLD datasupplier