CLASSPATH with jdk-1.3 and tomcat-3.2.1

2001-03-05 Thread Cynic
What should this variable contain if I want to use mentioned versions of jdk and tomcat? the docs only contain stuff like "Configure the CLASSPATH environment variable as well, if required." Cynic: A member of a group

Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread David Wall
There appears to be a serious problem with the classpath/classloader with Tomcat 3.2.1. It may be related to the Jasper engine, which outputs a dynamic classpath name that includes all of the classes and jars in the WEB-INF directory, as expected. But is the same classloader used when servlets

4.1.17: Adding directory to CLASSPATH screws servlet.jar

2002-12-17 Thread Zabel, Ian
rough my IDE, which includes the entire CLASSPATH when starting Tomcat. But, in order to get it to work outside of my IDE, as a normal process, I've decided I need to modify the CLASSPATH either through setclasspath.bat or catalina.bat. The problem is that as soon as I put C:\work\project-na

CLASSPATH again -- weird Win98 issues: JGurus Around?

2002-12-20 Thread Micael
JAVA_HOME=%APP%\jdk SET TOMCAT_HOME=%APP%\tomcat SET CATALINA_HOME=%TOMCAT_HOME% PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin SET CLASSPATH=.;%JAVA_HOME%;%JAVA_HOME%\lib\tools.jar;%TOMCAT_HOME% However, after rebooting, etc., I get the following from C:\set TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP

RE: How does Tomcat set the classpath???

2003-01-29 Thread Turner, John
How Tomcat finds classes: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html John > -Original Message- > From: Brandon Cruz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 10:25 AM > To: Tomcat Users List > Subject: How does Tomcat se

RE: How does Tomcat set the classpath???

2003-01-29 Thread Brandon Cruz
omehow? I see also that tools.jar is loaded from $JAVA_HOME/lib, but still, when is rt.jar loaded? Brandon -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 9:33 AM To: 'Tomcat Users List' Subject: RE: How does Tomcat set the

RE: How does Tomcat set the classpath???

2003-01-29 Thread Mitchell, Edmund
> -Original Message- > From: Brandon Cruz [mailto:[EMAIL PROTECTED]] > According to this document, bootstrap.jar contains the basic > runtime classes > provided by the Java Virtual Machine. That does not seem > correct. In Sun's > JDK, rt.jar contains most of the basic runtime classes

RE: How does Tomcat set the classpath???

2003-01-29 Thread Turner, John
and correct me if I'm wrong. John > -Original Message- > From: Brandon Cruz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 11:16 AM > To: Tomcat Users List > Subject: RE: How does Tomcat set the classpath??? > > > John, > > According to this docum

RE: How does Tomcat set the classpath???

2003-01-29 Thread Brandon Cruz
jar files in the IBM JDK since some are different than the ones in the SUN JDK. Just looking for confirmation on that. I'm trying to avoid making changes to the startup scripts to make future upgrades go smoother, but it is starting to appear that those classpath changes to the script

RE: How does Tomcat set the classpath???

2003-01-29 Thread Turner, John
I'm pretty sure there are people using Tomcat with other JVM's besides Sun's. John > -Original Message- > From: Brandon Cruz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 12:31 PM > To: Tomcat Users List > Subject: RE: How

Re: How does Tomcat set the classpath???

2003-01-29 Thread Will Hartung
> From: "Brandon Cruz" <[EMAIL PROTECTED]> > Sent: Wednesday, January 29, 2003 7:24 AM > Subject: How does Tomcat set the classpath??? > I notice that tomcat 4.1.x explicitly sets $JAVA_HOME/lib/tools.jar and the > bootstrap.jar file to the classpath, but th

Setting classpath for tomcat 4.1.18 - where to??

2003-02-12 Thread derrick . robertson
Where abouts is the classpath set in tomcat 4.1.18??? I reckon it doesnt know about the class for the loader and hence a reason why it might be throwing an exception. Does anybody know where I can add extra classes to the classpath for Tomcat 4.1.18?? Need to add driver classes. They are already

