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 s

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 myWar/META-I

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 sample

RE: tomcat 4.x classpath

2005-07-21 Thread Bergthorson, Jason
\X 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 li

RE: tomcat 4.x classpath

2005-07-21 Thread Warren Taylor
: Thursday, 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-d

Re: tomcat 4.x classpath

2005-07-21 Thread Alon Belman
e: > 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 Mai

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]

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 i

RE: add to classpath

2005-07-10 Thread Stuart
rom: David 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 d

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 pa

RE: add to classpath

2005-07-09 Thread Stuart
y 09, 2005 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

Re: add to classpath

2005-07-09 Thread Gurumoorthy
OTECTED]> To: "'Tomcat Users List'" 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

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: Application Level Classpath Setting

2005-07-01 Thread Srinivas Ivaturi
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 the

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 ... > > That's better than my version - thanks, Anoop.

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 ... # # # List

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

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 for

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
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 W

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 into

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.

Change classpath in webapp

2005-06-30 Thread Weseloh, Markus
my app can 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 t

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

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

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

2005-04-07 Thread Jon Wingfield
a run -security 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 Cl

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

[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

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 o

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

java.io.IOException: CreateProcess: jikes -classpath

2005-02-11 Thread Stasys Adiklis
er.emacs=true when 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: Cr

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:

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

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

Re: classpath of a filter

2004-11-26 Thread Tim Funk
know 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 i

classpath of a filter

2004-11-26 Thread Brij Naald
alina/connector/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 all

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 han

RE: Tomcat 5.5.4 - classes in classpath not being "released"

2004-11-23 Thread Carl Olivier
classes 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

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 en

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 t

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 pen

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) relo

RE: Tomcat 5.5.4 - classes in classpath not being "released"

2004-11-22 Thread Shapira, Yoav
[EMAIL 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

RE: Tomcat 5.5.4 - classes in classpath not being "released"

2004-11-22 Thread Carl Olivier
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 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:/

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 t

RE: Tomcat 5.5.4 - classes in classpath not being "released"

2004-11-22 Thread Shapira, Yoav
>Sent: 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. a

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 (a

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 VM

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

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

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 on the

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

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: CLASSPATH in Windows XP

2004-08-20 Thread Schalk Neethling
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 CLASSPATH: "C:\Servidor web\AXIS 1.1\lib\axis.jar;C:\Servidor we

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: 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

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 J2

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

2004-07-16 Thread David . Pawson
s and abstract classes, plus 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) o

starting tomcat on boot messes classpath

2004-07-04 Thread james robinson
ing lines to your configuration JAVA_HOME=/usr/lib/java CATALINA_HOME=/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:\ $CA

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
OTECTED]> Sent: Monday, June 28, 2004 5:31 PM 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/

Re: problem with classpath

2004-06-28 Thread QM
ceAsStream("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 --

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
context class loader ... :" + istream ); %> All of the above prints null - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, June 27, 2004 9:58 PM Subject: Re: probl

Re: problem with classpath

2004-06-28 Thread Ankit Doshi
ot;input stream from context class loader ... :" + istream ); istream = cl.getResourceAsStream("Test"); System.out.println("input stream from context class loader ... :" + istream ); %> - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]> To: "To

Re: problem with classpath

2004-06-27 Thread Jacob Kjome
/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/common_application_classes/ should be in tomcat's classpath. But, properties files are different for different classes

Re: problem with classpath

2004-06-25 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 s

Re: problem with classpath

2004-06-23 Thread Ankit Doshi
4 11:43 AM Subject: problem with classpath Hello, I am running an application for multiple clients and the setup is like the set of classes being used are common and the property files are different for each client. The structure looks as below : /usr/local/common_application_classes/ - this folder

Re: problem with classpath

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

problem with classpath

2004-06-21 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

Classpath problems on Tomcat

2004-06-17 Thread Worley Brent - bworle
hey 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 / dbB

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

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 t

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,

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 ho

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

RE: Setting classpath out of the webapp directory

2004-05-03 Thread Shapira, Yoav
ile, of course. 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&

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 bet

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, > >> 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. > >

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 e

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Honza Spurný
to let tomcat could search the common/classes 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

Re: Setting classpath out of the webapp directory

2004-05-03 Thread Tim Funk
rying 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

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 ha

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 co

RE: Setting classpath out of the webapp directory

2004-05-03 Thread Mazin Safadi
ECTED] Sent: Monday, 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

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

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 betw

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

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 po

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/. 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, and a

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 Li

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 /WEB-INF/classes/AccessCtrl and it is part of the package "AccessCtrl" (i.e. first

Re: Classpath problems with tomcat on Linux 9

2004-04-19 Thread Andy Wadsworth
illegal > to refer to any classes from the unnamed (a.k.a. default) package." > > -Layton > > >-Original Message- > > From: Andy Wadsworth [mailto:[EMAIL PROTECTED] > > >Sent: Friday, April 16, 2004 2:26 PM > >To: [EMAIL PROTECTED] > >Subject

RE: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Berry, Layton
ndy 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 JSP works, I'm can'

Re: Classpath problems with tomcat on Linux 9

2004-04-16 Thread Andy Wadsworth
Caldarale, Charles R 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

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 >

Classpath problems with tomcat on Linux 9

2004-04-16 Thread Andy Wadsworth
sperException: Unable to compile class for JSP An error occurred at line: 1 in jsp file: /savename.jsp Generated sevlet error: [javac] Compiling 1 source file <...>/work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42 symbol : class UserData l

tools.jar & classpath

2004-04-07 Thread Matthias Lindner
but i don't like 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]

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

2004-04-03 Thread JavaNetIn
To: [EMAIL PROTECTED] Subject: RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue? i ad the same ive red somwere to copy tool .jar to a folder in tomcat i tink its comun/lib not shure try to ad catalina_home environement variable pointing to your tomcat instalat

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

2004-04-03 Thread Yair Fine
5.0.1.9 using launcher - a classpath issue? The 'startup-using-launcher.bat' is pretty much unmaintained at the moment (and has nothing to do with the "Start Menu" shortcut :). To reproduce what the shortcut should be doing, cd to the Tomcat bin directory and run: tomca

  1   2   3   4   5   6   7   8   9   10   >