TC 5.5.9 - how to use the system classpath

2005-09-29 Thread Norris Shelton
Our tomcat's are configured to use the system classpath for a large amount of the libraries. With TC 4.1.30, we modify the setclasspath.* and use catalina.sh start to start it. I tried this with TC 5.5.9 and it did not work. Is there something else that I am supposed to do to make the system

war classpath problem

2005-09-20 Thread lio tomcat
Hello world, My war and i have some problem for loading some class that are embedded in jars in myWar/WEB-INF/lib... I tried to solve this by writing a proper myWar/META-INF/MANIFEST.MF with no success. It simply ignores it. I don't have anymore idea. May you give me some clue? At list a

Re: war classpath problem

2005-09-20 Thread lio tomcat
forgot to tell about my env : jboss3.2.2/jbossweb-tomcat41.sar On 9/20/05, lio tomcat [EMAIL PROTECTED] wrote: Hello world, My war and i have some problem for loading some class that are embedded in jars in myWar/WEB-INF/lib... I tried to solve this by writing a proper

tomcat 4.x classpath

2005-07-21 Thread Bergthorson, Jason
How do you add directories to tomcat's classpath? Jason Bergthorson GIS Programmer/Applications Developer Phone: 204.983.4035 Fax: 204.983.2178 200-303 Main Street Winnipeg MB R3C 3G7 [EMAIL PROTECTED]

Re: tomcat 4.x classpath

2005-07-21 Thread Alon Belman
add directories to tomcat's classpath? Jason Bergthorson GIS Programmer/Applications Developer Phone: 204.983.4035 Fax: 204.983.2178 200-303 Main Street Winnipeg MB R3C 3G7 [EMAIL PROTECTED

RE: tomcat 4.x classpath

2005-07-21 Thread Warren Taylor
, July 21, 2005 4:35 PM To: Tomcat Users List Subject: Re: tomcat 4.x classpath You almost certainly don't need to set it directly. Tomcat will build classpaths for its different class loaders itself following the rules explained here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader

RE: tomcat 4.x classpath

2005-07-21 Thread Bergthorson, Jason
to tomcat's classpath, or just have tomcat read my system classpath and get it from there. But by default tomcat does not use your system classpath, and I can't figure out how to either add the system classpath to its classpath or to add directories to it. It would read jar files from my lib/ext I believe

Tomcat and your classpath

2005-07-18 Thread Bergthorson, Jason
My current install of Tomcat 4.1.29 does not access my system classpath. I am using Windows 2000 Server. I would like Tomcat to access my classpath as I have a development package located in my %JAVA_HOME%\jre\lib\ext directory that I do not want to copy over to Tomcat\common\classes for my sites

Classpath issues with embedded tomcat

2005-07-12 Thread Ryan LeCompte
Hello all, I'm running embedded tomcat 5.5.9. Let's say that I have one version of X.jar in my main classpath when I launch my embedded Tomcat, and also a different version of X.jar in a deployed webapp under WEB-INF/lib. Is there a way to force tomcat to use the X.jar version that it's in WEB

Re: add to classpath

2005-07-10 Thread David Smith
Then I would highly recommend a persistent backend like a Db instead of playing with the classpath. Just my opinion. --David Stuart wrote: Guru, I need to do this so that I can deliver the application following my company's standard format. The tomcat application is just a small part

RE: add to classpath