Re: Tomcat classpath not set at boot

2003-06-13 Thread Tim Funk
Tomcat ignores system CLASSPATH at startup and creates its own. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Tim Chad Lemmen wrote: I've got Tomcat 4.1.24 starting at boot on my Linux box with a script in /etc/rc.d/init.d. The script looks like this #!/b

Re: Tomcat classpath not set at boot

2003-06-13 Thread Chad Lemmen
It's not a system CLASSPATH I have set. I put the jar files I want in the CLASSPATH in $CATALINA_HOME/shared/lib. Tomcat does recognize these if I start Tomcat manually, but not if I have Tomcat staring at boot time with the script in /etc/rc.d/init.d On Fri, 13 Jun 2003, Tim Funk

Re: Tomcat classpath not set at boot

2003-06-14 Thread Tim Funk
Is it just your servlet that doesn't work, or all servlets? (and jsps) Are you using different userids when run from boot time vs command line? What happens if your startup command is moved to inittab? (Or other wacky equivalent) -Tim Chad Lemmen wrote: It's not a system CLASSPATH

Re: Tomcat classpath not set at boot

2003-06-14 Thread Dominic Parry
Do you set your CLASSPATH in your Shell script? or in .login or something like that? Cos then that will work for a manual start, but not for the /init.d one. You'll have to set up the classpath in that script. -Tom - Original Message - From: Tim Funk To: Tomcat Users

Re: Tomcat classpath not set at boot

2003-06-15 Thread Chad Lemmen
t time vs command line? > What happens if your startup command is moved to inittab? (Or other wacky > equivalent) > > -Tim > > Chad Lemmen wrote: > > It's not a system CLASSPATH I have set. I put the jar files I want in the > > CLASSPATH in $CATALINA_HOME/shared/li

Re: Tomcat classpath not set at boot

2003-06-15 Thread Tim Funk
ther wacky equivalent) -Tim Chad Lemmen wrote: It's not a system CLASSPATH I have set. I put the jar files I want in the CLASSPATH in $CATALINA_HOME/shared/lib. Tomcat does recognize these if I start Tomcat manually, but not if I have Tomcat staring at boot time with the script in /etc/rc

Re: Tomcat classpath not set at boot

2003-06-15 Thread Kwok Peng Tuck
wacky equivalent) -Tim Chad Lemmen wrote: It's not a system CLASSPATH I have set. I put the jar files I want in the CLASSPATH in $CATALINA_HOME/shared/lib. Tomcat does recognize these if I start Tomcat manually, but not if I have Tomcat staring at boot time with the script in /etc/rc.d/

Re: Tomcat classpath not set at boot

2003-06-15 Thread Chad Lemmen
? > >> As root Tomcat continues to run. > >> > >> On Sat, 14 Jun 2003, Tim Funk wrote: > >> > >> > >>> Is it just your servlet that doesn't work, or all servlets? (and jsps) > >>> Are you using different userids when run fr

Re: jasper2 in ant and the classpath

2003-07-16 Thread Johann Uhrmann
Johann Uhrmann wrote: [...] The taskdef tag and the jasper2 tag do not care about the path set in compile.classpath. Instead, the CLASSPATH variable from the shell is used. How do I make ant (or especially those two tags) recognize the path in "compile.classpath"? [...] Anybody? It

Re: setting external classes in the classpath

2003-09-05 Thread Christopher Williams
I guess that about a hundred people will respond to this. Tomcat, for reasons better known to itself, ignores your classpath. The easiest solution is to put your JAR in the Tomcat common\lib directory. Alternatively, you can put them in WEB-INF\lib. Question to any Tomcat developers reading

Re: setting external classes in the classpath

2003-09-05 Thread Pradeep Gummi
Hi Chistopher, I got this figured out with out placing the classes in any of the CATALINA_HOME sub directories by deleting the CLASSPATH set in the setclasspath.bat file. Check out the setclasspath.bat file. you wont have the classpath appended there. It just replaces the classpath what ever

Setting the classpath in Windows and Linux

