cancel
Showing results for 
Search instead for 
Did you mean: 

SAP J2EE Engine : does not work !!!

Former Member
0 Kudos

Hi everyone,

I have installed SAP NW2004s Java SP9 Trial (on Windows XP and Sapdb as database). The installation finished without problems.

But when I start my SAP system, the SAP J2EE engine (process <b>jcontrol</b>) is still stopped

[... I have already searched in the forum, but I have not found a solution to my problem ...]

Here is the contents of files <b>dev_jcontrol</b> & <b>dev_sdm</b> :

                                                                  • File <b>dev_jcontrol</b> : *************************************

-


trc file: "D:\usr\sap\J2E\JC01\work\dev_jcontrol", trc level: 1, release: "700"

-


node name : jcontrol

pid : 1384

system name : J2E

system nr. : 01

started at : Mon Dec 03 15:23:56 2007

arguments :

arg[00] : D:\usr\sap\J2E\JC01\exe\jcontrol.EXE

arg[01] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_ahassaine

[Thr 2356] Mon Dec 03 15:23:56 2007

[Thr 2356] *** <b>ERROR => Can't open property file [D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties] [jstartxx.c 725]

[Thr 2356] *** ERROR => Can't open property file [D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties] </b>[jstartxx.c 1952]

[Thr 2356] *** ERROR => JStartupReadArgumentsEx: can't enumerate nodes [D:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties;D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties] (rc = -1) [jstartxx.c 524]

                                                                      • File <b>dev_sdm</b> : *************************************

-


trc file: "D:\usr\sap\J2E\JC01\work\dev_sdm", trc level: 1, release: "700"

-


node name : sdm

pid : 1360

system name : J2E

system nr. : 01

started at : Fri Nov 30 10:38:29 2007

arguments :

arg[00] : D:\usr\sap\J2E\JC01\exe\jlaunch.exe

arg[01] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_ahassaine

arg[02] : -DSAPINFO=J2E_01_sdm

arg[03] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC01_ahassaine

**********************************************************************

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties]

-> ms host : ahassaine

-> ms port : 3900

-> OS libs : D:\usr\sap\J2E\JC01\exe

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Used property files

-> files [00] : D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties

**********************************************************************

**********************************************************************

Instance properties

-> ms host : ahassaine

-> ms port : 3900

-> os libs : D:\usr\sap\J2E\JC01\exe

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Bootstrap nodes

**********************************************************************

**********************************************************************

Worker nodes

-> [00] sdm : D:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties

**********************************************************************

[Thr 3544] Fri Nov 30 10:38:29 2007

[Thr 3544] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 3544] JLaunchRequestQueueInit: create pipe listener thread

[Thr 2240] JLaunchRequestFunc: Thread 2240 started as listener thread for np messages.

[Thr 3352] WaitSyncSemThread: Thread 3352 started as semaphore monitor thread.

[Thr 3544] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)

[Thr 3544] CPIC (version=700.2005.12.02)

[Thr 3544] INFO: Invalid property value [Debbugable=yes]

[Thr 3544] [Node: SDM] java home is set by profile parameter

Java Home: C:\Java\

[Thr 3544] <b>JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\J2E\JC01\exe\jvmx.jar</b>

**********************************************************************

JStartupIReadSection: read node properties [sdm]

-> node name : SDM

-> node type : sdm

-> node execute : yes

-> java path : C:\Java\

-> java parameters :

-> java vm version : 1.4.2_09-b05

-> java vm vendor : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)

-> java vm type : server

-> java vm cpu : x86

-> heap size : 512M

-> root path : D:\usr\sap\J2E\JC01\SDM\program

-> class path : D:\usr\sap\J2E\JC01\SDM\program\bin\SDM.jar

-> OS libs path : D:\usr\sap\J2E\JC01\exe

-> main class : SDMInternal

-> framework class : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path : D:\usr\sap\J2E\JC01\exe\jstartup.jar;D:\usr\sap\J2E\JC01\exe\jvmx.jar

-> shutdown class : com.sap.sdm.jstartup.shutdown.InternalShutDown

-> parameters : server sdmhome=D:\usr\sap\J2E\JC01\SDM\program

-> debuggable : yes

-> debug mode : no

-> debug port : 50000

-> shutdown timeout : 120000

**********************************************************************

[Thr 3544] JLaunchISetDebugMode: set debug mode [no]

[Thr 2480] JLaunchIStartFunc: Thread 2480 started as Java VM thread.

**********************************************************************

