Re: Fwd: NoClassDefFoundError: javax/mail/Authenticator

2024-10-25 Thread Christopher Schultz
Mark, On 10/24/24 13:10, Mark Thomas wrote: On 24/10/2024 17:07, Alan Masters wrote: I am attempting to send e-mail from Tomcat using an external mail host -    mail.btinternet.com. I have included javax.mail jar in my build path and can see javax.mail.Authenticator in this library. When t

Re: Fwd: NoClassDefFoundError: javax/mail/Authenticator

2024-10-24 Thread Mark Thomas
On 24/10/2024 17:07, Alan Masters wrote: I am attempting to send e-mail from Tomcat using an external mail host -   mail.btinternet.com. I have included javax.mail jar in my build path and can see javax.mail.Authenticator in this library. When trying to start up  apache-tomcat-9.0.91 I get

Fwd: NoClassDefFoundError: javax/mail/Authenticator

2024-10-24 Thread Alan Masters
I am attempting to send e-mail from Tomcat using an external mail host -  mail.btinternet.com. I have included javax.mail jar in my build path and can see javax.mail.Authenticator in this library. When trying to start up  apache-tomcat-9.0.91 I get IllegalStateException: Error starting child

Re: NoClassDefFoundError for SSL operations

2024-02-22 Thread Mark Thomas
On 23/02/2024 01:14, bigelytechnol...@yahoo.com wrote: This spammer has been unsubscribed and banned from re-subscribing. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users

Re: NoClassDefFoundError for SSL operations

2024-02-22 Thread bigelytechnol...@yahoo.com
Hello Dear Thanks for your reply l would use this opportunity to briefly introduce our company, Bigly Technologies Thailand, We are one of the leading importers in Asia , and the Middle East on general Goods and Equipment. On behalf of Bigly Technologies Thailand, this is the samples of the produ

AW: NoClassDefFoundError for SSL operations

2024-02-22 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Simon, > -Ursprüngliche Nachricht- > Von: Simon Arame > Gesendet: Donnerstag, 22. Februar 2024 18:06 > An: users@tomcat.apache.org > Betreff: NoClassDefFoundError for SSL operations > > We have Tomcat 9.0.81 running under OpenJDK 1.8.0_402-b06 > > Since

NoClassDefFoundError for SSL operations

2024-02-22 Thread Simon Arame
We have Tomcat 9.0.81 running under OpenJDK 1.8.0_402-b06 Since the latest OpenJDK upgrade we get some errors when trying to perform SSL Operations like obtaining the bytes of an HTTPS url or sending an email through SMTP with TLS on. Note that with the same jdk, those operations succeed when run

Re: Migration JDK11 - Tomcat 9 - NoClassDefFoundError: java/sql/Statement

2022-03-29 Thread Rob Sargent
On 3/29/22 10:54, Senguttuvan, Gopalakrishnan (CWM-NR) wrote: Hi Thomas, Thanks for the response. This issue occurred when I have start the Tomcat server in Linux-QA machine. Regards, Gopalakrishnan S Double check your runtime environment - something there is out of whack I suspect. --

RE: Migration JDK11 - Tomcat 9 - NoClassDefFoundError: java/sql/Statement

2022-03-29 Thread Senguttuvan, Gopalakrishnan (CWM-NR)
: Tomcat Users List Subject: AW: Migration JDK11 - Tomcat 9 - NoClassDefFoundError: java/sql/Statement [External]<https://connect.fg.rbc.com/community/techhub/external-email-indicator> Hello, does this error show up in IntelliJ ? Seems like there is a bug in IntelliJ: https://stackoverfl

AW: Migration JDK11 - Tomcat 9 - NoClassDefFoundError: java/sql/Statement

2022-03-25 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: Senguttuvan, Gopalakrishnan (CWM-NR) > > Gesendet: Freitag, 25. März 2022 17:13 > An: users@tomcat.apache.org > Betreff: Migration JDK11 - Tomcat 9 - NoClassDefFoundError: > java/sql/Statement > > Hi Team, > > We a

