Apache-SOAP/Tomcat Classpath problem

2003-07-03 Thread Brian Abbott
the class files for implementation code. However, when I add the correct path to the catalina.bat startup script, the .jar files in my WEB-INF\lib directory arent being added to the tomcat classpath. Has anyone seen or experienced this before? Thanks, Brian Abbott

Re: Tomcat classpath not set at boot

2003-06-15 Thread Chad Lemmen
I've done some more testing and it doesn't have anything to do with starting Tomcat at boot as I first thought. The problem is that my servlet tries to connect to the X server when run. I have no idea why it needs to connect to the X server (It's a servlet that EspressReport wrote to connect to

Re: Tomcat classpath not set at boot

2003-06-15 Thread Tim Funk
Ouch! wacky issues between java and X. The archives have talked about similar items and I am sure there are google links talking about use X with java. Otherwise - I am pretty clueless on the topic. -Tim Chad Lemmen wrote: I've done some more testing and it doesn't have anything to do with

Re: Tomcat classpath not set at boot

2003-06-15 Thread Kwok Peng Tuck
It's something about running tomcat headless I think. http://sourceforge.net/forum/forum.php?thread_id=859094forum_id=192228 Try adding this to the tomcat startup scripts : -Djava.awt.headless=true (which you can only do with JDK1.4 or higher) . Tim Funk wrote: Ouch! wacky issues between

Re: Tomcat classpath not set at boot

2003-06-15 Thread Chad Lemmen
I added -Djava.awt.headless=true to catalina.sh and it fixed the problem. Thanks for your help. On Mon, 16 Jun 2003, Kwok Peng Tuck wrote: It's something about running tomcat headless I think. http://sourceforge.net/forum/forum.php?thread_id=859094forum_id=192228 Try adding this to the

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 I have set.

Re: Tomcat classpath not set at boot

2003-06-14 Thread Dominic Parry
Sent: Saturday, June 14, 2003 3:26 PM Subject: Re: Tomcat classpath not set at boot 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

Tomcat classpath not set at boot

2003-06-13 Thread Chad Lemmen
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 #!/bin/sh JAVA_HOME=/usr/java export JAVA_HOME /opt/jakarta-tomcat-4.1.24/bin/startup.sh Tomcat is starting at boot and seems to work fine http://localhost:8080 brings up the

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 #!/bin/sh

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

Tomcat classpath problem

2003-06-10 Thread Manav Gupta
I suspect I don't need to fiddle with the tomcat classpath. But how do I get tomcat to load the oc4j.jar from the WEB-INF/lib and use the com.evermind.server.rmi.RMIInitialContextFactory class? Tomcat does its job when it tries to load the jar file, but the verification fails

RE: Tomcat classpath problem

2003-06-10 Thread Shapira, Yoav
Howdy, How does one make additional jars available to tomcat? I understand one can add them to WEB-INF/lib,but there are sometimes that approach does not work. Here's a scenario: I'm using tomcat 4.1.24 with jdk 1.4.1_02. One of the required libraries for my web app is oc4j.jar. If I put that

RE: Tomcat classpath problem

2003-06-10 Thread Cox, Charlie
: Tomcat classpath problem Apologies for the re-post, but I'm not sure if my messages are reaching the list. --- Hi, I'm trying to understand the tomcat class loading mechanism and have read through the Class Loader HOW-TO ( http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class

Tomcat classpath issues.

2003-06-03 Thread Rodney Leger
Does anyone know how to get the entire class path that tomcat is using to run an application. What I am trying to understand is at the time that the tomcat is running my application what is its classpath. I have included a jar file(weblogic.jar) in common/lib however, I still receive the

Re: Tomcat classpath issues.

2003-06-03 Thread John Turner
java.lang.NoClassDefFoundError (what you're getting) is not the same as java.lang.ClassNotFoundException (what happens when classes can't be found by the class loader). $CATALINA_HOME/common/lib is most definitely visible to your applications. I'm no guru, but I think this has come up before,

RE: Tomcat classpath issues.

2003-06-03 Thread Shapira, Yoav
] Sent: Tuesday, June 03, 2003 8:35 AM To: Tomcat Users List Subject: Re: Tomcat classpath issues. java.lang.NoClassDefFoundError (what you're getting) is not the same as java.lang.ClassNotFoundException (what happens when classes can't be found by the class loader). $CATALINA_HOME/common/lib

newbie---tomcat classpath

2002-07-23 Thread Yu Ye Zhou
Hi: I just successfully install memory realm. I want to use JDBC realm instead. I need to put the JDBC driver referenced by the friverName attribute into Tomcat's classpath. What is tomcat's classpath? Where can I find it? Thanks. __ Do You

Re: newbie---tomcat classpath

2002-07-23 Thread Rick Fincher
Hi, That means you have to put the driver files (usually in a jar file) someplace where Tomcat can see them. A good place for jar files is CATALINA_HOME/common/lib. If it is there Tomcat can use it and your webapps can too. If your driver files aren't in a jar you can put them in

Re: Tomcat Classpath

2002-06-28 Thread Jacob Kjome
Hi Jack, Tomcat ignores your classpath. Believe me, this solves a *ton* of problems. If you want to use the classpath, go back to using Tomcat 2.x.x. I wouldn't give it the time of day now that 3.3.x and 4.x.x are out. Seriously, do yourself a favor and just copy the jar into

Re: Tomcat classpath?

2002-06-27 Thread David Thielen
27, 2002 10:31 AM Subject: Re: Tomcat classpath? On Thu, 27 Jun 2002, David Thielen wrote: Hi; Where do I place jar files or where in the tomcat configuration do I tell it of a jar file to use with my jsp? Also, can I just do .class files in a directory or must it be a jar file

Re: Tomcat classpath?

2002-06-27 Thread Milt Epstein
can have WEB-INF under c:\Inetpub\wwwroot (and lib and classes under WEB-INF). - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 27, 2002 10:31 AM Subject: Re: Tomcat classpath? On Thu, 27 Jun 2002, David Thielen

Re: Tomcat classpath?

2002-06-27 Thread David Thielen
else like that. Just jsp files and classes for them to access. ? - thanks - dave - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 27, 2002 11:04 AM Subject: Re: Tomcat classpath? On Thu, 27 Jun 2002, David

Re: Tomcat classpath?

2002-06-27 Thread Milt Epstein
: Thursday, June 27, 2002 11:04 AM Subject: Re: Tomcat classpath? On Thu, 27 Jun 2002, David Thielen wrote: What's the context when I have: Context path=/ docBase=c:\Inetpub\wwwroot debug=0 privileged=true/ I tried ROOT, nothing, _ - none of them worked. What do you mean

Re: Tomcat classpath?

2002-06-27 Thread David Thielen
I'm sticking with this example as it should work. The url I put in is localhost/apps.10.jsp. Here is a dir (screen dump) of the file: Directory of C:\Program Files\Apache Tomcat 4.0\webapps\apps 02/16/2002 03:50p 727 10.jsp So the file is there. The error I get is:

Re: Tomcat classpath?

2002-06-27 Thread Milt Epstein
On Thu, 27 Jun 2002, David Thielen wrote: I'm sticking with this example as it should work. The url I put in is localhost/apps.10.jsp. I assume you mean localhost/apps/10.jsp. Here is a dir (screen dump) of the file: Directory of C:\Program Files\Apache Tomcat 4.0\webapps\apps

RE: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-25 Thread Randy Layman
TOMCAT CLASSPATH BUG*** Let me rephrase I have 2 contexts in tomcat 1. my-web-app context 2. soap_2_2 context In order for context2 to see my context 1 classes I must add /my-web-app-dir/web-inf/classes To the CLASSPATH Adding this makes context 1 not to see the jars in /my-web-app

***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread niv the tool
Very simple to simulate this bug : When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Ok now if ur asking why do I need it it so the answer is soap I have a soap 2_2 context that needs to load a class in

Re: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread Carl Rosenberger
When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Hi Niv, we have also spent 2 days last week to debug this problem, since a user of our object database had problems to get in running. The setup: The jar of our

RE: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread niv the tool
PROTECTED]] Sent: Sunday, June 24, 2001 1:10 PM To: [EMAIL PROTECTED] Subject: Re: ***ANOTHER TOMCAT CLASSPATH BUG*** When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Hi Niv, we have also spent 2 days last

