cancel
Showing results for 
Search instead for 
Did you mean: 

Error while starting JSPM

Former Member
0 Kudos

Hi All,

While starting JSPM in SRM 7.01 We are getting error:

java.lang.ClassCastException: nulljava.lang.ClassCastException

The log files are as follows:

JSPM Log file:

May 25, 2012 11:07:38 AM [Info]: Starting JSPM bootstrap...

May 25, 2012 11:07:38 AM [Info]: Command line: -boot=win

May 25, 2012 11:07:38 AM [Info]: No new JSPM content found in directory E:\usr\sap\KSJ\JC24\j2ee\JSPM\deploy.

May 25, 2012 11:07:38 AM [Info]: Process ID 1, name cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml" has been started.

May 25, 2012 11:07:38 AM [Info]:   Command line: cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml"

May 25, 2012 11:07:38 AM [Info]:   Standard out: E:\usr\sap\KSJ\JC24\j2ee\JSPM\tmp\Copy_83.OUT

May 25, 2012 11:07:38 AM [Info]: Process ID 1 has been started.

May 25, 2012 11:07:38 AM [Info]: Waiting for process ID 1, name cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml" to finish.

May 25, 2012 11:07:38 AM [Info]: Process ID 1, name cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml" has been finished, exit code 0.

May 25, 2012 11:07:38 AM [Info]: File E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML has been copied to E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml.

May 25, 2012 11:07:38 AM [Info]: Bootstrap will not launch JSPM process.

May 25, 2012 11:07:38 AM [Info]: JSPM bootstrap completed successfully.

May 25, 2012 11:07:40 AM [Info]: Command line: -rootdir=E:\usr\sap\KSJ\JC24\j2ee\JSPM\ -tracelevel=FINEST run JSPM

May 25, 2012 11:07:40 AM [Info]: JSPM version is 7.02.9.0.3.

May 25, 2012 11:07:40 AM [Info]: Bootstrapping has started.

May 25, 2012 11:07:40 AM [Info]: Bootstrapping common execution has been completed.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.db.DBFactoryManager has been initialized with code all and version 0.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code all and version 630.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code all and version 700.

May 25, 2012 11:07:41 AM [Info]: Bootstrapping common configuration has been completed.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code WIN and version 0.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code WIN and version 630.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code WIN and version 700.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.jspm.JspmFactoryManager has been initialized with code WIN and version 0.

May 25, 2012 11:07:41 AM [Info]: Factory manager com.sap.sdt.tools.UtilFactoryManager has been initialized with code WIN and version 0.

May 25, 2012 11:07:41 AM [Info]: Bootstrapping configuration for WIN has been completed.

May 25, 2012 11:07:41 AM [Info]: Bootstrapping configuration for 700 has been completed.

May 25, 2012 11:07:41 AM [Info]: Bootstrapping has ended.

May 25, 2012 11:07:58 AM [Info]: Command execution has been completed with return code 0.

-----------------------------------------------------------------------------------------------------------------------------------------------------------

JSPM MAIN_1_01 Log File:

May 25, 2012 11:07:45 AM [Info]: Phase JSPM/JSPMPhases/JSPM_MAIN has been started.

May 25, 2012 11:07:45 AM [Info]: Phase type is com.sap.sdt.jspm.phases.PhaseTypeJSPM.

May 25, 2012 11:07:45 AM [Error]: Exception has occurred during the execution of the phase.

May 25, 2012 11:07:45 AM [Error]: java.lang.ClassCastException: null

May 25, 2012 11:07:45 AM [Info]: Phase JSPM/JSPMPhases/JSPM_MAIN has been completed.

May 25, 2012 11:07:45 AM [Info]: Start time: 2012/05/25 11:07:45.

May 25, 2012 11:07:45 AM [Info]: End time: 2012/05/25 11:07:45.

May 25, 2012 11:07:45 AM [Info]: Duration: 0:00:00.005.

May 25, 2012 11:07:45 AM [Info]: Phase status is aborted.

---------------------------------------------------------------------------------------------------------------------------

DIALOG Log File:

May 25, 2012 11:07:41 AM [Info]: Listening for connections on port 6240...

May 25, 2012 11:07:45 AM [Info]: Incoming connection from host <IP-Address>.