Migration JDK11 - Tomcat 9 - NoClassDefFoundError: java/sql/Statement

2022-03-25 Thread Senguttuvan, Gopalakrishnan (CWM-NR)
Hi Team, We are migrating our application from JDK8 to JDK11 (RedHat OpenJDK11). Modified the JAVA_HOME to JDK11 path. Currently we are using Tomcat version 9. (It is working fine with JDK8). Since the JDK11 won't support the JAVA_ENDORSED_DIRS, so I have removed the "-Djava.endorsed.dirs" in cat

Re: NoClassDefFoundError on ServletContextAttributeListner

2021-02-27 Thread Blake McBride
Thanks, I will check it out. On Fri, Feb 26, 2021 at 10:26 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Blake, > > On 2/26/21 14:55, Blake McBride wrote: > > I have a web app that has been running fine for many years. I tried > > upgrading to Tomcat 10.0.2 and I am getting the

Re: NoClassDefFoundError on ServletContextAttributeListner

2021-02-26 Thread Christopher Schultz
Blake, On 2/26/21 14:55, Blake McBride wrote: I have a web app that has been running fine for many years. I tried upgrading to Tomcat 10.0.2 and I am getting the following error: Feb 26, 2021 1:48:26 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring applicatio

NoClassDefFoundError on ServletContextAttributeListner

