You are working too hard. My start-up icon looks like:
C:\dev\tomcat\Tomcat 4.1.18\bin\catalina.bat start
That's it.
--- Thomas Davis [EMAIL PROTECTED] wrote:
--- Norris Shelton [EMAIL PROTECTED] wrote:
Remember, these changes were for W2K PRO, should work on
other
environments but
Howdy,
Here are a few:
Custom classloader:
http://marc.theaimsgroup.com/?l=tomcat-userm=105703894521593w=2
Another one:
http://marc.theaimsgroup.com/?l=tomcat-userm=105176832519964w=2
Dynamic class loading (whatever that means):
http://marc.theaimsgroup.com/?l=tomcat-userm=105577963607375w=2
For the sake of argument, I moved all the classes from /native into
/WEB-INF/classes and I moved all the classes from /foreign into
/WEB-INF/lib. Also, for the sake of being extra careful, I packaged up
everthing in /WEB-INF/lib into classes.jar (so there's two copies
there, the raw directory
Howdy,
For the sake of argument, I moved all the classes from /native into
/WEB-INF/classes and I moved all the classes from /foreign into
/WEB-INF/lib. Also, for the sake of being extra careful, I packaged up
everthing in /WEB-INF/lib into classes.jar (so there's two copies
there, the raw
A very quick and very dirty solution is to change to setClasspath.sh (or
.bat) script and include all your required .jar files in the tomcat system
classpath.
However, I would not recommend this solution. A better solution is to copy
all your jar files into the WEB-INF/lib directory. Why are you
You can add setenv.bat/sh to you tomcat bin direcotry. catalina.bat/sh will
do the following:
rem Get standard environment variables
if exist %CATALINA_HOME%\bin\setenv.bat call
%CATALINA_HOME%\bin\setenv.bat
# Get standard environment variables
PRGDIR=`dirname $PRG`
CATALINA_HOME=`cd
I think this will work for non-windows, but YMMV...
To start our Tomcat's on W2K, we modify setclasspath.bat to
include %CLASSPATH% when it constructs it's classpath.
Then tomcat is started via catalina.bat with a start parameter.
It looks like there are .sh versions of all of these files.
---
--- Norris Shelton [EMAIL PROTECTED] wrote:
To start our Tomcat's on W2K, we modify setclasspath.bat to
include %CLASSPATH% when it constructs it's classpath.
I tried that but could not get it to work. I'm apparently putting it
in the wrong place. Could you please detail the change(s) you
Remember, these changes were for W2K PRO, should work on other
environments but YMMV.
setclasspath.bat
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
I added %CLASSPATH% after the = sign
OMG - I know why it did not work ;-0
I forgot to tell you to make sure that you include
--- Norris Shelton [EMAIL PROTECTED] wrote:
Remember, these changes were for W2K PRO, should work on other
environments but YMMV.
setclasspath.bat
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
I added %CLASSPATH% after the = sign
Thanks for the tip. I tried that (which was the
Howdy,
Having followed and this whole thread and bit my tongue until now...
Somehow there must be a way to get the class loader to look in the
/foreign and /native directories :-(
Searching the list archives reveals that every now and then someone
comes along with your situation or a near
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Searching the list archives reveals that every now and then someone
comes along with your situation
Could you please refer me to one of those threads? I checked the
archives before posting here and was unable to find any discussions
that resolved
can't you just set up an ant script to (also)copy the files to the tomcat
directory each time they are updated?
-Original Message-
From: Thomas Davis [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 4:47 PM
To: Tomcat Users List
Subject: RE: Classpath Conundrum (2nd try
--- Cox, Charlie [EMAIL PROTECTED] wrote:
can't you just set up an ant script to (also)copy the files to the
tomcat directory each time they are updated?
Unfortunately, I cannot. I must, if possible, get it working with the
existing directory structure. I realize this is not an optimal
14 matches
Mail list logo