Configuring IBM WebSphere to Use Novell Beans
Articles and Tips: tip
01 Mar 2001
In order to make Java Beans that have native-method components accessible to WebSphere Web applications, you must use the Java Virtual Machine's command line at load time to add them to the CLASSPATH. The Beans for Novell Services fall within this category. To do this:
Load the WebSphere Administration Console from the NetWare Java GUI task bar.
Click on the Topology tab.
Highlight the "Default Server" entry within the tree view on the left. On the right pane, ensure that the General tab is displayed.
Add the following line to the end of the "Command Line" edit box:
-classpath sys:\java\lib\njcl.jar;sys:\java\lib\jndi.jar; sys:\java\beans\NWDir.jar;sys:\java\beans\NWSess.jar
After making this change, click on the Apply button.
Stop the "Default Server" and start it again.
Now, you can use Java servlets and Java Server Pages to access the Beans for Novell Services.
* Originally published in Novell AppNotes
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.