cancel
Showing results for 
Search instead for 
Did you mean: 

JSPM START ERROR JSPM_MAIN phase

Former Member
0 Kudos

I have a problem when I try to start JSPM in HP-ux with Maxdb, the log is:

Apr 4, 2011 6:26:38 PM [Info]: Phase JSPM/JSPMPhases/JSPM_MAIN has been started.

Apr 4, 2011 6:26:38 PM [Info]: Phase type is com.sap.sdt.jspm.phases.PhaseTypeJSPM.

Apr 4, 2011 6:26:38 PM [Error]: Exception has occurred during the execution of the phase.

Apr 4, 2011 6:26:38 PM [Error]: java.lang.ClassCastException: null

Apr 4, 2011 6:26:38 PM [Info]: Phase JSPM/JSPMPhases/JSPM_MAIN has been completed.

Apr 4, 2011 6:26:38 PM [Info]: Start time: 2011/04/04 18:26:38.

Apr 4, 2011 6:26:38 PM [Info]: End time: 2011/04/04 18:26:38.

Apr 4, 2011 6:26:38 PM [Info]: Duration: 0:00:00.005.

Apr 4, 2011 6:26:38 PM [Info]: Phase status is aborted.

How can I fix ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I have just solved a similar issue. If you have installed some windows updates recently then please check if you can start SAP kernel programs like sappfpar.exe from the command line. If you get the error like 'The system cannot execute the specified program' then look here and follow the instructions:

After I have installed that redistributable package update everything is working now.

Former Member
0 Kudos

Hi,

Could you please check system env. Today i also facing same problem and i found system env is not set properly.

Thanks

Deepak

Former Member
0 Kudos

Hi,

Please let us know the NetWeaver version and support pack level which help to detect the issue.

Check whether SDM is running or not and password for SDM login because JSPM will connect SDM while starting up.

Thanks,

Subrata

Former Member
0 Kudos

Check for more detailed log in JSPM/log folder

Regards,

Former Member
0 Kudos

Hello Subatra,

Netweaver Version is, 7.02 support packages 3.

I restarted SDM and running OK.

Apr 5, 2011 9:31:57 AM Info: ============================================

Apr 5, 2011 9:31:57 AM Info: = Starting to execute command 'server' =

Apr 5, 2011 9:31:57 AM Info: ============================================

Apr 5, 2011 9:31:57 AM Info: Starting SDM - Software Deployment Manager...

Apr 5, 2011 9:31:57 AM Info: tc/SL/SDM/SDM/sap.com/SAP AG/7.0203.20100111100930.0000

Apr 5, 2011 9:31:59 AM Info: SDM operation mode successfully set to: Integrated

Apr 5, 2011 9:32:00 AM Info: JStartupFramework is active

Apr 5, 2011 9:32:00 AM Info: Operation mode of SDM in JStartupFramework is "Integrated".

Apr 5, 2011 9:32:00 AM Info: Check if Server is running already.

Apr 5, 2011 9:32:00 AM Info: OK server is not running. Enable SDM Process in JStartupFramework.

Apr 5, 2011 9:32:00 AM Info: enabling SDM Process with JStartupFramework

Apr 5, 2011 9:32:00 AM Info: enabled SDM Process with JStartupFramework

Apr 5, 2011 9:32:00 AM Info: Successfully enabled SDM Process in JStartupFramework.

Apr 5, 2011 9:32:11 AM Info: SDM started successfully.

This is the txt file: TroubleTicket_01.txt appear in path: /usr/sap/PDD/JC00/j2ee/JSPM/log/log_2011_04_05_10_18_39

Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:

com.sap.sdt.jspm.phases.PhaseTypeJSPM

com.sap.sdt.util.diag.JavaException

java.lang.ClassCastException: null

JSPM_MAIN

JSPMPhases

Java Support Package Manager

Edited by: Andres Leonardo Suarez Rey on Apr 5, 2011 5:12 PM

Edited by: Andres Leonardo Suarez Rey on Apr 5, 2011 5:24 PM

Former Member
0 Kudos

HI, Rajneesh.

This is the JSPM log:

5, 2011 9:34:00 AM : Starting JSPM bootstrap...

Apr 5, 2011 9:34:00 AM : Command line: -boot=unx

Apr 5, 2011 9:34:01 AM : No new JSPM content found in directory /usr/sap/PDD/JC00/j2ee/JSPM/deploy.

Apr 5, 2011 9:34:01 AM : Bootstrap will not launch JSPM process.

Apr 5, 2011 9:34:01 AM : JSPM bootstrap completed successfully.

Apr 5, 2011 9:34:02 AM : Command line: -rootdir=/usr/sap/PDD/JC00/j2ee/JSPM -tracelevel=FINEST run JSPM

Apr 5, 2011 9:34:02 AM : JSPM version is 7.02.3.0.16.

