cancel
Showing results for 
Search instead for 
Did you mean: 

J2ee engine does not start up after system copy

Former Member
0 Kudos

Dear All,

I have done a system copy of BW3.5 (NW04). I installed the BW.3.5 and then replaced the data and control files.

This has ABAP + java.

Now after system copy when i am starting the server, the J2ee instance doesnt start up.

ABAP is running and DB is up too.

I am getting the following error in log_bootstrap file:-

Exception occured:

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

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

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

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

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

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

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

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

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

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

-


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


com.sap.engine.bootstrap.SynchronizationException: No such Dialog Instance (ID1125100) in the database! Check

database consistency or local Bootstrap properties!

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

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

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

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

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

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

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

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

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

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

[Aug 26, 2008 2:00:26 PM ] [Bootstrap module]> Problem occured while performing synchronization.

[Aug 26, 2008 2:00:42 PM ] -


[Aug 26, 2008 2:00:42 PM ] Bootstrap MODE:

[Aug 26, 2008 2:00:42 PM ] <INSTANCE GLOBALS>

[Aug 26, 2008 2:00:42 PM ] determined by parameter [ID0011251].

[Aug 26, 2008 2:00:42 PM ] -


[Aug 26, 2008 2:00:46 PM ] Exception occured:

com.sap.engine.frame.core.configuration.NameNotFoundException: A configuration with the path "cluster_data/di

spatcher/ID1125100" does not exist.

at com.sap.engine.core.configuration.impl.ConfigurationDataCacheAllImpl.getSubConfiguration(Configura

tionDataCacheAllImpl.java:107)

at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getSubConfiguration(ReadAccessConfi

guration.java:715)

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

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

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

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

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

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

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

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

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

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

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

What could the problem?. Do I need to do some other settings for system copy of JVA instance?

Kindly help

Thanks

Tajinder

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

Copies of systems containing Java must be done using sapinst. If you didn't do that you need to repeat the copy process.

The reason is: many configurations are stored on the filesystem of the J2EE engine and also in the database schema of the Java instance. If you copy just the database, those entries don't match and the system won't start.

--> http://service.sap.com/systemcopy

Markus

Former Member
0 Kudos

Hi,

Finally after a lot of editing, I am able to start the j2ee instance.

It is running.

I am able to loginn to VA. It is showing running in SMICM.

Rest of the testing I will do tomorrow.

And let you know incase of any issues

Thanks,

Tajinder

Former Member
0 Kudos

Hi Tajinder,

Your system may now be up and running, but this is simply a "smoke test". As Markus pointed out, the only supported way to perform a system copy with Java is to follow the System Copy Guide. The method you have used is unsupported. The system may work now, but you may have missed some changes that can lead to serious problems later. Needless to say, SAP Support will not assist, either, since you used an unsupported method to create your system.

Best Regards,

Matt

Former Member
0 Kudos

Hi,

Thanks for your suggestions.

I understand that it might get into some trouble again.

But i couldnt find any guide on systemcopy for ABAP +JAVA for NW04. If you are able to kindly send me the link.

DO i have to run the installation of the whole JAVA instance finalization phase?

What steps to do for JAVA instance now. I guess ABAP instance is OK. But I need to work on JAVA instance. Am I right?

Thanks,

Tajinder

markus_doehr2
Active Contributor
0 Kudos

> But i couldnt find any guide on systemcopy for ABAP +JAVA for NW04. If you are able to kindly send me the link.

http://service.sap.com/systemcopy

> DO i have to run the installation of the whole JAVA instance finalization phase?

yes - unfortunately

> What steps to do for JAVA instance now. I guess ABAP instance is OK. But I need to work on JAVA instance. Am I right?

No - you need to repeat completely.

What sapinst does is basically (for the Java part):

- zip/pack all the content in the system

- execute JLoad to unload the database

- on installation (sapinst has to be used here too) it will unpack SDM and do an "installation" of the engine

- adapt the .properties and the database content referring to old hostname/SID

If you are on the very bad luck side, a database copy is not supported with your combination and you need to use R3load for the ABAP part also.

Markus

Former Member
0 Kudos

Hi Markus,

Thans for your reply.

I already checked that link.

It says that the content of this page has been moved to SDN.

And on SDN, i could find System copy guide for only NW04s and not for NW04.

I think my luck is moving towards bad side.

Thanks,

Tajinder

markus_doehr2
Active Contributor
0 Kudos

I would REALLY appreciate if SAP would stop moving documentation around..

I found it here:

http://service.sap.com/nw04installation

Markus

Former Member
0 Kudos

Hi Markus,

Thank you so much for your efforts to search the documentation.

But there is no documentaion for system copy there either.

There are installation and other guides but not the system copy guide or documentaion. At least I couldnt find it.

I tried to find it here before too. Even then I could not find. Thats why I moved ahead with my method.

Where to find the documentation?

Thanks

