cancel
Showing results for 
Search instead for 
Did you mean: 

Server0 does not start after system copy

Former Member
0 Kudos

Hi Everyone,

I'm stuck with my problem and I couldn't find any solution from the forums. Here's the scenario, I installed SAP Netweaver Portal 7 for MS SQL/AS JAVA on our new Windows Server 2008. Everything works fine. I can even login to the portal thru http://<server>:<port>/irj/portal.

Now, I used sapinst to do system copy to export from our existing portal (OS: Windows Server 2003, Same version of Netweaver and Java). After that, I used sapinst once again on the target server and do system copy and it completed successfully. I then restart the server to make sure changes took effect. The problem now is that the Server0 does not start.

Hoping for your prompt assistance as I am doing this since yesterday.

Thanks in advance.

-Rain

Edited by: Rainier on Apr 20, 2010 6:10 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Are you read the SYstem copy guide ? Why you

I installed SAP Netweaver Portal 7 for MS SQL/AS JAVA on our new Windows Server 2008

? Why you need whis step if you want to do system copy ?

Regards.

Former Member
0 Kudos

Yes I have read the user guide. I installed the SAP Netweaver at first because I didn't know that there is a system copy. I found that using the Export function is more difficult.

Former Member
0 Kudos
I found that using the Export function is more difficult

On JAVA system only you must do create an export of the Java central instance

it is are really not difficult (some minutes) and after do Homogeneous systemcopy using MSSQL specific procedure (you can simly restore database from existing backup on new server), and after start sapinst with system copy Regards.

Former Member
0 Kudos

you mean I need to do the system copy twice? I already exported the central instance and did a system copy but it didn't work. the status of Server0 on AS Java Process table remains as Starting Apps. Upon checking on the Developer Trace, I found these warnings:

[Thr 5944] Tue Apr 20 14:11:16 2010

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

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

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

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

any Idea? I found on other thread that "[jstartxx.c 841]" should not be shown...

Former Member
0 Kudos
Server0 on AS Java Process table remains as Starting Apps

Then it's no preblem at all, how much time is in Starting Apps ? Post full log dev_server0 ? (also all this warnings are not a problem).

you mean I need to do the system copy twice?

No, i can't understand how you first install system, and after create system copy, or you do it on same server with other SID ? Explain more detailed please (step by step). Regards

Former Member
0 Kudos

First, I installed the Netweaver Portal as clean copy on the new server. Everything works fine but of course, I need to transfer all data from our old server. After some research, I found that I can use System Copy. So I used System Copy on our old server to export the Central Instance. Then I copied the generated files to the new server. I again used the System Copy to import the files to the new server. I now started the SAP System but the Server0's status stays at starting apps. It restarts infinitely.

Here's the log file:

-


trc file: "D:\usr\sap\J7P\JC00\work\dev_server0", trc level: 1, release: "701"

-


node name : ID5285850

pid : 5552

system name : J7P

system nr. : 00

started at : Tue Apr 20 14:11:16 2010

arguments :

arg[00] : D:\usr\sap\J7P\JC00\exe\jlaunch.exe

arg[01] : pf=D:\usr\sap\J7P\SYS\profile\J7P_JC00_portal7prod

arg[02] : -DSAPINFO=J7P_00_server

arg[03] : pf=D:\usr\sap\J7P\SYS\profile\J7P_JC00_portal7prod

[Thr 5944] Tue Apr 20 14:11:16 2010

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

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

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

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

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

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\J7P\JC00\j2ee\cluster\instance.properties]

-> ms host : portal7prod

-> ms port : 3901

-> OS libs : D:\usr\sap\J7P\JC00\j2ee\os_libs

-> Admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

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

Used property files

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

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

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

Instance properties

-> ms host : portal7prod

-> ms port : 3901

-> os libs : D:\usr\sap\J7P\JC00\j2ee\os_libs

-> admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

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

-> [01] bootstrap_ID5285800 : D:\usr\sap\J7P\JC00\j2ee\cluster\instance.properties

-> [02] bootstrap_ID5285850 : D:\usr\sap\J7P\JC00\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID5285800 : D:\usr\sap\J7P\JC00\j2ee\cluster\instance.properties

-> [01] ID5285850 : D:\usr\sap\J7P\JC00\j2ee\cluster\instance.properties

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

[Thr 5944] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 5944] JLaunchRequestQueueInit: create pipe listener thread

[Thr 4536] JLaunchRequestFunc: Thread 4536 started as listener thread for np messages.

[Thr 5468] WaitSyncSemThread: Thread 5468 started as semaphore monitor thread.

[Thr 5944] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)

[Thr 5944] CPIC (version=701.2009.01.26)

[Thr 5944] [Node: server0] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_17-x64

[Thr 5944] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\J7P\JC00\exe\jvmx.jar

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

