One suggested workaround to enable the EJBIVP.BAT to run
is to edit the absolute path of EJBIVP.BAT to contain the absolute path
that points to IBM's version of the JRE. There are two lines that need to
be edited. You should determine where the IBM JRE resides on the
workstation. The default locations are:
C:\jdk1.1.8\
C:\WSDK\sdk
In the EJBIVP.BAT file the two lines that look like the following:
java -Djava.naming.provider.url=%PROVIDER_URL% -DSESSION_NAME......
The word JAVA in both places should be changed and replaced with the
absolute path which would look like:
/WSDK/SDK/bin/java -Djava....
or
/jdk1.1.8/bin/java -Djava...
In this case the IBM JRE will be picked up only for this particular
batch file. If the intent is to make the change permanent then the for the
workstation should point to the absolute path for IBM's JRE. IBM's JRE is
required on Windows because the IBM client jar is needed for the JNDI over
LDAP communication. This communication is made by hooking into the IBM ORB
and the IBM JVM is required to accomplish this.
|