Re: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread Geir Magnusson Jr.
Carl Rosenberger wrote: When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Hi Niv, we have also spent 2 days last week to debug this problem, since a user of our object database had problems to get in

Re: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread Carl Rosenberger
When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Two workarounds were possible: - ..\project-dir\web-inf\classes added to the CLASSPATH - placing all Jars in ..\project-dir\web-inf\lib Isn't this

RE: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread niv the tool
Let me rephrase I have 2 contexts in tomcat 1. my-web-app context 2. soap_2_2 context In order for context2 to see my context 1 classes I must add /my-web-app-dir/web-inf/classes To the CLASSPATH Adding this makes context 1 not to see the jars in /my-web-app-dir/web-inf/lib Weird isn't it

Re: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread Geir Magnusson Jr.
Carl Rosenberger wrote: When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Two workarounds were possible: - ..\project-dir\web-inf\classes added to the CLASSPATH - placing all Jars in

Re: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread Carl Rosenberger
Geir Magnusson wrote: When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Two workarounds were possible: - ..\project-dir\web-inf\classes added to the CLASSPATH - placing all Jars in

Re: ***ANOTHER TOMCAT CLASSPATH BUG***

2001-06-24 Thread Geir Magnusson Jr.
Carl Rosenberger wrote: Geir Magnusson wrote: When adding c:\java\my-web-app-dir\web-inf\classes to CLASSPATH Tomcat is loosing the jars in my c:\java\my-web-app-dir\web-inf\lib Two workarounds were possible: - ..\project-dir\web-inf\classes added to the CLASSPATH