JStartupIReadSection: read node properties [ID5285850]

-> node name : server0

-> node type : server

-> node execute : yes

-> jlaunch parameters :

-> java path : C:\j2sdk1.4.2_17-x64

-> java parameters : -verbose:gc -Dsun.io.useCanonCaches=false -Djava.awt.headless=true -Djco.jarm=1 -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Djava.security.policy=./java.policy -XX:NewSize=341m -XX:MaxNewSize=341m -XX:MaxPermSize=192m -XX:PermSize=192m -XX:DisableExplicitGC -XX:PrintGCDetails -XX:+PrintGCTimeStamps -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc

-> java vm version : 1.4.2_17-b06

-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)

-> java vm type : server

-> java vm cpu : amd64

-> heap size : 2048M

-> init heap size : 2048M

-> stack size : 2M

-> root path : D:\usr\sap\J7P\JC00\j2ee\cluster\server0

-> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> OS libs path : D:\usr\sap\J7P\JC00\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 : D:\usr\sap\J7P\JC00\exe\jstartup.jar;D:\usr\sap\J7P\JC00\exe\jvmx.jar

-> shutdown class : com.sap.engine.boot.Start

-> parameters :

-> debuggable : no

-> debug mode : no

-> debug port : 50021

-> shutdown timeout : 120000

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

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

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

[Thr 4912] [JHVM_PrepareVMOptions] use java parameters set by profile parameter

Java Parameters: -Xss2m

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

JHVM_LoadJavaVM: VM Arguments of node [server0]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

-> arg[ 3]: -verbose:gc

-> arg[ 4]: -Dsun.io.useCanonCaches=false

-> arg[ 5]: -Djava.awt.headless=true

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

-> arg[ 7]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy

-> arg[ 8]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy

-> arg[ 9]: -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer

-> arg[ 10]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy

-> arg[ 11]: -Djava.security.policy=./java.policy

-> arg[ 12]: -XX:NewSize=341m

-> arg[ 13]: -XX:MaxNewSize=341m

-> arg[ 14]: -XX:MaxPermSize=192m

-> arg[ 15]: -XX:PermSize=192m

-> arg[ 16]: -XX:+DisableExplicitGC

-> arg[ 17]: -XX:+PrintGCDetails

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

-> arg[ 19]: -XX:SurvivorRatio=2

-> arg[ 20]: -XX:TargetSurvivorRatio=90

-> arg[ 21]: -XX:SoftRefLRUPolicyMSPerMB=1

-> arg[ 22]: -verbose:gc

-> arg[ 23]: -Dsys.global.dir=D:\usr\sap\J7P\SYS\global

-> arg[ 24]: -Dapplication.home=D:\usr\sap\J7P\JC00\exe

-> arg[ 25]: -Djava.class.path=D:\usr\sap\J7P\JC00\exe\jstartup.jar;D:\usr\sap\J7P\JC00\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> arg[ 26]: -Djava.library.path=C:\j2sdk1.4.2_17-x64\jre\bin\server;C:\j2sdk1.4.2_17-x64\jre\bin;C:\j2sdk1.4.2_17-x64\bin;D:\usr\sap\J7P\JC00\j2ee\os_libs;C:\Program Files\EMC\PowerCommon\;C:\Program Files\EMC\PowerPath\;C:\Program Files\EMC\PowerPath\32bit\;C:\Windows\system32;C:\Windows;%\System32\Wbem;C:\Program Files (x86)\%\System32\Wbem;C:\j2sdk1.4.2_17-x64\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\usr\sap\J7P\SYS\exe\uc\NTAMD64

-> arg[ 27]: -Dmemory.manager=2048M

-> arg[ 28]: -Xmx2048M

-> arg[ 29]: -Xms2048M

-> arg[ 30]: -Xss2M

-> arg[ 31]: -DLoadBalanceRestricted=no

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

-> arg[ 33]: -Djstartup.ownProcessId=5552

-> arg[ 34]: -Djstartup.ownHardwareId=T1377244277

-> arg[ 35]: -Djstartup.whoami=server

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

-> arg[ 37]: -Xss2m

-> arg[ 38]: -DSAPINFO=J7P_00_server

-> arg[ 39]: -DSAPSTARTUP=1

-> arg[ 40]: -DSAPSYSTEM=00

-> arg[ 41]: -DSAPSYSTEMNAME=J7P

-> arg[ 42]: -DSAPMYNAME=portal7prod_J7P_00

-> arg[ 43]: -DSAPDBHOST=PORTAL7PROD

-> arg[ 44]: -Dj2ee.dbhost=PORTAL7PROD

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

CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources

CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain

CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub

CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS

CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices

CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile

CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup

CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue

CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode

CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode

CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement

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 4912] JHVM_LoadJavaVM: Java VM created OK.

K), 0.0851579 secs] 226190K->54447K(2009856K), 0.0852045 secs]

Tue Apr 20 14:12:15 2010

      1. Excluding compile: com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder::readElement

      2. Excluding compile: com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType::_loadInto

................

"SAPEngine_Application_Thread[impl:3]_0" prio=5 tid=0x0000000008e02840 nid=0xbc0 in Object.wait() [0x000000000a3af000..0x000000000a3afb30]

at java.lang.Object.wait(Native Method)

- waiting on <0x00000000954f7ef8> (a com.sap.engine.lib.util.WaitQueue)

at java.lang.Object.wait(Object.java:429)

at com.sap.engine.lib.util.WaitQueue.dequeue(WaitQueue.java:238)

- locked <0x00000000954f7ef8> (a com.sap.engine.lib.util.WaitQueue)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:153)

"Thread-1" prio=5 tid=0x0000000002d87f80 nid=0x1790 in Object.wait() [0x00000000085df000..0x00000000085dfb30]

at java.lang.Object.wait(Native Method)

- waiting on <0x00000000954fa440> (a com.sap.engine.core.Framework)

at java.lang.Object.wait(Object.java:429)

at com.sap.engine.core.Framework.start(Framework.java:206)

- locked <0x00000000954fa440> (a com.sap.engine.core.Framework)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.boot.FrameThread.run(FrameThread.java:61)

at java.lang.Thread.run(Thread.java:534)

"Signal Dispatcher" daemon prio=10 tid=0x0000000002d59810 nid=0x17ec waiting on condition [0x0000000000000000..0x0000000000000000]

"Finalizer" daemon prio=9 tid=0x0000000002d550d0 nid=0x1748 in Object.wait() [0x0000000006d4f000..0x0000000006d4fb30]

at java.lang.Object.wait(Native Method)

- waiting on <0x00000000954faaf0> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)

- locked <0x00000000954faaf0> (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)

at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x0000000002d54e50 nid=0x1764 in Object.wait() [0x0000000006b4f000..0x0000000006b4fb30]

at java.lang.Object.wait(Native Method)

- waiting on <0x00000000954fa2b8> (a java.lang.ref.Reference$Lock)

at java.lang.Object.wait(Object.java:429)

at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)

- locked <0x00000000954fa2b8> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x000000000095c9d0 nid=0x1330 in Object.wait() [0x0000000002cbf000..0x0000000002cbfc18]

at java.lang.Object.wait(Native Method)

- waiting on <0x00000000954fab98> (a com.sap.engine.boot.StartFrame)

at java.lang.Object.wait(Object.java:429)

at com.sap.engine.boot.StartFrame.work(StartFrame.java:121)

- locked <0x00000000954fab98> (a com.sap.engine.boot.StartFrame)

at com.sap.engine.boot.Start.main(Start.java:34)

"VM Thread" prio=5 tid=0x0000000002d51f90 nid=0x1724 runnable

"Suspend Checker Thread" prio=10 tid=0x0000000002d58c50 nid=0x17d4 runnable

[Thr 5924] JLaunchIExitJava: exit hook is called (rc = 666)

[Thr 5924] **********************************************************************

      • ERROR => The Java VM terminated with a non-zero exit code.

      • Please see SAP Note 943602 , section 'J2EE Engine exit codes'

      • for additional information and trouble shooting.

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

[Thr 5924] JLaunchCloseProgram: good bye (exitcode = 666)

Former Member
0 Kudos

JLaunchCloseProgram: good bye (exitcode = 666)

You need to use configtool and set the JVM settings per

Note 723909 - Java VM settings for J2EE 6.40/7.0

Regards.

Former Member
0 Kudos

Great! Problem solved! I followed the SAP Note you gave me and I got the other SAP Note Number: 717376.

Thank your for assisting me.

-Rain

Former Member
0 Kudos

I do not know how on win 2008 you can help the

Note 717376 - iSeries: VM Settings for SAP WebAS Java (IBM Classic JVM)

:__)) Regards.

Former Member
0 Kudos

haha, I just read from there the recommended settings for Heap sizes. I tried on my server and it suddenly worked fine. haha hope it helps, anyways

Former Member
0 Kudos

You set the very big heap size, it will not work (if you set 4096 MB) , you need set heap per note as i'm post -->

723909 , try to read about 64 bit server's max are 2048 MB . Regards.

Former Member
0 Kudos

is 4096 too big even if I have 12GB RAM?

Former Member
0 Kudos

No matter, max for server proces on windows x64 are 2048 (set both max and current) to 2048.

Try to read 723909 and set all parametes as recomended (to avoid future problems!!)

Regards.

Former Member
0 Kudos

I changed to 2048. Now it's still working. Thanks!

Answers (0)