JHVM_LoadJavaVM: VM Arguments of node [SDM]

-> stack : 262144 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

-> arg[ 3]: -Dsys.global.dir=D:\usr\sap\J2E\SYS\global

-> arg[ 4]: -Dapplication.home=D:\usr\sap\J2E\JC01\exe

-> arg[ 5]: -Djava.class.path=D:\usr\sap\J2E\JC01\exe\jstartup.jar;D:\usr\sap\J2E\JC01\exe\jvmx.jar;D:\usr\sap\J2E\JC01\SDM\program\bin\SDM.jar

-> arg[ 6]: -Djava.library.path=C:\Java
jre\bin\server;C:\Java
jre\bin;C:\Java
bin;D:\usr\sap\J2E\JC01\exe;d:\sapdb\programs\bin;d:\sapdb\programs\pgm;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;D:\usr\sap\J2E\SYS\exe\uc\NTI386

-> arg[ 7]: -Dmemory.manager=512M

-> arg[ 8]: -Xmx512M

-> arg[ 9]: -DLoadBalanceRestricted=no

-> arg[ 10]: -Djstartup.mode=JCONTROL

-> arg[ 11]: -Djstartup.ownProcessId=1360

-> arg[ 12]: -Djstartup.ownHardwareId=G1610100576

-> arg[ 13]: -Djstartup.whoami=sdm

-> arg[ 14]: -Djstartup.debuggable=yes

-> arg[ 15]: -DSAPINFO=J2E_01_sdm

-> arg[ 16]: -DSAPSTARTUP=1

-> arg[ 17]: -DSAPSYSTEM=01

-> arg[ 18]: -DSAPSYSTEMNAME=J2E

-> arg[ 19]: -DSAPMYNAME=ahassaine_J2E_01

-> arg[ 20]: -DSAPDBHOST=ahassaine

-> arg[ 21]: -Dj2ee.dbhost=ahassaine

**********************************************************************

CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources

CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain

CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub

CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS

CompilerOracle: exclude iaik/security/md/SHA a

CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices

CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile

CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup

[Thr 2480] JHVM_LoadJavaVM: Java VM created OK.

**********************************************************************

JHVM_BuildArgumentList: main method arguments of node [SDM]

-> arg[ 0]: server

-> arg[ 1]: sdmhome=D:\usr\sap\J2E\JC01\SDM\program

**********************************************************************

[Thr 2240] Fri Nov 30 10:38:33 2007

[Thr 2240] JLaunchRequestFunc: receive command:17, argument:0 from pid:2600

[Thr 2240] JLaunchIShutdownInvoke: set shutdown interval (stop:1196419113/end:1196419233/TO:120)

[Thr 2240] JLaunchProcessCommand: Invoke VM Shutdown

[Thr 2240] JHVM_FrameworkShutdownDirect: invoke direct shutdown

[Thr 2240] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework

[Thr 2240] JLaunchISetState: change state from [Initial (0)] to [Stopping (5)]

[Thr 640] Fri Nov 30 10:38:34 2007

[Thr 640] JLaunchIExitJava: exit hook is called (rc = 0)

[Thr 640] JLaunchCloseProgram: good bye (exitcode = 0)

*************************************************************

Thank you very much in advance for your help.

Hassan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hassan,

Maybe you have to try to read and/or modify the file instance.properties with the same user used to start the cluster. This user need read and write permission on this file.

Regards

Yves

Message was edited by:

Yves Demanet

Former Member
0 Kudos

Hi,

I checked the file system, and I did not find the file <b>instance.properties</b> in the

D:\usr\sap\J2E\JC01\j2ee\cluster\ directory !!! It is not generated !!!

Regards

Hassan

Former Member
0 Kudos

Hi!

If instance.properties is not there your installation has not finished correctly. This file is the central point of information for the bootstrap, which retrieves the info on how to connect to the database to collect the infos for the system startup (which will then overwrite your instance.properties file with the most recent values from the DB).

Please check if instance.properties has been deleted and can maybe be restored from tape or if there was an error in the installation.

Regards,

Jörg

Former Member
0 Kudos

Hi Joerg,

If the backup does not exist

What can we do? Could it be create manually, copy from an another Java Stack (of course with mofified values) or could be generated somewhere?

Best regards

Yves

Former Member
0 Kudos

Hi!

Probably copying the file over from another Java-Stack and inserting the proper values will work. And once you managed to update the file in way that allows bootstrap to work you will retrieve the most recent values from the DB anyway.

Regards and good luck,

Jörg