cancel
Showing results for 
Search instead for 
Did you mean: 

Problem starting J2EE stack

Former Member
0 Kudos

Hello everybody,

I am running a Netweaver server both Java and ABAP stack on the same system ie an AIX system. The ABAP stack would start up easily but the java stack woudnt. I apply the commands startsap J2EE and it says IGS successfully started but I cannot access http://servername:50000/ and http://servername:8000 says J2EE service not available. I cant figure out the problem even by seeing the logs. I am attaching the logs here. Any help is appreciated.

Regds

Roney

applications.0.log

#1.5#000255533D49001100000017000D10920004297CF317C9BB#1171516537948#/Applications/JMS##com.sap.jms.client.connection.ConnectionFactory.getSocket#J2EE_GUEST#1####8cf9ca70bcb311dbc4d9000255533d49#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#com.sap.jms.client.connection.ConnectionFactory#Plain###The following hosts (hostname:port) could not be reached: - Please check host names and ports.#

#1.5#000255533D49001C00000019000D10920004297CF31E2FD4#1171516538367#/Applications/JMS##com.sap.jms.client.connection.ConnectionFactory.getSocket#J2EE_GUEST#1####8ca05fd0bcb311db8f40000255533d49#SAPEngine_Application_Thread[impl:3]_36##0#0#Error#1#com.sap.jms.client.connection.ConnectionFactory#Plain###The following hosts (hostname:port) could not be reached: - Please check host names and ports.#

#1.5#000255533D49001B00000019000D10920004297CF325590B#1171516538837#/Applications/JMS##com.sap.jms.client.connection.ConnectionFactory.getSocket#J2EE_GUEST#1####8c83d720bcb311dbc58b000255533d49#SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#com.sap.jms.client.connection.ConnectionFactory#Plain###The following hosts (hostname:port) could not be reached: - Please check host names and ports.#

#1.5#000255533D4900110000001A000D10920004297CF3282763#1171516539021#/Applications/JMS##com.sap.jms.client.connection.ConnectionFactory.getSocket#J2EE_GUEST#1####8cf9ca70bcb311dbc4d9000255533d49#SAPEngine_Application_Thread[impl:3]_32##0#0#Error#1#com.sap.jms.client.connection.ConnectionFactory#Plain###The following hosts (hostname:port) could not be reached: - Please check host names and ports.#

#1.5#000255533D49001800000011000D10920004297CF330667F#1171516539561#/Applications/JMS#sap.com/irj#com.sap.jms.client.connection.ConnectionFactory.getSocket#J2EE_GUEST#1####8aebaaf0bcb311dbbd66000255533d49#Thread[Thread-76,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error#1#com.sap.jms.client.connection.ConnectionFactory#Plain###The following hosts (hostname:port) could not be reached: - Please check host names and ports.#

#1.5#000255533D49001B0000001C000D10920004297CF334F46D#1171516539860#/Applications/JMS##com.sap.jms.client.connection.ConnectionFactory.getSocket#J2EE_GUEST#1####8c83d720bcb311dbc58b000255533d49#SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#com.sap.jms.client.connection.ConnectionFactory#Plain###The following hosts (hostname:port) could not be reached: - Please check host names and ports.#

#1.5#000255533D49002500000000000D10920004297CF41240EA#1171516554363#/Applications/JMS##com.sap.jms.client.connection.AsyncCloser######9c379da0bcb311dbb806000255533d49#SAPEngine_System_Thread[impl:5]_71##0#0#Warning#1#com.sap.jms.client.connection.AsyncCloser#Plain###A JMS object could not be closed properly from the AsyncCloser Thread. Please see trace file for more details.#

#1.5#000255533D49003400000001000D10920004297CF5290BBE#1171516572634#/Applications/SupportPlatform/SPApplication#sap.com/com.sapportals.supportplatform#com.sapportals.supportplatform.SupportPlatform#SAP*#60####a71b8c90bcb311dbb89c000255533d49#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#com.sapportals.supportplatform.SupportPlatform#Plain###Problem while un-registering MBean

:SAP_J2EECluster="",SAP_J2EEClusterNode="",j2eeType=SAP_AnalyzerModelMBean,name=AnalyzerModelBean

