cancel
Showing results for 
Search instead for 
Did you mean: 

WAS JAVA add-in for ABAP install error on AIX Oracle

Former Member
0 Kudos

Hi All

I am currently trying to install a 640 WAS JAVA add-in for ABAP on AIX 5.2 running oracle 9.2.0.6 for SAP 4.7 SR1.

I have successfully installed the ABAP stack, however, when I try to install the JAVA add-in, I get an error on step "Start SAP J2EE engine". The error is

INFO 2006-07-07 04:29:04

CJSlibModule::writeInfo_impl()

Output of /usr/sap/BWP/DVEBMGS00/j2ee/os_libs/jcmon 'pf=/sapmnt/BWP/profile/BWP_DVEBMGS00_rhubwp01' is written to the logfile jcmon.log.

INFO 2006-07-07 04:29:04

CJSlibModule::writeInfo_impl()

Execution of the command "/usr/sap/BWP/DVEBMGS00/j2ee/os_libs/jcmon 'pf=/sapmnt/BWP/profile/BWP_DVEBMGS00_rhubwp01'" finished with return code 0. Output: snipped

INFO 2006-07-07 04:29:04

CJSlibModule::writeInfo_impl()

J2EE Engine DVEBMGS00 of SAP system BWP did not come up after 827 seconds: waiting for another 20 seconds.

ERROR 2006-07-07 04:29:04

CJSlibModule::writeError_impl()

CJS-20058 J2EE Engine DVEBMGS00 of SAP system BWP did not reach state "Starting Applications" after 827 seconds: giving up.

I am new to JAVA, and I found some OSS notes (668606, 545422, and 943498) that might help, but they may as well be written in German for all I can make out what the notes are trying to say.

Any help would be appreciated.

Thanks

Sam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Sam,

Please check your Java Heap Size you have given. it shouldnot be more than 512MB.

i ran a check on the OSS notes. try the following solution...

<i>During the installation of SAP Web AS Java or Java Add-In SAPinst

on Solaris 10 / AIX 5.3, SAPinstaborts with the following error message:

sapinst.log:

ERROR 2005-03-07 15:08:42

CJS-20058 J2EE Engine DVEBMGS00 of SAP system QO1 did

not reach state "Starting Applications" after 856 seconds:

giving up.

dev_jcontrol (this file is located in the directory /usr/sap/<instance_name>/work):

[Thr 01] *** ERROR => OS release SunOS 5.10 Generic

sun4u is not supported with

this startup framework (640) [jstartxx_mt. 3866]

Solution:

You need to apply the workaround described in SAP Note <b>710914.

</b></i>

Regards

Ak

Former Member
0 Kudos

Hi AK

Thanks for the quick response, I really appreciate it.

I think you might be right, when I was doing the installing I put 1024M for the JAVA Heap size.

Like I said, I am new to java. Do you know where I can change this value please.

Thanks

Sam

Former Member
0 Kudos

hi Sam,

There is a blog by Felix Jeyareuben on this topic. Check this blog out https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2985. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

It will help you to solve your problem.

Go thro the comments too. they will explain why all these happens.

Regards

Arunkumar Ravi.

Former Member
0 Kudos

Hi Sam,

Did the posts solve your problem? if so, kindly mark the thread solved.

Otherwise plz get back to us. we will be glad to re-visit the problem.

Regards

Ak.

Former Member
0 Kudos

Hi Ak

Once again thanks so much for following up. Unfortunately, I am still having no luck with starting j2ee. Below are some error messages that I see in files in the work directory (the file names are at the top of each section) that might be helpful in problem determination.

If you have the opportunity, can you please take a look.

If you need more information, please let me know.

Thanks

Sam

Former Member
0 Kudos

Oooops, I forgot to paste the error messages

dev_jcmon

[Thr 1] *** ERROR => Can't attach to administration shared memory (rc=3) [jcmonxx_mt.c 219]

dev_jcontrol

[Thr 1] *** ERROR => invalid return code of process [bootstrap] (exitcode=-1) [jstartxx_mt. 1433]

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

[Thr 1] JControlCloseProgram: started (exitcode = -1)

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

dev_bootstrap

Signal 6 encountered.

=> 64 bit R/3 Kernel

=> 64 bit AIX Kernel

=> Heap limit = unlimited

=> Stack limit = 4294967296

=> Core limit = 1073741312

=> File size limit = 4294965248

=> Heap address = 0x0x1111d9fe0

=> Stack address = 0x1111b7a80

=> Stack low = 0x1111b5180

=> Stack high = 0xffffffffffff2b0

-


=> Stack Trace:

pthread_kill() at 0x900000000382c08

praise() at 0x90000000038261c

raise() at 0x900000000045890

