cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.Error: Properties init during DI install

Former Member
0 Kudos

Hi,

I am trying to install a Dialog Instance and am running into an error

message java.lang.Error: Properties init: Could not determine current

working directory.

I have already uninstalled the instance and started over and I got stuck on the exact same step again.

Here is the truncated log

INFO 2009-02-27 16:08:52

CJSlibModule::writeInfo_impl()

Output of /opt/java1.4/bin/java -classpath /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib/launcher.jar -Xmx256m -d64 com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.batch.xmlgenerator.ConfigXmlGenerator /usr/sap/SBP/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/SBP/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/lib:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/batchconfig.properties is written to the logfile batchXmlGen.log.

WARNING 2009-02-27 16:08:52

CJSlibModule::writeWarning_impl()

Execution of the command "/opt/java1.4/bin/java -classpath /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib/launcher.jar -Xmx256m -d64 com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.batch.xmlgenerator.ConfigXmlGenerator /usr/sap/SBP/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/SBP/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/SBP/SYS/global/security/lib/tools/w3c_http.jar:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/lib:/tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/batchconfig.properties" finished with return code 1. Output:

Error occurred during initialization of VM

java.lang.Error: Properties init: Could not determine current working directory.

ERROR 2009-02-27 16:08:52

CJSlibModule::writeError_impl()

CJS-30057 BatchXmlGenerator error.<br>DIAGNOSIS: Error when generating 'BatchConfig.xml' for the batchconfigtool. See output of logfile batchXmlGen.log: '

Error occurred during initialization of VM

java.lang.Error: Properties init: Could not determine current working directory.'.

ERROR 2009-02-27 16:08:52

FCO-00011 The step runBatchconfig with step key |NW_DI|ind|ind|ind|ind|0|0|NW_DI_Instance|ind|ind|ind|ind|10|0|runBatchconfig was executed with status ERROR .

INFO 2009-02-27 16:09:47 [iaxxgenimp.cpp:782]

showDialog()

An error occured and the user decide to stop.\n Current step "|NW_DI|ind|ind|ind|ind|0|0|NW_DI_Instance|ind|ind|ind|ind|10|0|runBatchconfig".

INFO 2009-02-27 16:09:47 [syuxcpath.cpp:351]

CSyPath::createFile()

Creating file /tmp/sapinst_instdir/NW04S/LM/AS/ORA/DI/__instana_tmp.xml.

aCC runtime: Uncaught exception of type "ELib".

iauxsysex.c:316: child /tmp/sapinst_exe.26944.1235779670/sapinst (pid 26945) has crashed. Executable directory is /tmp/sapinst_exe.26944.1235779670. Contact Support.

iaextract.c:814: child has signaled an exec error. Keeping directory /tmp/sapinst_exe.26944.1235779670

This is what the batchXmlGen.log says

Error occurred during initialization of VM

java.lang.Error: Properties init: Could not determine current working directory.

I have already checked the permissions and bounced the server and retried to no avail.

Note : This is a ABAP+JAVA DI installation

Any clues ?

Thanks,

Kunal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello, are you start installation under root or other user? Try to check perrmisiions on folder where JVM

parameters are stored ...Also check the tmp folder ...

Regards.

Answers (3)

Answers (3)

Former Member
0 Kudos

It was a permission issue. The /oracle directory had a wrong owner and group id. Even though all the child directories had the correct permissions. Thank you all for your inputs.

Former Member
0 Kudos

Hi,

Check following link and relevant notes inside it.

[https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=851251]

Hope this helps.

Manoj

Edited by: Manoj Chintawar on Feb 28, 2009 10:18 PM

Former Member
0 Kudos

Check your permissions for the parent directories all the way back to root. Also, make sure the java_home is set properly.