Our tomcat's are configured to use the system classpath for a
large amount of the libraries. With TC 4.1.30, we modify the
setclasspath.* and use catalina.sh start to start it.
I tried this with TC 5.5.9 and it did not work. Is there
something else that I am supposed to do to make the system
Hello world,
My war and i have some problem for loading some class that are embedded in
jars in myWar/WEB-INF/lib...
I tried to solve this by writing a proper myWar/META-INF/MANIFEST.MF with no
success. It simply ignores
it.
I don't have anymore idea. May you give me some clue?
At list a
forgot to tell about my env : jboss3.2.2/jbossweb-tomcat41.sar
On 9/20/05, lio tomcat [EMAIL PROTECTED] wrote:
Hello world,
My war and i have some problem for loading some class that are embedded
in jars in myWar/WEB-INF/lib...
I tried to solve this by writing a proper
How do you add directories to tomcat's classpath?
Jason Bergthorson
GIS Programmer/Applications Developer
Phone: 204.983.4035
Fax: 204.983.2178
200-303 Main Street
Winnipeg MB R3C 3G7
[EMAIL PROTECTED]
add directories to tomcat's classpath?
Jason Bergthorson
GIS Programmer/Applications Developer
Phone: 204.983.4035
Fax: 204.983.2178
200-303 Main Street
Winnipeg MB R3C 3G7
[EMAIL PROTECTED
, July 21, 2005 4:35 PM
To: Tomcat Users List
Subject: Re: tomcat 4.x classpath
You almost certainly don't need to set it directly. Tomcat will build
classpaths for its different class loaders itself following the rules
explained here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader
to tomcat's classpath, or just have
tomcat read my system classpath and get it from there.
But by default tomcat does not use your system classpath, and I can't
figure out how to either add the system classpath to its classpath or to
add directories to it. It would read jar files from my lib/ext I
believe
My current install of Tomcat 4.1.29 does not access my system classpath.
I am using Windows 2000 Server. I would like Tomcat to access my
classpath as I have a development package located in my
%JAVA_HOME%\jre\lib\ext directory that I do not want to copy over to
Tomcat\common\classes for my sites
Hello all,
I'm running embedded tomcat 5.5.9. Let's say that I have one version of
X.jar in my main classpath when I launch my embedded Tomcat, and also a
different version of X.jar in a deployed webapp under WEB-INF/lib. Is there
a way to force tomcat to use the X.jar version that it's in WEB
Then I would highly recommend a persistent backend like a Db instead of
playing with the classpath. Just my opinion.
--David
Stuart wrote:
Guru,
I need to do this so that I can deliver the application following my
company's standard format. The tomcat application is just a small part
Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 12:57 AM
To: Tomcat Users List
Subject: Re: add to classpath
Then I would highly recommend a persistent backend like a Db instead of
playing with the classpath. Just my opinion.
--David
Stuart wrote:
Guru,
I need to do this so that I
Hi,
Please scratch that last question. I still do not know what the problem is
but I think I will just go with modifying Catalina.sh. Actually all I need
to do is add to the tomcat classpath so that my web applications can find
things in different locations.
Is there are better way than hacking
Users List' tomcat-user@jakarta.apache.org
Sent: Saturday, July 09, 2005 8:19 AM
Subject: add to classpath
Hi,
Please scratch that last question. I still do not know what the problem
is
but I think I will just go with modifying Catalina.sh. Actually all I
need
to do is add to the tomcat
10:29 PM
To: Tomcat Users List
Subject: Re: add to classpath
why are you doing this ? just copy the jars to the lib directory inside
WEB-INF .. and restart the app ...
or if this spans into multiple application then ... put them in the
tomcat/common/bin directory ...
Regards
guru
- Original
Hi
I have a set of JAR files to be set into classpath. I cannot keep the
entire JARs into System classpath because of Windows OS restriction. Now
I want to put all the jars set to classpath only for that application
level for WAS.
Thanks
Srinivas Ivaturi.
Put it in WEB-INF/lib
-Original Message-
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED]
Sent: 01 July 2005 10:40
To: tomcat-user@jakarta.apache.org
Subject: Application Level Classpath Setting
Hi
I have a set of JAR files to be set into classpath. I cannot keep the
entire JARs
I forget to mention these are 3 rd party JARS which I cannot put in the
LIB.
-Original Message-
From: Raghupathy,Gurumoorthy
[mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 3:12 PM
To: 'Tomcat Users List'
Subject: RE: Application Level Classpath Setting
Put it in WEB-INF/lib
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED]
I forget to mention these are 3 rd party JARS which I cannot
put in the LIB.
Cannot by licensing terms, because the app will no longer work if you
do, or what?
- Peter
It is not that it wont work , It is by design.
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 3:19 PM
To: Tomcat Users List
Subject: RE: Application Level Classpath Setting
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED]
I forget
From: Srinivas Ivaturi [mailto:[EMAIL PROTECTED]
It is not that it wont work , It is by design.
OK. So, to summarise:
- You have a set of jars that is too large to name on the classpath in
Windows;
- The jars are required for one webapp only, not for the whole of Tomcat
(so one could argue
AFAIK - Tomcat does not care about the system classpath. It picks up
its classpath from catalina.sh -setclasspath.sh (TC 4.x)
In TC 5.x (this too FYI does not care abt the system classpath, but)
you can modify the following lines in catalina.properties file under
the conf dir ...
SNIP
#
#
# List
From: Anoop kumar V [mailto:[EMAIL PROTECTED]
In TC 5.x (this too FYI does not care abt the system classpath, but)
you can modify the following lines in catalina.properties file under
the conf dir ...
SNIP
That's better than my version - thanks, Anoop.
- Peter
for me If I give like this. Any reason you know?
Thankas
Srinivas Ivaturi.
-Original Message-
From: Anoop kumar V [mailto:[EMAIL PROTECTED]
Sent: Friday, July 01, 2005 6:27 PM
To: Tomcat Users List
Subject: Re: Application Level Classpath Setting
AFAIK - Tomcat does not care about
find
them, I've placed them under WEB-INF/classes. This works fine, but I would
prefer a special directory named config at the top of the web application
(next to WEB-INF). Is it possible to tell Tomcat that this directory is in
the classpath? Of course I could manipulate the global classpath but I
Hi,
Newbie here,
I'm not sure why I'd be getting these compilation errors. I see my tomcat
server at http://localhost/.
The http://www.coreservlets.com/Apache-Tomcat-Tutorial/ seems to tell me
it's my classpath, but *I* think I have my jar files properly in my
classpath. See this following
From: Bagus [mailto:[EMAIL PROTECTED]
Subject: classpath problem?
echo $CLASSPATH
.:/www/my_tomcat_apps:/usr/local/jakarta-tomcat-5.4.4/
^
|
Want to make that 5.5.4 and see what
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 user class
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 Classes:
User classes are classes which
because
its jndi context it pointing it at, I assume, the jndi instance running in
tomcat. I even tried appending this classes directory to the front of the
classpath when starting within the script (shiver) but that didn't work.
What do I need to do?
Regards
Eric
-Original Message-
From: Eric J Kaplan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 11:18 AM
To: 'Tomcat Users List'
Subject: jndi.properties file and classpath
We are using tomcat 5.0.28 and our servlet needs to load jndi.properties
from a jndi.properties file in our WEB-INF
While debugging a log4j problem this afternoon... I happened to attempt
to rearrange the contents of my CLASSPATH on my Fedora Core 2 machine in
order to insure a correct log4j.properties file is being loaded by TC.
To insure the proper file is loaded, I placed
${catalina.home}/common/classes
starting Tomcat by
adding it to your CATALINA_OPTS environment variable. This changes how jikes
outputs error messages so that it is compatible with Jasper.
Tomcat throws an exception (notice how classpath is truncated):
--- Nested Exception ---
java.io.IOException: CreateProcess: jikes -classpath
How can I get the current classpath at runtime as seen by any class in a
particular context? I know I can run System.getProperty( java.class.path
), but that seems to just show me the classpath at startup of tomcat rather
than for objects within the webapp.
--mikej
-=-
mike jackson
[EMAIL
A *crude way* is to get a reference to the current context classloader. If
the classloader is a URLClassloader - you can call getURLs() to get the
classpath for that loader. Then keep calling classloader.getParent() and keep
casting to a URLClassloader until parent is null.
-Tim
Mike Jackson
Crude works for me. I'm just trying to figure out why jython can't see the
classes that should be in my WEB-INF/classes folder. Or for that matter to
make sure that folder is in the classpath.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Tim Funk [mailto
/RequestFacade
I guess the RequestFacade is only in the classpath of the tomcat-server, and
not in the one of the servlet itself.
Does anyone know how I can solve this problem?
Thanks!
_
Koop geen kat in een zak. Probeer alles 14 dagen bij
if the request is an instance
of org.apache.catalina.connector.RequestFacade.
When executing the 'if (request instanceof RequestFacade)' the program
gives an error for that line:
java.lang.NoClassDefFoundError: org/apache/catalina/connector/RequestFacade
I guess the RequestFacade is only in the classpath
On Mon, 22 Nov 2004 16:37:39 +0200, Carl Olivier [EMAIL PROTECTED] wrote:
Ooppps.
Sorry -meant 300 seconds!
I think this could be improved, but the penalty will stay significant.
antiJARLocking prevents locking through usage of getResource on the
classloader (where you get a URL to an entry
in classpath not being released
On Mon, 22 Nov 2004 16:37:39 +0200, Carl Olivier [EMAIL PROTECTED]
wrote:
Ooppps.
Sorry -meant 300 seconds!
I think this could be improved, but the penalty will stay significant.
antiJARLocking prevents locking through usage of getResource on the
classloader (where
Hi,
Thanks - yes I realise. Wonderin why tihs has been done? Was the old
classloader mechanisms in 5.0.x that broken? Not criticising, just
trying
to understand the reasoning here.
No, it was fine: the problems arose due to OS behavior mostly,
specifically Windoze, and how virtual file
: Tomcat 5.5.4 - classes in classpath not being released
Greetings.
Having the following problem using Tomcat 5.5.4 under JDK 1.5:
After running my webapp for a bit in a development environment, I want to
copy new and replacement classes to the webapp classes location, but
sometimes (about 50/50) I
: Monday, November 22, 2004 3:45 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 - classes in classpath not being released
Hi.
Further to my email below, I have noticed that it happens after the
first
time I re-deoply classes - i.e. after the first context reload...
Carl
-Original Message
Ok, thanks!!
Appreciate the response as always!
Carl
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 3:58 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 - classes in classpath not being released
Hi,
You would need to turn
Users List
Subject: RE: Tomcat 5.5.4 - classes in classpath not being released
Hi,
You would need to turn on the antiJARLocking or antiResourceLocking features
of Tomcat 5.5.x (they are Context attributes, use either one but not both at
the same time).
Yoav Shapira http://www.yoavshapira.com
PROTECTED]
Sent: Monday, November 22, 2004 9:37 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 - classes in classpath not being released
Hectic.
When it says startup performance penalties its not kidding eh? Context
set
tot antiResourceLocking=true and added like 30 seconds to the server
startup
, 2004 4:45 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 - classes in classpath not being released
Hi,
Yup, not kidding. However, the reason to turn this on is to do in-place
reloading, as opposed to server restarting, so the penalty is easily
amortized over a few (not many) reloads.
Yoav
Ooppps.
Sorry -meant 300 seconds!
-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 4:37 PM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.4 - classes in classpath not being released
Hectic.
When it says startup performance penalties its
Hi,
(e.g. get the StandardHost and call remove on the service/engine and
then
recreate a StandardHost instance with all the relevant settings, then
calling deploy and start on it...)
This is really not a recommended practice. With the increased JMX and
Logging interaction, it's hard to get
Greetings.
Having the following problem using Tomcat 5.5.4 under JDK 1.5:
After running my webapp for a bit in a development environment, I want to
copy new and replacement classes to the webapp classes location, but
sometimes (about 50/50) I cannot overrite/delete some of the classes - as
the
What are the CLASSPATH and Classloaders used when
attempting to use the Embedded class to get a Tomcat 5
working?
On a regular bundled Tomcat5, the catalina/common/lib,
catalina/server/lib, catalina/common/endorsed are
automatically searched for jars and loads them.
Furthermore environment
Howdy,
I wish to deploy Tomct5.0.28 along with a webapp. I want to be able to
insure that Tomcat is deployed as a service, uses the standard classpath AND
1 more classpath entry. How can I set up the Tomcat windows installer to
setup Tomcat as a service and include a specific directory
On Mon, Sep 20, 2004 at 03:16:10PM -0700, John MccLain wrote:
: I wish to deploy Tomct5.0.28 along with a webapp. I want to be able to
: insure that Tomcat is deployed as a service, uses the standard classpath AND
: 1 more classpath entry. How can I set up the Tomcat windows installer to
: setup
When I deploy a JSP document with Tomcat 5.5.1 without precompiling, I
get an error message when accessing the corresponding web page.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 32 in the jsp file: /test.jspx
Generated
Hello, I have Tomcat 5 running in Windows XP. Now I want to install Apache
SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting
their paths in CLASSPATH, like installation instructions of SOAP and AXIS
says. It doesnt work (copying the files all works fine). This is my
to install Apache
SOAP and AXIS not copying the jar files into Tomcat5/common/lib but setting
their paths in CLASSPATH, like installation instructions of SOAP and AXIS
says. It doesnt work (copying the files all works fine). This is my
CLASSPATH:
C:\Servidor web\AXIS 1.1\lib\axis.jar;C:\Servidor web\XML
On Fri, Aug 20, 2004 at 12:29:25PM +0200, Javier wrote:
: Does Tomcat use this CLASSPATH? How can I tell Tomcat to use that?
You *really* want to follow standards here, and using a classpath env
var with a webapp is not quite standard.
Review the servlet spec. Do a search for WEB-INF/lib
their own extensions. Due to the complexity of J2EE
class loading, having the Sun (or any other) J2EE jar in
the classpath results in mixed resolutions - some classes
come from the desired location, others from the wrong
(possibly incompatible) one. Leads to much head-scratching.
So
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98
So its primarily a classpath issue? I.e. its not a case of *don't
use J2EE* and ensure your classpath order is right.
Well, you are using J2EE, just not the Sun
Return Receipt
Your RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98
document
=/usr/local/tomcat
DAEMON_HOME=/usr/local/tomcat/bin
TOMCAT_USER=db2inst1
TMP_DIR=/var/tmp
CATALINA_OPTS=
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar:\
$CATALINA_HOME
case $1 in
start)
#
# Start Tomcat
#
$DAEMON_HOME/jsvc
(Test);
System.out.println(input stream from context class loader ... : +
istream );
%
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 9:58 PM
Subject: Re: problem with classpath
You can achieve this by using
: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 9:58 PM
Subject: Re: problem with classpath
You can achieve this by using the thread context class loader..
Thread.currentThread().getContextClassLoader().getResourceAsStream(client1.
properties
(Test.properties);
If the file is in the classpath, you must call
cl.getResourceAsStream( /Test.properties )
Review the JavaDoc for getResourceAsStream() -- there are differences
between calling it with and without the preceding / on a filename.
-QM
--
software -- http://www.brandxdev.net
tech
Subject: Re: problem with classpath
On Mon, Jun 28, 2004 at 01:44:47PM +0530, Ankit Doshi wrote:
: I tried this, but the getResourceAsStream method always returns null.
: InputStream istream =
:
cl.getResourceAsStream(/usr/local/tomcat/webapps/test/WEB-INF/classes/Test.
: properties);
: istream
/common_application_classes/ folder.
I want to setup a common tomcat (preferabbly tomcat3, or tomcat4) for all
these clients, but how should I setup the classpath?
/usr/local/common_application_classes/ should be in tomcat's classpath. But,
properties files are different for different classes, so thought
/common_application_classes/ folder.
I want to setup a common tomcat (preferabbly tomcat3, or tomcat4) for all
these clients, but how should I setup the classpath?
/usr/local/common_application_classes/ should be in tomcat's classpath. But,
properties files are different for different classes, so thought of creating
single
Guys,
Can anybody help me on this? Basically, I want to run multiple web
applications from within single tomcat instance.
- Original Message -
From: Ankit Doshi [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 11:43 AM
Subject: problem with classpath
the web application
(servlet, jsp files). The properties files are being used from the classes contained
in the /usr/local/common_application_classes/ folder.
I want to setup a common tomcat (preferabbly tomcat3, or tomcat4) for all these
clients, but how should I setup the classpath? /usr/local
i am sorry you got a wrong address here i don't know who you are and what
you are talking about
they compile without problem (we set the classpath
to WEB-INF/classes to make sure everything is picked up). However, at
run-time, we get a NoClassDefFoundError on some of the classes package (but
not all).
The directory structure I have is as follows:
WEB-INF /
classes /
search /
dbBean
Me again :-(
OK, it's not the default dir, I copied all the relevant files and *.dtd to
c:\windows\system32 and it still didn't work. I added %CATALINA_HOME%\bin
to the classpath and copied all the files and *.dtd to the bin folder. This
works 100% when run via startup.bat, but *not* when run
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 between the webapps
On 5/3/2004 4:26 PM, Honza Spurn wrote:
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
, May 03, 2004 10:26
To: Tomcat Maillisting
Subject: Setting classpath out of the webapp directory
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
it's easy :)
put your classes or jars to be *shared by your webapps* into
the directory ---%TOMCAT_HOME%\shared\classes or
%TOMCAT_HOME%\shared\lib
Regards,
Potomac
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Eric Noel wrote:
On 5/3/2004 4:26 PM, Honza Spurn wrote:
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
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 between the webapps.
I'm sure it is possible to do
directory for classes?
Thanks a lot for help
Honza S.
Eric Noel wrote:
On 5/3/2004 4:26 PM, Honza Spurn wrote:
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
Hi,
I want to have only one file of
this class -- I don't want to copy classes between the webapps.
Why?
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
Shapira, Yoav wrote:
Hi,
I want to have only one file of
this class -- I don't want to copy classes between the webapps.
Why?
Yoav Shapira
Beacuase when you are developing both webapps at the same time, duplicates
leads into some data inconsistences, doesn't it?
Honza S.
This e-mail,
Hi,
Beacuase when you are developing both webapps at the same time,
duplicates
leads into some data inconsistences, doesn't it?
Not if your development and deployment process is well-controlled.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication,
Shapira, Yoav wrote:
Hi,
Beacuase when you are developing both webapps at the same time,
duplicates
leads into some data inconsistences, doesn't it?
Not if your development and deployment process is well-controlled.
Yoav Shapira
OK, you are right, but I think, is really better to have
. Then
you're only developing one place. Each time you make a new version of
this shared library, you deploy it to all the applications that use it.
This is elementary development process engineering. Don't waste your
time hacking around strange classpath configurations, you'll get only
headaches
Hi,
I think I'm not concerned by your message.
Thanks in advanced to delete my adress from your list of users.
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoye : lundi 3 mai 2004 15:17
A : Tomcat Users List
Objet : RE: Setting classpath out of the webapp directory
I'm having classpath trouble when I start Tomcat 5.0.19 with the Start
Tomcat shortcut that points to C:\Tomcat50\bin\tomcatw.exe
//GT//Tomcat5
I want to include a directory that is outside of the tomcat install dir,
e.g. c:\mydir, but I don't know how to add that directory to the
classpath.
I
On Mon, May 03, 2004 at 10:46:50AM -0700, Justin McReynolds wrote:
: I want to include a directory that is outside of the tomcat install dir,
: e.g. c:\mydir, but I don't know how to add that directory to the
: classpath.
:
: I can edit setclasspath.bat to include that directory, and then start
Run the command:
tomcatw //ES//Tomcat5
(or right-click on the sys-tray icon), and add your directory to the Image
Path.
Justin McReynolds [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm having classpath trouble when I start Tomcat 5.0.19 with the Start
Tomcat shortcut that points
hello !
where do we specify the classpath when when we launch tomcat 5 as service ?
we tried to put the classpath in 'catalina.bat', in the tomcat configuration
program (configure tomcat) but it seems that all this has no effect :/
and, an other problem:
isn't it possible to update jars
Number X, which
specifies the -Djava.class.path setting.
Hope this helps,
Mark
Vincent Lévin wrote:
hello !
where do we specify the classpath when when we launch tomcat 5 as service ?
we tried to put the classpath in 'catalina.bat', in the tomcat configuration
program (configure tomcat
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
] Compiling 1 source file
.../work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42
symbol : class UserData
location: class org.apache.jsp.savename_jsp
UserDAta user = null
I suspect this is a classpath issue but everything I read says that if you
put your
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
it. isn't there a way of telling tomcat or at least
this one context the classpath for tools.jar e.g. via web.xml ?
thanks,
Matthias
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I installed Tomcat 5.0.1.9 on Windows 2000.
When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat ,
nothing happens, and no tomcat icon appears.
When i go to bin directory and run startup-using-launcher.bat , I get an
exception :
java.lang.NoClassDefFoundError:
-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?
Date: Sat, 3 Apr 2004 14:52:43 +0200
Hi,
I installed Tomcat 5.0.1.9 on Windows 2000.
When I run Start menu- programs - Apache Tomcat 5.0 - Start Tomcat
1 - 100 of 966 matches
Mail list logo