![]() |
To run an ActiveX service program such as an Active Server Page that is to use the ActiveX to EJB bridge, you must perform some initial configuration to set appropriate environment variables and to enable the ActiveX to EJB bridge to find its XJB.JAR file and the Java runtime. This sets up the environment within which the ActiveX service program can run.
The XJB.JClassFactory must be able to find the Java runtime DLLs when initializing. In a service program such as Internet Information Server you cannot specify a path for its processes independently; you must set the process paths in the system PATH variable. This means that you can only have a single JVM version available on a machine using ASP. Also, after you change the System PATH variable you must reboot the Internet Information Server machine so that Internet Information Server can see the change.
To add the JRE directories to your System path, complete one of the following subtasks:
x:\WebSphere\AppClient\Java\jre\bin;C:\WebSphere\AppClient\Java\jre\bin\classic;
Where x:\WebSphere\AppClient is the directory in which you installed the WebSphere Java client
x:\WebSphere\AppClient\Java\jre\bin;C:\WebSphere\AppClient\Java\jre\bin\classic;
Where x:\WebSphere\AppClient is the directory in which you installed the WebSphere Java client