Tajinder

markus_doehr2
Active Contributor
0 Kudos

I didn´t give the full path - sorry for confusion.

Try the link and then click on the link in the middle bottom section

"SAP Web AS 6.40 SR1 and Related Documentation "

There you will find

"Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAP Web AS 6.40 SR1"

Markus

Former Member
0 Kudos

Hi,

sorry for so much delay in replying as I had to go for another project.

I had got that working.

Now i have several systems copies to make.

I will look forward to take help from all for you.

I am closing the thread.

I am happy to award points to all of u.

Thanks

Tajinder

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi basis guruu2019s

i am also facing same problem can any one help for the same.

We are in progress of HADR for EP and we have successfully established the same, both servers are able to sync logs (primary to standby server.)

For integration (with BI) purpose I separated via stopping HADR on primary and standby, now standby server db is activated .when I am trying to access portal with standby local host name its showing blank page.

Same time when try to connect visual administrator it will give below error

u201CUnable to lookup connection defaultu201D

u2018http://MEPPRD101:8134/msgserver/txt/logon/returned empty list of connection parametersu201D

Please find below info from dev_ jcontrol log.

Thr 1] Sat Sep 20 18:21:53 2008[Thr 1] *** WARNING => INFO: Unknown property [instance.box.number=MPPJC33mepprd101] [jstartxx_mt. 840]

[Thr 1] *** WARNING => INFO: Unknown property [instance.en.host=MEPPRD101] [jstartxx_mt. 840]

[Thr 1] *** WARNING => INFO: Unknown property [instance.en.port=3234] [jstartxx_mt. 840]

[Thr 1] *** WARNING => INFO: Unknown property [instance.system.id=33] [jstartxx_mt. 840]

[Thr 1] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx_mt. 1641]

[Thr 1] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)

[Thr 1] JControlCloseProgram: started (exitcode = 66)

[Thr 1] JControlCloseProgram: good bye... (exitcode = 66)

Thanks in advance

Regards

Vijay

Former Member
0 Kudos

Hi Vijay

>For integration (with BI) purpose I separated via stopping HADR on primary and standby, now standby server db is activated .when I am trying to access portal with standby local host name its showing blank page.

Did you install your HADR system using virtual hostnames? In a failover the physical hostname should change, but the virtual hostname should stay the same to avoid issues.

Best Regards,

Matt

Former Member
0 Kudos

Hi,

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

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

As per the above error, bootstrap fails to synchronize the files from the database and exits with non-zero return code.

Just check out this note 997510 which will help to diagonise your problem.

Post us the dev_jcontrol log file so that we can diagonise much more

Rgds

Radhakrishna D S

Former Member
0 Kudos

Hi,

I already checked that note. It did not help.

I am pasting mine dev_jcontrol file:--

-


trc file: "/usr/sap/BD1/DVEBMGS00/work/dev_jcontrol", trc level: 1, release: "640"

-


node name : jcontrol

pid : 868524

system name : BD1

system nr. : 00

started at : Tue Aug 26 16:27:10 2008

arguments :

arg[00] : jcontrol

arg[01] : pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS

arg[02] : -DSAPSTART=1

arg[03] : -DCONNECT_PORT=64380

arg[04] : -DLISTEN_PORT=64381

arg[05] : -DSAPSYSTEM=00

arg[06] : -DSAPSYSTEMNAME=BD1

arg[07] : -DSAPMYNAME=BWQAS_BD1_00

arg[08] : -DSAPPROFILE=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS

arg[09] : -DFRFC_FALLBACK=ON

arg[10] : -DFRFC_FALLBACK_HOST=localhost

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

JStartupReadInstanceProperties: read instance properties [/usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.proper

ties:/usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties]

-> ms host : BWQAS

-> ms port : 3601

-> OS libs : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

-> files [00] : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties

-> files [01] : /usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties

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

Instance properties

-> ms host : BWQAS

-> ms port : 3601

-> os libs : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

-> [00] bootstrap : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties

-> [01] bootstrap_ID1125100 : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties

-> [02] bootstrap_ID1125150 : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties

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

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

Worker nodes

-> [00] ID1125100 : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties

-> [01] ID1125150 : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties

-> [02] sdm : /usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties

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

[Thr 01] Tue Aug 26 16:27:10 2008

[Thr 01] SigISetDefaultAction : default handling for signal 20

[Thr 01] JControlExecuteBootstrap: execute bootstrap process [bootstrap]

[Thr 258] JControlDPMessageFunc: Thread 258 started as handler thread for R/3 dispatcher messages.

[Thr 01] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) -

using -Xmx512m [jstartxx_mt. 2282]

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

Java Home: /usr/java14_64

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

JStartupIReadSection: read node properties [bootstrap]

-> node name : bootstrap

-> node type : bootstrap

-> java path : /usr/java14_64

-> java parameters : -Djco.jarm=1 -Djco.jarm=1

