on 02-04-2007 7:32 AM
<img src=/images/reward-16x16.gif>Dear SAP Experts,<img src=/images/reward-16x16.gif> <br>
<br>
I was installing a <a href="/people/piers.harding/blog/2006/12/29/n4s-linux-evaluation-edition-nw2004s-under-debian-ubuntu" target="_blank">Test Drive (Evaluation) edition of SAP NetWeaver NW2004S for Linux</a><img src="https://weblogs.sdn.sap.com/weblogs/images/1575/external.png" alt="" />
<br>
<img src="https://forums.sdn.sap.com/images/info-16x16.gif" alt="" /> based on <br>
<b>CPU: <a href=http://images.google.com/images?hl=en&q=intelpentium4processor5413.2ghz target=_blank>Intel Pentium 4 541 3.2GHz</a></b><img src="https://weblogs.sdn.sap.com/weblogs/images/1575/external.png" alt="" /><img src="https://weblogs.sdn.sap.com/weblogs/images/1575/googlelink.png" width="17" height="18" border="0" alt="image" /><br>
<b>Fedora Core 4 - Language : Korean </b><br/>
Linux n4shost 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:16:33 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux<br/>
and <br>
<b> JDK 1.4.2 for SAP Customers- IBMJava2-AMD64-142-SDK-1.4.2-2.0.x86_64.rpm</b><br />
Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)<br />
IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142ifx-20051125 (JIT enabled)<br />
J9VM - 20050524_1742_LHdSMr<br />
JIT - r7_level20050518_1803)<br/>
<p class="jive-page-title">Symptoms</p>
Unfortunately, J2EE engine doesn't work properly. <br>
<img src="https://weblogs.sdn.sap.com/weblogs/images/1575/ErrorReport.png" width="600" height="309" border="0" alt="image" /><br>
and the CPU consumption is very high. <br>
<img src="https://weblogs.sdn.sap.com/weblogs/images/1575/snapshot2.png" width="570" height="400" border="0" alt="image" />
<p class="jive-page-title">How can I solve this problem?</p>
<img src="https://forums.sdn.sap.com/images/info-16x16.gif" alt="" /> <br>
In order for you to understand my situation, I link some information
<div id="jive-question-box" class="jive-infobox">
<ul><li> The list of processes is here <a href=http://mobilian.org/SDN/N4S/process-list.txt
target=_blank>process-list.txt</a><img src="https://weblogs.sdn.sap.com/weblogs/images/1575/external.png" alt="" />
</ul></div>
<img src="https://forums.sdn.sap.com/images/info-16x16.gif" alt="" />
<div id="jive-question-box" class="jive-infobox">
<ul>Under <b>/usr/sap/N4S/DVEBMGS01/work</b>, I found there are many useful files. you can download <a href=http://mobilian.org/SDN/N4S/work200702041301.zip target=_blank>the zip file - work200702041301.zip</a><img src="https://weblogs.sdn.sap.com/weblogs/images/1575/external.png" alt="" /><br><br>
<li>Inside this <b>/usr/sap/N4S/DVEBMGS01/work/dev_jcontrol</b> file, I found the following issues (?) that possibly make troubles.<br><br>
<font color=green>~~~~~~~~</font><br>
[Thr 46912499499424] Sun Feb 4 11:54:00 2007<br>
[Thr 46912499499424] <span class="unans">*** WARNING => INFO: Unknown property [instance.box.number=N4SDVEBMGS01n4shost] [jstartxx_mt. 841]</span><br>
[Thr 46912499499424] <span class="unans">*** WARNING => INFO: Unknown property [instance.en.host=n4shost] [jstartxx_mt. 841]</span><br>
[Thr 46912499499424] <span class="unans">*** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx_mt. 841]</span><br>
[Thr 46912499499424] <span class="unans">*** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx_mt. 841]</span><br>
<font color=green>~~~~~~~~</font><br>
[Thr 46912499499424] SigISetDefaultAction : default handling for signal 17<br>
[Thr 46912499499424] JControlExecuteBootstrap: execute bootstrap process [bootstrap]<br>
[Thr 46912499499424] [Node: bootstrap] java home is set by profile parameter<br>
Java Home: /usr/lib/java<br>
[Thr 1074792800] JControlDPMessageFunc: Thread 1074792800 started as handler thread for R/3 dispatcher messages.<br>
[Thr 46912499499424] <span class="unans">JStartupICheckFrameworkPackage: can't find framework package /usr/sap/N4S/SYS/exe/run/jvmx.jar</span><br>
<font color=green>~~~~~~~~</font><br>
<font color=blue>I searched <b>jvmx.jar</b> through the entire Linux server, but jvmx.jar was not found.</font><br>
<font color=green>~~~~~~~~</font><br>
[Thr 46912499499424] JStartupICreateProcess: fork process (pid 11565)<br>
[Thr 46912499499424] JControlICheckProcessList: process server0 started (PID:11565)<br>
<br>
[Thr 46912499499424] Sun Feb 4 12:06:37 2007<br>
[Thr 46912499499424] JControlICheckProcessList: process server0 (pid:11565) died (RUN-FLAG)<br>
[Thr 46912499499424] JControlIResetProcess: reset process server0<br>
[Thr 46912499499424] <span class="unans">JControlIResetProcess: [server0] not running -> increase error count (4)</span><br>
[Thr 46912499499424] JControlICheckProcessList: running flight recorder:<br>
/usr/lib/java/bin/java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart<br> com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID14704950 1170558357 -bz /usr/sap/N4S/SYS/global<br>
<font color=green>~~~~~~~~</font><br>
<br><br>
<li>Inside this <b>/usr/sap/N4S/DVEBMGS01/work/dev_bootstrap</b> file, <br><br>
<font color=green>~~~~~~~~</font><br>
[Thr 46912499499424] Sun Feb 4 11:54:07 2007<br>
[Thr 46912499499424] SigISetDefaultAction : default handling for signal 17<br>
<br>
[Thr 46912499499424] Sun Feb 4 11:54:10 2007<br>
[Thr 46912499499424] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)<br>
<br>
[Thr 46912499499424] Sun Feb 4 11:54:11 2007<br>
[Thr 46912499499424] CPIC (version=700.2005.12.02)<br>
[Thr 46912499499424] [Node: bootstrap] java home is set by profile parameter<br>
Java Home: /usr/lib/java<br>
[Thr 46912499499424] <span class="unans">JStartupICheckFrameworkPackage: can't find framework package /usr/sap/N4S/DVEBMGS01/exe/jvmx.jar</span><br>
<font color=green>~~~~~~~~</font><br>
<br><br>
<li>Inside this <b>/usr/sap/N4S/DVEBMGS01/work/stderr1</b> file, <br><br>
<font color=green>~~~~~~~~</font><br>
--- Unicode interface [u16_prnt.c line 1970] pid = 10611 : <br>
Error in format string at or near 'S': <br>
%SLIC_HWIDKEY_LN.SLIC_HWIDKEY_LN <br>
--- Unicode interface -
End of message -
<br>
--- Unicode interface [u16_prnt.c line 1970] pid = 10616 : <br>
Error in format string at or near 'S': <br>
%SLIC_HWIDKEY_LN.SLIC_HWIDKEY_LN <br>
--- Unicode interface -
End of message -
<br>
--- Unicode interface [u16_prnt.c line 1970] pid = 10616 : <br>
Error in format string at or near 'S': <br>
%SLIC_HWIDKEY_LN.SLIC_HWIDKEY_LN <br>
--- Unicode interface -
End of message -
<br>
<span class="unans">Can't find Java Class: com.sap.engine.offline.OfflineToolStart <br>
--- Unicode interface [u16_prnt.c line 1970] pid = 10610 : <br>
Error in format string at or near 'S': <br>
%SLIC_HWIDKEY_LN.SLIC_HWIDKEY_LN <br>
--- Unicode interface -
End of message -
</span> <br>
<font color=green>~~~~~~~~</font><br>
</ul>
</div>
<br><br>
I'm looking forward to seeing any suggestion. <br>
Many thanks, <br>
David
Hi David
pls take a look at your dev_w.. developer traces .
Best regards
dirk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
- go to /sapmnt/N4S/profile or /usr/sap/N4S/SYS/profile or use on shell the command "cdD"
- edit the following line in InstanceProfile "N4S_DVEBMGS01_n4shost"
before:
jstartup/vm/home = /usr/lib/java
after:
jstartup/vm/home = /usr/lib64/jvm/java-1_4_2-ibm-1.4.2_sr7
ok - thats on SLES10SP1, i dont know, where you have your jvm.
we have a 64bit system hurray.
thanks and more success,
christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello david,
i have the same problem.
i use the standard jdk/jre from sles10sp1 from ibm.
java -fullversion
java vollständige Version "J2RE 1.4.2 IBM build j9xa64142-20061124 (SR7)"
maybe -
the problem is the java_home in LD_LIBRARY_PATH > /usr/lib/java - does not exist.
/usr/lib64/java exist and a symbolic link to /usr/lib64/jvm/java .
the really jvm is here /usr/lib64/jvm/java-1_4_2-ibm-1.4.2_sr7, right?
I will try it out.
see ya.
christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David
Check the ownership of :
/usr/sap/N4S/SYS/profile/N4S_JCXX_XX
it should be n4sadm:sapsys . Give execute permissions.
Start the instance now .
Also try to increase the memory settings using the configtool.Increase the bootstrape memory.If you have any problem feel free to ask.
Pls Award points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David, Anand
I am a newie.
I am using NW04s ABAP + JAVA + MI wiht Windows Server 2003, I386. 2GB of RAM + 4 of Swap.
I am having the Same problem after i Update one J2EE component (SP10 for SAP J2EE Engine 7.0 from SP06) the J2EE remains in Yellow instead of Green color.
503 Service Unavailable
SAP WebAS Engine is starting or started but not yet operational! If this state does not change within a few minutes, please contact your system administrator. Check the recommendations in SAP Notes: 943498, 764417 Message: Dispatcher running but no server connected!
I read the notes, after i saw the dev_* files but i really don't how to repair this.
<b>dev_control:</b>
[Thr 2768] JStartupICheckFrameworkPackage: can't find framework package C:\usr\sap\ERI\DVEBMGS01\exe\jvmx.jar
[Thr 2768] ***ERROR => MsIAttachEx: NiBufConnect to erick/3900 failed (rc=NIECONN_REFUSED) [msxxi.c 652]
[Thr 2768] *** WARNING => Can't attach to message server (erick/3900) [rc = -100]-> reconnect [jcntrms.c 368]
JControlIResetProcess: reset process server0
[Thr 2768] JControlIResetProcess: [server0] not running -> increase error count (2)
[Thr 2768] JControlICheckProcessList: running flight recorder:
C:\j2sdk1.4.2_09\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID15220350 1171487063 -bz C:\usr\sap\ERI\SYS\global
<b>dev_bootstrap</b>
[Thr 2788] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
[Thr 2788] CPIC (version=700.2006.09.13)
[Thr 2788] [Node: bootstrap] java home is set by profile parameter
Java Home: C:\j2sdk1.4.2_09
[Thr 2788] JStartupICheckFrameworkPackage: can't find framework package C:\usr\sap\ERI\DVEBMGS01\exe\jvmx.jar
<b>stderr1</b>
C:\usr\sap\ERI\DVEBMGS01\work>echo WHENEVER SQLERROR exit SQL.SQLCODE 1>v9start.sql
C:\usr\sap\ERI\DVEBMGS01\work>echo connect / as sysdba 1>>v9start.sql
C:\usr\sap\ERI\DVEBMGS01\work>echo startup 1>>v9start.sql
C:\usr\sap\ERI\DVEBMGS01\work>echo exit 1>>v9start.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 14 16:57:00 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 205520896 bytes
Fixed Size 1248116 bytes
Variable Size 117441676 bytes
Database Buffers 83886080 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
<b>std_server0.out</b>
service com.sap.security.core.ume.service ================= ERROR =================
...
...
...
Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
java.lang.AbstractMethodError: com.sap.security.core.server.ume.service.UMEServiceFrame.useTxManager()Z
...
...
...
[Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
Feb 14, 2007 5:06:25 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_47] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
Please if you resolved the problem, can you give me some tips, first the update, the system was working without problems.
i search for a file: ERI_JCXX_XX in my directory:
Directory of C:\usr\sap\ERI\SYS\profile
26/01/2007 10:33 a.m. <DIR> .
26/01/2007 10:33 a.m. <DIR> ..
25/01/2007 03:06 p.m. 1.081 DEFAULT.PFL
26/01/2007 10:33 a.m. 1.500 ERI_DVEBMGS01_erick
26/01/2007 09:53 a.m. 1.194 ERI_DVEBMGS01_erick.1
26/01/2007 09:55 a.m. 1.194 ERI_DVEBMGS01_erick.2
26/01/2007 09:51 a.m. 762 ERI_SCS00_erick
25/01/2007 03:07 p.m. <DIR> oracle
26/01/2007 09:53 a.m. 1.553 START_DVEBMGS01_erick
26/01/2007 09:51 a.m. 1.088 START_SCS00_erick
I think that in Windows i will don't have the permission problems.
Best Regards,
Erick Ilarraza
<br>and from <b>std_server0.out</b>
<br>I found the issue related to "Logon".
<br>
<br><font color=green>~~~~~~~~</font><br>
<br>Service dbpool started. (29421 ms).
<br>Feb 4, 2007 12:02:17 PM com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_54] Fatal: User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to connect to the ABAP backend system. Check that connection data are correct and the backend system is available.
<br><span class="unans">Error message: " Logon not possible (error in license check) ". Connection data (obtained from properties of UME service in section "ume.r3.connection.master.": "{
<br> passwd=********
<br> receiverid=master
<br> sysnr=$$
<br> client=001
<br> poolmaxsize=10
<br> user=SAPJSF
<br> receiverid_guest=master
<br> ashost=localhost
<br> poolmaxwait=10000
<br>}</span>
<br>".
<br>Feb 4, 2007 12:02:25 PM com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_54] Fatal: Initialization of UME persistence adapter "R3_DATASOURCE" failed.
<br>Feb 4, 2007 12:02:25 PM com.sap.security.core.InternalUMFactory [SAPEngine_System_Thread[impl:5]_54] Fatal:
<br>Feb 4, 2007 12:02:25 PM com.sap.security.core.InternalUMFactory [SAPEngine_System_Thread[impl:5]_54] Fatal:
<br> service com.sap.security.core.ume.service ================= ERROR =================
<br><span class="unans">Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.</span>
<br>com.sap.engine.frame.ServiceException: <Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='UME initialization failed.', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key UME initialization failed.
<br> at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:346)
<br> at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
<br> at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:211)
<br> at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
<br> at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
<br> at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
<br> at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
<br>Caused by: com.sap.security.api.UMException: Could not initialize principal factory class 'com.sap.security.core.imp.PrincipalFactory'!: Could not instantiate principal factory class 'com.sap.security.core.imp.PrincipalFactory'!: Logon not possible (error in license check)
<br> at com.sap.security.core.InternalUMFactory.initializeClass(InternalUMFactory.java:1258)
<br> at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:302)
<br> at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:251)
<br> at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
<br> at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:211)
<br> at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
<br> at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
<br> at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
<br> at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
<br>----
caused by -
<br><span class="unans">com.sap.security.api.UMException: Could not instantiate principal factory class 'com.sap.security.core.imp.PrincipalFactory'!: Logon not possible (error in license check) </span>
<br> at com.sap.security.core.InternalUMFactory.instantiateClass(InternalUMFactory.java:1285)
<br> at com.sap.security.core.InternalUMFactory.initializeClass(InternalUMFactory.java:1243)
<br> at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:302)
<br> at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:251)
<br> at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
<br> at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:211)
<br> at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
<br> at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
<br> at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
<br> at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
<br><font color=green>~~~~~~~~</font><br>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.