RE: CLASSPATH

2001-02-16 Thread Michael Wentzel
It looks like from your error log and your classpath set at the top of the log you do not have servlet.jar in your classpath. It should be in TOMCAT_HOME/lib/. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com mailto:[EMAIL PROTECTED] - Punisher of those

RE: CLASSPATH

2001-02-16 Thread michel.knight
: "Chris Richard Adams" [EMAIL PROTECTED], on 2/16/01 4:27 PM: my first guess is your missing servlet.jar... is it there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 6:21 PM To: [EMAIL PROTECTED] Subject: RE: CLASSPA

Global classpath for webapps

2001-02-13 Thread Hervé Guidetti
Hi all, I want to launch Tomcat from Visual Age (to debug servlet). I did that with JServ without problem but with Tomcat it doesn't work. The problem is that I launch Tomcat with "java -classpath myclasspath org.apache.catalina.startup.Bootstrap start". This launches Tomcat but the

Jasper losing classpath?!?

2001-02-09 Thread Duncan Irvine
Hi all, I've been merrily using Tomcat for some time now (v3.2.1) and have just come accross a rather bizarre one... Jasper seems to 'forget' the classpath after a while and refuses to compile new JSPs. All is well after startup, things run smoothly for an hour or two, and Tomcat

Question about preference within classpath...

2001-02-08 Thread Charles Sabourdin
Question about preference within classpath... My question is purely théorical, If I have a jar in my $TOMCAT_HOME\lib and one into $TOMCAT_HOME\webapps\mywebapp\WEB-INF\lib and one is a newer version then the other, which of those two will be used ? I have the same question with classes

Re: Question about preference within classpath...

2001-02-08 Thread Peiqiang Han Bis
Charles, The jar which is in $TOMCAT_HOME\lib takes precedence, because it is in the system CLASSPATH. For TOMCAT 3.2, the order in which classes are loaded is that bootstrap - ext - system classpath (CLASSPATH environment variable) - custom classloader (WEB-INF\classes or WEB-INF\lib). hope

context related classpath question -ASAP

2001-02-07 Thread Srinivas Kurella
Title: context related classpath question -ASAP Tomcat documentation says that all the jars under the WEB-INF/lib directory in a context are automatically added to the CLASSPATH. I am finding this not to be true. I have to add them explicitly to the CLASSPATH. Am i missing something ???

Re: context related classpath question -ASAP

2001-02-07 Thread Matthias Ferber
I think the startup scripts actually add the .jar files to the CLASSPATH variable. Are you using the normal startup scripts to start Tomcat? At 04:42 PM 2/7/2001 -0800, you wrote: Tomcat documentation says that all the jars under the WEB-INF/lib directory in a context are automatically added

RE: context related classpath question -ASAP

2001-02-07 Thread Srinivas Kurella
]]Sent: Wednesday, February 07, 2001 5:13 PMTo: [EMAIL PROTECTED]Subject: Re: context related classpath question -ASAPSrinivas Kurella wrote: Tomcat documentation says that all the jars under the WEB-INF/lib directory in a context are automatically added to the CLASSPATH

Re: context related classpath question -ASAP

2001-02-07 Thread Craig R. McClanahan
Srinivas Kurella wrote: Tomcat documentation says that all the jars under the WEB-INF/lib directory in a context are automatically added to the CLASSPATH. This is not precisely what happens. I am finding this not to be true. I have to add them explicitly to the CLASSPATH. Am i missing

Re: context related classpath question -ASAP

2001-02-07 Thread Craig R. McClanahan
Srinivas Kurella wrote: Craig,Thanks for the clarification. I have a servlet to be loaded on startup which is looking for another class. They are in different jars under the same app. However the servlet can't see the class.Srini Can you create a small test case that reproduces this

ClassPath question?

2001-02-02 Thread Jian Zhang
Hello; Can anyone help with this compile error msg: javac HelloWorld.java HelloWorld.java:1: Package javax.servlet not found in import. import javax.servlet.*; ^ I have included the servlet.jar in my classpath: printenv CLASSPATH /usr/local/jdk1.2.2/lib:/usr/local/tomcat/lib:/usr/local

Re: ClassPath question?

2001-02-02 Thread André Alves
In the CLASSPATH is necessary put the name of the archive, as follow: /usr/local/tomcat/lib/servlet.jar --- Jian Zhang [EMAIL PROTECTED] escreveu: Hello; Can anyone help with this compile error msg: javac HelloWorld.java HelloWorld.java:1: Package javax.servlet not found in import

