Classpath problems on Tomcat

2004-06-17 Thread Worley Brent - bworle
>From what I understand about Tomcat all of my application specific classes and libs are picked up after the bootstrap and system libs are grabbed. However, we are running into this problem: We have a package defined and several classes within this package. When we compile the source files they c

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
I'm just getting started with my JSP and tomcat experience, and while learning how JSP works, I'm can't get tomcat to recognize supporting class definitions that I have placed in /WEB-INF/classes. Here's my setup: * tomcat 5.0.19, running on RedHat Linux 9.0 Pro * no customization to $CATALINA_H

Re: Tomcat-4.1.18 Classpath Problems

2003-02-13 Thread Jacob Kjome
I'm not sure exactly what the problem is, but I suspect it is a commons-logging problem. To avoid this, don't use commons-logging. You see very few bug reports like this for log4j stand-alone. So, use Log4j directly and you will have fewer headaches. Also see http://qos.ch/logging/thinkAgai

Tomcat-4.1.18 Classpath Problems

2003-02-13 Thread Dipl.Phys. Andreas Hiltenkamp
Hi ! I've got some classpathproblems using Linux "java full version "1.4.1_01-b01" 16228 [main] ERROR server.JkMain - Can't create apr java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.jk.apr.AprImpl.(AprImpl.java:340) at java.lang.Class.forName

Tomcat-4.1.18 Classpath Problems

