NonStop Servlets for JSP System Administrator's Guide

Interoperability of NSJSP With NonStop EJB
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
6-2
Adding and Linking New Jar Files
Adding and Linking New Jar Files
You can now use these two new jar files (fixup4NSJSP/ejb.jar and
fixup4NSJSP/ejbServlet_Security.jar) with the NSJSP container.
Add the new ejb.jar file to the JVCP in the
iTPWS_INSTALL_DIR/conf/servlet.config file, as shown in Example 6-2.
Example 6-1. Fixup Script for NonStop EJB (ejb.jar)
osh> /usr/tandem/webserver/servlet_jsp/conf/nsjsp_fixupNSEJB \
/usr/tandem/nsejb
NonStop(tm) Servlets for JavaServer Pages(tm)
Fixup Script for NonStop(tm) EJB (ejb.jar)
T1222V20_17MAR03_BASE_V200_5
_________________________________________________________________
Fixes up the NonStop(tm) EJB Jar files (ejb.jar) so that it can
be used along with NonStop(tm) Servlets for JavaServer Pages(tm).
NonStop(tm) EJB Directory = /usr/tandem/nsejb
NonStop(tm) Server for Java(tm) = /usr/tandem/java
Creating temporary directories ... Done.
Unjarring ejb.jar ... Done.
Removing the Servlet API classes and directories ... Done.
Moving the Security_ServletSecurity.class file ... Done.
Creating the new fixup4NSJSP/ejb.jar file ... Done.
Creating the new fixup4NSJSP/ejbServlet_Security.jar file ... Done.
Deleting the temporary directories ... Done.
Please add the following files to your JVCP in servlet.config :
/usr/tandem/nsejb/lib/fixup4NSJSP/ejb.jar
/usr/tandem/nsejb/lib/jorb.jar
/usr/tandem/nsejb/lib/jts.jar
And either add the ejbServlet_Security.jar file to your common
NSJSP library directory or to all your web applications that
use NonStop(tm) EJB.
For example, if a web application called ejbSamples uses
NonStop(tm) EJB, then do either of the following:
osh> cd /usr/tandem/webserver/servlet_jsp/common/lib
osh> ln -s /usr/tandem/nsejb/lib/fixup4NSJSP/ejbServlet_Security.jar .
OR
osh> cd ./../webapps/ejbSamples/WEB-INF/lib
osh> ln -s /usr/tandem/nsejb/lib/fixup4NSJSP/ejbServlet_Security.jar .
And repeat these steps for all the web applications that
use NonStop(tm) EJB.
Example 6-2. Adding a New ejb.jar File
append JVCP "/usr/tandem/nsejb/fixup4NSJSP/ejb.jar:"
append JVCP "/usr/tandem/nsejb/jorb.jar:/usr/tandem/nsejb/jts.jar:"