cancel
Showing results for 
Search instead for 
Did you mean: 

JSPM_MAIN phase error

Former Member
0 Kudos

Hello SAP Gurus,

I am trying to invoke JSPM through go.bat and startgui.bat and face JSPM_MAIN phase error following are the logs

Trouble Ticket Report

Java Support Package Manager for SAP NetWeaver'04s

SID................: QCM
Hostname...........: qerossm
Install directory..: G:/usr/sap/QCM
Database...........: $(/J2EE/DBSystem/DBInfoName)
Operating System...: NT
JDK version........: 1.4.2_18 Sun Microsystems Inc.
JSPM version.......: 7.00.14.0.1.9.23
System release.....: 700
ABAP stack present.: false

The execution ended in error.

Cannot initialize application data.
Could not detect database. Check if it is running.
Could not execute DMT command dbinfo with arguments G:\usr\sap\QCM\DVEBMGS00\j2ee\JSPM\config\DBINFO.XML.
Return code condition success evaluated to false for process java.exe for action dbinfo.


More information can be found in the log file G:\usr\sap\QCM\DVEBMGS00\j2ee\JSPM\log\log_2012_10_05_10_37_54\JSPM_MAIN_1_01.LOG.

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.jspm.gui.JspmUiException
Cannot initialize application data.
JSPM_MAIN
JSPMPhases
Java Support Package Manager

JSPM_MAIN_1_01.LOG

<!--LOGHEADER[START]/-->

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[1.5.3.7185 - 630]/-->

<!--NAME[G:\usr\sap\QCM\DVEBMGS00\j2ee\JSPM\log\log_2012_10_05_10_37_54\JSPM_MAIN_1_01.LOG]/-->

<!--PATTERN[JSPM_MAIN_1_01.LOG]/-->

<!--FORMATTER[com.sap.tc.logging.ListFormatter]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

#1.5 #C000C0A801C2000000000018019B53930004CB48DAE2A930#1349413677214#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:720)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:720)#Java###Phase {0} has been started.#1#JSPM/JSPMPhases/JSPM_MAIN#

#1.5 #C000C0A801C2000000000019019B53930004CB48DAE2A930#1349413677214#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:721)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:721)#Java###Phase type is {0}.#1#com.sap.sdt.jspm.phases.PhaseTypeJSPM#

#1.5 #C000C0A801C200000000001A019B53930004CB48DAE49178#1349413677339#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.jspm.gui.DialogController.showInitDialog(DialogController.java:558)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.gui.DialogController.showInitDialog(DialogController.java:558)#Java###Starting Initialize dialog...##

#1.5 #C000C0A801C2000000000020019B53930004CB48DAE679C0#1349413677464#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.jspm.gui.SystemInitializer.initializeDataModelAndLogging(SystemInitializer.java:487)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.gui.SystemInitializer.initializeDataModelAndLogging(SystemInitializer.java:487)#Java###Detecting system parameters...##

#1.5 #C000C0A801C2000000000021019B53930004CB48DAE679C0#1349413677464#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.jspm.trace.JspmExtLoggingManager.logReferenceToExtLog(JspmExtLoggingManager.java:167)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.jspm.trace.JspmExtLoggingManager.logReferenceToExtLog(JspmExtLoggingManager.java:167)#Java###You can find additional information in log file {0}.#1#G:\\usr\\sap\\QCM\\DVEBMGS00\\j2ee\\JSPM\\log\\log_2012_10_05_10_37_54\\DETECT_SYSTEM_PARAMETERS_01.LOG#

#1.5 #C000C0A801C200000000002E019B53930004CB48DB0A3E00#1349413679808#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.jspm.trace.JspmExtLoggingManager.logMaximumLogSeverity(JspmExtLoggingManager.java:253)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.jspm.trace.JspmExtLoggingManager.logMaximumLogSeverity(JspmExtLoggingManager.java:253)#Java###There are some ERROR messages in the child log {0}.#1#G:\\usr\\sap\\QCM\\DVEBMGS00\\j2ee\\JSPM\\log\\log_2012_10_05_10_37_54\\DETECT_SYSTEM_PARAMETERS_01.LOG#

#1.5 #C000C0A801C200000000002F019B53930004CB48DB0A3E00#1349413679808#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.doExecute(AbstractPhaseType.java:748)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.ucp.phases.AbstractPhaseType.doExecute(AbstractPhaseType.java:748)#Java###Exception has occurred during the execution of the phase.##

#1.5 #C000C0A801C2000000000030019B53930004CB48DB0A3E00#1349413679808#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.tools.procx.DefaultProcessAdapter.checkReturnCode(DefaultProcessAdapter.java:513)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.tools.procx.DefaultProcessAdapter.checkReturnCode(DefaultProcessAdapter.java:513)#Java###Return code condition success evaluated to false for process java.exe for action dbinfo.##

