WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Starting an ActiveX application and configuring service programs

Before you begin

To run an ActiveX service program such as Active Server Page (ASP) that is to use the ActiveX to the Enterprise Java Bean (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 run time. This configuration sets up the environment within which the ActiveX service program can run.

The XJB.JClassFactory must find the Java run time dynamic link library (DLL) 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 limitation means that you can only have a single Java Virtual Machine (JVM) version available on a machine using ASP.

Why and when to perform this task

To add the Java Runtime Environment (JRE) directories to your system path, complete one of the following task.

Step for this task

On Windows 2000 systems, complete the following steps:
  1. Open the Control Panel, then double-click the System icon.
  2. Click the Advanced tab on the System Properties window.
  3. Click Environment Variables.
  4. Edit the Path variable in the System Variables window.
  5. Add the following information to the beginning of the path that is displayed in the Variable Value field:
    C:\WebSphere\AppClient\Java\jre\bin;C:\WebSphere\AppClient\Java\jre\bin\classic;

    where C:\WebSphere\AppClient is the directory in which you installed the Java client in the WebSphere product.

  6. Click OK in the Edit System Variable window to apply the changes.
  7. Click OK in the Environment Variables window.
  8. Click OK in the System Properties window.
  9. Restart Windows 2000.

What to do next

After you change the system PATH variable you must reboot the Internet Information Server machine so that Internet Information Server can see the change.
Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tcli_xrunpg1.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)