May 25, 2012 11:07:45 AM [Info]: Handshake finished. Connection established.

May 25, 2012 11:07:45 AM [Info]: Waiting for input in dialog PhaseErrorMessage type Composite.

May 25, 2012 11:07:58 AM [Info]: Processing input in dialog PhaseErrorMessage type Composite.

May 25, 2012 11:07:58 AM [Info]: In dialog Buttons the value of variable BUTTON labeled #Continue has been set to value of variable Continue.

May 25, 2012 11:07:58 AM [Info]: Dialog Buttons has been confirmed.

May 25, 2012 11:07:58 AM [Info]: Dialog PhaseErrorMessage has been confirmed.

May 25, 2012 11:07:58 AM [Info]: Dialog type InfoText with dialog name Info displays dialog text <html>

An error has occurred during the execution of the <i>JSPM_MAIN</i> phase.<br>

<div style="background-color: #dde8ef"><font face="Helvetica, Arial">

java.lang.ClassCastException: null

java.lang.ClassCastException

<br>

</font></div>

<p>You can find more information in the log file <b>E:\usr\sap\KSJ\JC24\j2ee\JSPM\log\log_2012_05_25_11_07_36\JSPM_MAIN_1_01.LOG</b>.

<p>Use the information provided to troubleshoot the problem. An SAP Note may provide a solution to this problem. Search for <b><a href="http://service.sap.com/notes">SAP Notes</a></b> with the following key words:

<pre style="background-color: #dde8ef"><font face="Helvetica, Arial">

com.sap.sdt.jspm.phases.PhaseTypeJSPM

com.sap.sdt.util.diag.JavaException

java.lang.ClassCastException: null

JSPM_MAIN

JSPMPhases

Java Support Package Manager

</font></pre>

<p>When reporting problems to SAP Support, attach the trouble ticket file <b>E:\usr\sap\KSJ\JC24\j2ee\JSPM\log\log_2012_05_25_11_07_36\TroubleTicket_01.txt</b> to your message.<br>

</html>.

May 25, 2012 11:07:58 AM [Info]: Dialog PhaseErrorMessage variable handler has been updated.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

BOOTSTRAP Log file:

May 25, 2012 11:07:38 AM [Info]: Starting JSPM bootstrap...

May 25, 2012 11:07:38 AM [Info]: Command line: -boot=win

May 25, 2012 11:07:38 AM [Info]: No new JSPM content found in directory E:\usr\sap\KSJ\JC24\j2ee\JSPM\deploy.

May 25, 2012 11:07:38 AM [Info]: Process ID 1, name cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml" has been started.

May 25, 2012 11:07:38 AM [Info]:   Command line: cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml"

May 25, 2012 11:07:38 AM [Info]:   Standard out: E:\usr\sap\KSJ\JC24\j2ee\JSPM\tmp\Copy_83.OUT

May 25, 2012 11:07:38 AM [Info]: Process ID 1 has been started.

May 25, 2012 11:07:38 AM [Info]: Waiting for process ID 1, name cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml" to finish.

May 25, 2012 11:07:38 AM [Info]: Process ID 1, name cmd /C  copy /Y "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML" "E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml" has been finished, exit code 0.

May 25, 2012 11:07:38 AM [Info]: File E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP_WIN.XML has been copied to E:\usr\sap\KSJ\JC24\j2ee\JSPM\config\BOOTSTRAP.xml.

May 25, 2012 11:07:38 AM [Info]: Bootstrap will not launch JSPM process.

May 25, 2012 11:07:38 AM [Info]: JSPM bootstrap completed successfully.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SAPJup Log File:

May 25, 2012 11:07:41 AM [Info]: Tag ControlUnit with name JSPM found.

May 25, 2012 11:07:41 AM [Info]: Creating control unit JSPM.

May 25, 2012 11:07:41 AM [Info]: Could not process dialog JspmWelcomeDialog because execution dialogs have been suppressed.

May 25, 2012 11:07:41 AM [Info]: Starting execution of action with name JSPM and type Unit.

May 25, 2012 11:07:45 AM [Info]: Starting execution of action with name JSPMPhases and type Modul.

