on 05-25-2012 9:04 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ishan,
Could u check all components are in same patch level for j2ee, j2ee-cor and lmtools.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.