on 11-01-2007 9:34 PM
Hello all,
I'm currently installing an Portal (NW2004sSR1 SPS12)dialog instance and have ran into a problem I've found very little information about.
The error given in the installation log states:
ERROR:
BatchXmlGenerator error. DIAGNOSIS: Error when generating 'BatchConfig.xml' for the batchconfigtool. See output of logfile batchXmlGen.log: 'Error occurred during initialization of VMjava.lang.Error: Properties init: Could not determine current working directory.'
and...
ERROR:
The step runBatchconfig with step key |NW_DI|ind|ind|ind|0|0|NW_DI_Instance|ind|ind|ind|ind|10|0|rinBatchconfig was executed with status error
..............
I found one thread on SDN that mentions the error, and a note 812910, but I can't see how to apply the note, although the thread indicates it solved the problem (. I'm not seeing the updateConfigProperties.properties or the prependConfigProperties.properties files anywhere that I can think to look. Maybe it's different since it's a dialog instance?
Anyway, has anyone seen this before and can give me a hand?
I'll award points for any helpful answers.
Thanks!!
Hi,
It looks like the generation of BatchConfig.xml requires sapinst to start a new java VM process which fails with the message:
'Error occurred during initialization of VMjava.lang.Error: Properties init: Could not determine current working directory.'
Where is java installed?
Is JAVA_HOME and similar set for all users on the server (not just your user)?
What happens if you write java -version in a command prompt?
Cheers
Dagfinn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My java is installed at /usr/jdk/j2sdk1.4.2_13.
I've set env variables as such for root, my self (since I'm sudo-ing over to root) and for my <sid>adm:
setenv SAPINST_JRE_HOME /usr/jdk/j2sdk1.4.2_13
setenv JAVA_HOME /usr/jdk/j2sdk1.4.2_13
setenv PATH /usr/jdk/j2sdk1.4.2_13/bin:$PATH
setenv TMP /sapinst
I went in and gave 777 permissions to all directories in this path /usr/jdk/j2sdk1.4.2_13/bin, including the java command itself - made no difference; still the same error.
java version seems to work fine as root:
java -version
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
Any other ideas?
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.