cancel
Showing results for 
Search instead for 
Did you mean: 

When start SAP on DR server Jcontrol stops

0 Kudos
130

Dear All,

We are setting the DR setup for our production EP system on Windows 2003 server and db is Oracle 10g. We performed the following activities:-

1- Installed the fresh SAP on our DR server

2- Restored the Production EP backup on our DR Server and configured the Data guard between our production and DR server.

3- The log shipping (archive logs) from the production server to DR server was successful When we switchover from our production EP to our DR EP site. The switch over activity at oracle level was Successful but when we try to start SAP the jcontrol process failed.

Kindly give suggestion.

Kind Regards

Please find the log of dev_bootstrap.log, JVM_BOOTSTRAP.O00.LOG and JAV_BOOTSTRAP.OUT file

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$$$$$$$$$ DEV_BOOTSTRAP.LOG

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

-


trc file: "E:\usr\sap\PEP\JC00\work\dev_bootstrap", trc level: 1, release: "701"

-


node name : bootstrap

pid : 1460

system name : PEP

system nr. : 00

started at : Mon Dec 20 12:52:28 2010

arguments :

arg[00] : E:\usr\sap\PEP\JC00\exe\jlaunch.exe

arg[01] : pf=E:\usr\sap\PEP\SYS\profile\PEP_JC00_sapprdepdr

arg[02] : -DSAPINFO=PEP_00_bootstrap

arg[03] : pf=E:\usr\sap\PEP\SYS\profile\PEP_JC00_sapprdepdr

[Thr 3344] Mon Dec 20 12:52:28 2010

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

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

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

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

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

JStartupReadInstanceProperties: read instance properties [E:\usr\sap\PEP\JC00\j2ee\cluster\instance.properties]

-> ms host : sapprdepdr

-> ms port : 3901

-> OS libs : E:\usr\sap\PEP\JC00\j2ee\os_libs

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

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

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

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

Instance properties

-> ms host : sapprdepdr

-> ms port : 3901

-> os libs : E:\usr\sap\PEP\JC00\j2ee\os_libs

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

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

-> [01] bootstrap_ID3402900 : E:\usr\sap\PEP\JC00\j2ee\cluster\instance.properties

-> [02] bootstrap_ID3402950 : E:\usr\sap\PEP\JC00\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID3402900 : E:\usr\sap\PEP\JC00\j2ee\cluster\instance.properties

-> [01] ID3402950 : E:\usr\sap\PEP\JC00\j2ee\cluster\instance.properties

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

[Thr 3344] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 3344] JLaunchRequestQueueInit: create pipe listener thread

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

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

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

[Thr 3344] CPIC (version=701.2009.01.26)

[Thr 3344] [Node: bootstrap] java home is set by profile parameter

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

[Thr 3344] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\PEP\JC00\exe\jvmx.jar

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

JStartupIReadSection: read node properties [bootstrap]

-> node name : bootstrap

-> node type : bootstrap

-> node execute : yes

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

-> java parameters : -Djco.jarm=1

-> 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 : 256M

-> root path : E:\usr\sap\PEP\JC00\j2ee\cluster

-> class path : .\bootstrap\launcher.jar

-> OS libs path : E:\usr\sap\PEP\JC00\j2ee\os_libs

-> main class : com.sap.engine.offline.OfflineToolStart

-> framework class : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path : E:\usr\sap\PEP\JC00\exe\jstartup.jar;E:\usr\sap\PEP\JC00\exe\jvmx.jar

-> parameters : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0034029

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout : 120000

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

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

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

Java Parameters: -Xss2m

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

JHVM_LoadJavaVM: VM Arguments of node [bootstrap]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

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

-> arg[ 4]: -Dsys.global.dir=E:\usr\sap\PEP\SYS\global

-> arg[ 5]: -Dapplication.home=E:\usr\sap\PEP\JC00\exe

-> arg[ 6]: -Djava.class.path=E:\usr\sap\PEP\JC00\exe\jstartup.jar;E:\usr\sap\PEP\JC00\exe\jvmx.jar;.\bootstrap\launcher.jar

-> arg[ 7]: -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;E:\usr\sap\PEP\JC00\j2ee\os_libs;D:\oracle\PEP\102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\j2sdk1.4.2_17-x64\bin;E:\usr\sap\PEP\SYS\exe\uc\NTAMD64

-> arg[ 8]: -Dmemory.manager=256M

-> arg[ 9]: -Xmx256M

-> arg[ 10]: -DLoadBalanceRestricted=no

-> arg[ 11]: -Djstartup.mode=BOOTSTRAP

-> arg[ 12]: -Djstartup.ownProcessId=1460

-> arg[ 13]: -Djstartup.ownHardwareId=Z1851968117

-> arg[ 14]: -Djstartup.whoami=bootstrap

-> arg[ 15]: -Djstartup.debuggable=yes