abort() at 0x900000000052dc8

GetPropertiesMD() at 0x900000010639774

ciCreateJVM() at 0x9000000106d19f4

JNI_CreateJavaVM() at 0x90000001066529c

Unknown at 0x90000001062a810

JHVM_LoadJavaVM() at 0x1000918d4

JLaunchIStartFunc() at 0x10008bb14

pthreadbody() at 0x9000000003734ec

!!! Invalid stack address encountered: 0x0

!!! Stack corrupted.

dev_disp

J2EE server info

start = TRUE

state = STARTED

pid = 5926962

argv[0] = /usr/sap/BWD/DVEBMGS84/j2ee/os_libs/jcontrol

argv[1] = jcontrol

argv[2] = pf=/usr/sap/BWD/SYS/profile/BWD_DVEBMGS84_mantas

argv[3] = -DSAPSTART=1

argv[4] = -DCONNECT_PORT=60977

argv[5] = -DLISTEN_PORT=60978

argv[6] = -DSAPSYSTEM=84

argv[7] = -DSAPSYSTEMNAME=BWD

argv[8] = -DSAPMYNAME=mantas_BWD_84

argv[9] = -DSAPPROFILE=/usr/sap/BWD/SYS/profile/BWD_DVEBMGS84_mantas

argv[10] = -DFRFC_FALLBACK=ON

argv[11] = -DFRFC_FALLBACK_HOST=localhost

start_lazy = 0

start_control = SAP J2EE startup framework

DpJ2eeStart: j2ee state = STARTED

DpJ2eeLogin: j2ee state = CONNECTED

DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)

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

DpIJ2eeShutdown: j2ee state = SHUTDOWN

DpEnvCheckJ2ee: switch off j2ee start flag

DpHdlDeadWp: restart wp (pid=5791744) automatically

std_bootstrap.out

JVMCI200 - ERROR: User register saving is not enabled, Garbage Collection could be incorrect.

JVMCI200 - ERROR: because of this the JVM library is explicitly aborting the process

JVMCI200 - ERROR: You must either rebuild the executable using "-bM:UR"

JVMCI200 - ERROR: or run with "export LDR_CNTRL=U

Thanks

Sam

Former Member
0 Kudos

Dear Sam,

Clarify me on two things!

<b>1.</b> did u follow the blog and fix the heap size?

<b>2.</b> What JVM version are u using? it should be <i>JRE 1.4.2_09 or 1.4.2_08</i>. anything else will surely give you problems.

Regards

Ak.

Former Member
0 Kudos

Hi Ak

I have changed my heap size to 512M.

I'm not sure what JVM version I am using, but when I do a java -version (as <sid>adm) I get the following:

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20060421 (SR5) (JIT enabled: jitc))

I hope this helps.

Thanks

Sam

Former Member
0 Kudos

Hi,

Try the following,

1. The initial and maximum heap size should be : Xmx1024m and Xms1024m. Follow SAP Note No.723909 for further settings of Java VM

2. Download the Java version 1.4.2_09 and install it.

3. Ensure that you have set JAVA_HOME in the environment variable.

4. Also adjust the system's virual memory settings.

Regards,

Srinivasan T

<b>Helpful answer=>Points</b>

Former Member
0 Kudos

Sam,

Where do I get the Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20060421 (SR5) ?

James

Former Member
0 Kudos

Hi James

Sorry for the late reply, try the following site:

http://www-128.ibm.com/developerworks/java/jdk/aix/service.html

I can't remember if you need to register or not.

Hope this helps

Regards

Sam

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I had this exact problem. I was installing the Java add-on to a new ABAP system installed from NW04 SR1 DVDs. Note 716927 states that the version of the startup framework on the installation DVDs is not correct for AIX, and says to update the framework. I did this, and the j2ee engine then started (I also increased the bootstrap heap size to 512M first, but this didn't fix the problem).

So check the above note, and also note 710914 on how to update the framework. Note that it said to update the jstartup.jar file for the dispatcher and server too, but these directories didn't yet exist for me.

Regards,

James Blair

Former Member
0 Kudos

Dear sam,

Whether you are using the JRE specific for SAP?if not you will get similar errors.

Check the java version using 'java -version' command, you should get similar output as below.

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142sr1aifx-20051020 <b>(SAP 142SR1a + 88494 + 84428 + 83602 + 89528 + 90372 + 88233 + 66827 + 92741 + 95636 + 96556 + 96581)</b> (JIT enabled: jitc)).

Regards,

Cheriyan

Former Member
0 Kudos

Hi Cheriyan

Thanks for the response. I checked my java version, and it seems that is correct.

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20050929a (SR3) (JIT enabled: jitc))

I think my problem might be around my java heap size.

Thanks again for the help.

Sam