May 25, 2012 11:07:45 AM [Info]: Starting execution of action with name JSPM_MAIN and type Phase.

May 25, 2012 11:07:45 AM [Info]: Phase JSPM/JSPMPhases/JSPM_MAIN is logging to file E:\usr\sap\KSJ\JC24\j2ee\JSPM\log\log_2012_05_25_11_07_36\JSPM_MAIN_1_01.LOG.

May 25, 2012 11:07:45 AM [Error]: java.lang.ClassCastException: null

May 25, 2012 11:07:58 AM [Error]: Error during execution of action with name JSPM_MAIN and type Phase.

May 25, 2012 11:07:58 AM [Info]: Could not process dialog ActionErrorDialog because execution dialogs have been suppressed.

May 25, 2012 11:07:58 AM [Info]: Executing action with name JSPM_MAIN and type Phase. Execute option has been set to exit.

May 25, 2012 11:07:58 AM [Info]: Execution may only continue after Phase JSPM_MAIN was executed. Execution stopped.

May 25, 2012 11:07:58 AM [Error]: Could not execute parent action with type Modul and name JSPMPhases: could not execute action with type Phase and name JSPM_MAIN.

May 25, 2012 11:07:58 AM [Error]: Error during execution of action with name JSPMPhases and type Modul.

May 25, 2012 11:07:58 AM [Info]: Could not process dialog ActionErrorDialog because execution dialogs have been suppressed.

May 25, 2012 11:07:58 AM [Info]: Executing action with name JSPMPhases and type Modul. Execute option has been set to exit.

May 25, 2012 11:07:58 AM [Info]: Execution may only continue after Modul JSPMPhases was executed. Execution stopped.

May 25, 2012 11:07:58 AM [Error]: Could not execute parent action with type Unit and name JSPM: could not execute action with type Modul and name JSPMPhases.

May 25, 2012 11:07:58 AM [Error]: Error during execution of action with name JSPM and type Unit.

----------------------------------------------------------------------------------------------------------------------------------------------------------

OsProc001_01.ERR  Log file:

<<< frog.jar: version 5.4.5  10/19/05  sap.theme: null >>>

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

--sdtgui.err, sdtgui.trc, sdtgui.out files are blank

---I checked profile folder no duplicate profiles are present.

---I also gone through various post, but not got any solutions.

Ex.

http://scn.sap.com/thread/1927342

==> to check sapffpar.exe and System env. ==> OK

http://scn.sap.com/thread/1222276

==> to remove 3 JSPM DataModel XML files from /JSPM/data/variables  ==> Tried No Success

One Point===> We have only one DataModel XML File: Jspm.JSPM.DataModel.xml

Jspm.DataModel.xml and Jspm.J2EE.DataModel.xml are not generated.

----I also checked help.sap.com, no solution

---No helpful SAP Notes were found.

---We can start VA, Config Tool, SDM.

---System Variable Set properly.

JSPM version is 7.02.9.0.3.

OS- Windows Server 2008 R2 64 bit

DB- IBM DB2 9.7.04

Please help us to solve this error.

Thanks and Regards,

Ishan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ishan,

Please check whether the password for the SDM and for the user "Administrator" (by a "Java Add-In for ABAP" for the user "j2ee_admin") is the same in the configtool under

- secure store

    =  "Secure Store Data"

        • admin/password/<SAPSID>   

        • admin/user/<SAPSI

MaheshKumar
Contributor
0 Kudos

Hi Ishan,

Could u check all components are in same patch level for j2ee, j2ee-cor and lmtools.

Former Member
0 Kudos

Hi,

Did you go through DETECT_SYSTEM_PARAMETERS.LOG and DETECT_SYSTEM_COMPONENTS.LOG?

I had once got a similar error due to /usr/sap/<SID>/SYS/exe/uc/hpia64/sapmanifestdb.mf file not accessible.

Regards,

Sonia

Former Member
0 Kudos

Hi Sonia,

Thanks for ur reply.

I checked sapmanifestdb.mf has proper permissions.

But I did not get DETECT_SYSTEM_PARAMETERS.LOG and DETECT_SYSTEM_COMPONENTS.LOG log files in j2ee/JSPM/log

I want to know whether I am searching at correct place or not? If not where these files are?

Regards,

Ishan

