Jason Bainbridge schrieb:
On 6/8/05, Torsten Römer <[EMAIL PROTECTED]> wrote:
Just want to follow up on this.
Originally, the classes under /WEB-INF/classes were in a JAR file, which
I put in /WEB-INF/lib, but like this I always got NoClassDefFoundError.
So I thought there may be som
On 6/8/05, Torsten Römer <[EMAIL PROTECTED]> wrote:
> Just want to follow up on this.
>
> Originally, the classes under /WEB-INF/classes were in a JAR file, which
> I put in /WEB-INF/lib, but like this I always got NoClassDefFoundError.
>
> So I thought there may be some
Just want to follow up on this.
Originally, the classes under /WEB-INF/classes were in a JAR file, which
I put in /WEB-INF/lib, but like this I always got NoClassDefFoundError.
So I thought there may be something wrong with the JAR file. I then
zipped the classes manually and replaced the
Class.forName(), which occasionally fails with a NoClassDefFoundError.
One time everything seems to work fine, another time, after a restart of
Tomcat, I sometimes get this error.
In a pretty old post here I read that I have to add the classes in
question (they are all in WEB-INF/classes) to
re the its classes are defined).
NoClassDefFoundError means that more than one matching class is found
in the classpath so your servlet's jar must contain a class that your
JSP's jar does or something related to that.
Regards,
--
Jason Bainbridge
http://kde.org - [EMAIL PROTECTED]
Pe
Does your servlet do anything like modify tomcat properties etc??
Seems liek an unusual problem to me - one that I have not encoutered!!
-Anoop
On 5/3/05, Ferrari Laura <[EMAIL PROTECTED]> wrote:
>
>
>
> I am working with Tomcat 5.0
>
> In a working webapp \ondemand (with only jsp) I added a
I am working with Tomcat 5.0
In a working webapp \ondemand (with only jsp) I added a servlet.
The servlet work correctly but the jsp is not able to find the
lib/engine.jar (where the its classes are defined).
Without Servlet the JSP works.
With servlet I can not have my index.jsp
I tr
d though? Anyway, I moved the libs up next to Armanta.jar in the lib
>dir and it works fine.
>
>Thanks
>
>Eric
>
>-Original Message-
>From: reynir [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 05, 2005 3:53 PM
>To: Tomcat Users List
>Subject: Re: NoClass
3:53 PM
To: Tomcat Users List
Subject: Re: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
hi,
This is a simple class not found exception, that would be fixed if you
add the avalon jars into WEB-INF/lib
The classloader can not find : org.apache.avalon.framework.logger.Logger
This
pache.org
>Subject: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
>
>All
>
>
>
>I recently downloaded tomcat version 5.0.28 and created a webapp in the
>webapps directory which looks as follows:
>
>
>
>
>
>webapps
>
>
Fyi, I am running java 1.4.1_07 on windows XP
-Original Message-
From: Eric J Kaplan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 2:44 PM
To: tomcat-user@jakarta.apache.org
Subject: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
All
I recently downloaded
)
at java.lang.Thread.run(Thread.java:595)
>From the source code for StandardContext.java, line 4141 is:
TldConfig tldConfig = new TldConfig();
What I don't understand is how there can be a NoClassDefFoundError for
TldConfig when:
1. TldConfig is clearly imported in line 85:
All
I recently downloaded tomcat version 5.0.28 and created a webapp in the
webapps directory which looks as follows:
webapps
armanta-war
WEB-INF
lib
armanta.jar
armanta.jar has two classes in it, my servlet and a class u
Deployer throws NoClassDefFoundError for DigesterFactory
>
>Hi,
>
>I'm trying to run the Tomcat Deployers (Tomcat 5.0.28, Ant 1.6.2,
>Windows 2000 Pro & Cygwin shell) default Ant script for my web
>application. For some reason, the validator-task fails every time
>with
Hi,
I'm trying to run the Tomcat Deployers (Tomcat 5.0.28, Ant 1.6.2,
Windows 2000 Pro & Cygwin shell) default Ant script for my web
application. For some reason, the validator-task fails every time
with a NoClassDefFoundError. If I comment the task out, everything
works fine.
I
Hi QM,
Thanks for the reply
We have not done any change to the application during server restart. We
tried to deploy the application from the WAR file again and we are facing
the NoClassDefFoundError.
Avinash R S
- Original Message -
From: "QM" <[EMAIL PROTECTED]>
T
On Tue, Sep 07, 2004 at 10:36:29PM +0530, Avinash R S wrote:
: - Root Cause -
: java.lang.NoClassDefFoundError: ssbi/bean/SSBIUserMessage
:
: Prior to restarting the server I didn't have this issue. The classes referred
: in the above Exceptions, exist in the correct location.
Are there a
Hi ,
I have a production tomcat system which is remotely managed for me . Few days back we
had a Server System restart and after the restart we are finding the following errors
on the server.
2004-09-04 15:58:50 StandardWrapper[/ssbi:birmPortalServlet]: Waiting for 9
instance(s) to be dealloc
Hi,
Tomcat already ships with and uses commons-logging, and that's why this
is not trivial. So you need to be careful, and understand the
difference between a ClassNotFoundException and a NoClassDefFoundError.
(As an aside, this is a good interview question, I bet less than one in
five
Hello,
I am using tomcat 5.0.25. One of my jar web applications requires
the commons-logging.jar file. However, no matter where I put it (server/lib,
common/lib, shared/lib, webapps/app/WEB-INF/lib) I get a
NoClassDefFoundError. I am completely clueless about this.
It would be
Hi,
>My application is in $CATALINA_HOME/webapps/ROOT/matrici
Move everything one level up: from webapps/ROOT/matrici to
webapps/matrici.
Yoav
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/
Try to put the axis.jar under $CATALINA_HOME/shared/lib.
Which version of Tomcat are you using?
Bye,
Paolo Martinelli
IrisCube Reply S.p.A.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 6/10/2004 12:37
To: tomcat-user
Subject: Re: NoClassDefFoundError
> Is your webapp in "ROOT"? That's usually the default application for Tomcat and
> your own app would be in a named context. Assuming you are doing the latter,
> and your named context is "mycontext", you'd put it in:
>
> $CATALINA_HOME/webapps/mycontext/WEB-INF/lib
>
> Jake
My application is i
Is your webapp in "ROOT"? That's usually the default application for Tomcat and
your own app would be in a named context. Assuming you are doing the latter,
and your named context is "mycontext", you'd put it in:
$CATALINA_HOME/webapps/mycontext/WEB-INF/lib
Jake
Quoting "[EMAIL PROTECTED]" <[E
Try to move that file to $CATALINA_HOME/common/lib
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 11:50 AM
To: tomcat-user
Subject: NoClassDefFoundError
Hi all!
I'm new to Tomcat.
I have a problem testing my web application
Hi all!
I'm new to Tomcat.
I have a problem testing my web application (jsp pages)
A page of this application fails with this exception:
javax.servlet.ServletException: org/apache/axis/client/Service
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
javax.servlet.
PROTECTED]
-Original Message-
From: Worley Brent - bworle [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 3:22 PM
To: '[EMAIL PROTECTED]'
Subject: NoClassDefFoundError
Hi everyone,
I'm fairly new to Java and Tomcat. I hope this problem can be easily
explained.
I
ssage-
From: None None [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 3:35 PM
To: [EMAIL PROTECTED]
Subject: RE: NoClassDefFoundError
Are you importing class Search in SearchSession? I can't tell from your
post, but I suspect you may be asusming that doing the import in the JSP
mak
import of
what they need, whether it's an entire package with the .* notation, the
specific class your using.
From: Worley Brent - bworle <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROT
Hi everyone,
I'm fairly new to Java and Tomcat. I hope this problem can be easily
explained.
I am using Tomcat 5.0.24.
I have an application, packaged it in a WAR file, and deployed it. This
application has a login page. After logging in, the application redirects
to a page named search.jsp.
You would get more responses if you actually provided the stacktrace you are
getting. There are a few reasons for NoClassDefFoundError such as the same
library being loaded by different classloaders and your library ending up using
some classes from one and others from the other. Or, a class you
Hi.
I need help urgently with this NoClassDefFoundError issue. I was asked to
port over my application which currently is on
Apache 1.3.23 on Madrake 9.0, Tomcat 3.3.1, mod_jk 1.1.0, mySQL 3.23.51
to a Windows-based system.
Currently I am using
Win2000 Server, J2Se 1.4.1, Apache 2.0.43
Hi.
I need help urgently with this NoClassDefFoundError issue. I was asked to
port over my application which currently is on
Apache 1.3.23 on Madrake 9.0
Tomcat 3.3.1
mod_jk (for Apache 1.3.23)
mySQL 3.23.51
to a Windows-based system.
Currently I am using
Win2000 Server
J2Se 1.4.1
Apache
Hi.
I need help urgently with this NoClassDefFoundError issue. I was asked to
port over my application which currently is on
Apache 1.3.23 on Madrake 9.0
Tomcat 3.3.1
mod_jk (for Apache 1.3.23)
mySQL 3.23.51
to a Windows-based system.
Currently I am using
Win2000 Server
J2Se 1.4.1
Apache
Hi,
I am running TC 4.1.29 on Linux with jdk 1.4.2. I have two machines that are set up to
be quite similar.
Occasionally when I start tomcat my log contains such things as:
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener (from one machine)
or
java.lang.NoClassDefFoundErro
Howdy,
>One more note that may (or may not) be relevant: I am running Tomcat
with
>a dedicated solaris user ID, not as root.
Same here. Tomcat 5.0.16 zip downloaded from apache main distribution
site, Solaris 8 (with all OS patches), JDK 1.4.2.
Yoav Shapira
This e-mail, including any attac
One more note that may (or may not) be relevant: I am running Tomcat with a dedicated
solaris user ID, not as root.
-Original Message-
From: ext Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:39 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
--Original Message-
From: ext Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:39 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError: Digester
Howdy,
>This could be a bug on the latest distribution of Tomcat 5.0.16 for
>Solaris. I just did a standard inst
Howdy,
>This could be a bug on the latest distribution of Tomcat 5.0.16 for
>Solaris. I just did a standard install from scratch, modified the
>Connector ports to new numbers (to avoid conflicts with previous
install),
>renamed localhost to the real machine name in and
in
>, and nothing else.
This could be a bug on the latest distribution of Tomcat 5.0.16 for Solaris. I just
did a standard install from scratch, modified the Connector ports to new numbers (to
avoid conflicts with previous install), renamed localhost to the real machine name in
and in , and nothing else. I had the s
OTECTED]
> Sent: Thursday, January 15, 2004 10:04 AM
> To: Tomcat Users List
> Subject: RE: NoClassDefFoundError
>
>
> My structure of tomcat is :
>
>
>
> /usr/tomcat : Tomcat Directory
>
> /usr/tomcat/webapps/soap/ : my app directory
>
> /usr/tomcat/web
27;origine-
De : Larry Isaacs [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 15 janvier 2004 15:53
À : Tomcat Users List
Objet : RE: NoClassDefFoundError
Where exactly is the lib123.soap.sms.SmsDriverSOAP class
located (jar and directory) and where are the
org.apache.soap.* classes listed in the s
Thursday, January 15, 2004 8:56 AM
> To: Tomcat Users List
> Subject: RE: NoClassDefFoundError
>
>
> Thankds Stephen for the idea but it doesn't work also.
> This is my error :
>
>
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>
Windows System Engineer
ISD - N.V. Organon
P.O. Box 20
5340 BH Oss
The Netherlands
Ext.: +31 (0) 412 665076
mailto:[EMAIL PROTECTED]
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: donderdag 15 januari 2004 14:56
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
phen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 15 janvier 2004 14:50
À : Tomcat Users List
Objet : RE: NoClassDefFoundError
Try extracting the JAR's contents into the webapp/WEB-INF/classes directory,
check the class exists and restart tommy.
-Original Message-
From: Xavier ANDRE [m
Try extracting the JAR's contents into the webapp/WEB-INF/classes directory,
check the class exists and restart tommy.
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: 15 January 2004 08:32
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
Hi again,
I t
: Re: NoClassDefFoundError
Actually, since he is using TC 3.3, the correct link is:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#configuring_classes.
However, it is similar to the TC 4 structure, just with different directory
names :).
"Mike Curwen" <[EMAIL PROTECTED]>
Thankds guys.
I will try now...
Have a good day
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Bill Barker
Envoyé : jeudi 15 janvier 2004 07:39
À : [EMAIL PROTECTED]
Objet : Re: NoClassDefFoundError
Actually, since he is using TC 3.3, the correct link is:
:27 AM
> To: Tomcat Users List
> Subject: RE: NoClassDefFoundError
>
>
> If I put a jar file in classpath, how can I do that ?
>
> In which directory do I put my jar file ?
> Must I modify a file ?
>
> Xavier André
>
> -Message d'origine-
> De : Shapira, Yo
Sorry if I botched it. If I did, it was inadvertent.
- Sincerely, MOD
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
>
> Howdy,
>
> >"...Sorry to point this out again, but don't forget
> to
> >trim what can be trimmed in replies..." - I'm not
> sure
> >I know what you mean by this.
>
> He mea
Howdy,
>"...Sorry to point this out again, but don't forget to
>trim what can be trimmed in replies..." - I'm not sure
>I know what you mean by this.
He means basic mailing list etiquette, which I've long since given up
for this list :( See the "should I quote" question here, for example:
http:
Hi Giuliano,
You're correct. I see now that the JARs in
TOMCAT_HOME/server/lib are specific to Tomcat, and are
not visible to applications. Thanks for correcting
me. - MOD
"...Sorry to point this out again, but don't forget to
trim what can be trimmed in replies..." - I'm not sure
I know what y
At 11:24 am -0800 2004/01/14, Michael Duffy wrote:
I believe Tomcat ignores any system environment
variable CLASSPATH.
When Tomcat starts, it assumes the CLASSPATH for your
Web app consists of:
[...]
(3) All the JARs in the TOMCAT_HOME/server/lib, which
are visible only to Tomcat,
I am not so sure
t; [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, January 14, 2004 11:27 AM
> > To: Tomcat Users List
> > Subject: RE: NoClassDefFoundError
> >
> >
> > If I put a jar file in classpath, how can I do
> that ?
> >
> > In which directory do I
rs List
> Subject: RE: NoClassDefFoundError
>
>
> If I put a jar file in classpath, how can I do that ?
>
> In which directory do I put my jar file ?
> Must I modify a file ?
>
> Xavier André
>
> -Message d'origine-
> De : Shapira, Yoav [mailto
: RE: NoClassDefFoundError
Howdy,
Read the classloader how-to in the tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, January 14, 2004 8:45 AM
>To: Tomcat Users List
>Subject: RE: NoClassDe
Howdy,
Read the classloader how-to in the tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, January 14, 2004 8:45 AM
>To: Tomcat Users List
>Subject: RE: NoClassDefFoundErr
EMAIL PROTECTED]
Envoyé : mercredi 14 janvier 2004 14:40
À : Tomcat Users List
Objet : RE: NoClassDefFoundError
Howdy,
We got your email, rest assured ;) I noticed a couple of things:
First, the stack trace is for a ClassNotFoundException, which is very different from a
NoClassDefFoundError t
Howdy,
We got your email, rest assured ;) I noticed a couple of things:
First, the stack trace is for a ClassNotFoundException, which is very different from a
NoClassDefFoundError that you mention in your message. It's usually easier to fix:
place the jar with the missing class o
Please I really need help !!!
Is someone receive my mail ?
-Message d'origine-
De : Xavier ANDRE
Envoyé : mercredi 14 janvier 2004 09:38
À : Tomcat Users List
Objet : NoClassDefFoundError
Importance : Haute
Hi,
I've got en NoClassDefFoundError when I'm calling a m
Hi,
I've got en NoClassDefFoundError when I'm calling a method of a SOAP
service which is deployed on my Tomcat Server.
To start TOMCAT, I use these code, which is launched in my JVM :
String[] args = new String[]{"start"};
org.apache.tomcat.startup.Main.main(ar
Delray [mailto:[EMAIL PROTECTED]
>Sent: Monday, January 05, 2004 5:14 PM
>To: 'Tomcat Users List'
>Subject: RE: NoClassDefFoundError : Digester
>
>No webapps can see any JARs in server/lib. I'm not familiar with
Balancer,
>but I would guess Digester wi
bject: NoClassDefFoundError : Digester
I set up Tomcat successfully but when I added the following to my server.xml
file I get NoClassDefFoundError from tomcat:
from the catalina_log file (note I do have commons-digester.jar in the
server/lib directory):
2004-01-05
I set up Tomcat successfully but when I added the following to my server.xml file I
get NoClassDefFoundError from tomcat:
from the catalina_log file (note I do have commons-digester.jar in the server/lib
directory):
2004-01-05 16:19:52
Yoav Shapira
---Original Message---
> From: Shapira, Yoav <[EMAIL PROTECTED]>
> Subject: RE: NoClassDefFoundError: Digester
> Sent: 22 Dec 2003 10:25:05
>
> Howdy,
> You need the commons-digester library to use the balancer webapp.
> There's a copy in $CATALINA_HO
apparently I have several. It looks like two came with redhat linux. one in
/usr/share/java/commons-digester-1.5/ and 1 in usr/local/commons-digester-1.5
---Original Message---
> From: Shapira, Yoav <[EMAIL PROTECTED]>
> Subject: RE: NoClassDefFoundError: Digest
PROTECTED]
>Sent: Saturday, December 20, 2003 8:07 PM
>To: [EMAIL PROTECTED]
>Subject: NoClassDefFoundError: Digester
>
>what does this mean?
>
>2003-12-20 14:43:11 StandardContext[/balancer]Exception starting filter
>BalancerFilter
>java.lang.NoClassDe
what does this mean?
2003-12-20 14:43:11 StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:107)
at org.apache.webapp.balancer.RulesParser.
ginal Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:
Friday, December 12, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: JK2 and NoClassDefFoundError of HttpMessages
Hi,
I am trying Tomcat 5.0.16 with mod_jk2v2.0.2, Apache 2.0.47 on Fodora
Linux Core1.
When I start Tomcat wi
riday, December 12, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: JK2 and NoClassDefFoundError of HttpMessages
Hi,
I am trying Tomcat 5.0.16 with mod_jk2v2.0.2, Apache 2.0.47 on Fodora
Linux Core1.
When I start Tomcat without -security, I have no problem.
When I start Tomcat with -security and
bug=0
Hope this helps.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 11:47 AM
To: [EMAIL PROTECTED]
Subject: JK2 and NoClassDefFoundError of HttpMessages
Hi,
I am trying Tomcat 5.0.16 with mod_jk2v2.0.2, Apache 2.0.
Hi,
(B
(BI am trying Tomcat 5.0.16 with mod_jk2v2.0.2, Apache 2.0.47 on Fodora
(BLinux Core1.
(B
(BWhen I start Tomcat without -security, I have no problem.
(BWhen I start Tomcat with -security and I use
(Bdomain_name:8080/servlet/ListRoomsServlet, again I have no problem
(B(ListRoomsServle
Hi,
I have a program using third party Web Services
implementation, which internally needs to load
javax.xml.namespace.QName. This class is in some of
the jar files( jaxrpc.jar, wsdl4j.jar, and
jaxrpc-api.jar ) under WEB-INF/lib.
When I deploy the app to my local Tomcat 4.0.4 on
Windows 2000 mac
nk.do?... first, I got this error.
I looked into catalina.out, there was no permission exception.
-Original Message-
From: Jean-Francois Arcand [mailto:[EMAIL PROTECTED]
Sent: June 23, 2003 4:42 PM
To: Tomcat Users List
Subject: Re: [REPOST]Tomcat with security manager + NoClassDefFoundErro
---
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: June 23, 2003 3:48 PM
To: Tomcat Users List
Subject: Re: [REPOST]Tomcat with security manager + NoClassDefFoundError
Was just doing a bit of reading:
http://jakarta.apache.org/struts/userGuide/installation.html
Running Struts Applications U
omcat with security manager + NoClassDefFoundError
Was just doing a bit of reading:
http://jakarta.apache.org/struts/userGuide/installation.html
Running Struts Applications Under A Security Manager
Many application servers execute web applications under the control of a
Java
security man
bers";
It still seems strange though that it was throwing a NoClassDefFoundError, can
you maybe try the above as an alternative fix and see if that resolves the
problem?
Regards,
--
Jason Bainbridge
http://jblinux.org
On Tue, 24 Jun 2003 03:30, Phillip Qin wrote:
> I even deleted se
[mailto:[EMAIL PROTECTED]
Sent: June 23, 2003 2:53 PM
To: Tomcat Users List
Subject: Re: [REPOST]Tomcat with security manager + NoClassDefFoundError
What other struts.jar files have you got laying around? Have you maybe got
one
in common/lib? I'm not sure why setting a grant like that would m
cat with security manager + NoClassDefFoundError
>
>1. There is no struts installation at all outside Catalina directories on
>this production box.
>2. There are two webapps using struts, but struts.jars are located in
>webapps/myapp1/WEB-INF/lib and webapps/myapp2/WEB-INF/lib respective
ECTED]
Sent: June 23, 2003 3:01 PM
To: Tomcat Users List
Subject: Re: [REPOST]Tomcat with security manager + NoClassDefFoundError
NoClassDefFound is not the same as ClassNotFound...NoClassDefFound
typically means Tomcat is confused about which class you want it to use. I
agree with Jason, I thin
-0400, Phillip Qin
<[EMAIL PROTECTED]> wrote:
Typo, it is WEB-INF/lib.
When there is no grant entry for this jar, tomcat throws
"NoClassDefFoundError".
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: June 23, 2003
2:44 PM
To: Tomcat Users List
Jason Bainbridge [mailto:[EMAIL PROTECTED]
>Sent: Monday, June 23, 2003 2:53 PM
>To: Tomcat Users List
>Subject: Re: [REPOST]Tomcat with security manager + NoClassDefFoundError
>
>What other struts.jar files have you got laying around? Have you maybe got
>one
>in common/lib?
What other struts.jar files have you got laying around? Have you maybe got one
in common/lib? I'm not sure why setting a grant like that would make a
NoClassDefFoundError go away, maybe it tricks the classloader into looking at
a specific class somehow.
Either way I don't think you
Good eye, Jason.
John
On Tue, 24 Jun 2003 02:43:59 +0800, Jason Bainbridge <[EMAIL PROTECTED]>
wrote:
On Tue, 24 Jun 2003 02:41, Phillip Qin wrote:
I solved this problem by including a grant entry
grant codeBase "file:${catalina.home}/webapps/myapp/WEB-INF/struts.jar"
{
permission java.secu
Typo, it is WEB-INF/lib.
When there is no grant entry for this jar, tomcat throws
"NoClassDefFoundError".
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: June 23, 2003 2:44 PM
To: Tomcat Users List
Subject: Re: [REPOST]Tomcat with securi
On Tue, 24 Jun 2003 02:41, Phillip Qin wrote:
> I solved this problem by including a grant entry
>
> grant codeBase "file:${catalina.home}/webapps/myapp/WEB-INF/struts.jar" {
> permission java.security.AllPermission;
> };
Why isn't it in WEB-INF/lib ? That is probably why you had to add that gra
ty manager + NoClassDefFoundError
Is there a part in your error message that says "Root Cause"? If so, what
is it?
John
On Mon, 23 Jun 2003 14:24:36 -0400, Phillip Qin
<[EMAIL PROTECTED]> wrote:
> Don't know if this mailing list filters my post, try it again.
>
> I am frustrated.
hread.run(Thread.java:536)
-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: June 23, 2003
2:23 PM
To: '[EMAIL PROTECTED]'
Subject: tomcat-user filter
Does this mailing list filter words like NoClassDefFoundError or
security?
The message that I was
lter words like NoClassDefFoundError or security?
The message that I was posting never gets to the list.
Regards,
PQ
"The difference between 'involvement' and 'commitment'
is like an eggs-and-ham breakfast: the chicken was
'involved' - the pig was 'committed'."
Sorry, I tried to jump in before you did, save you the trouble, but I was
too late. LOL
John
On Wed, 18 Jun 2003 11:19:25 -0400, Shapira, Yoav <[EMAIL PROTECTED]>
wrote:
Howdy,
NoClassDefFoundError is not the same as ClassNotFoundException. Read
the JavaDocs for both. Search the ar
Howdy,
NoClassDefFoundError is not the same as ClassNotFoundException. Read
the JavaDocs for both. Search the archives of this list for other
people's experiences with this error.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Bob Damato [ma
I'm getting the exception below, however the class that it's saying it
cannot find is in the
WEB-INF/classes/com/valpak/j2ee/logicalresourcemapping directory for the
webapp that's throwing the exception. Is there something special I need
to do to get the webapp to look there to find the class?
===
No ... i don't have any others jars ... and i didn't set classpath or other variables
Thence i'm confused ...
I'm attaching sample for better recognition
Anna
### test.jsp ##
<%@ page language="java" %>
<%@ page import="java.util.*, java.
For better recognition
Anna
### test.jsp ##
<%@ page language="java" %>
<%@ page import="java.util.*, java.io.*, java.net.*, java.text.*,
java.lang.*, java.util.jar.*, headline.*" %>
Untitled
<%
String szPath = "\\
No ... i don't have any others jars ... and i didn't set classpath or other
variables
Thence i'm confused ...
NoClassDefFoundError i retrieved by Jswat with remote debug ... and it was
caught in servlet created from jsp file in
/work/standalone/localhost...
On Sun, 15 Jun 200
I forgot mention that i get error returned from tomcat when i tested it on
headlines from sourceforge
but i in first my mail described it on finction sample and attached error
listing .. and i rewrited it to headline/MyInter
i forgot rewrite the second ocurence ... in root case
my mistake ...
On Mon, 16 Jun 2003 00:14, Anna wrote:
> yes ... i tryed source from this project
>
> but i don't have any headlines.jar in classpaths/libpaths of tomcat
Sorry but I don't believe you. :) Otherwise where did that error come from?
Just do a search for headlines.jar I'm sure you've missed it, eithe
yes ... i tryed source from this project
but i don't have any headlines.jar in classpaths/libpaths of tomcat
and as you saw i attached listings of files and i tested this simple sample (if your
want you can try it) which don't have any references to project from sourceforge
and it makes me
I'm guessing you have headlines.jar installed from:
http://sourceforge.net/projects/headlines/
Given the error:
root cause
javax.servlet.ServletException: net/sourceforge/headlines/Headline
Are you sure you don't have that anywhere Tomcat would be accessing it?
Regards,
--
Jason Bainbridge
h
No ... i don't have any others jars ... and i didn't set classpath or other variables
Thence i'm confused ...
I'm attaching sample for better recognition
Anna
### test.jsp ##
<%@ page language="java" %>
<%@ page import="java.util.*, java.
1 - 100 of 196 matches
Mail list logo