on 10-07-2010 7:17 AM
Hello Experts,
We have upgraded ERP abap+java to EHP4 but J2ee engine is not coming up. It is giving the following errors. There are no issues on the abap side.
Bootstrap logs are fine and are able to syncronize.
Following is the dev_jcontrol log.
**********************************************************************
JStartupIReadSection: read node properties [ID44702600]
-> node name : dispatcher
-> node type : dispatcher
-> node execute : yes
-> java path : /usr/j2se
-> java parameters : -Djava.security.policy=.\java.policy -Djava.security.egd
=file:/dev/urandom -XX:NewSize=181M -XX:MaxNewSize=181M -XX:+DisableExplicitGC -
verbose:gc -Xloggc:GC.log
-> java vm version : 1.4.2_13-b06
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
)
-> java vm type : server
-> java vm cpu : sparcv9
-> heap size : 544M
-> init heap size : 544M
-> root path : /usr/sap/DV2/DVEBMGS04/j2ee/cluster/dispatcher
-> class path : ./bin/boot/boot.jar:./bin/system/bytecode.jar:.
-> OS libs path : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
xe/run/jvmx.jar
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 60000
-> shutdown timeout : 120000
**********************************************************************
[Thr 1] [Node: server0] java home is set by profile parameter
Java Home: /usr/j2se
[Thr 1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/D
V2/SYS/exe/run/jvmx.jar
**********************************************************************
JStartupIReadSection: read node properties [ID44702650]
-> node name : server0
-> node type : server
-> node execute : yes
-> jlaunch parameters :
-> java path : /usr/j2se
-> java parameters : -Djava.security.policy=./java.policy -Djava.security.egd
=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg
.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi
.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jt
s.ots.PortableInterceptor.JTSInitializer -Djco.jarm=1 -Dsun.io.useCanonCaches=fa
lse -XX:NewSize=341m -XX:MaxNewSize=341m -XX:MaxPermSize=192m -Djava.awt.headles
s=true -XX:PermSize=192m -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -XX:Soft
RefLRUPolicyMSPerMB=1 -verbose:gc -XX:DisableExplicitGC -XX:PrintGCDetails -XX
:PrintGCTimeStamps -XX:UseParNewGC -Drdbms.driverLocation=/oracle/DV2/920_64/j
dbc/lib/classes12.jar -Dsys.global.dir=/sapmnt/DV2/global -Xms2048m
-> java vm version : 1.4.2_13-b06
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
)
-> java vm type : server
-> java vm cpu : sparcv9
-> heap size : 2048M
-> init heap size : 1024M
-> root path : /usr/sap/DV2/DVEBMGS04/j2ee/cluster/server0
-> class path : ./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/byt
ecode.jar:.
-> OS libs path : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
xe/run/jvmx.jar
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 50421
-> shutdown timeout : 120000
**********************************************************************
[Thr 1] [Node: server1] java home is set by profile parameter
Java Home: /usr/j2se
[Thr 1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/D
V2/SYS/exe/run/jvmx.jar
**********************************************************************
JStartupIReadSection: read node properties [ID44702651]
-> node name : server1
-> node type : server
-> node execute : yes
-> java path : /usr/j2se
-> java parameters : -Djava.security.policy=./java.policy -Djava.security.egd
=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg
.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi
.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jt
s.ots.PortableInterceptor.JTSInitializer -Djco.jarm=1 -XX:MaxPermSize=192M -XX:P
ermSize=192M -XX:NewSize=170M -XX:MaxNewSize=170M -XX:+DisableExplicitGC -verbos
e:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:PrintGCTimeStamps -Djava.awt.headle
ss=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:Survivor
Ratio=2 -XX:TargetSurvivorRatio=90 -Dorg.omg.PortableInterceptor.ORBInitializerC
lass=com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
-> java vm version : 1.4.2_13-b06
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
)
-> java vm type : server
-> java vm cpu : sparcv9
-> heap size : 2048M
-> init heap size : 1024M
-> root path : /usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1
-> class path : ./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/byt
ecode.jar:.
-> OS libs path : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
xe/run/jvmx.jar
-> parameters :
-> debuggable : yes
-> debug mode : no
-> debug port : 50426
-> shutdown timeout : 120000
**********************************************************************
[Thr 1] INFO: Invalid property value [Debbugable=yes]
[Thr 1] [Node: SDM] java home is set by profile parameter
Java Home: /usr/j2se
[Thr 1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/D
V2/SYS/exe/run/jvmx.jar
**********************************************************************
JStartupIReadSection: read node properties [sdm]
-> node name : SDM
-> node type : sdm
-> node execute : yes
-> java path : /usr/j2se
-> java parameters :
-> java vm version : 1.4.2_08-b03
-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.
)
-> java vm type : server
-> java vm cpu : sparcv9
-> heap size : 512M
-> root path : /usr/sap/DV2/DVEBMGS04/SDM/program
-> class path : /usr/sap/DV2/DVEBMGS04/SDM/program/bin/SDM.jar
-> OS libs path : /usr/sap/DV2/DVEBMGS04/j2ee/os_libs
-> main class : SDMInternal
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : /usr/sap/DV2/SYS/exe/run/jstartup.jar:/usr/sap/DV2/SYS/e
xe/run/jvmx.jar
-> shutdown class : com.sap.sdm.jstartup.shutdown.InternalShutDown
-> parameters : server sdmhome=/usr/sap/DV2/DVEBMGS04/SDM/program
-> debuggable : yes
-> debug mode : no
-> debug port : 60000
-> shutdown timeout : 120000
**********************************************************************
[Thr 1] ***LOG Q0I=> NiIWrite: writev (32: Broken pipe) [nixxi.cpp 3803]
[Thr 1] *** ERROR => NiIWrite: SiSendV failed for hdl 2 / sock 13
(SI_ECONN_BROKEN/32; UD; ST; 172.20.40.15:3601) [nixxi.cpp 3803]
[Thr 1] *** ERROR => MsINiWrite: NiBufSend (rc=NIECONN_BROKEN) [msxxi_mt.c 24
80]
[Thr 1] *** ERROR => MsIDetach: MsINiWrite (rc=NIECONN_BROKEN) [msxxi_mt.c 11
46]
[Thr 1]
*****************************************************************************
[Thr 1] * ERROR mserrno received (MSEACCESSDENIED)
[Thr 1] *
TIME Wed Oct 6 14:34:06 2010
[Thr 1] * RELEASE 700
[Thr 1] * COMPONENT MS (message handling interface, multithreaded)
[Thr 1] * VERSION 4
[Thr 1] * RC -24
[Thr 1] * MODULE msxxi_mt.c
[Thr 1] * LINE 810
[Thr 1] * COUNTER 2
[Thr 1] *
[Thr 1] *****************************************************************************
[Thr 1] *** WARNING => Can't attach to message server (aeerpdv1/3601) [rc = -20]-> reconnect [jcntrms_mt.c 368]
[Thr 1] Wed Oct 6 14:34:11 2010
[Thr 1] ***LOG Q0I=> NiIWrite: writev (32: Broken pipe) [nixxi.cpp 3803]
[Thr 1] *** ERROR => NiIWrite: SiSendV failed for hdl 2 / sock 13
(SI_ECONN_BROKEN/32; UD; ST; 172.20.40.15:3601) [nixxi.cpp 3803]
[Thr 1] *** ERROR => MsINiWrite: NiBufSend (rc=NIECONN_BROKEN) [msxxi_mt.c 2480]
[Thr 1] *** ERROR => MsIDetach: MsINiWrite (rc=NIECONN_BROKEN) [msxxi_mt.c 1146]
[Thr 1]
*****************************************************************************
*
[Thr 1] * ERROR mserrno received (MSEACCESSDENIED)
[Thr 1] *
TIME Wed Oct 6 14:34:11 2010
[Thr 1] * RELEASE 700
[Thr 1] * COMPONENT MS (message handling interface, multithreaded)
[Thr 1] * VERSION 4
[Thr 1] * RC -24
[Thr 1] * MODULE msxxi_mt.c
[Thr 1] * LINE 810
[Thr 1] * COUNTER 4
[Thr 1] *
[Thr 1] *****************************************************************************
[Thr 1] *** WARNING => Can't attach to message server (aeerpdv1/3601) [rc = -20]-> reconnect [jcntrms_mt.c 368]
[Thr 1] Wed Oct 6 14:34:16 2010
[Thr 1]
*****************************************************************************
Please advise and help.
Thanks,
Antarpreet
Hello,
Ensure that the port parameter is set. Also check the following SAP note regarding missing paramters for the
WAS java: 741289
Regards,
Désiré
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks for your help, now the SDM process is coming up but the Server processes and Dispatcher are dying out.
I get the following log in DEV_DISPATCHER and default trace:
Fatal: Cannot attach to the Message Server. Cannot attach to message server, because the version of the message server is outdated and does not support the current handshake protocol..
Thanks a Lot.
Antarpreet
Hello Désirée,
I have changed the following parameters
DEFAULT.PFL
rdisp/msserv_internal = 3904
j2ee/scs/host = aeerpdv1
j2ee/scs/system = 01
rdisp/msserv = sapmsDV2
j2ee/ms/port = 3904
j2ee/dbname = DV2
j2ee/dbtype = ora
j2ee/dbhost = aeerpdv1
ms/server_port_0 = PROT=HTTP, PORT=8104
aeerpdv1:dv2adm 212% cat DV2_SCS01_aeerpdv1
SAPSYSTEMNAME = DV2
INSTANCE_NAME = SCS01
SAPSYSTEM = 01
DIR_GLOBAL = /sapmnt/DV2/global
DIR_PROFILE = /sapmnt/DV2/profile
DIR_EXECUTABLE = /usr/sap/DV2/SYS/exe/run
#rdisp/msserv = 3601
rdisp/msserv = 0
rdisp/msserv_internal = 3901
enque/table_size = 4096
enque/deque_wait_answer = FALSE
enque/process_location = LOCAL
enque/encni/port = 3201
rdisp/enqname = $(rdisp/myname)
enque/snapshot_pck_ids = 100
ms/server_port_0 = PROT=HTTP, PORT=8101
DV2_DVEBMGS04_aeerpdv1
rdisp/j2ee_start = 1
rdisp/start_icman = true
exe/j2ee = $(DIR_INSTANCE)/j2ee/os_libs/jcontrol
rdisp/j2ee_start_control = 1
rdisp/j2ee_timeout = 600
rdisp/frfc_fallback = on
icm/HTTP/j2ee_0 = PREFIX=/,HOST=localhost,CONN=0-500,PORT=50400
jstartup/trimming_properties = off
jstartup/protocol = on
exe/jlaunch = $(DIR_INSTANCE)/j2ee/os_libs/jlaunch
#old_value: /usr/j2se/j2sdk1.4.2_08
#changed: SAP* 08/10/2007 09:31:03
jstartup/vm/home = /usr/j2se
INSTANCE_PROPERTIES = $(DIR_INSTANCE)/j2ee/cluster/instance.properties
SDM_PROPERTIES = $(DIR_INSTANCE)/SDM/program/config/sdm_jstartup.properties
jstartup/instance_properties = $(INSTANCE_PROPERTIES);$(SDM_PROPERTIES)
ms/server_port_0 = PROT=HTTP, PORT=8104
#------------------------------------------------------------
# Jcontrol: Migrated Profile Parameter
# create at Wed Jul 9 13:34:11 2008
#------------------------------------------------------------
j2ee/instance_id = ID0447026
j2ee/dbdriver = /oracle/DV2/102_64/jdbc/lib/classes12.jar
#------------------------------------------------------------
# *** UPGRADE EXTENSIONS (RELEASE "701") ***
snc/enable =0
#FN_JSTART =jcontrol$(FT_EXE)
But still I am getting the following error
SAP J2EE Engine Version 7.01 PatchLevel 84095. is starting...
Loading: LogManager ... 1070 ms.
Loading: PoolManager ... 6 ms.
Loading: ApplicationThreadManager ... 103 ms.
Loading: ThreadManager ... 29 ms.
Loading: IpVerificationManager ... 21 ms.
Loading: ClassLoaderManager ... 23 ms.
Loading: ClusterManager ... Oct 7, 2010 7:38:16 AM ...anagerImpl.init(java.util.Properties) [Thread[Thread-1,5,main]] Fatal: Cannot attach to the Message Server. Can't open port on host (Connection refused).
Loading: ClusterManager returned false!
Please let me know in case there is any discrepancy? Also, what should be the value for rdisp/msserv in DV2_SCS01_aeerpdv1 (either 0 or 3601)
Any suggestions.
Regards,
Antarpreet
Hello,
Since release 7.00, the message server and the enqueue server connection are not taken from the instance.proeprties file anymore, but from the SAP profile. Check that the default profile DEFAULT.PFL is incomplete, the Java-related entries may be missing:
j2ee/scs/host =
Is j2ee/ms/port set here as value 3601 as per the error message? Is this correct ? Check the message server port that appears in the SCS instance.
Regards,
Désiré
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a Lot Désirée for the Direction.
Following are the profile parameters set in default pfl:
j2ee/dbname = DV2
j2ee/dbtype = ora
j2ee/dbhost = aeerpdv1
# *** UPGRADE EXTENSIONS (RELEASE "700") ***
ms/acl_info = /usr/sap/DV2/SYS/global/ms_acl_info
j2ee/scs/host = aeerpdv1
j2ee/scs/system = 01
#parameter created by: YYANG2 10/05/2008 20:16:26
rdisp/msserv = sapmsDV2
#parameter created by: YYANG2 10/05/2008 20:16:26
#old_value: 092 changed: YYANG2 10/05/2008 20:18:05
#old_value: 002 changed: YYANG2 10/05/2008 20:18:54
login/system_client = 092
DIR_PUT=/bobboyd/EHPI/abap
# *** UPGRADE EXTENSIONS (RELEASE "701") ***
rdisp/msserv_internal =13904
system/type =DS
Hi Antarpreet,
this is the issue:"=> Can't attach to message server (aeerpdv1/3601) [rc = -20]-> reconnect "
It could be a network problem or the SCS is not running.
Regards
Franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sunny,
Thanks for your help.
All the other relavant logs look fine to me. The default traces of server0, server1 are not being populated. Niether is there any change in dispatcher and bootstrap logs.
Here are the other logs:
aeerpdv1:dv2adm 127% tail -20 dev_bootstrap_ID44702650
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
[Thr 4] JHVM_LoadJavaVM: Java VM created OK.
**********************************************************************
JHVM_BuildArgumentList: main method arguments of node [server0 bootstrap]
-> arg[ 0]: com.sap.engine.bootstrap.Bootstrap
-> arg[ 1]: ./bootstrap
-> arg[ 2]: ID044702650
**********************************************************************
[Thr 4] Thu Oct 7 01:44:54 2010
[Thr 4] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 5] Thu Oct 7 01:44:57 2010
[Thr 5] JLaunchIExitJava: exit hook is called (rc = 0)
[Thr 5] SigISetIgnoreAction : SIG_IGN for signal 18
[Thr 5] JLaunchCloseProgram: good bye (exitcode = 0)
aeerpdv1:dv2adm 128%
aeerpdv1:dv2adm 128% tail jvm_bootstrap_ID44702651.out
...Synched ok!
Synchronizing file [/usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1/dtd/application-j2ee-engine.dtd].
...Synched ok!
Synchronizing file [/usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1/dtd/application-client-additional.dtd].
...Synched ok!
Synchronizing file [/usr/sap/DV2/DVEBMGS04/j2ee/cluster/server1/dtd/db-init.dtd].
...Synched ok!
Ok! (46 ms)
Done!
Synch time: 3537 ms
aeerpdv1:dv2adm 131% tail dev_bootstrap_ID44702651
**********************************************************************
[Thr 4] Thu Oct 7 01:45:00 2010
[Thr 4] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 5] Thu Oct 7 01:45:03 2010
[Thr 5] JLaunchIExitJava: exit hook is called (rc = 0)
[Thr 5] SigISetIgnoreAction : SIG_IGN for signal 18
[Thr 5] JLaunchCloseProgram: good bye (exitcode = 0)
tail dev_disp
Thu Oct 7 01:42:40 2010
J2EE server info
start = TRUE
state = STARTED
pid = 3355
argv[0] = /usr/sap/DV2/DVEBMGS04/j2ee/os_libs/jcontrol
argv[1] = jcontrol
argv[2] = pf=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=64996
argv[5] = -DSAPSYSTEM=04
argv[6] = -DSAPSYSTEMNAME=DV2
argv[7] = -DSAPMYNAME=aeerpdv1_DV2_04
argv[8] = -DSAPPROFILE=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
DpJ2eeLogin: j2ee state = CONNECTED
Thu Oct 7 01:44:09 2010
*** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c 1212]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
Thu Oct 7 01:44:20 2010
DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
Thu Oct 7 01:44:40 2010
J2EE server info
start = TRUE
state = STARTED
pid = 3417
argv[0] = /usr/sap/DV2/DVEBMGS04/j2ee/os_libs/jcontrol
argv[1] = jcontrol
argv[2] = pf=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=64995
argv[5] = -DSAPSYSTEM=04
argv[6] = -DSAPSYSTEMNAME=DV2
argv[7] = -DSAPMYNAME=aeerpdv1_DV2_04
argv[8] = -DSAPPROFILE=/usr/sap/DV2/SYS/profile/DV2_DVEBMGS04_aeerpdv1
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
DpJ2eeLogin: j2ee state = CONNECTED
Thu Oct 7 01:46:09 2010
*** ERROR => DpJ2eeMsgProcess: NiRead failed (NIECONN_BROKEN) [dpxxj2ee.c 1212]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
Thu Oct 7 01:46:20 2010
DpJ2eeEmergencyShutdown: j2ee state = SHUTDOWN
Thu Oct 7 01:46:40 2010
DpHdlDeadWp: restart wp (pid=3015) automatically
DpEnvCheckJ2ee: switch off j2ee start flag
Please help, struck in a very bad situation.
Regards,
Antarpreet
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.