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

Hello SAPGurus,

I did EHP1 update on SOLMAN7.0 ABAP stack recently and trying to do the same on its Java stack through JSPM.

I am stuck up in the JSPM_MAIN phase which throws the following error

Cannot initialize application data.Could not determine if instance 00 on host is running.Cannot find instance with instance number 0 on host in the cluster.

PFA the logs.

I am seeing Note 1333317 - Cannot find local instance which is talking about Check INSTANCE_HOST and INSTANCE_NUMBER parameters in Jspm.xml.

I dint find these two parameters in jspm.xml, please suggest how can I solve this issue.

Regards,

Abhishek Paritosh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello SAPGurus,

I couldn't find the solution for JSPM issue therefore I tried to do the EHP1 using SDM.

While working with SDM it deployed two components and after that it throwed the error 

pr 4, 2013 1:40:53 PM   Error: ***** Abnormal end of SAP J2EE Engine Offline Deployment (Service component of SAP J2EE Engine) *****
Apr 4, 2013 1:40:53 PM   Error: Aborted: development component 'com.sap.security.core.ume.service'/'sap.com'/'SAP AG'/'7.0112.20120507121803.0000'/'1', grouped by software component 'SAP-JEE'/'sap.com'/'SAP AG'/'1000.7.01.12.0.20120712084500''/'1':
Error: Caught the following error or exception: "java.lang.NoClassDefFoundError"
Additional error message is:
com/sap/engine/core/configuration/impl/event/ListenersForPath
What can you do?
- See SAP note 514156 for further information.

I tried to read the above note but it was not usefull. After searching out on SDN I found one of the post which said to do the following

Please follow the steps:
1. Close JSPM application
2. Start <device>:\usr\sap\<sid>\JC<instance number>\SDM\program\RemoteGui.bat
3. From the menu invoke "SDM Gui" -> "Login" and enter your SDM password
4. Navigate to tab "Undeployment" and select CAF component caf~tc, press button "Select" and "Start Undeployment" and complete undeployment confirming it.

5. Navigate to tab "Deployment" and select CAF component using plus button and select option "Update deployed SDA/SCAs that have any version" into Deployment configuration options below and complete deployment confirming it.

6. Close "SDM Gui" application.
7. Restart JSPM and on the step "Select package type" select option "Single support packages" in order to update all other components, which left not deployed.
8. On step "Specify Queue" select all not deployed components and complete their deployment.

An alternative way is:
1. If there is a problem with CAF deployment do not stop the upgrade application.
2. Open command prompt and go to SDM\program directory
3. Execute: sdm jstartup "mode=integrated"
4. Execute: startserver
5. After that start the SDM remote GUI application
6. From the menu invoke "SDM Gui" -> "Login" and enter your SDM password
7. Navigate to tab "Undeployment" and select CAF component caf~tc, press button "Select" and "Start Undeployment" and complete undeployment confirming it.
8. Logout and close "SDM Gui" application.
9. In the command prompt execute: stopserver
10. In the command prompt execute: sdm jstartup "mode=standalone"

It is to note that the above solution was provided for software component CAF but in my case the components are BIMMR and JEE which throwed error I followed the above procedure I undeployed and redeployed not all of them but only BIMMR and JEE again. The deployment is going on for last 110mins with no progress in the progress baar it's still at 0%. Is this an issue, shall I wait for it to complete. Please suggest.

Former Member
0 Kudos

Hello all,

I restarted all the java process using jsmon and started the deployment again. This worked.

Thanks & Regards,

Abhishek Paritosh

Haroon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Abhishek,

Please make sure whether your sapstartsrv for the instance 00 is runing at the OS level and also

move the backup profiles and unused profiles from the SYS/profile directory so that you have only the active profile in that directory.

After the above changes start the JSPM again and see..

Thanks & Regards

Haroon Rasheed

Former Member
0 Kudos

Hello Haroon,

I restarted the sapstartsrv services on the both the instances i.e Central Instance and the SCS but still I face the same error.

Note:- Few days back I did kernel upgrade on the system and overwrite the files on the CI and SYS but not on the SCS does this can be one of the reason behind.

Regards,

Abhishek Paritosh

Former Member
0 Kudos

Hello Haroon,

It is to inform you that SAPHOST AGENT is not installed on my system. After going into the Java MMC I found this that either it is not installed or its not started. Does this have any impact on the issue.

Regards,

Abhishek Paritosh

Former Member
0 Kudos

Hi Abhishek,

It's nothing to do with the SAPHOSTAGENT - that just does monitoring and reporting.

Can you log in to JSPM itself?  If so, then it's likely to be the connection parameters for the patching.

Regards,

Graham

Former Member
0 Kudos

Hello Graham,

Thanks for the info about SAPHOSTAGENT. I can successfully log on to JSPM. Could you please guide what connection parameters might be missing. As said above there should be INSTANCE_HOST  and INSTANCE_PORT available in jspm.xml but I cant see those there. Any suggestion would be helpfull.

Regards,

Abhishek Paritosh