cancel
Showing results for 
Search instead for 
Did you mean: 

An error has occurred during the execution of the JSPM_MAIN phase.

Former Member
0 Kudos

Hi, I have installed EHP1 netweaver 7.3 as java and I am getting the following error when I try to start the JSPM. Please assist. I have already applied the sap note that is alluded to in the error.

An error has occurred during the execution of the JSPM_MAIN phase.

Cannot initialize application data. Error occurred while trying to get the SAPLOCALHOST parameter value from the instance number: 0 on host: newcitizen via SAPCONTROL the web service API. See SAP Note 1401712 for further information. java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://newcitizen:50013" com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://newcitizen:50013"

You can find more information in the log file F:\usr\sap\NCP\J00\j2ee\JSPM\log\log_2012_06_11_05_03_02\JSPM_MAIN_1_01.LOG.

Use the information provided to troubleshoot the problem. An SAP Note may provide a solution to this problem. Search for SAP Notes with the following key words: com.sap.sdt.jspm.phases.PhaseTypeJSPM com.sap.sdt.jspm.gui.JspmUiException Cannot initialize application data. JSPM_MAIN JSPMPhases NetWeaver Upgrade SAPJup Java Upgrade

When reporting problems to SAP Support, attach the trouble ticket file F:\usr\sap\NCP\J00\j2ee\JSPM\log\log_2012_06_11_05_03_02\TroubleTicket_01.txt to your message.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

After maintaining parameter as per SAP Note 1600846 - JSPM/SUM calls sapcontrol without user credentials, you not only have to stop and start the whole SAP system but at the same time you have to restart the SAP<SID>* services from services.msc. Try this and it will work then.

Regards,

Naresh.

Former Member
0 Kudos

Thanks and it worked for me

0 Kudos

Thanks.

Worked for me too!

I forgot to restart the service also.

Regards, Mauricio

Former Member
0 Kudos

Hi Naresh,

The SAP note: 1600846 worked for me.

Thanks for the help.

Regards,

Prajakta

former_member361424
Discoverer
0 Kudos

After follow the note 1600846, and it still needs to restart restart the SAP<SID>* for PI 731. Or it will not work.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Yogesh,

Even, I faced the similar issue:

In JSPM log file "SAPCONTROL_PARAMETERVALUE_*.OUT", error displayed is "FAIL: HTTP error, HTTP/1.1 401 Unauthorized"

And, I did the same as mentioned by you to resolve the issue.

Just one additional step is needed: Restart the services "SAP<SID>* is services.msc in Windows.

So, to recapture the complete set of steps to resolve the issue:

  1. Check your DEFAULT.PFL profile
  2. Change profile parameter "service/protectedwebmethods" value from -
    • service/protectedwebmethods = SDEFAULT to service/protectedwebmethods = DEFAULT
  3. Stop you SAP AS JAVA server.
  4. Restart services SAP<SID>* is services.msc.
  5. Start your SAP AS JAVA server.

Start JSPM (go.bat) and the error reported in this thread should not appear.

Regrads,

Ankit

patelyogesh
Active Contributor
0 Kudos

When you change any profile parameters you have to make sure that you restart your SAP system.

Thanks

Yogesh

Former Member
0 Kudos

steps were applied and the problem was solved.

  1. Check  DEFAULT.PFL profile
  2. Change  parameter service/protectedwebmethods = DEFAULT
  3. Stop SAP server
  4. Restart windows  :S
  5. Star SAP server

best regards


Former Member
0 Kudos

Resolved my issue as well following same steps.

0 Kudos

Worked for me too.

JSPM Solution Manager 7.1

parameter service/protectedwebmethods = DEFAULT


and restart of the server did the job.


Thanks,


Beni

patelyogesh
Active Contributor
0 Kudos

Hello ,


I had same issue


Check your DEFAULT.PFL profile...


There is one profile parameter as below...


service/protectedwebmethods = SDEFAULT


Change it to...


service/protectedwebmethods = DEFAULT



REF:

Note 1600846 - JSPM/SUM calls sapcontrol without user credentials

Thanks

Yogesh

former_member189725
Active Contributor
0 Kudos

Can you please check if the SAP start service(sapstartsrv.exe) is started for each instance of the system .

Can you check if the URL http://newcitizen:50013 works.

Try starting it and carry on with the EHP update.

Regards

Ratnajit

Former Member
0 Kudos

Hi,

Your current problem is caused by wrong ADS configuration.
Wrong ADSUser password seems to be maintained on WebService client
proxy.

First plesae find out which J2EE engine is used for BI.
(If your PDF will be genrated by WebDynpro ABAP ALV, please check
which BI Java system is connected)
Log on Visual Admin of this BI J2EE egnine
  server -> services -> web service security
  Web Service Clients -> sap.com -> tc~wd~pdfobject ->
com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document

On URL field, you already configured with ADS on newcitizen:50013

.
Keep this seeting.
Go to 'authentication' field and enter ADSUser's password again.
Save this setting. And you need to restart pdfobject application.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/02/560f41ca73d349e10000
000a1550b0/frameset.htm
Please find information from above URL how to restart pdf object
application.

Regards,

Vipin

brian_quigley
Explorer
0 Kudos

Hello,

Firstly, please see note          1600846, it should resolve your issue.

If not:

 

Is SAP MC patched to the level described in 1439348?