Apr 5, 2011 9:34:03 AM : Bootstrapping has started.

Apr 5, 2011 9:34:03 AM : Bootstrapping common execution has been completed.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.db.DBFactoryManager has been initialized with code all and version 0.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code all and version 630.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code all and version 700.

Apr 5, 2011 9:34:03 AM : Bootstrapping common configuration has been completed.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code UNX and version 0.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code UNX and version 630.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.j2ee.J2eeFactoryManager has been initialized with code UNX and version 700.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.jspm.JspmFactoryManager has been initialized with code UNX and version 0.

Apr 5, 2011 9:34:03 AM : Factory manager com.sap.sdt.tools.UtilFactoryManager has been initialized with code UNX and version 0.

Apr 5, 2011 9:34:03 AM : Bootstrapping configuration for UNX has been completed.

Apr 5, 2011 9:34:03 AM : Bootstrapping configuration for 700 has been completed.

Apr 5, 2011 9:34:03 AM : Bootstrapping has ended.

Apr 5, 2011 9:43:41 AM : Command execution has been completed with return code 0.

But JSPM´s tracert, appear error lines:

Apr 5, 2011 9:34:08 AM : com.sap.sdt.ucp.pce.ctrl.PhaseExecutor [Thread[main,5,main]]: .....ObjectFactory.newInstance of com.sap.sdt.ucp.phases.PhaseTypeJspmContext

Apr 5, 2011 9:34:08 AM : com.sap.sdt.ucp.pce.ctrl.PhaseExecutor [Thread[main,5,main]]: .....caused LoaderException

Apr 5, 2011 9:34:08 AM : com.sap.sdt.ucp.pce.ctrl.PhaseExecutor [Thread[main,5,main]]: .....Throwing Exception com.sap.sdt.ucp.pce.ctrl.PhaseLoaderException.

Apr 5, 2011 9:34:08 AM : com.sap.sdt.ucp.pce.ctrl.PhaseExecutor [Thread[main,5,main]]: com.sap.sdt.util.misc.LoaderException: Class com.sap.sdt.ucp.phases.PhaseTypeJspmContext not found using classpath .

Apr 5, 2011 9:34:08 AM : com.sap.sdt.ucp.pce.ctrl.PhaseExecutor [Thread[main,5,main]]: com.sap.sdt.util.misc.LoaderException: Class com.sap.sdt.ucp.phases.PhaseTypeJspmContext not found using classpath .

at com.sap.sdt.util.misc.PathClassLoader.newClass(PathClassLoader.java:164)

at com.sap.sdt.util.misc.PathClassLoader.newInstance(PathClassLoader.java:118)

at com.sap.sdt.util.misc.ObjectFactory.newInstance(ObjectFactory.java:54)

at com.sap.sdt.ucp.pce.ctrl.PhaseExecutor.createContextBuilderClass(PhaseExecutor.java:449)

at com.sap.sdt.ucp.pce.ctrl.PhaseExecutor.execute(PhaseExecutor.java:183)

at com.sap.sdt.ucp.pce.ctrl.ActionExecutor.executeClassRef(ActionExecutor.java:204)

at com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:114)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.executeAction(ActionListSequentialExecutor.java:400)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.execute(ActionListSequentialExecutor.java:273)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.doExecute(ActionListSequentialExecutor.java:229)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.execute(ActionListSequentialExecutor.java:152)

at com.sap.sdt.ucp.pce.ctrl.ActionExecutor.executeListContainer(ActionExecutor.java:161)

at com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:110)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.executeAction(ActionListSequentialExecutor.java:400)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.execute(ActionListSequentialExecutor.java:273)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.doExecute(ActionListSequentialExecutor.java:229)

at com.sap.sdt.ucp.pce.ctrl.ActionListSequentialExecutor.execute(ActionListSequentialExecutor.java:152)

at com.sap.sdt.ucp.pce.ctrl.ActionExecutor.executeListContainer(ActionExecutor.java:161)

at com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:110)

at com.sap.sdt.ucp.pce.ctrl.ExecutionDirector.executeAction(ExecutionDirector.java:144)

at com.sap.sdt.ucp.admin.ContextExecutor.executePce(ContextExecutor.java:148)

at com.sap.sdt.ucp.admin.ContextExecutor.execute(ContextExecutor.java:85)

at com.sap.sdt.jspm.main.CmdExecutor.runContext(CmdExecutor.java:127)

at com.sap.sdt.jspm.main.CmdExecutor.executeRun(CmdExecutor.java:100)

at com.sap.sdt.jspm.main.CmdExecutor.execute(CmdExecutor.java:82)

at com.sap.sdt.tools.main.MainProgram.execute(MainProgram.java:479)

at com.sap.sdt.jspm.main.Jspm.main(Jspm.java:195)

Edited by: Andres Leonardo Suarez Rey on Apr 5, 2011 4:58 PM