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:

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

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

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)
To: 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

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

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

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

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
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

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

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

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
) 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 > destroy(...) method. This is really weird behavior. > &g

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

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

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

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

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

validator 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: import file=${tomcat.home}/bin/ catalina-tasks.xml/ target name=jspc jasper validateXml=false uriroot=${webapp.path} webXmlFragment=${webapp.path}/WEB-INF/generated_web.xml

Re: validator ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Gernot
://issues.apache.org/bugzilla/show_bug.cgi?id=57558 1. What is the full stacktrace of that NoClassDefFoundError? 2. You should be able to fix this by adding catalina.jar to the list of files in catalina-tasks.xml Best regards, Konstantin Kolinko Adding catalina.jar to the list of files in catalina

Re: validator ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Konstantin Kolinko
documentation for validator 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

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:

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.init(ParserUtils.java:69)

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.init(ParserUtils.java:69)

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

Re: NoClassDefFoundError using catalina ant deploy task

2014-03-29 Thread Konstantin Kolinko
2014-03-29 15:39 GMT+04:00 Christopher Schultz ch...@christopherschultz.net: 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.

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

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.

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 I investigated more and found

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 tomcat was shut

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 MGput zookeeper*.jar on CLASSPATH at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)

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:52 -0400 I

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 environment

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

2013-06-11 Thread ruxing bao
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 Zookeeper jar had been under CLASSPATH. Do not ever use

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 Send Thread

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]

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- Hash: SHA256 Bob, On 6

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)

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

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);

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 has the log4j.jar in its lib

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 error when I try to call a smal java

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?

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 Beckett.) - Chuck

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

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 ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 24, 2010 12:01 PM Subject: Re: Help with jasypt (Java Security). NoClassDefFoundError. -BEGIN PGP SIGNED

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. and am also at similar

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: 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. I found

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

2010-05-06 Thread Greg Bondy
, 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 chuck.caldar...@unisys.com wrote: From: Greg Bondy [mailto:gbo...@starmountsystems.com] Subject: Missing commons-el.jar causes NoClassDefFoundError org/apache/commons/el

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

2010-05-06 Thread Bill Barker
Caldarale, Charles R chuck.caldar...@unisys.com 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

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

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 server.xml file. If you used

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. mailto:knst.koli...@gmail.com A. Rothman

Re: Bizarre NoClassDefFoundError

2009-11-02 Thread A. Rothman
for an 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 Any other thoughts? You could actually try

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

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 class(es

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: 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

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

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 restart Tomcat

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 ClassNotFoundException for every servlet

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.

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

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

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

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 Thomasma...@apache.org wrote: Yasemin Gokce wrote: snip/ root cause java.lang.ClassNotFoundException: org.apache.http.HttpResponseFactory snip/ That

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 fail

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 have other copies of jfreechart.jar

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
not recommended for an 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 Any other thoughts? You could actually

Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
, 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, everything is ok. 3

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
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 definition existed when the currently executing

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 try this on a truly stock Tomcat - one

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
. Date: Wed, 24 Jun 2009 22: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 actual class not being found

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
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's *not* a stock Tomcat

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
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's *not* a stock Tomcat - it's one that's been repackaged

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 generated .java file

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread A. Rothman
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...@amichais.net] Subject: Re: Bizarre NoClassDefFoundError Any other

Re: Bizarre NoClassDefFoundError

2009-06-24 Thread Bill Barker
: 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 generated .java file with the one

Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
Hello people My question is a nooby one but I don't use Java full time because I use tools that works however, I need it to work NOW. In a nutshell, my question is when Tomcat panics and gives this... ... ... javax.servlet.ServletException: java.lang.NoClassDefFoundError: user/UserData (wrong

Re: NoClassDefFoundError only on particular platform

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 5/21/2009 1:02 PM, Michael A. Repucci wrote: I'm pretty new to Tomcat, and very unfamiliar with JSP or web applications in general. I've been trying to set up an application on my system (Ubuntu 9.04) that works just fine on my

Re: NoClassDefFoundError only on particular platform

2009-05-22 Thread Roderick Timmerman
no, this doesn't help me. On Fri, May 22, 2009 at 2:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 5/21/2009 1:02 PM, Michael A. Repucci wrote: I'm pretty new to Tomcat, and very unfamiliar with JSP or web

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
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 get help from people when your first sentence is designed to annoy them

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
, 2009 at 3:13 PM, Caldarale, Charles R chuck.caldar...@unisys.com 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 get help from people

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 the original message) - Yes, we

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 chuck.caldar...@unisys.com 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 The source has been recompiled, Tomcat restarted however, same issue reoccurs. Are you positive that the UserData.class file in WEB-INF/classes/user was replaced

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
...@unisys.com wrote: 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 was replaced

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread David Smith
in Windows, it is not running as a service. On Fri, May 22, 2009 at 4:12 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError The source has been recompiled, Tomcat

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 ago). Try using javap to see

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
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 ago). Try using javap to see what's in the class file: javap -classpath %catalina_home%\webapps\test\WEB-INF\classes user.UserData Post

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. Had it been, javap would show public

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
chuck.caldar...@unisys.com 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 that the package statement isn't in there.  Had it been

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 somewhere thus running javap user.UserData

  1   2   3   >