2021-02-26 Thread Blake McBride
Greetings, I have a web app that has been running fine for many years. I tried upgrading to Tomcat 10.0.2 and I am getting the following error: Feb 26, 2021 1:48:26 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class [com.sun.xml.ws.t

Re: Request for a tip with NoClassDefFoundError

2020-09-23 Thread Paul Carter-Brown
NoClassDefFoundError means that the class in question threw an exception during its static initialisation phase. Then later on whenever some code tries to access the class statically or create an instance the JVM will throw a NoClassDefFoundError. This is not the same as a class not found which

Request for a tip with NoClassDefFoundError

2020-09-23 Thread Michal Rysavy
Hello, I would like to ask for any tips that can help us to solve the problem with NoClassDefFoundError. We have a specific problem with an application (Documentum) on Tomcat (running as a container on OpenShift). Sometimes we have many NoClassDefFoundError on classes that are loaded via network

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-10 Thread Hrishikesh Gadre
nit(...) and destroy(...) methods. Most of the > times the check passes. But when I get NoClassDefFoundError, I see that > check is passing during invocation of init(...) method but not during > destroy(...) method. This is really weird behavior. > > https://gist.github.com/hgadre/efd9

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-10 Thread Hrishikesh Gadre
Hi Chris, I added a check to see if this jar file exists (and is readable) both inside the ServletFilter init(...) and destroy(...) methods. Most of the times the check passes. But when I get NoClassDefFoundError, I see that check is passing during invocation of init(...) method but not during

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-10 Thread Hrishikesh Gadre
Hi Chris, Thanks for the response. >>This looks like a different issue than you originally reported. Has that other issue gone away? Or is this the root cause of the originally-reported issue? I think it is the root cause for the original issue. As per my understanding, the FileNotFoundException

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hdishikesh, On 2/10/16 2:12 PM, Hrishikesh Gadre wrote: > Hi Chris, > > I did some more troubleshooting by enabling Tomcat debug logs. It > turns out that the class loading is failing due to > FileNotFoundException for antlr-runtime.jar file. I am no

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-10 Thread Hrishikesh Gadre
Hi Chris, I did some more troubleshooting by enabling Tomcat debug logs. It turns out that the class loading is failing due to FileNotFoundException for antlr-runtime.jar file. I am not sure why is that the case since I can see that jar file at the location mentioned. Feb 10, 2016 10:00:24 AM org

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hrishikesh, On 2/8/16 9:50 AM, Christopher Schultz wrote: > Hrishikesh, > > On 2/6/16 1:17 PM, Hrishikesh Gadre wrote: >> Thanks for the reply. Let me try this out. But do you think its a >> bug in Tomcat ? > > No. There's nothing Tomcat can do abou

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hrishikesh, On 2/8/16 9:50 AM, Christopher Schultz wrote: > Hrishikesh, > > On 2/6/16 1:17 PM, Hrishikesh Gadre wrote: >> Thanks for the reply. Let me try this out. But do you think its >> a bug in Tomcat ? > > No. There's nothing Tomcat can do abou

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hrishikesh, On 2/6/16 1:17 PM, Hrishikesh Gadre wrote: > Thanks for the reply. Let me try this out. But do you think its a > bug in Tomcat ? No. There's nothing Tomcat can do about this, aside from allowing your application to load /more/ classes on

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-06 Thread Hrishikesh Gadre
Hi Chris, Thanks for the reply. Let me try this out. But do you think its a bug in Tomcat ? Because as an application developer I should be able to invoke arbitrary application logic during the ServletFilter::destroy(...) method without bothering about the class loading related issues (Note that t

Re: Fwd: NoClassDefFoundError during graceful shutdown

2016-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hrishikesh, On 2/5/16 6:57 PM, Hrishikesh Gadre wrote: > We are getting NoClassDefFoundErrors during Tomcat graceful > shutdown process (i.e. using "catalina.sh stop" command). We are > using Tomcat with version 6.0.44. Note that this error can not

Fwd: NoClassDefFoundError during graceful shutdown

2016-02-05 Thread Hrishikesh Gadre
Hi, We are getting NoClassDefFoundErrors during Tomcat graceful shutdown process (i.e. using "catalina.sh stop" command). We are using Tomcat with version 6.0.44. Note that this error can not be reproduced consistently. I found following article on the stackoverflow.com which suggests class loader

Re: ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Gernot
> > > > task works great, but task throws > > java.lang.NoClassDefFoundError: org/apache/catalina/Globals > > I have not found any documentation for task for Tomcat 8. Is > > there any additional configuration necessary (in contrast to Tomcat > > 5.5/6/7)? >

Re: ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Konstantin Kolinko
mentation for task for Tomcat 8. Is > there any additional configuration necessary (in contrast to Tomcat > 5.5/6/7)? Thank you for the report, I filed this into Bugzilla https://issues.apache.org/bugzilla/show_bug.cgi?id=57558 1. What is the full stacktrace of that NoClassDefFoundError? 2. Yo

ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Gernot
Hi! I'm using Tomcat 8.0.18. I've following ant build.xml: ... task works great, but task throws java.lang.NoClassDefFoundError: org/apache/catalina/Globals I have not found any documentation for task for Tomcat 8. Is there any additional configuration necessary (in contras

Re: "NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver" Error while building project after Tomcat upgrade to 7.0.53 from 7.0.41 !

2014-05-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, On 5/16/14, 3:05 AM, Utkarsh Dave wrote: > I am trying to upgrade my Tomcat from 7.0.41 to the latest release > 7.0.53 available and the project build failed with below error. > > java.lang.NoClassDefFoundError: > org/apache/tomcat/util/desc

"NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver" Error while building project after Tomcat upgrade to 7.0.53 from 7.0.41 !

2014-05-16 Thread Utkarsh Dave
I am trying to upgrade my Tomcat from 7.0.41 to the latest release 7.0.53 available and the project build failed with below error. java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver at org.apache.jasper.xmlparser.ParserUtils.(ParserUtils.java:69) at org

"NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver" Error while building project after Tomcat upgrade to 7.0.53 from 7.0.41 !

2014-05-16 Thread Utkarsh Dave
I am trying to upgrade my Tomcat from 7.0.41 to the latest release 7.0.53 available and the project build failed with below error. java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver at org.apache.jasper.xmlparser.ParserUtils.(ParserUtils.java:69) at org

Re: NoClassDefFoundError using catalina ant deploy task

2014-03-29 Thread Konstantin Kolinko
2014-03-29 15:39 GMT+04:00 Christopher Schultz : > > Brendan, > > On 3/28/14, 8:51 PM, Brendan Miller wrote: >> I investigated more and found the solution... It seems like a doc >> bug in that the tutorial doesn't tell you everything you need to do >> to get deploy to work. >> >> tomcat-util.jar ne

Re: NoClassDefFoundError using catalina ant deploy task

2014-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brendan, On 3/28/14, 8:51 PM, Brendan Miller wrote: > I investigated more and found the solution... It seems like a doc > bug in that the tutorial doesn't tell you everything you need to do > to get deploy to work. > > tomcat-util.jar needs to be p

RE: NoClassDefFoundError using catalina ant deploy task

2014-03-28 Thread Martin Gainty
no bugs..just ...'undocumented features' glad you found the solution! Martin __ > Date: Fri, 28 Mar 2014 17:51:08 -0700 > Subject: Re: NoClassDefFoundError using catalina ant deploy task > From: catph...@catphive.net > To: users@tomcat.apache.org >

Re: NoClassDefFoundError using catalina ant deploy task

2014-03-28 Thread Brendan Miller
I investigated more and found the solution... It seems like a doc bug in that the tutorial doesn't tell you everything you need to do to get deploy to work. tomcat-util.jar needs to be placed in ~/.ant/lib. The tutorial says to place catalina-ant.jar there, but doesn't mention tomcat-util.jar. Th

NoClassDefFoundError using catalina ant deploy task

2014-03-28 Thread Brendan Miller
I was going through the tomcat docs and trying to use the default build.xml file provided by the appdev tutorial to deploy my war to tomcat. Example build.xml: http://tomcat.apache.org/tomcat-8.0-doc/appdev/build.xml.txt However, when I use the deploy task I always get a java.lang.NoClassDefFound

RE: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-12 Thread ruxing bao
Hi Chris, > > On 6/11/13 1:05 AM, ruxing bao wrote: > > Sorry,I can't get any more of the stack trace. > > > > We wrapped zookeepr client as a spring bean and invoked method > > "close" of zookeeper in "destory-method" of bean,in that method > > "close",zookeeper Send Thread was closed. When to

Re: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bob, On 6/11/13 1:05 AM, ruxing bao wrote: > Sorry,I can't get any more of the stack trace. > > We wrapped zookeepr client as a spring bean and invoked method > "close" of zookeeper in "destory-method" of bean,in that method > "close",zookeeper S

RE: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-11 Thread ruxing bao
access: this web application instance has been stopped > already and NoClassDefFoundError > > > From: ruxing bao [mailto:brxonl...@hotmail.com] > > Subject: RE: Illegal access: this web application instance has been stopped > > already and NoClassDefFoundError >

RE: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-11 Thread Caldarale, Charles R
> From: ruxing bao [mailto:brxonl...@hotmail.com] > Subject: RE: Illegal access: this web application instance has been stopped > already and NoClassDefFoundError > Zookeeper jar had been under CLASSPATH. Do not ever use the CLASSPATH environment variable. In a Tomcat environ

RE: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-11 Thread ruxing bao
Hi, Zookeeper jar had been under CLASSPATH. thanks, bob > From: mgai...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: Illegal access: this web application instance has been stopped > already and NoClassDefFoundError > Date: Tue, 11 Jun 2013 06:37:

RE: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-11 Thread Martin Gainty
I > > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1115) > > > > > > > > Caused by: java.lang.ClassNotFoundException: > > org.apache.zookeeper.server.ZooTrace MG>put zookeeper*.jar on CLASSPATH > > > at > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassL

RE: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-10 Thread ruxing bao
Hi Chris, > Date: Mon, 10 Jun 2013 10:18:10 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: Illegal access: this web application instance has been stopped > already and NoClassDefFoundError > > -BEGIN PGP SIGNED MESSAGE- &g

Re: Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bob, On 6/8/13 11:14 PM, ruxing bao wrote: > I'am using Zookeeper client API in java web application.When I shut > down tomcat,I am getting this error : > > > > 2013-06-07 12:01:29,676 ERROR [org.apache.zookeeper.ClientCnxn] > (xxx-startStop-1-Se

Illegal access: this web application instance has been stopped already and NoClassDefFoundError

2013-06-08 Thread ruxing bao
I'am using Zookeeper client API in java web application.When I shut down tomcat,I am getting this error : 2013-06-07 12:01:29,676 ERROR [org.apache.zookeeper.ClientCnxn] (xxx-startStop-1-SendThread(xxx.net:12183)) from xxx-startStop-1-SendThread(xxx.net:12183) java.lang.NoClassDefFoundError:

Re: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-03 Thread Pid
On 02/02/2011 09:40, henry human wrote: > Hi I get the following error when I try to call a smal java application(hello > friends!) which i placed in a jar file. the application has the log4j.jar in > its lib directory (and classpath) and calls the log4j.logger like this: > private static final L

Re: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/2/2011 8:44 AM, Caldarale, Charles R wrote: >> From: henry human [mailto:henry_hu...@yahoo.de] >> Subject: Get the following error: NoClassDefFoundError: >> org/apache/log4j/Logger > >> I get the following

RE: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-02 Thread Caldarale, Charles R
> From: henry human [mailto:henry_hu...@yahoo.de] > Subject: Get the following error: NoClassDefFoundError: > org/apache/log4j/Logger > I get the following error when I try to call a smal java > application(hello friends!) which i placed in a jar file. > the application ha

Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-02 Thread henry human
Hi I get the following error when I try to call a smal java application(hello friends!) which i placed in a jar file. the application has the log4j.jar in its lib directory (and classpath) and calls the log4j.logger like this: private static final Logger LOGGER = Logger.getLogger(Hello.class); It

RE: Help with jasypt (Java Security). NoClassDefFoundError. (works on Linux)

2010-09-24 Thread Caldarale, Charles R
> From: Steve Ryder [mailto:sry...@jsrsys.com] > Subject: Re: Help with jasypt (Java Security). NoClassDefFoundError. (works > on Linux) > I stayed with Tomcat 5.5 as it is the last stable release That's clearly not true. The current stable release of Tomcat is 6.0.29.

Re: Help with jasypt (Java Security). NoClassDefFoundError. (works on Linux)

2010-09-24 Thread Steve Ryder
so. Thanks for the advice. - Original Message - From: "Christopher Schultz" To: "Tomcat Users List" Sent: Friday, September 24, 2010 12:01 PM Subject: Re: Help with jasypt (Java Security). NoClassDefFoundError. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ste

Re: Help with jasypt (Java Security). NoClassDefFoundError.

2010-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, On 9/24/2010 12:17 PM, Steve Ryder wrote: > java.lang.NoClassDefFoundError: > org/apache/commons/lang/exception/NestableRuntimeException This is likely to be due to your placement of libraries. Aside from Chuck's comments (with which I comple

RE: Help with jasypt (Java Security). NoClassDefFoundError.

2010-09-24 Thread Caldarale, Charles R
> From: Steve Ryder [mailto:sry...@jsrsys.com] > Subject: Help with jasypt (Java Security). NoClassDefFoundError. > I am new to jasypt. So are we; it's not part of Tomcat. > Tomcat 5.0 Not supported. > Java 1.4 Not supported. Start again. (Apologies to S Becket

Help with jasypt (Java Security). NoClassDefFoundError.

2010-09-24 Thread Steve Ryder
I am new to jasypt. I have installed the commons libraries that came with the jasypt download in Apache.../common/lib. The class not being found is in one of the libraries. Tomcat 5.0, Java 1.4 running on Windows. Do I need to do something in addition to copying the jar files into common/lib? com

Re: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl

2010-05-06 Thread Bill Barker
"Caldarale, Charles R" wrote in message news:99c8b2929b39c24493377ac7a121e21f98e46de...@usea-exch8.na.uis.unisys.com... From: Greg Bondy [mailto:gbo...@starmountsystems.com] Subject: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImp

Re: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl

2010-05-06 Thread Greg Bondy
suggested, I'll add commons-el.jar to WEB-INF/lib. Thanks for the help! On Thu, May 6, 2010 at 11:50 AM, Caldarale, Charles R wrote: >> From: Greg Bondy [mailto:gbo...@starmountsystems.com] >> Subject: Missing commons-el.jar causes NoClassDefFoundError >> org/apache/commons/

RE: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl

2010-05-06 Thread Caldarale, Charles R
> From: Greg Bondy [mailto:gbo...@starmountsystems.com] > Subject: Missing commons-el.jar causes NoClassDefFoundError > org/apache/commons/el/ExpressionEvaluatorImpl (I was wondering when this would get transferred from the dev list :-) > I am migrating from Tomcat 5.5.27 to 6.0.26.

Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl

2010-05-06 Thread Greg Bondy
I am migrating from Tomcat 5.5.27 to 6.0.26. I found that an application I have running on 5.5.27 fails on 6.0.26 with the error: NoClassDefFoundError org/apache/commons/el/ExpressionEvaluatorImpl. I found that the class in question is located in commons-el.jar on 5.5.27 and that jar is missing

RE: Tomcat 6 NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource

2010-03-04 Thread Caldarale, Charles R
> From: Logan Scott [mailto:lo...@sqlist.com] > Subject: Tomcat 6 NoClassDefFoundError: > oracle/jdbc/pool/OracleDataSource > > I have verified that the only change is Tomcat -- all other server > config details remain unchanged from tomcat 5.5, including a minimalist > ser

Tomcat 6 NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource

2010-03-04 Thread Logan Scott
Hello. I am a new subscriber. I have used Tomcat 5.5 without errors for almost two years, but I am still a novice at modifying the default configuration. I have twenty servers with an identical configuration. I have just upgraded one of my servers to Tomcat 6. I have verified that the only ch

Re: Bizarre NoClassDefFoundError

2009-11-02 Thread A. Rothman
mation by setting: org.apache.catalina.loader.level=FINEST in your conf/logging.properties file on a system using a SecurityManager (very much not recommended for an active production system). I appreciate the help and suggestions from everyone here - thanks :-) Amichai Caldarale, Charle

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-11-02 Thread A. Rothman
To anyone who may stumble upon this thread looking for solutions - this bug has been investigated and fixed by Konstantin Kolinko (https://issues.apache.org/bugzilla/show_bug.cgi?id=48097). The fix should be available in Tomcat 6.0.21 and later. A. Rothman wrot

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-11-01 Thread A. Rothman
I've opened https://issues.apache.org/bugzilla/show_bug.cgi?id=48097 with a sample jsp that recreates the error. Mark Thomas wrote: A. Rothman wrote: A couple months ago I had a slightly different setting but with the same strange result - NoClassDefFoundErrors which occurred on a particul

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread Mark Thomas
A. Rothman wrote: > A couple months ago I had a slightly different setting but with the same > strange result - NoClassDefFoundErrors which occurred on a particular > jsp page in my app, but only if it was the first jsp accessed following > a restart (and remained in the error state until the next

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread A. Rothman
A couple months ago I had a slightly different setting but with the same strange result - NoClassDefFoundErrors which occurred on a particular jsp page in my app, but only if it was the first jsp accessed following a restart (and remained in the error state until the next restart). If it was no

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread Mark Thomas
M4N - Arjan Tijms wrote: > I removed the obvious suspect, a duplicate postgresql driver that > appeared in both WEB-INF/lib and [tomcat install dir]/lib. > Unfortunately this did not seem to help. Last night I needed to restart > the production server for a configuration change and I needed 22(!)

Re: RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread M4N - Arjan Tijms
Hi, Caldarale, Charles R wrote: The problem I have is that occasionally after I restart Tomcat, the startup fails with NoClassDefFoundError or ClassNotFoundException for every servlet listener that's being added from web.xml. This kind of error can be caused by having the same cla

RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread M4N - Arjan Tijms
Hi, This kind of error can be caused by having the same class(es) in multiple locations in a given branch of the classloader tree, such as in both a webapp's WEB-INF/lib and in Tomcat's lib directory (or on the system classpath). Have you checked that? Well, that's indeed a good suggestion. We

RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread Caldarale, Charles R
> From: M4N - Arjan Tijms [mailto:arjan.ti...@m4n.nl] > Subject: Occasional NoClassDefFoundError, but disappears after couple > of restarts > > The problem I have is that occasionally after I restart Tomcat, the > startup fails with NoClassDefFoundError or ClassNotFoundExc

Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread M4N - Arjan Tijms
Hi, I'm running Tomcat 6.0.16 on a 32 bit Debian Etch using Java 6 update 12. The problem I have is that occasionally after I restart Tomcat, the startup fails with NoClassDefFoundError or ClassNotFoundException for every servlet listener that's being added from web.xml. If I rest

Re: Can't access Services in Tomcat: NoClassDefFoundError for HTTPResponseFactory

2009-07-10 Thread Yasemin Gokce
Oh, I am very sorry. Thank you very much for your reply and guidance. Best regards, Yasemin On Fri, Jul 10, 2009 at 12:54 PM, Mark Thomas wrote: > Yasemin Gokce wrote: > > > >> root cause >> >> java.lang.ClassNotFoundException: org.apache.http.HttpResponseFactory > > > > That isn't a Tomcat

Re: Can't access Services in Tomcat: NoClassDefFoundError for HTTPResponseFactory

2009-07-10 Thread Mark Thomas
Yasemin Gokce wrote: > root cause > > java.lang.ClassNotFoundException: org.apache.http.HttpResponseFactory That isn't a Tomcat class. Try the axis users list. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apac

Can't access Services in Tomcat: NoClassDefFoundError for HTTPResponseFactory

2009-07-10 Thread Yasemin Gokce
Hi, I have a problem involving java web services and Tomcat and would greatly appreciate your help. CONTEXT--- I am using Windows Vista. I am following a manual* on building a b

Re: NoClassDefFoundError

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chenjh, On 6/28/2009 11:48 PM, chenjh wrote: > I often get the NoClassDefFoundError from my tomcat 5.5. I had placed > jfreechart.jar and jcommon.jar into [tomcat]/common/lib, but after > running for some time, the producing image page

RE: NoClassDefFoundError

2009-06-29 Thread Caldarale, Charles R
> From: chenjh [mailto:che...@thinker.com.cn] > Subject: NoClassDefFoundError > > I had placed jfreechart.jar and jcommon.jar into [tomcat]/common/lib, > but after running for some time, the producing image page fail with > NoClassDefFoundError. Make sure you do not ha

NoClassDefFoundError

2009-06-28 Thread chenjh
users, I often get the NoClassDefFoundError from my tomcat 5.5. I had placed jfreechart.jar and jcommon.jar into [tomcat]/common/lib, but after running for some time, the producing image page fail with NoClassDefFoundError. I had to restart the tomcat to fix it. java.lang.NoClassDefFoundError

Re: Bizarre NoClassDefFoundError

2009-06-25 Thread A. Rothman
ormation by setting: org.apache.catalina.loader.level=FINEST in your conf/logging.properties file on a system using a SecurityManager (very much not recommended for an active production system). I appreciate the help and suggestions from everyone here - thanks :-) Amichai Caldarale, Charl

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread Bill Barker
active production system). > I appreciate the help and suggestions from everyone here - thanks :-) > > Amichai > > > Caldarale, Charles R wrote: >>> From: A. Rothman [mailto:amich...@amichais.net] >>> Subject: Re: Bizarre NoClassDefFoundError >>> >&

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
there's some known issue, or something about the tomcat internals which I'm unaware of, or just something obvious and silly I've missed. I appreciate the help and suggestions from everyone here - thanks :-) Amichai Caldarale, Charles R wrote: From: A. Rothman [mailto:amich...@a

