HP3000-L Archives

May 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Mon, 14 May 2001 15:36:03 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
>How can I let the compiler know about
>/WWW/TOMCAT/jakarta-tomcat/lib/servlet.jar?

I'd try
 :setvar classpath "/WWW/TOMCAT/jakarta-tomcat/lib/servlet.jar:."
or
 $ export CLASSPATH=/WWW/TOMCAT/jakarta-tomcat/lib/servlet.jar:.

depending on whether you use the CI or Shell to invoke Java/iX.

The . is just if you also need to load classes from the current
directory. It might be unneccessary for Tomcat as the tomcat.sh
script will probably add classpath components as required.

It's a while ago, but I believe that Tomcat will honor the classpath
setting and not require something inside its server.xml config file.
I did try this a while ago when trying a small JSP that needed the HP
JDBC driver on the classpath to allow Class.forName("...") for loading
the Image/SQL driver.

Lars.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2