com.sap.engine.services.jmx.exception.JmxIllegalStateException: JmxFrame not completely initialized, innerMBeanServer is null

at com.sap.engine.services.jmx.JmxFrame.getInnerMBeanServer(JmxFrame.java(Inlined Compiled Code))

at com.sap.engine.services.jmx.ClusterInterceptor.getInnerMBS(ClusterInterceptor.java(Inlined Compiled Code))

at com.sap.engine.services.jmx.ClusterInterceptor.getMBSC(ClusterInterceptor.java(Compiled Code))

at com.sap.engine.services.jmx.ClusterInterceptor.unregisterMBean(ClusterInterceptor.java(Compiled Code))

at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.unregisterMBean(MBeanServerInterceptorChain.java(Compiled Code))

at com.sapportals.supportplatform.SupportPlatform.destroy(SupportPlatform.java:222)

at com.sap.engine.services.servlets_jsp.server.security.PrivilegedActionImpl.run(PrivilegedActionImpl.java:71)

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at javax.security.auth.Subject.doAs(Subject.java:555)

at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.destroyServlets(WebComponents.java:714)

at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadDestroyer.run(ApplicationThreadDestroyer.java:62)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Roney,

Can you please explain me indetail how you are resloved the problem. I am also getting the same problem.

Thanks,

David

Former Member
0 Kudos

David

Were you able to reslove above issue. Please let me know steps in detail.

Thank You

Ron

Former Member
0 Kudos

Thanks for your help but I solved it. I flushed the IPC and the new garbage collector switch wasnt supported.

Former Member
0 Kudos

This is why the dispatcher coudnt start

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

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

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

JHVM_LoadJavaVM: VM Arguments of node [dispatcher]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: -Denv.class.path=:/db2/db2pod/sqllib/java/db2java.zip:/db2/db2pod/sqllib/java/runtime.zip:.

-> arg[ 3]: -Djava.security.policy=.\java.policy

-> arg[ 4]: -Djava.security.egd=file:/dev/urandom

-> arg[ 5]: -Djco.jarm=1

-> arg[ 6]: -verbose:gc

-> arg[ 7]: -XX:+UseParNewGC

-> arg[ 8]: -XX:+PrintGCTimeStamps

-> arg[ 9]: -Drdbms.driverLocation=/usr/opt/db2_08_01/java/db2jcc.jar:/usr/opt/db2_08_01/java/db2jcc_license_cu.jar

-> arg[ 10]: -Dsys.global.dir=/usr/sap/POD/SYS/global/

-> arg[ 11]: -Dsys.global.dir=/usr/sap/POD/SYS/global

-> arg[ 12]: -Dapplication.home=/usr/sap/POD/DVEBMGS00/j2ee/os_libs

-> arg[ 13]: -Djava.class.path=/usr/sap/POD/DVEBMGS00/j2ee/os_libs/jstartup.jar:./bin/boot/boot.jar:./bin/system/bytecode.jar:.

-> arg[ 14]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/sap/POD/SYS/exe/run:/usr/sap/POD/SYS/exe/runU:/db2/db2pod/sqllib/lib:/usr/lib:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/POD/SYS/exe/run:/usr/sap/POD/SYS/exe/runU:/db2/db2pod/sqllib/lib

-> arg[ 15]: -Dmemory.manager=170M

-> arg[ 16]: -Xmx170M

-> arg[ 17]: -Xms170M

-> arg[ 18]: -DLoadBalanceRestricted=no

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

-> arg[ 20]: -Djstartup.ownProcessId=893004

-> arg[ 21]: -Djstartup.ownHardwareId=N2046619315

-> arg[ 22]: -Djstartup.whoami=dispatcher

-> arg[ 23]: -Djstartup.debuggable=no

-> arg[ 24]: -DSAPINFO=POD_00_dispatcher

-> arg[ 25]: -DSAPSTART=1

-> arg[ 26]: -DCONNECT_PORT=33792

-> arg[ 27]: -DLISTEN_PORT=33791

-> arg[ 28]: -DSAPSYSTEM=00

-> arg[ 29]: -DSAPSYSTEMNAME=POD

-> arg[ 30]: -DSAPMYNAME=pordev_POD_00

