shoud i add the web app directory in my classpath ?
i have a application deployed as follows
webapps
|
|dms
| |
| |- jsp
|-classes
|dms
| |
| -beans
|-servlets
|-
|-
inorder to access files in the classes dms.* pakage do i have to declare it
in the class path ?
thanks in advanced
Billy V. Kan
[System: Linux, Tomcat 3.2.1, Apache 1.3.19, mod_jk]
I have a web app that uses several jar files. I have these in a lib
directory that has a symlink in my WEB-INF dir. However, they don't
seem to get picked up. It only seems to work if I put them in
TOMCAT_HOME/lib. Do I need to do some othe
I have a question about how the dynamic class path is set based upon the
.war file. I know that whatever classpath is set prior to tomcat startup is
appended to the classpath in the startup.bat. Furthermore, whatever .jar
files that reside in tomcat_home\lib are also dynamically added to the
cl
Hello;
Can anyone help with this compile error msg:
javac HelloWorld.java
HelloWorld.java:1: Package javax.servlet not found in import.
import javax.servlet.*;
^
I have included the servlet.jar in my classpath:
printenv CLASSPATH
/usr/local/jdk1.2.2/lib:/usr/local/tomcat/lib:/usr/local/a
I have placed a prop.properties file in the WEB_INF/lib directory of my
tomcat context. The servlet keep throwing an Exception saying that it cannot
find the ResourceBundle. Where should I place this file? From what I have
read, the prop.properties file should go into the WEB-INF/lib directo
I have placed a prop.properties file in the WEB_INF/lib directory of my
tomcat context. The servlet keep throwing an Exception saying that it
cannot
find the ResourceBundle. Where should I place this file? From what I have
read, the prop.properties file should go into the WEB-INF/lib directory.
Hi,
I am using tomcat version 4 as a web service provider. I have 10 web services for my
application and they all seem to compile properly. the issue is when I go to run the
application I get a java.rmi.ServerException error with a missing port.
I am nearly 95% sure that it is a problem with t
, the Deployment Organization and Source Organization
sections) for complete details.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, July 25, 2002 8:14 AM
>To: [EMAIL PROTECTED]
>Subject: classpa
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: ÐÝìðôç, 25 Éïýëéïò 2002 02:24:44 ìì
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: P]lptg, 25 Io}kior 2002 02:24:44 ll
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: P]lptg, 25 Io}kior 2002 02:24:44 ll
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
that is what ithought too. Thanks for your quick reply all of you
best Billy
---Original Message---
From: Tomcat Users List
Date: P]lptg, 25 Io}kior 2002 02:24:44 ll
To: Tomcat Users List
Subject: RE: classpath question
Hi,
You should not have the webapps directory on your classpath
No.
>From: Chris Bailey <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: classpath question
>Date: 11 Apr 2001 11:00:00 -0700
>
>[System: Linux, Tomcat 3.2.1, Apache 1.3.19, mod_jk]
>
>I have a web app that uses several
-
From: Dalia, Keith A - TOS-DITT1 [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 1:56 PM
To: '[EMAIL PROTECTED]'
Subject: Classpath Question
I have a question about how the dynamic class path is set based upon the
.war file. I know that whatever classpath is set prior
; From: Dalia, Keith A - TOS-DITT1 [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 11, 2001 10:56 AM
> To: '[EMAIL PROTECTED]'
> Subject: Classpath Question
>
>
> I have a question about how the dynamic class path is set
> based upon the
> .war file. I know
In the CLASSPATH is necessary put the name of the archive, as follow:
/usr/local/tomcat/lib/servlet.jar
--- Jian Zhang <[EMAIL PROTECTED]> escreveu: > Hello;
>
> Can anyone help with this compile error msg:
>
> javac HelloWorld.java
>
> HelloWorld.java:1: Package javax.servlet not found in imp
similar thing for each of the other jar files too.
/usr/local/tomcat/lib/servlet.jar
- Ck
Brainbench MVP Java2.
> -Original Message-
> From: Jian Zhang [mailto:[EMAIL PROTECTED]]
> Sent: 02 February 2001 11:23
> To: '[EMAIL PROTECTED]'
> Subject: ClassPath question
ROTECTED]]
> > Sent: 02 February 2001 11:23
> > To: '[EMAIL PROTECTED]'
> > Subject: ClassPath question?
> >
> >
> > Hello;
> >
> > Can anyone help with this compile error msg:
> >
> > javac HelloWorld.java
> >
MVP Java2.
> -Original Message-
> From: Jian Zhang [mailto:[EMAIL PROTECTED]]
> Sent: 02 February 2001 11:51
> To: '[EMAIL PROTECTED]'
> Subject: RE: ClassPath question?
>
>
> Thanks. I just tried "/usr/local/tomcat/lib/servlet.jar" and
> it w
On Tue, 20 Mar 2001, Mark W. Webb wrote:
> I have placed a prop.properties file in the WEB_INF/lib directory of my
> tomcat context. The servlet keep throwing an Exception saying that it cannot
> find the ResourceBundle. Where should I place this file? From what I have
> read, the prop.pr
Hey,
I am using tomcat 4.1. I have placed my jar files in the
shared directory as it is required by more than one webapp.
Unfortunately, I have two jar files which have the same
class files but with different versions. Is there any way
to specify which jar file to load the class from without
having
"Richard
Jones"Para: [EMAIL PROTECTED]
Asunto:
A problem with the classpath should indicate a classpath related exception,
which essentially is an inability to find a class. Why do you think that
hte java.rmi.ServerException fits into this pattern? If you "don't declare
where the class paths [sic] are for each application" how do you expec
Thank you for your help: I have traked the error to the catalina.log file and itis a
classnot found exception. I have made the changes but still am getting the error. I
have included my setenv.bat file to see if there are any errors that are obvious to
every but me.
Any help would again be rea
[EMAIL PROTECTED]
>Subject: Newbie classpath question
>
>Hey,
>I am using tomcat 4.1. I have placed my jar files in the
>shared directory as it is required by more than one webapp.
>Unfortunately, I have two jar files which have the same
>class files but with different versions.
En réponse à Shiva P <[EMAIL PROTECTED]>:
The version of the class in the first .jar in the classpath order must be used
when tomcat is running. I believe that tomcat uses the alphabetic order to load
the .jar files.
> Hey,
> I am using tomcat 4.1. I have placed my jar files in the
> shared direct
We are somehow linked!!! These E Mails are going to your address but landing
in my mailbox. Can you fix this somehow? Maybe it is not span so I'm sorry
to sound angry but none of this has to do with me.
Title: context related classpath question -ASAP
Tomcat documentation says that all the jars under the WEB-INF/lib directory in a context are automatically added to the CLASSPATH.
I am finding this not to be true. I have to add them explicitly to the CLASSPATH.
Am i missing something ???
We are having random problems with some of our application libraries when we
deploy them in their separate contexts. The question I have is what is the
default behavior for Tomcat to load class libraries into its CLASSPATH. Do
libraries from the $TOMCAT_HOME/lib directory get added to the CLASSP
I'm a student trying to debug a servlet under Catalina (Tomcat 4.0.1)
that calls a session bean under JBoss 2.4.3. My servlet dies horribly
unable to load (NoClassDefFoundError) javax/ejb/EJBHome which I believe
is in jboss-j2ee.jar. The appropriate directory is in my classpath.
However by check
I think the startup scripts actually add the .jar files to the CLASSPATH
variable. Are you using the normal startup scripts to start Tomcat?
At 04:42 PM 2/7/2001 -0800, you wrote:
>Tomcat documentation says that all the jars under the WEB-INF/lib
>directory in a context are automatically adde
ECTED]]Sent: Wednesday, February 07,
2001 5:13 PMTo: [EMAIL PROTECTED]Subject:
Re: context related classpath question -ASAPSrinivas
Kurella wrote:
Tomcat documentation says that all the jars under the
WEB-INF/lib directory in a context are automatically added to the
CLAS
Srinivas Kurella wrote:
Tomcat documentation says that all the jars under the
WEB-INF/lib directory in a context are automatically added to the CLASSPATH.
This is not precisely what happens.
I am finding this not to be true. I have to add them
explicitly to the CLASSPATH.
Am i missing som
Srinivas Kurella wrote:
> Craig,Thanks for the clarification. I have a servlet to be loaded on
> startup which is looking for another class. They are in different jars
> under the same app. However the servlet can't see the class.Srini
Can you create a small test case that reproduces this probl
See comments intermixed...
> -Original Message-
> From: Brett G. Palmer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 14, 2001 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: Order of libraries in CLASSPATH question?
>
>
> We are having random p
> -Original Message-
> From: Brett G. Palmer [mailto:[EMAIL PROTECTED]]
>
> We are having random problems with some of our application
> libraries when we
> deploy them in their separate contexts. The question I have
> is what is the
> default behavior for Tomcat to load class libraries i
Thanks everyone for your comments. They were very helpful.
Brett
I've recently installed Tomcat 4.1 as a service in a Windows 2000
environment.
In Linux, if I ever need to extend the CLASSPATH variable, I can do that
easily in the scripts provided.
However, I'm not clear how to do this in Windows when Tomcat was installed
as a service.
What is the correct
of the form
-config conf\server.xml
Hope that helps. If anyone else has more good information, please add.
Andrew Longley
-Original Message-
From: Ernesto Echeverria [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 8:40 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4 as a service
IL PROTECTED]>
Sent: Thursday, April 03, 2003 10:52 AM
Subject: RE: Tomcat 4 as a service in Windows and Classpath Question
What I've figured out is that you can hack the registry and modify the
java.class.path parameter. Alternatively, there is a syntax for
installing the service where y
40 matches
Mail list logo