2003-02-13 Thread Dipl.Phys. Andreas Hiltenkamp
Hi ! I've got some classpathproblems using Linux "java full version "1.4.1_01-b01" 16228 [main] ERROR server.JkMain - Can't create apr java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.jk.apr.AprImpl.(AprImpl.java:340) at java.lang.Class.forName0(

Re: CLASSPATH problems on 3.3.1

2002-10-18 Thread Michael Finney
se of the > > > CLASSPATH > > > > > was one of the top sources of problems. > > > > > > > > > > For important differences upgrading from > Tomcat > > > > > 3.2.x > > > > > to Tomcat 3.3.x, see: > > > > > > > &

Re: CLASSPATH problems on 3.3.1

2002-10-16 Thread Bill Barker
gt; was one of the top sources of problems. > > > > > > > > For important differences upgrading from Tomcat > > > > 3.2.x > > > > to Tomcat 3.3.x, see: > > > > > > > > > > > > > > <http://jakarta.ap

RE: CLASSPATH problems on 3.3.1

2002-10-15 Thread Larry Isaacs
> -Original Message- > From: Michael Finney [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 11:25 AM > To: Tomcat Users List > Subject: Re: CLASSPATH problems on 3.3.1 > > > So something like this for the wrapper.jvm.options:

Re: CLASSPATH problems on 3.3.1

2002-10-15 Thread Michael Finney
; > For how to configure classes in Tomcat 3.3.x, > see: > > > > > > > > > <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_ > classes> > > > > > > HTH, > > > Larry > > > > > > > -Orig

Re: CLASSPATH problems on 3.3.1

2002-10-14 Thread Bill Barker
arta.apache.org/tomcat/tomcat-3.3-doc/readme> > > > > For how to configure classes in Tomcat 3.3.x, see: > > > > > <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_ classes> > > > > HTH, > > Larry > > >

RE: CLASSPATH problems on 3.3.1

2002-10-14 Thread Michael Finney
s in Tomcat 3.3.x, see: > > <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes> > > HTH, > Larry > > > -Original Message- > > From: Michael Finney [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, October 14,

RE: CLASSPATH problems on 3.3.1

2002-10-14 Thread Larry Isaacs
> For how to configure classes in Tomcat 3.3.x, see: <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes> HTH, Larry > -Original Message- > From: Michael Finney [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 5:19 PM > To: Tomc

CLASSPATH problems on 3.3.1

2002-10-14 Thread Michael Finney
3.3.1 IIS 5.0 and Tomcat 3.3.1 redirections Running Jakarta as a Service on Windows 2000. Has anyone else had problems with CLASSPATH getting picked up in 3.3.1? In a previous deployment, a CLASSPATH was set to d:\whatever\classes (ok actually it was not classes it was src, but the .class files

Re: Classpath problems

2002-07-09 Thread Craig R. McClanahan
On Tue, 9 Jul 2002, David Goodenough wrote: > Date: Tue, 9 Jul 2002 11:36:46 +0100 > From: David Goodenough <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Classpath problems > > I am having the inev

RE: Classpath problems

2002-07-09 Thread Shapira, Yoav
Howdy, The simplest way: look into server.xml, change all debug="0" to debug="99". This will get more info than you probably want, but that's (usually) a good thing when debugging ;) As an aside: classpath problems typically don't require that much debugging inform

Classpath problems

2002-07-09 Thread David Goodenough
I am having the inevitable initial classpath problems setting up my first servlet under Tomcat 4.0.3 (the one shipped with Sun JWSDP). In the source code I see there are debug levels and some increased debug levels, but I am unsure about how I am supposed to enable them. I tried setting an

RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Charles Baker
--- Jose Ferrer <[EMAIL PROTECTED]> wrote: > Yes, CATALINA_HOME is set to /var/tomcat4 > > Here is my simple jsp > > <%@ page language="java" %> > <%@ page import = "java.util.*" %> > <%@ page import = "java.io.*" %> > <%Propertie

RE: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Jose Ferrer
Yes, CATALINA_HOME is set to /var/tomcat4 Here is my simple jsp <%@ page language="java" %> <%@ page import = "java.util.*" %> <%@ page import = "java.io.*" %> <% Properties prop = System.getProperties(); %> Java class path: <%

Re: Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Larry Meadors
Do you have a CATALINA_HOME environment variable set? That might cause this... >>> [EMAIL PROTECTED] 05/07/02 09:21AM >>> I am having problems reading a resource file I placed in /var/tomcat4/common/lib. I also tried placing it in /var/tomcat4/common/classes. I wrote a small JSP which lists th

Classpath problems with Tomcat4 and RedHat 7.2

2002-05-07 Thread Jose Ferrer
I am having problems reading a resource file I placed in /var/tomcat4/common/lib. I also tried placing it in /var/tomcat4/common/classes. I wrote a small 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?

Classpath Problems

2002-03-26 Thread João Augusto Charnet
I hava some classes that are grouped up in a package called SFWClasses in the following directory: /Web-inf/classes/SFWClasses. I used to use Jakarta 3.2.3, but now I have upgraded to 4.03. With the older version everything worked fine, now with this new version I get an Error that Jakarta cou

Classpath problems

2002-02-06 Thread Walter De Wit
Hello all, I've problems in letting log4j automatically find the log4j.properties file. I put log4j.jar in %CATALINA_HOME%\lib and my log4j.properties file in %CATALINA_HOME%\classes. I haven't put a log4j.jar version in my web-app/lib so normally all web applications should use the same log4j. I

CLASSPATH Problems

2001-10-26 Thread Gabriel J Zimmerman
Hi, I have a jar file my webapp's lib directory. It finds other jar files, but it won't find this one and I get an error in my JSP page. Here is the Jasper classpath: Classpath according to the Servlet Engine is: /usr/local/www/docs/sec/WEB-INF/classes:/usr/local/www/docs/sec/ WEB-INF/lib/mail.j

RE: Classpath problems with Tomcat 3.2

2001-06-21 Thread Jeffrey Hood
you need to add a <%@ > page import="test" %> (double check my syntax, I'm typing quickly). An > import="*" might work, but I'm not sure. > > Randy > > > -Original Message- > > From: Jeffrey Hood [mailto:[EMAIL PROTECT

RE: Classpath problems with Tomcat 3.2

2001-06-21 Thread Filip Hanik
generated servlet Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net >-Original Message- >From: Jeffrey Hood [mailto:[EMAIL PROTECTED]] >Sent: Thursday, June 21, 2001 11:19 AM >To: [EMAIL PROTECTED] >Subject: RE

RE: Classpath problems with Tomcat 3.2

2001-06-21 Thread Filip Hanik
[EMAIL PROTECTED]] >Sent: Thursday, June 21, 2001 10:14 AM >To: [EMAIL PROTECTED] >Subject: Classpath problems with Tomcat 3.2 > > > >Anyone have -any- explaniation of this??? > >I can't seem to get the following to work... > >entry in server.xml > >

Classpath problems with Tomcat 3.2

2001-06-21 Thread Jeffrey Hood
Anyone have -any- explaniation of this??? I can't seem to get the following to work... entry in server.xml files: /home/jhood/dev/websource/tomcat: /WEB-INF /classes test.class /subdir1 /subdir2 I have test.jsp in /home/jhood/dev/websource/tomcat, and it fi

FW: Classpath problems with Tomcat 3.2

2001-06-20 Thread Jeffrey Hood
I can't seem to get the following to work... entry in server.xml files: /home/jhood/dev/websource/tomcat: /WEB-INF /classes test.class /subdir1 /subdir2 I have test.jsp in /home/jhood/dev/websource/tomcat, and it finds the test.class fine, as well as other c

Classpath problems with tomcat 3.2.1 standalone.

2001-04-10 Thread Renee Petris
I've at my wits end trying to resolve ClassNotFoundExceptions using tomcat 3.2.1 and jdk 1.2.2.   I'm using JMS and JNDI that relies on a jar file and a zip file, fmprtl.zip and j2ee.jar. I need j2ee.jar for the javax.naming classes which aren't included in jdk1.2.2. I explicitly added the

Re: NoClassDefFoundError - classpath problems

2001-03-26 Thread Anuj Agrawal
I've had this problem before as well. The problem usually is that the classpath has the right number of members, but in the wrong order. You might want to look in your jar files (if any) to see if there are any classes that are similar, but perhaps one jar has an older version than another. We

NoClassDefFoundError - classpath problems

2001-03-26 Thread Adam Ross
Hi, I'm using a set of JSPs that access some java beans in the /web-inf/classes directory. I've been developing the application on Win98, but I need to demonstrate it on NT this coming Friday. Each bean accesses a couple of other classes - for simplicity, assume that they are defined in the same