2005-07-10 Thread Stuart
Smith [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 12:57 AM To: Tomcat Users List Subject: Re: add to classpath Then I would highly recommend a persistent backend like a Db instead of playing with the classpath. Just my opinion. --David Stuart wrote: Guru, I need to do this so that I

add to classpath

2005-07-09 Thread Stuart
Hi, Please scratch that last question. I still do not know what the problem is but I think I will just go with modifying Catalina.sh. Actually all I need to do is add to the tomcat classpath so that my web applications can find things in different locations. Is there are better way than hacking

Re: add to classpath

2005-07-09 Thread Gurumoorthy
Users List' tomcat-user@jakarta.apache.org Sent: Saturday, July 09, 2005 8:19 AM Subject: add to classpath Hi, Please scratch that last question. I still do not know what the problem is but I think I will just go with modifying Catalina.sh. Actually all I need to do is add to the tomcat

RE: add to classpath

2005-07-09 Thread Stuart
10:29 PM To: Tomcat Users List Subject: Re: add to classpath why are you doing this ? just copy the jars to the lib directory inside WEB-INF .. and restart the app ... or if this spans into multiple application then ... put them in the tomcat/common/bin directory ... Regards guru - Original

Application Level Classpath Setting

2005-07-01 Thread Srinivas Ivaturi
Hi I have a set of JAR files to be set into classpath. I cannot keep the entire JARs into System classpath because of Windows OS restriction. Now I want to put all the jars set to classpath only for that application level for WAS. Thanks Srinivas Ivaturi.

RE: Application Level Classpath Setting

2005-07-01 Thread Raghupathy,Gurumoorthy
Put it in WEB-INF/lib -Original Message- From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 10:40 To: tomcat-user@jakarta.apache.org Subject: Application Level Classpath Setting Hi I have a set of JAR files to be set into classpath. I cannot keep the entire JARs

RE: Application Level Classpath Setting

2005-07-01 Thread Srinivas Ivaturi
I forget to mention these are 3 rd party JARS which I cannot put in the LIB. -Original Message- From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 3:12 PM To: 'Tomcat Users List' Subject: RE: Application Level Classpath Setting Put it in WEB-INF/lib

RE: Application Level Classpath Setting

2005-07-01 Thread Peter Crowther
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED] I forget to mention these are 3 rd party JARS which I cannot put in the LIB. Cannot by licensing terms, because the app will no longer work if you do, or what? - Peter

RE: Application Level Classpath Setting

2005-07-01 Thread Srinivas Ivaturi
It is not that it wont work , It is by design. -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 3:19 PM To: Tomcat Users List Subject: RE: Application Level Classpath Setting From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED] I forget

RE: Application Level Classpath Setting

