>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
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
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
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
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
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'
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
> 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
>
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
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
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
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(
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:
> > > > >
> > &
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
> -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:
; > 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
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
> >
>
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,
>
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
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
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
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
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
--- 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
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: <%
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
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?
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
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
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
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
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
[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
>
>
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
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
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
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
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
38 matches
Mail list logo