Re: JDK CLASSPATH vs TOMCAT CLASSPATH

2001-06-22 Thread Dennis Murphy
Hi Again, No one got back to me but I did learn a few things today: 1. No need to tell the system class path about the WEB-INF area. All I need to do is compile from WEB-INF/classes and JDK finds all of my custom packages. This is b/c by default . is added to JDK's path. 2. I think I know

Re: JDK CLASSPATH vs TOMCAT CLASSPATH

2001-06-22 Thread Dennis Murphy
Hey There! I did learn more stuff. What had happened is that along the way I explicitly added WEB-INF/classes to my TOMCAT path in my tomcat.bat file. I figured this would be harmless. But I guess it does effect CLASS RELOADING. Therefore, I found if you want CLASS RELOADING to work DO NOT

tomcat classpath - I don't get it...

2001-03-29 Thread John Towell
[Please forgive if this is reposted, my first post was over three hours ago.] I bring in a Bean class that imports an oracle class that's not on my tomcat server, so I get a: 'Class oracle.sqlj.runtime.Oracle not found in import.' error OK - so I bring in the appropriate jar file and put it in

tomcat classpath -- \tomcat\lib

2001-03-29 Thread brian luk
Hi all, tomcat documentation told me to put all my JAR files in c:\tomcat\lib\. but when i put my JAR files there, the classpath semes didn't find the JARs in c:\tomcat\lib dir. It works on unix but not WIN32. and i was forced to put my JAR files inside JDK/JRE's lib\ext directory. Anyone

RE: tomcat classpath -- \tomcat\lib

2001-03-29 Thread Dalia, Keith A - TOS-DITT1
Are you running tomcat as a service/daemon with Apache or IIS or from the startup.bat You might want to look at the wrapper.properties file. -Original Message- From: brian luk [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 3:35 PM To: [EMAIL PROTECTED] Subject: tomcat

RE: tomcat classpath -- \tomcat\lib

2001-03-29 Thread brian luk
nt to look at the wrapper.properties file. -Original Message- From: brian luk [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 3:35 PM To: [EMAIL PROTECTED] Subject: tomcat classpath -- \tomcat\lib Hi all, tomcat documentation told me to put all my JAR files in

RE: tomcat classpath -- \tomcat\lib

2001-03-29 Thread Dalia, Keith A - TOS-DITT1
arser.jar if exist "%TOMCAT_HOME%\lib\servlet.jar" set CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar if exist "%TOMCAT_HOME%\lib\webserver.jar" set CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar Keith -Original Message- From: brian luk [mailto:[EMAIL PROTECTED]] Sent: Thursday, Marc