RE: ClassPath question?

2001-02-02 Thread Christopher Kirk
a similar thing for each of the other jar files too. /usr/local/tomcat/lib/servlet.jar - Ck Brainbench MVP Java2. -Original Message- From: Jian Zhang [mailto:[EMAIL PROTECTED]] Sent: 02 February 2001 11:23 To: '[EMAIL PROTECTED]' Subject: ClassPath question? Hello; Can anyone

RE: ClassPath question?

2001-02-02 Thread Jian Zhang
Thanks. I just tried "/usr/local/tomcat/lib/servlet.jar" and it worked. I noticed that the first line HelloWorld.java file is "import java.io.*" But it did not create any problem on compiling given previous classpath. Does it mean java libs have some difference from each oth

RE: ClassPath question?

2001-02-02 Thread Christopher Kirk
_Normally_ the core java libraries are inserted onto the classpath for you, hence you may not always have to setup a classpath. javax.* is not part of the core libraries, its name actually stands for 'java extensions'. Over time some of these extensions, such as swing (javax. swing) have made

CLASSPATH

2001-02-01 Thread Doug Ferguson
If I have a helper class that I would like to make visible to all my servlets. Where should I place this file? I have been running tomcat from the directory where these helper classes are located. ("." is in my classpath) and that works. However I want a more robust solution. I d

Re: CLASSPATH

2001-02-01 Thread Pete Ehli
this is a guess and I know it is in the docs somewhere. -- Pete -- - Original Message - From: "Doug Ferguson" [EMAIL PROTECTED] To: "tomcat" [EMAIL PROTECTED] Sent: Thursday, February 01, 2001 1:22 PM Subject: CLASSPATH If I have a helper class that I would like to ma

Re: CLASSPATH

2001-02-01 Thread Doug Ferguson
TED] Sent: Thursday, February 01, 2001 1:22 PM Subject: CLASSPATH If I have a helper class that I would like to make visible to all my servlets. Where should I place this file? I have been running tomcat from the directory where these helper classes are located. ("." is i

Re: CLASSPATH

2001-02-01 Thread Jason Pell
-- - Original Message - From: "Doug Ferguson" [EMAIL PROTECTED] To: "tomcat" [EMAIL PROTECTED] Sent: Thursday, February 01, 2001 1:22 PM Subject: CLASSPATH If I have a helper class that I would like to make visible to all my servlets. Where shou

Re: CLASSPATH

2001-02-01 Thread Pete Ehli
ssage - From: "Jason Pell" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 01, 2001 6:16 PM Subject: Re: CLASSPATH in the webapps/WEB-INF/classes for the particular contexts that is how I understand it. jason Doug Ferguson wrote: Is there somewhere that I can p

AW: Classpath Woe

2001-01-31 Thread Thomas Bezdicek
Hi, I have to disagree. Having classes12.zip at $TOMCAT_HOME/lib and then restarting worked fine for us. cheers bez -Ursprüngliche Nachricht-Von: Gerald McCollam [mailto:[EMAIL PROTECTED]]Gesendet: Mittwoch, 31. Jänner 2001 01:55An: [EMAIL PROTECTED]Betreff: Classpath Woe hi

RE: Classpath Woe

2001-01-31 Thread shlomi sarfati
Hi I have to disagree too ! i insert the path of the classes12 zipfile to my class_path and it is working fine -Original Message-From: Thomas Bezdicek [mailto:[EMAIL PROTECTED]]Sent: Wed, January 31, 2001 11:34 AMTo: [EMAIL PROTECTED]Subject: AW: Classpath Woe Hi

Classpath Woe

2001-01-30 Thread Gerald McCollam
hi, i've been having the same problem as several others here -- tomcat can't find my oracle jdbc drivers no matter wherethey're located. i placed a copy of classes12.zip (for oracle) in every conceivable place with no luck and finally decided tomcat doesn't like class packages ifthey're

RE: problem with classpath and .jar files

2001-01-24 Thread Ganasen Gounden
e: problem with classpath and .jar files In winnt I placed .jar below of the /WEB-INF/classes/ and only configured in wrapper.properties classpath for .jar and the program functioned perfectly. I made this same configuration in redhat, but it did not work. Somebody knows which can be

RE: problem with classpath and .jar files

2001-01-24 Thread Danganan, Clyde
PROTECTED] To: "[EMAIL PROTECTED]" [EMAIL PROTECTED] Cc: Bcc: Subj: RE: problem with classpath and .jar files Type: IPM.Note Sent: Tuesday, January 23, 2001 12:35 PM I already tried to place .jars in /WEB-I