-> arg[ 31]: -DSAPPROFILE=/usr/sap/POD/SYS/profile/POD_DVEBMGS00_pordev

-> arg[ 32]: -DFRFC_FALLBACK=ON

-> arg[ 33]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 34]: -DSAPSTARTUP=1

-> arg[ 35]: -DSAPSYSTEM=00

-> arg[ 36]: -DSAPSYSTEMNAME=POD

-> arg[ 37]: -DSAPMYNAME=pordev_POD_00

-> arg[ 38]: -DSAPDBHOST=pordev

-> arg[ 39]: -Dj2ee.dbhost=PORDEV

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

[Thr 772] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-6) [jhvmxx_mt.c 500]

[Thr 772] *** ERROR => Cannot load Java VM (<default>) (rc=-1) [jlnchxxi_mt. 591]

[Thr 772] SigISetIgnoreAction : SIG_IGN for signal 20

[Thr 772] JLaunchCloseProgram: good bye (exitcode=-1)

Any ideas why?

Former Member
0 Kudos

Have you checked your Java ? Looke like some problem with the version. Also check this note 835704

Thanks

prince Jose

Former Member
0 Kudos

This is why the dispatcher coudnt start

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

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

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

JHVM_LoadJavaVM: VM Arguments of node [dispatcher]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: -Denv.class.path=:/db2/db2pod/sqllib/java/db2java.zip:/db2/db2pod/sqllib/java/runtime.zip:.

-> arg[ 3]: -Djava.security.policy=.\java.policy

-> arg[ 4]: -Djava.security.egd=file:/dev/urandom

-> arg[ 5]: -Djco.jarm=1

-> arg[ 6]: -verbose:gc

-> arg[ 7]: -XX:+UseParNewGC

-> arg[ 8]: -XX:+PrintGCTimeStamps

-> arg[ 9]: -Drdbms.driverLocation=/usr/opt/db2_08_01/java/db2jcc.jar:/usr/opt/db2_08_01/java/db2jcc_license_cu.jar

-> arg[ 10]: -Dsys.global.dir=/usr/sap/POD/SYS/global/

-> arg[ 11]: -Dsys.global.dir=/usr/sap/POD/SYS/global

-> arg[ 12]: -Dapplication.home=/usr/sap/POD/DVEBMGS00/j2ee/os_libs

-> arg[ 13]: -Djava.class.path=/usr/sap/POD/DVEBMGS00/j2ee/os_libs/jstartup.jar:./bin/boot/boot.jar:./bin/system/bytecode.jar:.

-> arg[ 14]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/sap/POD/SYS/exe/run:/usr/sap/POD/SYS/exe/runU:/db2/db2pod/sqllib/lib:/usr/lib:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/POD/SYS/exe/run:/usr/sap/POD/SYS/exe/runU:/db2/db2pod/sqllib/lib

-> arg[ 15]: -Dmemory.manager=170M

-> arg[ 16]: -Xmx170M

-> arg[ 17]: -Xms170M

-> arg[ 18]: -DLoadBalanceRestricted=no

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

-> arg[ 20]: -Djstartup.ownProcessId=893004

-> arg[ 21]: -Djstartup.ownHardwareId=N2046619315

-> arg[ 22]: -Djstartup.whoami=dispatcher

-> arg[ 23]: -Djstartup.debuggable=no

-> arg[ 24]: -DSAPINFO=POD_00_dispatcher

-> arg[ 25]: -DSAPSTART=1

-> arg[ 26]: -DCONNECT_PORT=33792

-> arg[ 27]: -DLISTEN_PORT=33791

-> arg[ 28]: -DSAPSYSTEM=00

-> arg[ 29]: -DSAPSYSTEMNAME=POD

-> arg[ 30]: -DSAPMYNAME=pordev_POD_00

-> arg[ 31]: -DSAPPROFILE=/usr/sap/POD/SYS/profile/POD_DVEBMGS00_pordev

-> arg[ 32]: -DFRFC_FALLBACK=ON

-> arg[ 33]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 34]: -DSAPSTARTUP=1

-> arg[ 35]: -DSAPSYSTEM=00

-> arg[ 36]: -DSAPSYSTEMNAME=POD