2003-09-11 Thread Anson Zeall
Hi, I have a question on setting the classpath for Windows and Linux. Right now, I'm using a really stupid way (but works for the moment =P) to compile my java files; copying all the related jar files with my J2SE libraries. I know this ain't the right method. So, I would like to a

com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Alex Korneyev
Hello, When i run tomcat in a debugger, i get the following error when it is trying to compile ANY jsp: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK it works fine , if it is not wrunning in debug mode. alex k

How to use jar files from CLASSPATH

2003-10-10 Thread Zsolt Koppany
Hi, my application has to use DB2 JDBC that is in the CLASSPATH. How can I get tomcat-4.1.24 to search for entries from CLASSPATH? I understand that I could probably copy the entries from CLASSPATH into .../WEB-INF/lib, but this JDBC driver does use native libraries, thus I would not like to

How to use jar files from CLASSPATH

2003-10-10 Thread Zsolt Koppany
Hi, my application has to use DB2 JDBC that is in the CLASSPATH. How can I get tomcat-4.1.24 to search for entries from CLASSPATH? I understand that I could probably copy the entries from CLASSPATH into .../WEB-INF/lib, but this JDBC driver does use native libraries, thus I would not like to

specifying web app classpath in server xml?

2003-11-06 Thread Anton Modaresi
in my server.xml, hey please go and check in this additional classpath too for this particular web app. is this possible? (Im using tomcat 5.0.7)

specifying web app classpath in server xml?

2003-11-06 Thread Anton Modaresi
in my server.xml, hey please go and check in this additional classpath too for this particular web app. is this possible?

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

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: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andreas Mohrig
urphy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 4:58 PM To: [EMAIL PROTECTED] Subject: JDBCRealm configuration and JBDC Driver classpath I am trying to configure form based authentication using a JDBCRealm. I do not have access to the $CATALINA_HOME/common/endorsed folder or s

Re: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Jon Anderson
On Wednesday 19 November 2003 10:52 am, Andreas Mohrig wrote: > 1. As far as I know it is not possible to define a Realm outside of > server.xml. If you do not have access to that file, I see no way you can > use container managed security, which is a prerequisite for form based > authentication (

Re: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Jon Anderson
> Can anyone advise of a work-around, or let me know if I have overlooked You might want to look at http://www.securityfilter.org/ It mimics CMS, but it can be rolled up inside your application. Jon - To unsubscribe, e-mail: [E

RE: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andrew Murphy
Thanks for your comments. I am beginning to suspect that my options are limited and may have to resort to application managed security which I have tried to avoid up to now. Alternatively I could try persuade my ISP to include the jar in the container classpath (wishful thinking!) By the way

RE: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andreas Mohrig
] Sent: Wednesday, November 19, 2003 6:31 PM To: Tomcat Users List Subject: RE: JDBCRealm configuration and JBDC Driver classpath Thanks for your comments. I am beginning to suspect that my options are limited and may have to resort to application managed security which I have tried to avoid up to