#1.5 #C000C0A801C2000000000031019B53930004CB48DB0A3E00#1349413679808#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:270)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:270)#Java###Could not execute DMT command dbinfo with arguments G:\\usr\\sap\\QCM\\DVEBMGS00\\j2ee\\JSPM\\config\\DBINFO.XML.##

#1.5 #C000C0A801C2000000000032019B53930004CB48DB0A3E00#1349413679808#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.jspm.gui.InitialParametersDetector.createDataModelObjects(InitialParametersDetector.java:843)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.jspm.gui.InitialParametersDetector.createDataModelObjects(InitialParametersDetector.java:843)#Java###Could not detect database. Check if it is running.##

#1.5 #C000C0A801C2000000000033019B53930004CB48DB0A3E00#1349413679808#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.jspm.gui.InitialParametersDetector.createDataModelObjects(InitialParametersDetector.java:904)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.jspm.gui.InitialParametersDetector.createDataModelObjects(InitialParametersDetector.java:904)#Java###Cannot initialize application data.##

#1.5 #C000C0A801C2000000000034019B53930004CB48DB0A7C80#1349413679824#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:792)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:792)#Java###Phase {0} has been completed.#1#JSPM/JSPMPhases/JSPM_MAIN#

#1.5 #C000C0A801C2000000000035019B53930004CB48DB0A7C80#1349413679824#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:793)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:793)#Java###Start time: {0}.#1#2012/10/05 10:37:57#

#1.5 #C000C0A801C2000000000036019B53930004CB48DB0A7C80#1349413679824#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:794)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:794)#Java###End time: {0}.#1#2012/10/05 10:37:59#

#1.5 #C000C0A801C2000000000037019B53930004CB48DB0A7C80#1349413679824#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:795)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:795)#Java###Duration: {0}.#1#0:00:02.610#

#1.5 #C000C0A801C2000000000038019B53930004CB48DB0A7C80#1349413679824#/System/Server/Upgrade/Phases/JSPM/JSPMPhases/JSPM_MAIN##com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:796)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:796)#Java###Phase status is {0}.#1#error#

JSPM.LOG

#1.5 #C000C0A801C200000000002C019B53930004CB48DB09C4E8#1349413679777#/System/Server/Upgrade/JSPM##com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:268)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.db.dmtif.AbstractDMTController.execute(AbstractDMTController.java:268)#Java###Error while executing command {0}.#1#dbinfo#

#1.5 #C000C0A801C200000000002D019B53930004CB48DB09C4E8#1349413679777#/System/Server/Upgrade/JSPM##com.sap.sdt.tools.procx.DefaultProcessAdapter.checkReturnCode(DefaultProcessAdapter.java:513)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.tools.procx.DefaultProcessAdapter.checkReturnCode(DefaultProcessAdapter.java:513)#Java###Return code condition success evaluated to false for process java.exe for action dbinfo.##

JSPM_CONFIG.TXT

/context/name = Jspm

### see com.sap.sdt.ucp.dialog.DialogFactoryProperties
/dialog/directory = config/dialog
#/dialog/serverConnection = TestServerConnection
#/dialog/serverConnection = UaServerConnection
#/dialog/UaServerConnection/port = 6240
#/dialog/UaServerConnection/port = 4240
/dialog/serverConnection = SDTServerConnection
/dialog/SDTServerConnection/mode = SDTGui
/dialog/SDTServerConnection/port = 4867
/dialog/SDTServerConnection/SDTGui/launch = true
/dialog/SDTServerConnection/SDTGui/config = jspm
/dialog/recordNameSpace = J2EEInputRecording
/dialog/recording = off
/dialog/autoCreateVariables = on

Note:- I see that the database is running fine, also DBINFO.XML file was not found at the location G:\\usr\\sap\\QCM\\DVEBMGS00\\j2ee\\JSPM\\config. I need to upgrade the SOLMAN4.0 to SOLMAN 7.0 EHP1 or 7.1, also I couldn't find SDM anywhere in the system.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you check JAVA environment variable set properly?

Thanks,

Venkat

Former Member
0 Kudos

Hello Venkat,

Do you want me to set JAVA_HOME user variable and its path as its value. Please let me know if any other variable need to be set.

Regards,

Abhishek Paritosh

Former Member
0 Kudos

Hi Venkat,

I am able to launch JSPM now. I tried to put the User variable JAVA_HOME in the environment variable but it was not able to find the path, removed it then. I tried again to launch the JSPM and this time it worked and I am able to see the JSPM screen. But while double clicking the GO.BAT file it again said the same thing that environment variant JSPM_HOME not set. I changed the port number for /dialog/SDTServerConnection/port as the previous one was already in use. I think this may be the solution. Thanks for help.

Regards,

Abhishek Paritosh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

What is the patch level for JSPM?

You may try to update JSPM to higher patch level and retry again.

Thanks,

Ravi

Former Member
0 Kudos

Hi Ravi,

Please look for the version in the logs which I have pasted in the beginning. Also look for the second reply which I have given to Venkat. Please suggest if you have anything to share.

Regards,

Abhishek Paritosh