-> arg[ 16]: -Xss2m

-> arg[ 17]: -DSAPINFO=PEP_00_bootstrap

-> arg[ 18]: -DSAPSTARTUP=1

-> arg[ 19]: -DSAPSYSTEM=00

-> arg[ 20]: -DSAPSYSTEMNAME=PEP

-> arg[ 21]: -DSAPMYNAME=sapprdepdr_PEP_00

-> arg[ 22]: -DSAPDBHOST=sapprdepdr

-> arg[ 23]: -Dj2ee.dbhost=sapprdepdr

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

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

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

JHVM_BuildArgumentList: main method arguments of node [bootstrap]

-> arg[ 0]: com.sap.engine.bootstrap.Bootstrap

-> arg[ 1]: ./bootstrap

-> arg[ 2]: ID0034029

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

[Thr 3704] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes

[Thr 1664] Mon Dec 20 12:52:29 2010

[Thr 1664] JLaunchIExitJava: exit hook is called (rc = 66)

[Thr 1664] **********************************************************************

      • 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 1664] JLaunchCloseProgram: good bye (exitcode = 66)

Edited by: Nasir Javed on Dec 20, 2010 9:47 AM

Edited by: Nasir Javed on Dec 20, 2010 9:48 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi

Stop all process and give to your user same permissions that have your J2<SID>ADM user and start newly, this solves the problem.

Regards

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

If you are doing DR for your EP system then you have to do sync of file system because for Java system most of the information lies in the flie system that is the reason your system is not getting started.

Thanks

Sunny

0 Kudos

Dear Sunny

Please advice the file/folders which we have to sync ? Our sap is running on windows 2003 R2 and database is Oracle 10g

Kind Regards

Former Member
0 Kudos

You need to sync following folders.

<Drive>\usr\sap\<SID>\JC<nr>\SDM\root

<Drive>\usr\sap\<SID>\SYS\global

<Drive>\usr\sap\<SID>\KMrepository (if you have any)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

I would suggest you to sync /usr/sap/<SID> (i.e. all folders beneath it because config tool also contains hostname entries.) And when you to have to start the DR then you have to change these hostname entries manually.

Thanks

Sunny

0 Kudos

Hi,

As there are no of files and folders in usr\sap\<SID> folder. Can we specify the files and folders where we have to change the host entry. Is there any work around to change the hostname in files and folders in bulk quantity.

Kind Regards

Former Member
0 Kudos

There has to be files under \usr\sap\<SID>, are you on DR CI server? is your database and CI on different server on DR?

0 Kudos

Reference to my previous message the remaining log files are as below:-

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$$$$$$$$$ JVM_BOOTSTRAP.O00.LOG

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

-


Bootstrap MODE:

<INSTANCE GLOBALS>

determined by parameter [ID0034029].

-


Exception occurred:

com.sap.engine.frame.core.configuration.NameNotFoundException: A configuration with the path "cluster_data/dispatcher/ID3402900" does not exist.

at com.sap.engine.core.configuration.impl.ConfigurationDataCacheAllImpl.getSubConfiguration(ConfigurationDataCacheAllImpl.java:107)

at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getSubConfiguration(ReadAccessConfiguration.java:715)

at com.sap.engine.bootstrap.Synchronizer.getConfiguration(Synchronizer.java:573)

at com.sap.engine.bootstrap.Synchronizer.getElementType(Synchronizer.java:93)

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:474)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

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.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Exception occurred:

com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

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.offline.OfflineToolStart.main(OfflineToolStart.java:81)

-


==[ Caused by: ]==----


com.sap.engine.bootstrap.SynchronizationException: No such Dialog Instance (ID3402900) in the database! Check database consistency or local Bootstrap properties!

at com.sap.engine.bootstrap.Synchronizer.getElementType(Synchronizer.java:96)

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:474)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

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.offline.OfflineToolStart.main(OfflineToolStart.java:81)

[Bootstrap module]> Problem occurred while performing synchronization.

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$$$$$$$$$ JAV_BOOTSTRAP.OUT

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

-


Bootstrap MODE:

<INSTANCE GLOBALS>

determined by parameter [ID0034029].

-


Exception occurred:

com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

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.offline.OfflineToolStart.main(OfflineToolStart.java:81)

-


==[ Caused by: ]==----


com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:364)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:129)

at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)

at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)

at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)

at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)

at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)

at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)

at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)

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.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: com.sap.sql.log.OpenSQLException: Could not load class oracle.jdbc.driver.OracleDriver.

at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)

at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:143)

at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)

at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)

at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:306)

... 14 more

Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

at com.sap.engine.offline.FileClassLoader.findClass(FileClassLoader.java:691)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:600)

at com.sap.engine.offline.FileClassLoader.loadClass(FileClassLoader.java:578)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:141)

at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:134)

... 17 more

[Bootstrap module]> Problem occurred while performing synchronization.