-> java vm version : J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20060421 (SR5) (JIT enabl

ed: jitc)

-> java vm vendor : Classic VM (IBM Corporation)

-> java vm type : <default>

-> java vm cpu : ppc64

-> heap size : 512M

-> root path : /usr/sap/BD1/DVEBMGS00/j2ee/cluster

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

-> OS libs path : /usr/sap/BD1/DVEBMGS00/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 : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs/jstartup.jar

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

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout: 120000

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

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

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

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

-> arg[01] = pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS

-> arg[02] = -DSAPINFO=BD1_00_bootstrap

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

-> arg[04] = -nodeName=bootstrap

-> arg[05] = -nodeId=-1

-> arg[06] = -syncSem=12582961

-> arg[07] = -jvmOutFile=/usr/sap/BD1/DVEBMGS00/work/jvm_bootstrap.out

-> arg[08] = -stdOutFile=/usr/sap/BD1/DVEBMGS00/work/std_bootstrap.out

-> arg[09] = -locOutFile=/usr/sap/BD1/DVEBMGS00/work/dev_bootstrap

-> arg[08] = -stdOutFile=/usr/sap/BD1/DVEBMGS00/work/std_bootstrap.out

-> arg[09] = -locOutFile=/usr/sap/BD1/DVEBMGS00/work/dev_bootstrap

-> arg[10] = -mode=BOOTSTRAP

-> arg[11] = pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS

-> arg[12] = -DSAPSTART=1

-> arg[13] = -DCONNECT_PORT=64382

-> arg[14] = -DLISTEN_PORT=64381

-> arg[15] = -DSAPSYSTEM=00

-> arg[16] = -DSAPSYSTEMNAME=BD1

-> arg[17] = -DSAPMYNAME=BWQAS_BD1_00

-> arg[18] = -DSAPPROFILE=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS

-> arg[19] = -DFRFC_FALLBACK=ON

-> arg[20] = -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/B

D1/DVEBMGS00/j2ee/os_libs:/usr/sap/BD1/SYS/exe/run:/usr/sap/BD1/SYS/exe/runU:/usr/lib:/usr/sap/BD1/DVEBMGS00/

j2ee/os_libs:/usr/sap/BD1/DVEBMGS00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/BD1/SYS/exe/run:/usr/sap/BD1/SYS/exe/

runU

-> exe path = PATH=/usr/java14_64/bin:/usr/sap/BD1/DVEBMGS00/j2ee/os_libs:/oracle/BD1/920_64/bin:/usr/java14_

64/bin:/home/bd1adm:/usr/sap/BD1/SYS/exe/runU:/usr/sap/BD1/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home

/bd1adm/bin:/usr/bin/X11:/sbin:.

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

[Thr 01] JStartupICreateProcess: fork process (pid 893002)

[Thr 01] Tue Aug 26 16:27:18 2008

[Thr 01] *** ERROR => invalid return code of process [bootstrap] (exitcode=66) [jstartxx_mt. 1433]

[Thr 01] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=66)

[Thr 01] JControlCloseProgram: started (exitcode = 66)

[Thr 01] JControlCloseProgram: good bye... (exitcode=66)

DO i have to change the some settingdsin any file for java instance after system copy.

Thanks

Tajinder

Former Member
0 Kudos

Hi,

After efforts i am able to proceed a bit further.

i edited the files on OS and through configtool.

Then came the file missing and synchronization errors.

I think now i have solved that too. But still there is problem.

This is what I think my problem is. may be I am wrong. Please do correct me.

Now the problem is that in my instance.properties file, the data is taken from database. And since my DB is of other server. So it is reading that hostname for mesg server and en. host as of my other server. So j2ee instance is not starting up.

My jvm_bootstrap_ID***.out has following lines:-

No local properties available for [ApplicationThreadManager].

No local properties available for [IpVerificationManager].

No local properties available for [kernel_shell_commands].

No local properties available for [LicensingManager].

No local properties available for [ClassLoaderManager].

No local properties available for [PoolManager].

No local properties available for [ThreadManager].

No local properties available for [LockingManager].

But it is able to synchronize the files.

My dev_jcontrol now reads as:-

Thr 01] *** ERROR => Invalid property value [box.number/BD1DVEBMGS00bwdev] [jstartxx_mt. 789]

[Thr 01] *** ERROR => Invalid property value [en.host/"hostname"] [jstartxx_mt. 789]

[Thr 01] *** ERROR => Invalid property value [en.port/3201] [jstartxx_mt. 789]

[Thr 01] *** ERROR => Invalid property value [system.id/0] [jstartxx_mt. 789]

And the values for en.host are of the old server.

I tried to change these from configtool too. But it is not helping. It is showing the new values in configtool. I also changed the values in instance.properties file but they also get changed as the server is restarted.

So is there any way that we can fix the values in instance.properties file or we can change the values from where it reads?