Former Member
0 Kudos

Hi,

These files are present in /j2ee/JSPM/log folder.

Perhaps the JSPM did not get to the stage of writing these files.

Regards,

Sonia

Former Member
0 Kudos

Hi,

In this case what should we do now?

What should be be the problem?any idea?

Thanks,

Ishan

Former Member
0 Kudos

Hi Ishan,

Cannot  see any error in the log files.

Can you check if the Admin( j2ee_admin or Administrator) user exists and is not locked.

Is the SAP* user activated by any chance?

Regards,

Sonia

Former Member
0 Kudos

Hi,

Can you check if you comply with the following pre-requisites for starting JSPM:

1) All server processes on the Java instance are started before you start JSPM on this instance.

2)Directories and files have not been deleted, renamed, or created in the following directories and their subdirectories: /usr/sap/<SID>/SYS/exe and /usr/sap/<SID>/SYS/profile. Otherwise, JSPM cannot detect the kernel and the system profiles, and cannot be started. If a backup of the kernel and the system profiles has been required, it has been created in a different directory.

3)You have logged on to the operating system as a <SID>adm user. If you have not done this, you must switch to it before starting to use JSPM. On systems, where there is no <sid>adm user, you can run JSPM with different user provided it has enough permissions.

4)You have logged to the JSPM with a AS Java user with enough permissions to deploy.

Regards,

Sonia

Former Member
0 Kudos

Hi,

All things mentioned by you were checked already.

Regards,

Ishan

Former Member
0 Kudos

Hi,

Can you check if the SDM service is running or try resetting the SDM pwd.

Regards,

Sonia

Former Member
0 Kudos

Hi,

I checked SDM already, I can log-on to SDM with password which I set.

Regards,

Ishan

Former Member
0 Kudos

Hello Ishan,

Is your error solved.

I understand that this is the first time you are starting your JSPM. If not correct me.

Can you try upgrading your JSPM patch using SDM.

Regards,

Sonia

Former Member
0 Kudos

Hi,

The error is still not solved.

I started JSPM one time and upgraded my JSPM to patch level 9 from 3.

But now it is not starting.

Previously I started it using command:

runas /profile /user:<domain or host>\<sid>adm <full path to JSPM\go.bat

Regards,

Ishan

Former Member
0 Kudos

Hi

can you check if there are any space issues in usr/sa[/SID. because when JSPM reads the contents it needs some 3 times more space then the actual archive content.

Sap help note says, “If the total size of the archives is X MB, there must be about three times X MB free disk and there must be at least enough free disk space to extract all software deployment archives inside the SCAs. ”

and also check where is the JSPM folder path. is it under j2ee/JSPM ? 

cheers

Prasad kovi

Former Member
0 Kudos

Hi Prasad,

There is no free space issue.

And JSPM resides in same folder u mentioned.

I think issue is, as I said earlier,

We have only one DataModel XML File: Jspm.JSPM.DataModel.xml

Jspm.DataModel.xml and Jspm.J2EE.DataModel.xml are not generated.

Regards,

Ishan

Former Member
0 Kudos

Hi

can u delete

Jspm.DataModel.xml 

- Jspm.J2EE.DataModel.xml

- Jspm.JSPM.DataModel.xml

and give JSPM another try.

Please make sure the rest of the XMLs are in place otherwise JSPM won't start

cheers

Prasad kovi

Former Member
0 Kudos

Hi Prasad,

We already tried the same thing. But no success.

Regards,

Ishan

Former Member
0 Kudos

Hi,

What is the version of your kernel?

Have you performed kernel upgrade recently? If your kernel is old, can you perform a kernel upgrade and check.

Regards,

Sonia

Former Member
0 Kudos

hi

can u send us the latest error logs  then

Former Member
0 Kudos

Hi,

All the logs are same as posted previously. Only change in date and time I can see.

Still you need logs then plz tell I will post them.

Regards,

Ishan

Former Member
0 Kudos

Yes please

Former Member
0 Kudos

and also check what  the trc files say

  j2e/JSPM/trc

Former Member
0 Kudos

Hi,

Kernel Version is 7.02   Patch Level 81883.

Former Member
0 Kudos

Hi Ishan,

Can you paste the disp+work output.

Regards,

Sonia