RE: Bizarre NoClassDefFoundError

2009-06-24 Thread Caldarale, Charles R
> From: A. Rothman [mailto:amich...@amichais.net] > Subject: Re: Bizarre NoClassDefFoundError > > Any other thoughts? You could actually try a real Tomcat, rather than just browsing someone's likely incomplete list of what has been changes. Have you compared the failing gen

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
and split configurations, but it's possible they actually change something meaningful. Amichai Caldarale, Charles R wrote: From: A. Rothman [mailto:amich...@amichais.net] Subject: Bizarre NoClassDefFoundError I'm running a stock tomcat 6 (6.0.18-0ubuntu6.1) Well, that'

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
und distro-related things like paths and split configurations, but it's possible they actually change something meaningful. Amichai Caldarale, Charles R wrote: From: A. Rothman [mailto:amich...@amichais.net] Subject: Bizarre NoClassDefFoundError I'm running a stock tomcat 6 (6.0.18-0u

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
:47:28 +0300 > From: amich...@amichais.net > To: users@tomcat.apache.org > Subject: Re: Bizarre NoClassDefFoundError > > You can assume it's "placed in a jar file under WEB-INF/lib" :-) > > > The thing is, I have a feeling it has nothing to do with the actu

RE: Bizarre NoClassDefFoundError

2009-06-24 Thread Caldarale, Charles R
> From: A. Rothman [mailto:amich...@amichais.net] > Subject: Bizarre NoClassDefFoundError > > I'm running a stock tomcat 6 (6.0.18-0ubuntu6.1) Well, that's *not* a stock Tomcat - it's one that's been repackaged by someone at Ubuntu. It would be interesting to

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
and nothing in the class/jar/jsp locations changes in the meanwhile. If it really couldn't find it, it wouldn't find it in any of the scenarios where it does work, no? Further, if tomcat follows the javadocs for NoClassDefFoundError, it means "The searched-for class de

Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
error, in the form of a NoClassDefFoundError (pasted fully below). Related scenario: 1. It happens only on one of the pages, which happens to be the main index.jsp. 2. It happens only when this page is the first to be accessed after a restart. If any other page is accessed before it, everythin

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Martin Gainty
; Date: Fri, 22 May 2009 17:12:03 +0100 > Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError > From: roderick.timmer...@gmail.com > To: users@tomcat.apache.org > > I concur. Just need to find out how the class file is managing to > exist after I've deleted it and shutdo

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] > Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError > > I concur. Just need to find out how the class file is managing to > exist after I've deleted it and shutdown tomcat, its lingering > somewh

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
rale, Charles R wrote: >> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] >> Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError >> >> ran the given command: >> >> public class UserData extends java.lang.Object{ > > That's proof

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] > Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError > > ran the given command: > > public class UserData extends java.lang.Object{ That's proof that the package statement isn't in there. Ha

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
); public java.lang.String getUsername(); public java.lang.String getEmail(); public int getAge(); } On Fri, May 22, 2009 at 4:45 PM, Caldarale, Charles R wrote: >> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] >> Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundErr

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] > Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError > > I'm building everything from scratch/no IDEs save the VIM editor. > Timestamp on the UserData.class is up-to-date (recompiled a few > minutes ag

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread David Smith
on its own in Windows, it is not > running as a service. > > On Fri, May 22, 2009 at 4:12 PM, Caldarale, Charles R > wrote: > >>> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] >>> Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError >>&

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
m: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] >> Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError >> >> The source has been recompiled, Tomcat restarted however, >> same issue reoccurs. > > Are you positive that the UserData.class file in WE

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] > Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError > > The source has been recompiled, Tomcat restarted however, > same issue reoccurs. Are you positive that the UserData.class file in WEB-INF/classes/user w

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
The source has been recompiled, Tomcat restarted however, same issue reoccurs. On Fri, May 22, 2009 at 3:59 PM, Caldarale, Charles R wrote: >> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] >> Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError >> >&

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] > Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError > > No clearly, this not helpful information and also I did not intend to > start a flame war. The package statement is present (as I stated in > th

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
, 2009 at 3:13 PM, Caldarale, Charles R wrote: >> From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] >> Subject: Tomcat 6.0.18 useBean NoClassDefFoundError >> >> I don't use Java full time because I use tools that works > > Interesting that you expect to g

  1   2   3   >