-> arg[ 37]: -DSAPMYNAME=pordev_POD_00

-> arg[ 38]: -DSAPDBHOST=pordev

-> arg[ 39]: -Dj2ee.dbhost=PORDEV

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

[Thr 772] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-6) [jhvmxx_mt.c 500]

[Thr 772] *** ERROR => Cannot load Java VM (<default>) (rc=-1) [jlnchxxi_mt. 591]

[Thr 772] SigISetIgnoreAction : SIG_IGN for signal 20

[Thr 772] JLaunchCloseProgram: good bye (exitcode=-1)

Any ideas why?

Former Member
0 Kudos

Hi

This is the jcontrol log files

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

JStartupStartJLaunch: program = /usr/sap/POD/DVEBMGS00/j2ee/os_libs/jlaunch

-> arg[00] = /usr/sap/POD/DVEBMGS00/j2ee/os_libs/jlaunch

-> arg[01] = pf=/usr/sap/POD/SYS/profile/POD_DVEBMGS00_pordev

-> arg[02] = -DSAPINFO=POD_00_dispatcher

-> arg[03] = -file=/usr/sap/POD/DVEBMGS00/j2ee/cluster/instance.properties

-> arg[04] = -nodeName=ID8728900

-> arg[05] = -nodeId=0

-> arg[06] = -syncSem=1179730

-> arg[07] = -jvmOutFile=/usr/sap/POD/DVEBMGS00/work/jvm_dispatcher.out

-> arg[08] = -jvmOutMode=append

-> arg[09] = -stdOutFile=/usr/sap/POD/DVEBMGS00/work/std_dispatcher.out

-> arg[10] = -stdOutMode=append

-> arg[11] = -traceMode=append

-> arg[12] = -locOutFile=/usr/sap/POD/DVEBMGS00/work/dev_dispatcher

-> arg[13] = -mode=JCONTROL

-> arg[14] = pf=/usr/sap/POD/SYS/profile/POD_DVEBMGS00_pordev

-> arg[15] = -DSAPSTART=1

-> arg[16] = -DCONNECT_PORT=56200

-> arg[17] = -DLISTEN_PORT=56199

-> arg[18] = -DSAPSYSTEM=00

-> arg[19] = -DSAPSYSTEMNAME=POD

-> arg[20] = -DSAPMYNAME=pordev_POD_00

-> arg[21] = -DSAPPROFILE=/usr/sap/POD/SYS/profile/POD_DVEBMGS00_pordev

-> arg[22] = -DFRFC_FALLBACK=ON

-> arg[23] = -DFRFC_FALLBACK_HOST=localhost

-> lib path = LIBPATH=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/sap/POD/SYS/exe/run:/usr/sap/POD/SYS/exe/runU:/db2/db2pod/sqllib/lib:/usr/lib:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/POD/SYS/exe/run:/usr/sap/POD/SYS/exe/runU:/db2/db2pod/sqllib/lib

-> exe path = PATH=/usr/java14_64/bin:/usr/sap/POD/DVEBMGS00/j2ee/os_libs:/home/podadm:/usr/sap/POD/SYS/exe/runU:/usr/sap/POD/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/podadm/bin:/usr/bin/X11:/sbin:.:/db2/db2pod/sqllib/bin:/db2/db2pod/sqllib/adm:/db2/db2pod/sqllib/misc:/usr/java14_64/bin:/db2/db2pod/sqllib/bin:/db2/db2pod/sqllib/adm:/db2/db2pod/sqllib/misc:/db2/db2pod/admintools/bin

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

[Thr 1] JStartupICreateProcess: fork process (pid 753788)

[Thr 1] JControlICheckProcessList: process dispatcher started (PID:753788)

[Thr 1] Thu Feb 15 16:18:53 2007

[Thr 1] JControlICheckProcessList: process dispatcher (pid:753788) died (RUN-FLAG)

[Thr 1] JControlIResetProcess: reset process dispatcher

[Thr 1] JControlIResetProcess: [dispatcher] not running -> increase error count (4)

Looks like some process died for some reason

Any help is appreciated!

Former Member
0 Kudos

Check your log files in /usr/sap/<sid>/<instance>/work directory. Look at dev_jcontrol log file specifically.