RE: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andrew Murphy
Jon, thank you. I will certainly implement this option if my plea to my ISP falls on deaf ears. Andrew -Original Message- From: Jon Anderson [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 17:16 To: Tomcat Users List Subject: Re: JDBCRealm configuration and JBDC Driver classpath

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?

RE: problem with classpath and .jar files

2001-01-23 Thread Morahg, Yoav
ARe you putting the .jar in the lib directory as opposed to the classes directory? That's where it should go. -Yoav -Original Message- From: André Alves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: problem with classpath and

Re: problem with classpath and .jar files

2001-01-23 Thread Jeffry Guttadauro
The .jar should go directly in the WEB-INF/lib directory. [EMAIL PROTECTED] on 01/23/2001 10:36:41 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: problem with classpath and .jar files I have the following problem: I created a structure of directories to place mine

RE: problem with classpath and .jar files

2001-01-23 Thread André Alves
irectory? That's where it should go. > > -Yoav > > -Original Message- > From: André Alves [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 23, 2001 11:36 AM > To: [EMAIL PROTECTED] > Subject: problem with classpath and .jar files > > > I have the followi

RE: problem with classpath and .jar files

2001-01-23 Thread CPC Livelink Admin
Did you create the jar with directories? -Original Message- From: André Alves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: RE: problem with classpath and .jar files I'm putting the .jar file into WEF-INF/classes/my.jar... I to

Re: problem with classpath and .jar files

2001-01-23 Thread André Alves
directory. > > > > > > [EMAIL PROTECTED] on 01/23/2001 10:36:41 AM > Please respond to [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > cc: > Subject: problem with classpath and .jar files > > I have the following problem: I created a structure of directories > to > place mine .

RE: problem with classpath and .jar files

2001-01-23 Thread André Alves
M > To: [EMAIL PROTECTED] > Subject: RE: 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]> esc

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 <[EM

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

RE: problem with classpath and .jar files

2001-01-24 Thread Ganasen Gounden
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/ and only > configured in wrapper.properties classpath for .jar and the program > functioned perfectly. I made this same con

RE: problem with classpath and .jar files

2001-01-24 Thread Danganan, Clyde
<[EMAIL 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

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

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

Seting Classpath for Virtual Hosts with Tomcat 3.3.1

2002-09-06 Thread Joshua D. Drake
directory but I am just trying to get it to work at this point. I also added the following to my tomcat3.conf although it is my understanding that tomcat3 doesn't care about shell variables for the classpath: CLASSPATH=/home/vhosting/sfl/htdocs/classes:/home/vhostings/sfl/htdocs export CLASSPATH

Antw: RE: Apache 2, mod_jk2, inprocess, w2k, classpath ?

2002-09-12 Thread Andre Schild
eudi 12 septembre 2002 17:11 À : [EMAIL PROTECTED] Objet : Apache 2, mod_jk2, inprocess, w2k, classpath ? Hello, I'm trying to setup my Apache 2.0.40 with mod_jk2 and tomcat 4.1.10 When using the AJP13 connector or http connectors then things work fine. But when I specify to use the inp

How do I integrate my CLASSPATH on Tomcat?

2002-11-27 Thread Emma Johansson
Hi! I'm wondering how I should do to make tomcat use the paths that are in my CLASSPATH? Regards, / Emma -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: AW: Reading properties file from ClassPath (ServletContextListener)

2002-08-01 Thread petra staub
hi ralph, thanks for your quick reply. with classpath i mean somewhere in the package of my web application (context). this would match the first path you pointed out in your answer (webapps/{Context}/WEB-INF/classes/com/foo/My.properties). actually i have no special reason i choose

AW: AW: Reading properties file from ClassPath (ServletContextListener)

2002-08-01 Thread Ralph Einfeldt
> Von: petra staub [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 1. August 2002 16:45 > An: [EMAIL PROTECTED] > Betreff: Re: AW: Reading properties file from ClassPath > (ServletContextListener) > > with classpath i mean somewhere in the package of my > web application

RE: Howto add shared libs to tomcat's classpath?

2002-08-08 Thread Shapira, Yoav
Hi, >There should be an easy way to extend tomcats classpath. I disagree ;) Tomcat should support the servlet spec, which it does. The servlet spec says your webapp should be a war containing all the jars. You would have to duplicate the jars in that case. Tomcat is nice enough to also

RE: Howto add shared libs to tomcat's classpath?

2002-08-08 Thread Craig R. McClanahan
<[EMAIL PROTECTED]> > Subject: RE: Howto add shared libs to tomcat's classpath? > > We have several 3rd party products that install onto the same machine are > are used by other applications than just tomcat. > > These apps install themselves into their expected locations,

RE: Howto add shared libs to tomcat's classpath?

2002-08-08 Thread SHURTLEFF,ROBERT (HP-FtCollins,ex1)
I understand. And it makes sense. But... I agree that monkeying around with the system classpath is not the optimal solution! But, that's what i thought the classpath section was for in tomcat.properties. So, exactly what is/does this section do? It seemed like a great way to add addit

Re: Howto add shared libs to tomcat's classpath?

2002-08-08 Thread Will Hartung
tion nowdays is > the one you ask (how to make additional JARs available) -- the problems > people had about breaking the CLASSPATH for Tomcat, or for their other > Java based applications, have gone totally away, because how it actually > works is trivially simple to understand, and easy

Tomcat as NT service with +256 character CLASSPATH

2001-04-11 Thread Mark Mynsted
Has anybody out there gotten Tomcat to run as an NT service using JDK 1.3 with a classpath larger than 256 characters? If so how. I would like to avoid writing or modifying C programs if possible.

Re: How to gaurentee order of server classpath

2001-09-17 Thread Dmitri Colebatch
Are you sure you're taking care of all of the classpath references in tomcat.bat? An alternative way to do this is to upgrade to 4.0rc2 which doesn't provide any xml support, freeing the web app developer to use whichever parser whey want. hth dim On Mon, 17 Sep 2001, Peoter Veliki w

CLASSPATH for web apps - and the answer is?

2001-11-26 Thread Ian Bruseker
Greetings. I'm new to this list. Go easy on me. :-) Last Monday, Roland Berger posted a message to this list titled "CLASSPATH for web apps" (I found his posting in the web archive at mikal.org). In his email he asks why Tomcat 3.2.3 is not loading up log4j.jar from his WEB-IN

CLASSPATH problem : Tomcat can't find the jvm tools.jar

2001-11-30 Thread LEBRETON Philippe
Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) My JAVA=/usr/lib/j2sk1.3.0 (i used the java JSDK) i have forced the CLASSPATH=$JAVA_HOME/lib/tools.jar and that does'nt work. Help me please Phi

Re: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Larry Meadors
ll JSP which lists the classpath and I notice it prints out as /var/tomcat/common/lib (missing the 4). Does anyone know where this is set?

RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Jose Ferrer
ot;)%> The java.class.path returned is Java class path: /usr/java/j2sdk1.4.0/lib/tools.jar:/var/tomcat/common/lib/:/var/tomcat4/ bin/bootstrap.jar Notice the missing 4 in the common/lib classpath. It is interesting that the bootstr

RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Charles Baker
tStream fin = new > FileInputStream("DBConnMgr.properties"); > props.load(fin); > %> > > <%=props.getProperty("admin.log")%> > > The java.class.path returned is > Java class path: > /usr/java/j2sdk1.

Setting Classpath ---was: jk_nt_service -- where exactly is it?

2001-07-09 Thread Bruce A. Carson
Title: Re: Why does Tomcat spend too much time before process a request? You can specify multiple Jars / .Class files by separating them with semicolons. No additional -classpath should be used:   javac -classpath c:\jakarta-tomcat\lib\servlet.jar;c:\jakarta-tomcat\lib\xerces.jar *.java

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Sampige, Srinivas
put the zip file under "/lib" folder that you find under your tomcat installation.Should work without having to set the classpath because tomcat puts everything under /lib in classpath autmoatically when it starts up . -Original Message- From: Scott Brinker [mailto:[EMAIL

Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker
Alas, it's still not finding it. I now have the classes12.zip in the following locations: /jakarta-tomcat-4.0-b5/lib /jakarta-tomcat-4.0-b5/common/lib /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib ...(the latter being my web app), in addition to the CLASSPATH environment variable

Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread John Hebert
web app), in addition to the CLASSPATH environment > variable. Any other thoughts? > Can you confirm it is a valid archive ("jar -t classes12.zip")? -- John Alex Hebert [EMAIL PROTECTED] System Engineer

Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Scott Brinker
(Apparently Tomcat appends only .jar's to its classpath, not .zip's, and must not pay attention to the system CLASSPATH variable.) Thanks John, Srinivas, Scott

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Sampige, Srinivas
CAT_HOME% set _CLASSPATH=%CLASSPATH% ---> Modify the last line as - set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip Let me know if this helps. -Srinivas -Original Message- From: John Hebert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 3:46 PM To: [EMAIL PROTEC

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Charles Lee
ly 17, 2001 3:52 PM To: '[EMAIL PROTECTED]' Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0 What i told you definitely works at least for the .jar files;from what you say it looks like Tomcat isn't picking up .zip files (i personally haven't tried it with .zip files).I wou

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Mike Jackson
Just rename the files to be a .jar file. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Charles Lee [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 17, 2001 4:06 PM > To: [EMAIL PROTECTED] > Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-17 Thread Dmitri Colebatch
>From memory this has come up before, and it is in the servlet 2.2 spec that the servlet container will load "all jars" in the lib dirs - hence excluding zips. I'm not sure how this affects the system classpath though... cheers dim On Tue, 17 Jul 2001, Sampige, Srinivas wro

RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-20 Thread Li, Jerry
CLASSPATH for Tomcat 4.0 Just rename the files to be a .jar file. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Charles Lee [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 17, 2001 4:06 PM > To: [EMAIL PROTECTED] > Subject: RE: Oracle JDBC in CLASS

Re: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-25 Thread Craig R. McClanahan
On Tue, 17 Jul 2001, Scott Brinker wrote: > > D:\oracle\ora81\jdbc\lib\classes12.zip > Tomcat 4 looks only for JAR files, not ZIP files. Craig McClanahan

CLASSPATH for beans same as for JSPs/Jasper?

2001-03-06 Thread David Wall
I running Tomcat 3.2.1 on Linux and when I look at the Jasper log file it shows a classpath for each JSP page that includes the WEB-INF/classes and all of the jar files in WEB-INF/lib. This is great, but it doesn't seem like that classpath is available to the javabeans that my JSPs use.

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread Craig R. McClanahan
On Sat, 10 Mar 2001, David Wall wrote: > There appears to be a serious problem with the classpath/classloader with > Tomcat 3.2.1. > > It may be related to the Jasper engine, which outputs a dynamic classpath > name that includes all of the classes and jars in the WEB-IN

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread David Wall
s loaders created when Tomcat is > running: > - Bootstrap class loader (Java system classes) > - Extensions class loader (JAR files from $JAVA_HOME/jre/lib/ext) > - System class loader (contents of CLASSPATH at startup time) > - Webapp class loader (contents of WEB-INF/classes and

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread David Wall
AHA! You got me on the right track. It turns out that the JCE provider is being loaded from the java.security file, so it's no doubt being loaded by one of the system classloaders and then caused me grief. I removed the automatic loading of the JCE provider and instead do a Security.addProvider

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-10 Thread David Wall
JNDI queries. Do you have any idea how to work with this in a Tomcat world? I'm not sure how to cause this to load since I think it's that nasty situation in which a lower-level classloader doesn't know how to move up. In this case, do you think it's "okay" to put t

Classpath/loader problems for JNDI/JMS with JSP

2001-03-10 Thread David Wall
x27;m not sure > how to cause this to load since I think it's that nasty situation in which a > lower-level classloader doesn't know how to move up. In this case, do you > think it's "okay" to put the JMS classes in the CLASSPATH for Tomcat? I've > seen tha

Classpath/loader problems for JNDI/JMS with JSP

2001-03-10 Thread David Wall
x27;m not sure > how to cause this to load since I think it's that nasty situation in which a > lower-level classloader doesn't know how to move up. In this case, do you > think it's "okay" to put the JMS classes in the CLASSPATH for Tomcat? I've > seen tha

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-11 Thread Craig R. McClanahan
ing: > > - Bootstrap class loader (Java system classes) > > - Extensions class loader (JAR files from $JAVA_HOME/jre/lib/ext) > > - System class loader (contents of CLASSPATH at startup time) > > - Webapp class loader (contents of WEB-INF/classes and WEB-INF/lib > > fo

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-11 Thread Craig R. McClanahan
't know how to move up. In this case, do you > think it's "okay" to put the JMS classes in the CLASSPATH for Tomcat? I've > seen that it will work. > > Will there be a problem next with JDBC, in which the JDBC driver is also > dynamically created? Perhaps tha

RE: Setting classpath for tomcat 4.1.18 - where to??

2003-02-12 Thread Roberts, Eric
Hi, Put your drivers in common/lib. Tomcat uses it's own classpath - read the Class Loader HOW TO in the docs. HTH :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 12. Februar 2003 12:39 To: [EMAIL PROTECTED] Subject: Setting classpat

RE: Setting classpath for tomcat 4.1.18 - where to??

2003-02-12 Thread derrick . robertson
: Setting classpath for tomcat 4.1.18 - where to?? Hi, Put your drivers in common/lib. Tomcat uses it's own classpath - read the Class Loader HOW TO in the docs. HTH :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 12. Februar 2003 12:39 To: [

RE: Setting classpath for tomcat 4.1.18 - where to??

2003-02-12 Thread Alberto A C A S Magalhães
nota confirma que esta mensagem foi verificada pelo MIMEsweeper não tendo sido encontrados virus. www.mimesweeper.com *** You can set the classpath in catalina.bat file or setting an enviromment variable in windows xp -Original

RE: Setting classpath for tomcat 4.1.18 - where to??

2003-02-12 Thread Turner, John
Not sure what you mean, there's only one $CATALINA_HOME/common/lib. John > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 12, 2003 6:55 AM > To: [EMAIL PROTECTED] > Subject: RE: Setting classpath for tomc

classpath differences between nt service and starting manually

2003-03-25 Thread Steven Shand
k out that the classpath is being truncated when it is running as a service. the error thrown is: java.io.IOException: CreateProcess: javac.exe -classpath ( it then lists my classpath but truncates it before the end ) any ideas? St

CLASSPATH setting in Windows with JDBC from mySQL

2003-06-05 Thread Joe
mysql\JDBC\ And have tried setting my classpath to point to that folder as below Set CLASSPATH=C:\mysql\JDBC\;. Method 2 Copied mysql-connector-java-3.0.8-stable-bin.jar to C:\j2sdk1.4.1_02\common\lib And simply set my classpath=. Method 3 Copied mysql-connector-java-3.0.8-stable-bi

Classpath problem with Tomcat running in Embedded mode

2003-06-11 Thread sandeep arshanapally
Hi, Iam running tomcat in an embedded mode i.e. launching it from with in my jvm and using it with Axis for SOAP processing. I am having a problem with the classes and classpath. The SOAP implementation class files need to be there /webapps/axis/WEB-INF/classes otherwise it doesn't

RE: Setting the classpath in Windows and Linux

2003-09-11 Thread Mike Curwen
As much as it is painful at first, if you download and stumble through using ANT, you will never look back with regret. ANT allows you to configure the classpath that is sent to the java compiler. No need to copy or move any jars around. It can be daunting at first, but like I said, it&#

Re: com.sun.tools.javac.Main is not on the classpath error

2003-10-03 Thread Filip Hanik
tools.jar is not in your classpath - Original Message - From: "Alex Korneyev" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 2:00 PM Subject: com.sun.tools.javac.Main is not on the classpath error Hello, When i run tomcat in a debugge

RE: How to use jar files from CLASSPATH

2003-10-10 Thread Cox, Charlie
tomcat doesn't use the classpath. You can copy your jar into /common/lib and it will be shared by all your webapps. see the classloader doc: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Charlie > -Original Message- > From: Zsolt Koppany [ma

RE: How to use jar files from CLASSPATH

2003-10-14 Thread Shapira, Yoav
s startup scripts to append $CLASSPATH to its own classpath. If you look at $CATALINA_HOME/bin/catalina.sh, it's easy enough. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Zsolt Koppany [mailto:[EMAIL PROTECTED] >Sent: Saturday, October 11, 2003 12:56

RE: specifying web app classpath in server xml?

2003-11-06 Thread Francois JEANMOUGIN
I don't know what system you are using and how you are working with the other team. I would share the shared directory (via NFS on UNIX). François. > Hi, > but in development, where both projects may be updated all the time, > I'd prefer to skip the extra overhead of either jaring all files, > o

<    3   4   5   6   7   8   9   10   11   >