RE: problem with classpath and .jar files

2001-01-23 Thread André Alves
: problem with classpath and .jar files I'm putting the .jar file into WEF-INF/classes/my.jar... I too try put the .jar into lib directory, but it's no work too... --- "Morahg, Yoav" [EMAIL PROTECTED] escreveu: ARe you putting the .jar in the lib directory as opposed to the

Re: problem with classpath and .jar files

2001-01-23 Thread André Alves
In winnt I placed .jar below of the /WEB-INF/classes/ and only configured in wrapper.properties classpath for .jar and the program functioned perfectly. I made this same configuration in redhat, but it did not work. Somebody knows which can be the cause of this? --- Jeffry Guttadauro [EMAIL

RE: problem with classpath and .jar files

2001-01-23 Thread Morahg, Yoav
.jars go in the WEB-INF/lib directory, not WEB-INF/classes. -Yoav -Original Message- From: Andr Alves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: Re: problem with classpath and .jar files In winnt I placed .jar below of the /WEB

Re: problem with classpath and .jar files

2001-01-23 Thread Jeffry Guttadauro
respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: problem with classpath and .jar files In winnt I placed .jar below of the /WEB-INF/classes/ and only configured in wrapper.properties classpath for .jar and the program functioned perfectly. I made this same configuration in redhat

RE: problem with classpath and .jar files

2001-01-23 Thread André Alves
EB-INF/lib directory, not WEB-INF/classes. -Yoav -Original Message- From: Andr Alves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: Re: problem with classpath and .jar files In winnt I placed .jar below of the /WEB-INF/classes

CLASSPATH.

2001-01-21 Thread Doug Ferguson
ar and has no problem using the helper classes. However, when I attempt to call and ejb on jBoss. It screams about NoClassDef. However, if I stop tomcat and explicitly put the jar with the ejb interfaces in my classpath and restart tomcat everything works fine. Any ideas? Please respond dire

RE: Classpath???

2001-01-17 Thread Stefan Langer
Hello Mike Just a quick suggestion. Don't ever set a global classpath! If you set the classpath for every application seperatly you know that if you deploy the application it will still work. With a global classpath you can accidentally have a class in there that your application needs

CLASSPATH?

2001-01-15 Thread Mick Sullivan
Hi I saw the question below in FAQ section of the tomcat web page What I want to know is how you set your classpath and hwere is it? Thanks, Mick Q: What do I need in my CLASSPATH? A: All you need is a correct version of JDK (1.1.x or 1.2). Since the JSP engine also uses 'javac' it needs

Using classpath to look up JSPs

2001-01-10 Thread Marc Prud'hommeaux
Is there any way to have Tomcat Jasper use the classpath when trying to locate source jsp files, rather than relying on the context paths? I understand that it is a violation of the JSDK spec, but we need it for compatability reasons. We aren't going to know beforehand the possible paths

jndi.properties not found in app. classpath

2001-01-09 Thread Erik Grøntoft Dybdahl
Looking up an EJB in jBoss from Tomcat 3.2.1 works if Tomcat is started with -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.naming.factory.url.pkgs=org.jnp.interfaces -Djava.naming.provider.url=localhost but not if the same information is provided in a

Re: ClassPath and setTomcat_Home variables?

2001-01-08 Thread Robert Wohleb
Search the microsoft docs at msdn.microsoft.com for the "out of environment space problem. There is a quick fix listed there. If I remember correctly it deals with the dos box not properly automatically detecting memory requirements for the environment space. If you can't find the doc, try

Tomcat 4b1: Cannot start with metamata.jar in classpath

2001-01-07 Thread Morten Bach Møller
Hi, If I try to start Tomcat 4.0b1 with metamata.jar in the classpath I get the following error: [c:\jakarta-tomcat-4.0-b1\bin]catalina run Using CLASSPATH: ..\bin\bootstrap.jar;D:\Java\jdk1.3\lib\tools.jar Exception in thread "main" java.lang.IllegalArgumentException: addReposito

ClassPath and setTomcat_Home variables?

2001-01-07 Thread Sam T.
hi I have a problem to run Tomcat ,I have win98,jdk1.3, when I start to run it I get an error like Out of environment space Unable to locate servlet.jar, check the value of TOMCAT_HOME. how can I check the value of TOMCAT_HOME,JAVA_HOME? thanks sam,

Re: ClassPath and setTomcat_Home variables?

2001-01-07 Thread nitin dubey
Hi sam, that means your classpath has not been set. from run option in start menu type SYSEDIT. give following commands in your autoexec.bat. set TOMCAT_HOME=c:\tomcat set JAVA_HOME=c:\jdk1.3 set classpath=%classpath%;c:\jsdk2.0\lib\jsdk.jar; here I am assuming that all jdk, jsdk and tomcat

RE: CLASSPATH trouble - Reboot

2001-01-05 Thread Michael Wentzel
Actually you should not need to ever reboot to absorb new environment vars. In windows though, you do have to start a new dos window. Dos windows that are open before changes are made to a environ var will not absorb the changes made. Any new dos windows will have the changed settings. Win2000

CLASSPATH trouble

2001-01-04 Thread Dustin M. Hawley
CLASSPATH dynamically as it should. After Tomcat is running if I check CLASSPATH by typing "echo %CLASSPATH%" at the command line I get no results. I have tried creating TOMCAT_HOME\classes and putting the classes there with no luck. Also, in the test tree there are a few JSP document

Re: CLASSPATH trouble

2001-01-04 Thread Pete Ehli
First off the command via dos is -- set -- to see the classpath. You set environment variables in the system icon via the control panel folder. Click on the environment tab and enter under user variables for Administrator in the variable textbox at the bottom CLASSPATH

RE: CLASSPATH trouble

2001-01-04 Thread Michael Wentzel
I think it's actually better to either set your environ variables it the batch files. This way you don't have to deal with rebooting you just restart the tomcat process. It's all a matter of preferences though... --- Michael Wentzel Software Developer A

RE: CLASSPATH trouble

2001-01-04 Thread Dustin M. Hawley
I understand how to set the environment variables (which you don't need to reboot to instantiate, btw). I was referring to checking them, which can be done at the command line with "echo %YOURVARIABLE%". This will return it's current value. The trouble is that unless I set the

RE: CLASSPATH trouble

2001-01-04 Thread Dustin M. Hawley
What should the CLASSPATH variable include? I've tried pointing it to several directories and even to specific files and I still cannot access JSP documents that reference these external class files. If you'd like I can paste the error message that Tomcat reports (essentially error 500

RE: CLASSPATH trouble

2001-01-04 Thread Michael Wentzel
the CLASSPATH is: snip-from bat file if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar if exist "%TOMCAT_HOME%\lib\jasper.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar if exist "%TOMCAT_HOME%\lib\jaxp.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.j

RE: CLASSPATH trouble

2001-01-04 Thread Wang, Jianming
" folder. Hope this help -Original Message- From: Dustin M. Hawley [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 3:33 PM To: '[EMAIL PROTECTED]' Subject: RE: CLASSPATH trouble I understand how to set the environment variables (which you don't need to reboot to i

RE: CLASSPATH trouble

2001-01-04 Thread Dustin M. Hawley
Michael, Jianming and Pete - Thanks a lot! I finally got it working. -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 12:18 PM To: '[EMAIL PROTECTED]' Subject: RE: CLASSPATH trouble classes imported in jsp's should be under ./Web

Re: CLASSPATH trouble

2001-01-04 Thread Pete Ehli
If you set the classpath I have had to reboot - your better off if you do to make sure your changes take effect - this is from my experience but maybe my machine is a letter strange. The classpath is not for your class files and yes you must set the classpath to point to tool.jar. If you know

Re: CLASSPATH trouble

2001-01-04 Thread kalai selvan
Hi! This is very usual problem. In general , CLASSPATH is refer to the set of classes. say, it could be set to /Lib direcotry or where your *.Jar(set of class files required by the application is in compressed form) fiels are kept. In tomcat, you can test your classes putting under

CLASSPATH precedence

2000-12-18 Thread David Miller
Hi, Two related questions regarding CLASSPATH precedence: (A) If I place the same *.jar files (same names but different versions) in both $TOMCAT_HOME/webapps/WEBAPP_A/WEB-INF/lib and in $TOMCAT_HOME/webapps/WEBAPP_B/WEB-INF/lib does the version of the *.jar files

Specifying CLASSPATH in web.xml

2000-12-15 Thread David Miller
I am trying to figure out if there is a way of specifying a part of my CLASSPATH from within the web.xml file. I have some configuration files used by one of my webapps (that need to be in the CLASSPATH) and would love to find a way of having tomcat figure this out automatically. Thanks

bean-classes, classpath

2000-12-07 Thread andreas ebbert
Hi there, does anybody know where I have to put my bean-classes, when I want to use them in jsp-pages? I tried setting the classpath in tomcat.bat to point to the bean-classes, but that didn´t work. Any idea´s? regards, Andreas

Re: bean-classes, classpath

2000-12-07 Thread Abayomi Ayodele
Try webapp/WEB-INF/classes Yomi andreas ebbert wrote: Hi there, does anybody know where I have to put my bean-classes, when I want to use them in jsp-pages? I tried setting the classpath in tomcat.bat to point to the bean-classes, but that didnt work. Any ideas? regards, Andreas

Worker Classpath

2000-12-07 Thread brent . johnson
Does anyone know of a way to override the classpath for a single AJP13 worker? I'd like to have a worker (or set of load-balanced workers) set aside which has a classpath set to point at a location where the java files will not be changed (a "staging" type of environment - com.m

newbie:: classpath settings

2000-12-04 Thread Ensing, Marco
ge.MyClass is there as well. The nullparam is the classloader and shouldfall back on the system class-loader. I read somewhere that the /webapps/foo/WEB-INF/classespath is not the system class-loader but a specific tomcat-classpath. Should I put the /webapps/foo/WEB-INF/classes on the CLASSPATH e

Re: newbie:: classpath settings

2000-12-04 Thread Craig R. McClanahan
/webapps/foo/WEB-INF/classesmy.package.MyClass is there as well. The null param is the classloader and should fall back on the system class-loader.I read somewhere that the /webapps/foo/WEB-INF/classes path is not the system class-loaderbut a specific tomcat-classpath. Should I put the /webapps/foo/WEB-INF/clas

WebApp Classpath

2000-11-22 Thread Dan Smith
Hello, First, I saw questions on this same subject in the archives, but no responses. So if this has been answered already, sorry, but I missed it. In short, I want my web-app to use different version of the xml parser included with Tomcat v3.1. I know I can alter the classpath on startup

Re: WebApp Classpath

2000-11-22 Thread Craig R. McClanahan
alter the classpath on startup, but that doesn't seem right to me since (hypothetically) other 'web-apps' running under the same Tomcat server may want to use the original. So, how do I 'prepend' to my web-app's classpath without affecting other wab-apps? Is this possible? Tomcat 3.1 has hard

RE: How can I see my webapps classpath?

2000-11-07 Thread Stubenrauch,Andreas
AFAIK in Tomcat 3.x there is just one classpath for the entire tomcat (resp. for the JVM) The webapps/foo/classes/ and webapps/foo/lib/ are not 'really' in the classpath. Files in there get loaded by an modified Tomcat-Classloader. For short: the systemclasspath=your webapp classpath Regards

RE: How can I see my webapps classpath?

2000-11-07 Thread Kitching Simon
as custom classloaders don't have to use a CLASSPATH at all, it makes sense that there is no such function in the ClassLoader interface. ClassLoader, however, is just an abstract base class for the object that will actually be returned by YourClassName.class.getClassLoader. I think that

RE: How can I see my webapps classpath?

2000-11-07 Thread Victor . Bhattacharjee
Hi! When i try to stop tomcat from the command prompt i get a "java.net.ConnectException" error. and i have to kill the tomcat process explicitly (kill -9 pid) Iam using tomcat on solaris. java.net.ConnectException:Connection refused thanks victor

How can I see my webapps classpath?

2000-11-06 Thread robert
I want to print out the classpath that's associated with my web app not the system one but the one that tomcat is using for the web app after it's seen classes and lib. Is this possible?

CLASSPATH and JARs

2000-10-31 Thread Raghu Havaldar
Hi, Am using Tomcat 3.1. For a webapp, I have a bunch of JARs. How do I ensure that it gets picked up in the CLASSPATH ? Putting them in either the web-inf/lib or web-inf/classes does not help. From the FAQ on Jakarta site, one person recommends adding it to the system CLASSPATH. Maybe

RE: CLASSPATH and JARs

2000-10-31 Thread David Harris
. Putting jars and classes in the system classpath is asking for maintainability issues - try to avoid at all costs... -Original Message- From: Raghu Havaldar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 01, 2000 11:19 AM To: '[EMAIL PROTECTED]' Subject: CLASSPATH and JARs Hi, Am using

<    5   6   7   8   9   10