2005-07-01 Thread Peter Crowther
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED] It is not that it wont work , It is by design. OK. So, to summarise: - You have a set of jars that is too large to name on the classpath in Windows; - The jars are required for one webapp only, not for the whole of Tomcat (so one could argue

Re: Application Level Classpath Setting

2005-07-01 Thread Anoop kumar V
AFAIK - Tomcat does not care about the system classpath. It picks up its classpath from catalina.sh -setclasspath.sh (TC 4.x) In TC 5.x (this too FYI does not care abt the system classpath, but) you can modify the following lines in catalina.properties file under the conf dir ... SNIP # # # List

RE: Application Level Classpath Setting

2005-07-01 Thread Peter Crowther
From: Anoop kumar V [mailto:[EMAIL PROTECTED] In TC 5.x (this too FYI does not care abt the system classpath, but) you can modify the following lines in catalina.properties file under the conf dir ... SNIP That's better than my version - thanks, Anoop. - Peter

RE: Application Level Classpath Setting

2005-07-01 Thread Srinivas Ivaturi
for me If I give like this. Any reason you know? Thankas Srinivas Ivaturi. -Original Message- From: Anoop kumar V [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 6:27 PM To: Tomcat Users List Subject: Re: Application Level Classpath Setting AFAIK - Tomcat does not care about

Change classpath in webapp

2005-06-30 Thread Weseloh, Markus
find them, I've placed them under WEB-INF/classes. This works fine, but I would prefer a special directory named config at the top of the web application (next to WEB-INF). Is it possible to tell Tomcat that this directory is in the classpath? Of course I could manipulate the global classpath but I

classpath problem?

2005-05-11 Thread Bagus
Hi, Newbie here, I'm not sure why I'd be getting these compilation errors. I see my tomcat server at http://localhost/. The http://www.coreservlets.com/Apache-Tomcat-Tutorial/ seems to tell me it's my classpath, but *I* think I have my jar files properly in my classpath. See this following

RE: classpath problem?

2005-05-11 Thread Caldarale, Charles R
From: Bagus [mailto:[EMAIL PROTECTED] Subject: classpath problem? echo $CLASSPATH .:/www/my_tomcat_apps:/usr/local/jakarta-tomcat-5.4.4/ ^ | Want to make that 5.5.4 and see what

Re: [Slightly OT] CLASSPATH variable in catalina.sh

2005-04-07 Thread Jon Wingfield
I don't think ${catalina.home}/common/classes/log4j.properties is a valid classpath element. An excerpt from the java tools doc says: How the Java Launcher Finds User Classes: User classes are classes which build on the Java platform. To find user classes, the launcher refers to the user class

Re: [Slightly OT] CLASSPATH variable in catalina.sh

2005-04-07 Thread Jon Wingfield
2 access.err access.out to be useful for debugging security issues. J Jon Wingfield wrote: I don't think ${catalina.home}/common/classes/log4j.properties is a valid classpath element. An excerpt from the java tools doc says: How the Java Launcher Finds User Classes: User classes are classes which

jndi.properties file and classpath

2005-04-06 Thread Eric J Kaplan
because its jndi context it pointing it at, I assume, the jndi instance running in tomcat. I even tried appending this classes directory to the front of the classpath when starting within the script (shiver) but that didn't work. What do I need to do? Regards Eric

RE: jndi.properties file and classpath

2005-04-06 Thread Eric J Kaplan
-Original Message- From: Eric J Kaplan [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 11:18 AM To: 'Tomcat Users List' Subject: jndi.properties file and classpath We are using tomcat 5.0.28 and our servlet needs to load jndi.properties from a jndi.properties file in our WEB-INF

[Slightly OT] CLASSPATH variable in catalina.sh

2005-04-06 Thread Robert Bateman
While debugging a log4j problem this afternoon... I happened to attempt to rearrange the contents of my CLASSPATH on my Fedora Core 2 machine in order to insure a correct log4j.properties file is being loaded by TC. To insure the proper file is loaded, I placed ${catalina.home}/common/classes

java.io.IOException: CreateProcess: jikes -classpath

2005-02-11 Thread Stasys Adiklis
starting Tomcat by adding it to your CATALINA_OPTS environment variable. This changes how jikes outputs error messages so that it is compatible with Jasper. Tomcat throws an exception (notice how classpath is truncated): --- Nested Exception --- java.io.IOException: CreateProcess: jikes -classpath

Getting the classpath

2005-01-20 Thread Mike Jackson
How can I get the current classpath at runtime as seen by any class in a particular context? I know I can run System.getProperty( java.class.path ), but that seems to just show me the classpath at startup of tomcat rather than for objects within the webapp. --mikej -=- mike jackson [EMAIL

Re: Getting the classpath

2005-01-20 Thread Tim Funk
A *crude way* is to get a reference to the current context classloader. If the classloader is a URLClassloader - you can call getURLs() to get the classpath for that loader. Then keep calling classloader.getParent() and keep casting to a URLClassloader until parent is null. -Tim Mike Jackson

RE: Getting the classpath

2005-01-20 Thread Mike Jackson
Crude works for me. I'm just trying to figure out why jython can't see the classes that should be in my WEB-INF/classes folder. Or for that matter to make sure that folder is in the classpath. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Tim Funk [mailto

classpath of a filter

2004-11-26 Thread Brij Naald
/RequestFacade I guess the RequestFacade is only in the classpath of the tomcat-server, and not in the one of the servlet itself. Does anyone know how I can solve this problem? Thanks! _ Koop geen kat in een zak. Probeer alles 14 dagen bij

Re: classpath of a filter

2004-11-26 Thread Tim Funk
if the request is an instance of org.apache.catalina.connector.RequestFacade. When executing the 'if (request instanceof RequestFacade)' the program gives an error for that line: java.lang.NoClassDefFoundError: org/apache/catalina/connector/RequestFacade I guess the RequestFacade is only in the classpath

Re: Tomcat 5.5.4 - classes in classpath not being released

2004-11-23 Thread Remy Maucherat
On Mon, 22 Nov 2004 16:37:39 +0200, Carl Olivier [EMAIL PROTECTED] wrote: Ooppps. Sorry -meant 300 seconds! I think this could be improved, but the penalty will stay significant. antiJARLocking prevents locking through usage of getResource on the classloader (where you get a URL to an entry

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-23 Thread Carl Olivier
in classpath not being released On Mon, 22 Nov 2004 16:37:39 +0200, Carl Olivier [EMAIL PROTECTED] wrote: Ooppps. Sorry -meant 300 seconds! I think this could be improved, but the penalty will stay significant. antiJARLocking prevents locking through usage of getResource on the classloader (where

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-23 Thread Shapira, Yoav
Hi, Thanks - yes I realise. Wonderin why tihs has been done? Was the old classloader mechanisms in 5.0.x that broken? Not criticising, just trying to understand the reasoning here. No, it was fine: the problems arose due to OS behavior mostly, specifically Windoze, and how virtual file

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
: Tomcat 5.5.4 - classes in classpath not being released Greetings. Having the following problem using Tomcat 5.5.4 under JDK 1.5: After running my webapp for a bit in a development environment, I want to copy new and replacement classes to the webapp classes location, but sometimes (about 50/50) I

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Shapira, Yoav
: Monday, November 22, 2004 3:45 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hi. Further to my email below, I have noticed that it happens after the first time I re-deoply classes - i.e. after the first context reload... Carl -Original Message

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Ok, thanks!! Appreciate the response as always! Carl -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:58 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hi, You would need to turn

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hi, You would need to turn on the antiJARLocking or antiResourceLocking features of Tomcat 5.5.x (they are Context attributes, use either one but not both at the same time). Yoav Shapira http://www.yoavshapira.com

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Shapira, Yoav
PROTECTED] Sent: Monday, November 22, 2004 9:37 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hectic. When it says startup performance penalties its not kidding eh? Context set tot antiResourceLocking=true and added like 30 seconds to the server startup

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
, 2004 4:45 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hi, Yup, not kidding. However, the reason to turn this on is to do in-place reloading, as opposed to server restarting, so the penalty is easily amortized over a few (not many) reloads. Yoav

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Carl Olivier
Ooppps. Sorry -meant 300 seconds! -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.4 - classes in classpath not being released Hectic. When it says startup performance penalties its

RE: Tomcat 5.5.4 - classes in classpath not being released

2004-11-22 Thread Shapira, Yoav
Hi, (e.g. get the StandardHost and call remove on the service/engine and then recreate a StandardHost instance with all the relevant settings, then calling deploy and start on it...) This is really not a recommended practice. With the increased JMX and Logging interaction, it's hard to get

Tomcat 5.5.4 - classes in classpath not being released

2004-11-21 Thread Carl Olivier
Greetings. Having the following problem using Tomcat 5.5.4 under JDK 1.5: After running my webapp for a bit in a development environment, I want to copy new and replacement classes to the webapp classes location, but sometimes (about 50/50) I cannot overrite/delete some of the classes - as the

CLASSPATH Classloaders - Embedded Tomcat

2004-10-23 Thread sven morales
What are the CLASSPATH and Classloaders used when attempting to use the Embedded class to get a Tomcat 5 working? On a regular bundled Tomcat5, the catalina/common/lib, catalina/server/lib, catalina/common/endorsed are automatically searched for jars and loads them. Furthermore environment

classpath with a service help

2004-09-20 Thread John MccLain
Howdy, I wish to deploy Tomct5.0.28 along with a webapp. I want to be able to insure that Tomcat is deployed as a service, uses the standard classpath AND 1 more classpath entry. How can I set up the Tomcat windows installer to setup Tomcat as a service and include a specific directory

Re: classpath with a service help

2004-09-20 Thread QM
On Mon, Sep 20, 2004 at 03:16:10PM -0700, John MccLain wrote: : I wish to deploy Tomct5.0.28 along with a webapp. I want to be able to : insure that Tomcat is deployed as a service, uses the standard classpath AND : 1 more classpath entry. How can I set up the Tomcat windows installer to : setup

JSP on-server compilation: classpath problem?

2004-09-08 Thread Michael Schuerig
When I deploy a JSP document with Tomcat 5.5.1 without precompiling, I get an error message when accessing the corresponding web page. org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 32 in the jsp file: /test.jspx Generated

CLASSPATH in Windows XP

2004-08-20 Thread Javier
Hello, I have Tomcat 5 running in Windows XP. Now I want to install Apache SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting their paths in CLASSPATH, like installation instructions of SOAP and AXIS says. It doesn’t work (copying the files all works fine). This is my

Re: CLASSPATH in Windows XP

2004-08-20 Thread Schalk Neethling
to install Apache SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting their paths in CLASSPATH, like installation instructions of SOAP and AXIS says. It doesnt work (copying the files all works fine). This is my CLASSPATH: C:\Servidor web\AXIS 1.1\lib\axis.jar;C:\Servidor web\XML

Re: CLASSPATH in Windows XP

2004-08-20 Thread QM
On Fri, Aug 20, 2004 at 12:29:25PM +0200, Javier wrote: : Does Tomcat use this CLASSPATH? How can I tell Tomcat to use that? You *really* want to follow standards here, and using a classpath env var with a webapp is not quite standard. Review the servlet spec. Do a search for WEB-INF/lib

RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98

2004-07-16 Thread David . Pawson
their own extensions. Due to the complexity of J2EE class loading, having the Sun (or any other) J2EE jar in the classpath results in mixed resolutions - some classes come from the desired location, others from the wrong (possibly incompatible) one. Leads to much head-scratching. So

RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98

2004-07-16 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98 So its primarily a classpath issue? I.e. its not a case of *don't use J2EE* and ensure your classpath order is right. Well, you are using J2EE, just not the Sun

RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98

2004-07-16 Thread Nicolas PEREZ
Return Receipt Your RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98 document

starting tomcat on boot messes classpath

2004-07-04 Thread james robinson
=/usr/local/tomcat DAEMON_HOME=/usr/local/tomcat/bin TOMCAT_USER=db2inst1 TMP_DIR=/var/tmp CATALINA_OPTS= CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar:\ $CATALINA_HOME case $1 in start) # # Start Tomcat # $DAEMON_HOME/jsvc

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
(Test); System.out.println(input stream from context class loader ... : + istream ); % - Original Message - From: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 27, 2004 9:58 PM Subject: Re: problem with classpath You can achieve this by using

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 27, 2004 9:58 PM Subject: Re: problem with classpath You can achieve this by using the thread context class loader.. Thread.currentThread().getContextClassLoader().getResourceAsStream(client1. properties

Re: problem with classpath

2004-06-28 Thread QM
(Test.properties); If the file is in the classpath, you must call cl.getResourceAsStream( /Test.properties ) Review the JavaDoc for getResourceAsStream() -- there are differences between calling it with and without the preceding / on a filename. -QM -- software -- http://www.brandxdev.net tech

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
Subject: Re: problem with classpath On Mon, Jun 28, 2004 at 01:44:47PM +0530, Ankit Doshi wrote: : I tried this, but the getResourceAsStream method always returns null. : InputStream istream = : cl.getResourceAsStream(/usr/local/tomcat/webapps/test/WEB-INF/classes/Test. : properties); : istream

Re: problem with classpath

2004-06-27 Thread Jacob Kjome
/common_application_classes/ folder. I want to setup a common tomcat (preferabbly tomcat3, or tomcat4) for all these clients, but how should I setup the classpath? /usr/local/common_application_classes/ should be in tomcat's classpath. But, properties files are different for different classes, so thought

Re: problem with classpath

2004-06-26 Thread Ankit Doshi
/common_application_classes/ folder. I want to setup a common tomcat (preferabbly tomcat3, or tomcat4) for all these clients, but how should I setup the classpath? /usr/local/common_application_classes/ should be in tomcat's classpath. But, properties files are different for different classes, so thought of creating single

Re: problem with classpath

2004-06-23 Thread Ankit Doshi
Guys, Can anybody help me on this? Basically, I want to run multiple web applications from within single tomcat instance. - Original Message - From: Ankit Doshi [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 11:43 AM Subject: problem with classpath

problem with classpath

2004-06-22 Thread Ankit Doshi
the web application (servlet, jsp files). The properties files are being used from the classes contained in the /usr/local/common_application_classes/ folder. I want to setup a common tomcat (preferabbly tomcat3, or tomcat4) for all these clients, but how should I setup the classpath? /usr/local

Re: problem with classpath

2004-06-22 Thread AHaider31
i am sorry you got a wrong address here i don't know who you are and what you are talking about

Classpath problems on Tomcat

2004-06-17 Thread Worley Brent - bworle
they compile without problem (we set the classpath to WEB-INF/classes to make sure everything is picked up). However, at run-time, we get a NoClassDefFoundError on some of the classes package (but not all). The directory structure I have is as follows: WEB-INF / classes / search / dbBean

Classpath and directories.

2004-05-18 Thread Andi Reinbrech
Me again :-( OK, it's not the default dir, I copied all the relevant files and *.dtd to c:\windows\system32 and it still didn't work. I added %CATALINA_HOME%\bin to the classpath and copied all the files and *.dtd to the bin folder. This works 100% when run via startup.bat, but *not* when run

Setting classpath out of the webapp directory

2004-05-03 Thread Honza Spurn
Hi there, I'have been trying to set the classpath of the webapp out of the directory of this webapp. This is for me little important, since some classes I'd like to use (I have to use) in other webapps. I want to have only one file of this class -- I don't want to copy classes between the webapps

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Eric Noel
On 5/3/2004 4:26 PM, Honza Spurn wrote: Hi there, I'have been trying to set the classpath of the webapp out of the directory of this webapp. This is for me little important, since some classes I'd like to use (I have to use) in other webapps. I want to have only one file of this class -- I don't

RE: Setting classpath out of the webapp directory

2004-05-03 Thread Mazin Safadi
, May 03, 2004 10:26 To: Tomcat Maillisting Subject: Setting classpath out of the webapp directory Hi there, I'have been trying to set the classpath of the webapp out of the directory of this webapp. This is for me little important, since some classes I'd like to use (I have to use) in other webapps

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Chris Wahl
it's easy :) put your classes or jars to be *shared by your webapps* into the directory ---%TOMCAT_HOME%\shared\classes or %TOMCAT_HOME%\shared\lib Regards, Potomac - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Honza Spurn
Eric Noel wrote: On 5/3/2004 4:26 PM, Honza Spurn wrote: Hi there, I'have been trying to set the classpath of the webapp out of the directory of this webapp. This is for me little important, since some classes I'd like to use (I have to use) in other webapps. I want to have only one file

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Tim Funk
to set the classpath of the webapp out of the directory of this webapp. This is for me little important, since some classes I'd like to use (I have to use) in other webapps. I want to have only one file of this class -- I don't want to copy classes between the webapps. I'm sure it is possible to do

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Honza Spurn
directory for classes? Thanks a lot for help Honza S. Eric Noel wrote: On 5/3/2004 4:26 PM, Honza Spurn wrote: Hi there, I'have been trying to set the classpath of the webapp out of the directory of this webapp. This is for me little important, since some classes I'd like to use (I have

RE: Setting classpath out of the webapp directory

2004-05-03 Thread Shapira, Yoav
Hi, I want to have only one file of this class -- I don't want to copy classes between the webapps. Why? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Honza Spurný
Shapira, Yoav wrote: Hi, I want to have only one file of this class -- I don't want to copy classes between the webapps. Why? Yoav Shapira Beacuase when you are developing both webapps at the same time, duplicates leads into some data inconsistences, doesn't it? Honza S. This e-mail,

RE: Setting classpath out of the webapp directory

2004-05-03 Thread Shapira, Yoav
Hi, Beacuase when you are developing both webapps at the same time, duplicates leads into some data inconsistences, doesn't it? Not if your development and deployment process is well-controlled. Yoav Shapira This e-mail, including any attachments, is a confidential business communication,

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Honza Spurný
Shapira, Yoav wrote: Hi, Beacuase when you are developing both webapps at the same time, duplicates leads into some data inconsistences, doesn't it? Not if your development and deployment process is well-controlled. Yoav Shapira OK, you are right, but I think, is really better to have

RE: Setting classpath out of the webapp directory

2004-05-03 Thread Shapira, Yoav
. Then you're only developing one place. Each time you make a new version of this shared library, you deploy it to all the applications that use it. This is elementary development process engineering. Don't waste your time hacking around strange classpath configurations, you'll get only headaches

RE: Setting classpath out of the webapp directory

2004-05-03 Thread zze-NADIFI Abderrahim FTRD/DTL/CAE
Hi, I think I'm not concerned by your message. Thanks in advanced to delete my adress from your list of users. -Message d'origine- De : Shapira, Yoav [mailto:[EMAIL PROTECTED] Envoye : lundi 3 mai 2004 15:17 A : Tomcat Users List Objet : RE: Setting classpath out of the webapp directory

startupw.exe classpath

2004-05-03 Thread Justin McReynolds
I'm having classpath trouble when I start Tomcat 5.0.19 with the Start Tomcat shortcut that points to C:\Tomcat50\bin\tomcatw.exe //GT//Tomcat5 I want to include a directory that is outside of the tomcat install dir, e.g. c:\mydir, but I don't know how to add that directory to the classpath. I

Re: startupw.exe classpath

2004-05-03 Thread QM
On Mon, May 03, 2004 at 10:46:50AM -0700, Justin McReynolds wrote: : I want to include a directory that is outside of the tomcat install dir, : e.g. c:\mydir, but I don't know how to add that directory to the : classpath. : : I can edit setclasspath.bat to include that directory, and then start

Re: startupw.exe classpath

2004-05-03 Thread Bill Barker
Run the command: tomcatw //ES//Tomcat5 (or right-click on the sys-tray icon), and add your directory to the Image Path. Justin McReynolds [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm having classpath trouble when I start Tomcat 5.0.19 with the Start Tomcat shortcut that points

setting classpath when running as service on win2k

2004-04-22 Thread Vincent Lévin
hello ! where do we specify the classpath when when we launch tomcat 5 as service ? we tried to put the classpath in 'catalina.bat', in the tomcat configuration program (configure tomcat) but it seems that all this has no effect :/ and, an other problem: isn't it possible to update jars

Re: setting classpath when running as service on win2k

2004-04-22 Thread Mark Schmeets
Number X, which specifies the -Djava.class.path setting. Hope this helps, Mark Vincent Lévin wrote: hello ! where do we specify the classpath when when we launch tomcat 5 as service ? we tried to put the classpath in 'catalina.bat', in the tomcat configuration program (configure tomcat

Re: Classpath problems with tomcat on Linux 9

2004-04-20 Thread Andy Wadsworth
Figured out my problem. I wasn't placing the class file in a subdirectory of the WEB-INF/classes/package. Solution: created UserData.java with package name userdata created directory WEB-INF/classes/userdata placed UserData.class in WEB-INF/classes/userdata Thank you all who responded,

Re: Classpath problems with tomcat on Linux 9

2004-04-19 Thread Andy Wadsworth
) package. -Layton -Original Message- From: Andy Wadsworth [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: Classpath problems with tomcat on Linux 9 I'm just getting started with my JSP and tomcat experience, and while learning how

Re: Classpath problems with tomcat on Linux 9

2004-04-19 Thread Stephen Bacon
Hi Andy, I'm porting over to TC5 and I've not had any problems with it finding my classes, *BUT* I don't put any classes into the base directory itself, but below that. So for example, my UserBean class is in myapp/WEB-INF/classes/AccessCtrl and it is part of the package AccessCtrl (i.e.

RE: Classpath problems with tomcat on Linux 9

2004-04-19 Thread Yang Xiao
Hi, You need the %@ page import=package % directive to tell it where to look for it. Yang -Original Message- From: Andy Wadsworth [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 3:11 PM To: Tomcat Users List Subject: Re: Classpath problems with tomcat on Linux 9 Still no luck

Classpath problems with tomcat on Linux 9

2004-04-16 Thread Andy Wadsworth
] Compiling 1 source file .../work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42 symbol : class UserData location: class org.apache.jsp.savename_jsp UserDAta user = null I suspect this is a classpath issue but everything I read says that if you put your

RE: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Caldarale, Charles R
From: Andy Wadsworth [mailto:[EMAIL PROTECTED] Subject: Classpath problems with tomcat on Linux 9 .../work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42 symbol : class UserData location: class org.apache.jsp.savename_jsp UserDAta user = null

Re: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Andy Wadsworth
wrote: From: Andy Wadsworth [mailto:[EMAIL PROTECTED] Subject: Classpath problems with tomcat on Linux 9 .../work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42 symbol : class UserData location: class org.apache.jsp.savename_jsp UserDAta user = null

RE: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Berry, Layton
PROTECTED] Sent: Friday, April 16, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: Classpath problems with tomcat on Linux 9 I'm just getting started with my JSP and tomcat experience, and while learning how JSP works, I'm can't get tomcat to recognize supporting class definitions that I have placed

tools.jar classpath

2004-04-07 Thread Matthias Lindner
it. isn't there a way of telling tomcat or at least this one context the classpath for tools.jar e.g. via web.xml ? thanks, Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread Yair Fine
Hi, I installed Tomcat 5.0.1.9 on Windows 2000. When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat , nothing happens, and no tomcat icon appears. When i go to bin directory and run startup-using-launcher.bat , I get an exception : java.lang.NoClassDefFoundError:

RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?

2004-04-03 Thread FRANCOIS Dufour
-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue? Date: Sat, 3 Apr 2004 14:52:43 +0200 Hi, I installed Tomcat 5.0.1.9 on Windows 2000. When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat

  1   2   3   4   5   6   7   8   9   10   >