cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start j2ee engine

Former Member
0 Kudos

I was instructed to change out the JDK and the JDK that I switch out to wasn't compatible with our system. When I switch back to the first JDK the j2ee engine won't start. Here is the log from dev_disp:

***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]

      • ERROR => NiIRead: SiRecv failed for hdl 5 / sock 36

(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3494) [nixxi.cpp ; 4424]

DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)

DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2396)

      • ERROR => DpProcKill: kill failed [dpntdisp.c ; 371]

DpIJ2eeShutdown: j2ee state = SHUTDOWN

Any help would be greatly appreciated

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check if the JAVA_HOME is set correctly i.e., to the changed JDK version.

Paste dev_jcontrol, dev_ms, dev_disp logs from your work directory

Note 718901 - How to Change the JDK of the J2EE Engine

Note 723909 - Java VM settings for J2EE 6.40/7.0

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for all your help, the issue has been resolved.

Former Member
0 Kudos

refer to the SAP notes 872060 and 639702. Check whether the settings for the JDBC driver are correct as described in the notes above.

Cheers,

Praveen

former_member196353
Active Participant
0 Kudos

Could you please let us know the solution.

Regards,

Mo

former_member196353
Active Participant
0 Kudos

Could you please let us know the solution.

Regards,

Mo

Former Member
0 Kudos

Sapinst stopped at step 35 (or 36) - "Start Java engine"

jcontrol would not start and dev_jcontrol shows this error message - "JdkDetection_nnnn.class not found"

Our environment:

Windows 2003

Oracle 10.2.0.4

Solution Manager 7.01 EhP1 SR3

JDK - 1.4.2_24 rev-b06

JAVA_HOME=D:\java\j2sdk1.4.2_24

ORACLE_HOME=D:\oracle\SID\102

SAPEXE=D:\usr\sap\SID\SYS\exe\uc\NTAMD64

checked SAP notes:

943602 Analysis of errors within the startup of J2EE Engine 7.0

940893 Analysis of errors within the startup of J2EE Engine 6.40

718901 How to change the JDK of the J2EE Engine

817991 Startup Framework fails when starting a JLaunch process

741289 Profile parameters of the J2EE Engine are lost

943498 J2EE Engine does not start 6.40 and 7.0

There were some solutions that suggested giving "ALL" permissions to the SIDADM and SAPServiceSID users to the disk drives that we are installing the software on - we did that as well, but it did not help us. Java engine won't just start. jcontrol would just die with the same error.

After spending enormous number of hours sifting through very few documents found on this error - I got fed up and here is what I did when I got the "JdkDetection_nnnn.class not found" error:

1. Logged in to the server as SIDADM

2. Opened a windows command prompt

3. ran this command -- jcontrol pf=D:\usr\sap\SID\SYS\profile\SID_DVEBMGS00_hostname

4. waited for 15mins

5. Restarted sapinst

6. Continued successfully

I am thinking that jcontrol was having a difficult time to start for the first time at Step 35 (or 36) during sapinst. When I started it on the command line with just the profile as the parameter - it pulled in all the required configuration from the database and started the dispatcher and server successfully. After that - installation went on smoothly.

Hope this helps.

Sri

Former Member
0 Kudos

Hello,

Please check the return code in dev_jcontrol and update the message.

Also paste the dev_jcontrol log here.

Thanks & Regards,

Vijith

Former Member
0 Kudos

Here is the dev_jcontrol log:

-


trc file: "D:\usr\sap\DE1\DVEBMGS01\work\dev_jcontrol", trc level: 1, release: "700"

-


node name : jcontrol

pid : 944

system name : DE1

system nr. : 01

started at : Wed May 14 17:33:03 2008

arguments :

arg[00] : D:\usr\sap\DE1\DVEBMGS01\exe\jcontrol.EXE

arg[01] : pf=
stdsapci01\sapmnt\DE1\SYS\profile\DE1_DVEBMGS01_STDSAPCI01

arg[02] : -DSAPSTART=1

arg[03] : -DCONNECT_PORT=64991

arg[04] : -DSAPSYSTEM=01

arg[05] : -DSAPSYSTEMNAME=DE1

arg[06] : -DSAPMYNAME=STDSAPCI01_DE1_01

