ulrich.fuchs
29th May 2008, 16:43
Hi Folks,

i currently have a problem on a Windows 2003 System; The Java integration is not working (so I can't get ODM up and running). I know that I somewhere have to put java in the path variables (from the server manual and this thread :http://www.baanboard.com/baanboard/showthread.php?t=48553&highlight=java ), But where exactly?

The Windows Path is %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Programme\Microsoft SQL Server\80\Tools\Binn\;C:\Programme\Microsoft SQL Server\90\DTS\Binn\;C:\Programme\Microsoft SQL Server\90\Tools\binn\;C:\Programme\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Programme\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Programme\Baan\shared\bin;C:\Programme\Baan\shared\shlib;d:\erp61\bin;C:\Programme\Java\jre1.6.0_03\bin;C:\Programme\Java\jre1.6.0_03\bin\client

Additionally, I have

PATH=C:\Programme\Baan\shared\bin;C:\Programme\Baan\shared\shlib;C:\Programme\Java\jre1.6.0_03\bin;C:\Programme\Java\jre1.6.0_03\bin\client

in %BSE%/lib/bse_vars

Still, java.new.queue() returns -2!

Any ideas what I'm missing? And what is the meaning of -2 as return value (documented is only -1 and -4)?

Any help greatly appreciated!

Uli

mpfaender
30th May 2008, 12:21
Hi Uli,

did you reboot the System?

-2 means the JVMI couldn't find the Java-Runtime-Environment.


Start your Bshell Environment (BECS) with the options

-dbgjvmi -keeplog -logfile /tmp/bowstart.log

Restart the Worktop and start you Baan-Programscript with the Java-Interface.
JVMI writes into bowstart.log


Best regards
Michael