icaribe
27th December 2002, 08:30
OS: OS/400 V4R5
JDK: 1.2.2
BaanERP5c us
install OpenWorld adapter for ERP 2.3

when run session tmboaserve, met error:
'cannot start tmboaserver:failed to start java; wrong jdk version'

q1
the ubs.properties should be put which directory
now I only put in /etc

q2
I hasn't ldap server, so I only can use XML file. How should I modify the XML file.

q3
also, how should I modify the bus.properties?

q4
how can I execute the :
java -classpath $bse/java/b3.jar

q5
I try to find solution on Baan web site, this is a soluation for it.
it told maybe the bjvmi.jar is miss or not in classpath
i check the system, in the classpath, I had already set it
like:'/abc/bse/java/bjvmi.jar'

OmeLuuk
27th December 2002, 13:27
I read something in solution 129671 about a version of the Java Development Kit (JDK) which was not delivered for HPUx 10.20 anymore... maybe you are facing the same issue for another platform...

cpvbabu
28th December 2002, 04:40
Hello,

Please refer to the documentation, I guess you need to install jdk 1.1.7 and NOT jdk1.2.

apart from windows platform, for all other platforms, it is a safe bet to adhere to the jdk version mentioned in the installation guide.

I am sure, if you install JDK1.1.7 for AS400, (download this from ibm.com NOT from sun.com(though I doubt whether you could download this version from sun.com)), because of OEM stuff.

Thanx,
Venkatesh.

cpvbabu
28th December 2002, 04:47
Also, you need to configur the BCLM properly, I am assuming that you have done this already.

regarding bus.properties, it has to be in /etc directory. make sure that permissions are properly granted for the possible users who are going to use OW adapter.

you can use xml file as your directory service. please use the file attached for ur reference.

bus.properties file contents:

# Modified by : baan
# Modify date : Aug 29 19:34:29

[General settings]
bus.bdf.iterator.size=250
bus.bdf.manager.timeout=60000
bus.default.backend=
bus.component=

[Directory settings]
bus.services.directory.Directory=com.eibus.services.directory.file.FileDirectory
bus.services.directory.ServerURL=c:\\dirservice.xml
bus.services.directory.Root=

[Log settings]
bus.log.file=c:\\bow.log
bus.log.mask=0x3000f

[Advanced settings]
bus.default.protocol=socket
bus.connection.max.readers=
org.xml.sax.parser=com.jclark.xml.sax.Driver
bus.num.xml.parse.threads=1
bus.services.guid.GuidFactory=com.eibus.services.guid.standard.NearEnoughGuidFactory

You may have to change patsh for log files, and for your xml files accordingly.

dirService.xml my xml directory service file
<?xml version="1.0"?>
<DirectoryService>

<BusComponent>
<connection-points>
<ConnectionPoint>
<identifier>cn=Baan4000</identifier>
<uri>socket://baanserveripaddress:7944/</uri>
</ConnectionPoint>
</connection-points>
<categories>
<string>BaanERP</string>
</categories>
<companynumber>000</companynumber>
<identifier>cn=Baan4000</identifier>
<administratorid>uid=baan</administratorid>
<ownerid>uid=baan</ownerid>
</BusComponent>
</DirectoryService>


Thanx,
Venkatesh.

icaribe
30th December 2002, 09:13
In the install guide, it told on AS/400, should JDK 1.2 or 1.3.1

icaribe
17th March 2003, 03:16
After I use a new JVM file, which be bulit by baan development team, to instead of the old, the tmboaserver session could be run.

OmeLuuk
17th March 2003, 10:33
How did it get delivered? In the new portingset or in a solution (or private delivery?).

askajale
18th March 2003, 04:44
We had also got the same error and the problem was solved by setting appropriate CLASSPATH. Any Java version later than 1.1.7 works (for OW2.2).

What we did is we called a shell script in ipcinfo (for OW to execute), in that shellscript, we first defined all CLASSPATH and PATH and then executed bshelljava6.2

-- Avinash

icaribe
20th March 2003, 04:18
CLASSPATH '/baanerp/bse/java/b3.jar:/baanerp/bse/java:/baanerp/bse/java/com.ibm.mq.jar:/QIBM/ProdData/Java400/jdk118/lib/classes.zip:/usr/baan/shared/java/com_baan_bclm.jar'
SHLIB_PATH '/usr/baan/shared/shlib'
LIBPATH '/usr/baan/shared/shlib'
LD_LIBRARY_PATH '/usr/baan/shared/shlib'
BSE_CLASSPATH '/baanerp/bse/java/b3.jar:/baanerp/bse/java:/baanerp/bse/java/com.ibm.mq.jar:/QIBM/ProdData/Java400/jdk118/lib/classes.zip:/usr/baan/shared/java/com_baan_bclm.jar'

askajale
21st March 2003, 22:16
export BAANHOME=<BCLM_Directory>
export BSE_CLASSPATH=$BAANHOME/java/com_baan_bclm.jar

export JAVA_HOME=/opt/java

export SHLIB_PATH=$BSE/shlib:$BAANHOME/shlib:$JAVA_HOME/jre/lib/PA_RISC:$JAVA_HO
ME/jre/lib/PA_RISC/classic
export LD_LIBRARY_PATH=$BSE/shlib:$BAANHOME/shlib:$JAVA_HOME/jre/lib/PA_RISC:$JA
VA_HOME/jre/lib/PA_RISC/classic
export LIBPATH=$BSE/shlib:$BAANHOME/shlib:$JAVA_HOME/jre/lib/PA_RISC:$JAVA_HOME/
jre/lib/PA_RISC/classic

export PATH=$BAANHOME/shlib:$BAANHOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/lib/PA_R
ISC:$JAVA_HOME/jre/lib/PA_RISC/classic:$PATH:.
export CLASSPATH=$BSE/java/b3.jar:$BSE/java/bjvmi.jar:$BSE/java:/opt/java/lib/cl
asses.zip


$BSE/bin/bshelljava6.2 $*