arg[07] : -DSAPPROFILE=
stdsapci01\sapmnt\DE1\SYS\profile\DE1_DVEBMGS01_STDSAPCI01

arg[08] : -DFRFC_FALLBACK=ON

arg[09] : -DFRFC_FALLBACK_HOST=localhost

[Thr 4920] Wed May 14 17:33:03 2008

[Thr 4920] *** WARNING => INFO: Unknown property [instance.box.number=DE1DVEBMGS01stdsapci01] [jstartxx.c 841]

[Thr 4920] *** WARNING => INFO: Unknown property [instance.en.host=STDSAPCI01] [jstartxx.c 841]

[Thr 4920] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c 841]

[Thr 4920] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c 841]

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

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\DE1\DVEBMGS01\j2ee\cluster\instance.properties;D:\usr\sap\DE1\DVEBMGS01\SDM\program\config\sdm_jstartup.properties]

-> ms host : STDSAPCI01

-> ms port : 3900

-> OS libs : D:\usr\sap\DE1\DVEBMGS01\j2ee\os_libs

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

-> files [00] : D:\usr\sap\DE1\DVEBMGS01\j2ee\cluster\instance.properties

-> files [01] : D:\usr\sap\DE1\DVEBMGS01\SDM\program\config\sdm_jstartup.properties

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

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

Instance properties

-> ms host : STDSAPCI01

-> ms port : 3900

-> os libs : D:\usr\sap\DE1\DVEBMGS01\j2ee\os_libs

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

-> [00] bootstrap : D:\usr\sap\DE1\DVEBMGS01\j2ee\cluster\instance.properties

-> [01] bootstrap_ID13660700 : D:\usr\sap\DE1\DVEBMGS01\j2ee\cluster\instance.properties

-> [02] bootstrap_ID13660750 : D:\usr\sap\DE1\DVEBMGS01\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID13660700 : D:\usr\sap\DE1\DVEBMGS01\j2ee\cluster\instance.properties

-> [01] ID13660750 : D:\usr\sap\DE1\DVEBMGS01\j2ee\cluster\instance.properties

-> [02] sdm : D:\usr\sap\DE1\DVEBMGS01\SDM\program\config\sdm_jstartup.properties

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

[Thr 4920] JControlExecuteBootstrap: execute bootstrap process [bootstrap]

[Thr 4844] JControlDPMessageProxy: Thread 4844 started as handler thread for R/3 dispatcher messages.

[Thr 4920] [Node: bootstrap] java home is set by profile parameter

Java Home: C:\Program Files\Java\jdk1.5.0_15

[Thr 4920] Wed May 14 17:33:04 2008

[Thr 4920] *** ERROR => JStartupIGetJDKInfo: Cannot find Java class file [./JdkDetection_944.class]. [jstartxxi.c 1017]

[Thr 4920] *** ERROR => can't get JDK information (rc = -1) [jstartxxi.c 1256]

[Thr 4920] **********************************************************************

      • ERROR => JDK Detection failed.

      • Please see SAP Note 943602 , section 'JDK detection issues'

      • for additional information and trouble shooting.

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

[Thr 4920] *** ERROR => node [bootstrap] not found [jstartxx.c 1593]

[Thr 4920] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = -18)

[Thr 4920] JControlCloseProgram: started (exitcode = -18)

[Thr 4920] JControlCloseProgram: good bye... (exitcode = -18)

Former Member
0 Kudos

Hi,

As the dev_jcontrol file clearly states that there is a problem with JDK detection.

Check the SAP note 940893.

Check that JAVA_HOME is set correctly.

Currently it is C:\Program Files\Java\jdk1.5.0_15. Is this the right one.

That might solve your issue.

Thanks & Regards,

Vijith

Former Member
0 Kudos

Yes, that is the correct JDK, and I have followed the steps provide by note 940893. My j2ee engine still isn't starting.

Former Member
0 Kudos

Hi,

Did you try java -version. Is it giving the right value.

And I am not very sure whether JDK you are using is supported version?

Thanks & Regards,

Vijith

Former Member
0 Kudos

Yes, I checked the java version and I'm using the jdk1.5.0_15, I have to use jdk1.5.0_15 for the AMD 64 chip the jdk 1.4.2_13 isn't compatible with the AMD 64 chip.