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
Figured out my problem. I wasn't placing the class file in a subdirectory
of the WEB-INF/classes/package.
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,
) package.
-Layton
-Original Message-
From: Andy 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
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
myapp/WEB-INF/classes/AccessCtrl and it is part of the package
AccessCtrl (i.e.
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 Linux 9
Still no luck
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 myapp/WEB-INF/classes.
Here's my setup:
* tomcat 5.0.19, running on RedHat Linux 9.0 Pro
* no customization to
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
UserDAta user = null
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
location: class org.apache.jsp.savename_jsp
UserDAta user = null
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't get tomcat to recognize supporting
class definitions that I have placed
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.clinit(AprImpl.java:340)
at
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.clinit(AprImpl.java:340)
at
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
]
Sent: Monday, October 14, 2002 5:19 PM
To: Tomcat Users List
Subject: CLASSPATH problems on 3.3.1
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
14, 2002 5:19 PM
To: Tomcat Users List
Subject: CLASSPATH problems on 3.3.1
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?
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: Tomcat Users List
Subject: CLASSPATH problems
-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:
wrapper.jvm.options
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
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: Tomcat Users List
Subject: CLASSPATH problems
-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: Tomcat Users List
Subject: CLASSPATH problems on 3.3.1
3.3.1
IIS 5.0 and Tomcat 3.3.1 redirections
c/tomcat-ug.html#configuring_
classes
HTH,
Larry
-Original Message-
From: Michael Finney [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 5:19 PM
To: Tomcat Users List
Subject: CLASSPATH problems on 3.3.1
3.3.1
IIS 5.0 and Tomcat 3.3.1 redirections
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
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 information. If you get a class
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 inevitable initial classpath problems setting up my
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?
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 the
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:
--- 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.* %
%Properties prop =
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
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.
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/
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
Host name=dev.jhood.com
Context path=/
docBase=/home
, 2001 11:19 AM
To: [EMAIL PROTECTED]
Subject: RE: Classpath problems with Tomcat 3.2
That's the problem it doesn't
JH
what is the URL you are using to access it?
if it is http://dev.jhodd.com/subdir1/subdir2/test.jsp it should
work right?
Filip
~
Namaste - I bow to the divine in you
check my syntax, I'm typing quickly). An
import=* might work, but I'm not sure.
Randy
-Original Message-
From: Jeffrey Hood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 1:14 PM
To: [EMAIL PROTECTED]
Subject: Classpath problems with Tomcat 3.2
Anyone
I can't seem to get the following to work...
entry in server.xml
Host name=dev.jhood.com
Context path=/
docBase=/home/jhood/dev/websource/tomcat
debug=0
crossContext=false
reloadable=true
/Context
/Host
files:
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
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
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
37 matches
Mail list logo