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 s
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 myWar/META-I
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 sample
\X 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 li
: Thursday, 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-d
e:
> 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 Mai
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]
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 i
rom: David 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 d
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 pa
y 09, 2005 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
OTECTED]>
To: "'Tomcat Users List'"
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
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
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 the
> 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 ...
>
>
That's better than my version - thanks, Anoop.
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 ...
#
#
# List
> 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
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 for
> 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
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 W
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 into
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.
my app can 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 t
> From: Bagus [mailto:[EMAIL PROTECTED]
> Subject: classpath problem?
>
> > echo $CLASSPATH
> .:/www/my_tomcat_apps:/usr/local/jakarta-tomcat-5.4.4/
^
|
Want to make
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
a run -security 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 Cl
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
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
-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 o
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
er.emacs=true when 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: Cr
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:
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
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
know 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 i
alina/connector/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 all
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 han
classes 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
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 en
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 t
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 pen
, 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) relo
[EMAIL 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
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 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:/
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 t
>Sent: 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. a
: 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 (a
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 VM
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
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
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 the
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
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
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 doesn’t work (copying the files all works fine). This is my
CLASSPATH:
"C:\Servidor web\AXIS 1.1\lib\axis.jar;C:\Servidor we
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
Return Receipt
Your RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98
document
> 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 J2
s and abstract classes,
plus 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) o
ing lines to your configuration
JAVA_HOME=/usr/lib/java
CATALINA_HOME=/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:\
$CA
OTECTED]>
Sent: Monday, June 28, 2004 5:31 PM
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/
ceAsStream("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
--
context class loader ... :" +
istream );
%>
All of the above prints null
- Original Message -
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, June 27, 2004 9:58 PM
Subject: Re: probl
ot;input stream from context class loader ... :" +
istream );
istream = cl.getResourceAsStream("Test");
System.out.println("input stream from context class loader ... :" +
istream );
%>
- Original Message -
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "To
/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/common_application_classes/ should be in tomcat's classpath. But,
properties files are different for different classes
/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
s
4 11:43 AM
Subject: problem with classpath
Hello,
I am running an application for multiple clients and the setup is like the
set of classes being used are common and the property files are different
for each client. The structure looks as below :
/usr/local/common_application_classes/ - this folder
i am sorry you got a wrong address here i don't know who you are and what
you are talking about
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
hey 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 /
dbB
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
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 t
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,
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 ho
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
ile, of course. 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&
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 bet
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,
>
>> 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.
>
>
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
e
to let tomcat
could search the common/classes 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
rying 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
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 ha
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 co
ECTED]
Sent: Monday, 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
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
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 betw
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
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 po
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
>
sperException: Unable to compile class for JSP
An error occurred at line: 1 in jsp file: /savename.jsp
Generated sevlet error:
[javac] Compiling 1 source file
<...>/work/Catalina/localhost/test/org/apache/jsp/savename_jsp.java:42
symbol : class UserData
l
but i don't like 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]
To: [EMAIL PROTECTED]
Subject: RE: Problem with starting up Tomcat 5.0.1.9 using launcher - a
classpath issue?
i ad the same ive red somwere to copy tool .jar to a folder in tomcat i
tink
its comun/lib
not shure try to ad catalina_home environement variable pointing to
your
tomcat instalat
5.0.1.9 using launcher - a
classpath issue?
The 'startup-using-launcher.bat' is pretty much unmaintained at the
moment (and has nothing to do with the "Start Menu" shortcut :).
To reproduce what the shortcut should be doing, cd to the Tomcat bin
directory and run:
tomca
1 - 100 of 1018 matches
Mail list logo