RE: [EXTERNAL] Re: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.Element

2019-07-11 Thread Hua, Gary - Saint Louis, MO - Contractor
Paul: Thanks.I put the ehcache-3.6.3.jar and the error seemed to be gone. Gary -Original Message- From: Paul Carter-Brown [mailto:paul.carter-br...@jini.guru] Sent: Wednesday, July 10, 2019 3:42 PM To: Tomcat Users List Subject: [EXTERNAL] Re

Re: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.Element

2019-07-10 Thread Paul Carter-Brown
NoClassDefFoundError is not the same as ClassNotFoundException Typically a NoClassDefFoundError is due to a class failing its static initialisation when first loaded by the classloader. Can you check in your logs for any prior errors (even at bootup) relating to class failing to be loaded Paul

RE: java.lang.NoClassDefFoundError

2013-07-09 Thread Caldarale, Charles R
From: Thomas Edison [mailto:justdoit.thomas.edi...@gmail.com] Subject: java.lang.NoClassDefFoundError *This is what I see when I start the webhdfs service:* Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar Whatever script you're using to start Tomcat has a serious error in it:

Re: java.lang.NoClassDefFoundError

2013-07-09 Thread Thomas Edison
Thanks Chuck. Let me see if I can change the startup script. Tom On Tue, Jul 9, 2013 at 8:47 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Thomas Edison [mailto:justdoit.thomas.edi...@gmail.com] Subject: java.lang.NoClassDefFoundError *This is what I see when I

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
Am Samstag, den 25.06.2011, 11:23 +0200 schrieb Miguel Bonilla: I am trying to integrate a Java Application into a J2EE proyect using a JSP and a Servlet. I run the proyect as Java Application (in Eclipse J2EE) and works perfectly, but I run the JSP in server and fails. This is the bug

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Miguel Bonilla
Yes, I have the cxf-libraries in References Libraries. But the 'frontend' folder do not exist in cxf package. 2011/6/25 Felix Schumacher felix.schumac...@internetallee.de Am Samstag, den 25.06.2011, 11:23 +0200 schrieb Miguel Bonilla: I am trying to integrate a Java Application into a J2EE

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
Am Samstag, den 25.06.2011, 11:52 +0200 schrieb Miguel Bonilla: Yes, I have the cxf-libraries in References Libraries. But the 'frontend' Is this 'References Libraries' an eclipse thing? If so, are the libraries in your WEB-INF/lib dir - inside your webapplication inside tomcat - too? Felix

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Miguel Bonilla
Referenced Libraries is a folder in the eclipse webproyect. I added external JARs (in build path, libraries) to include CXF JARs, and eclipse puts the files into Referenced Libraries. I can't paste this files into WEB-INF/lib. But the bug with cxf/frontend is that this folder does not exist in

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
Am Samstag, den 25.06.2011, 12:57 +0200 schrieb Miguel Bonilla: Referenced Libraries is a folder in the eclipse webproyect. I added external JARs (in build path, libraries) to include CXF JARs, and eclipse puts the files into Referenced Libraries. I can't paste this files into WEB-INF/lib. But

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Yucca Nel
Either that classis part of a lib that must be included in your WEB-INF/lib or in your $CATALINA_HOME/lib directory or it needs to be included in your zipped up web app(.war). -Original Message- From: Brian Braun Sent: Thursday, May 19, 2011 5:16 PM To: Tomcat Users List Subject:

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Brian Braun
I did. On Thu, May 19, 2011 at 10:24 AM, Yucca Nel yucca...@live.co.za wrote: Either that classis part of a lib that must be included in your WEB-INF/lib or in your $CATALINA_HOME/lib directory or it needs to be included in your zipped up web app(.war). -Original Message- From:

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Mark Thomas
On 19/05/2011 16:26, Brian Braun wrote: I did. Isn't there a jstl-api-1.2.jar you need as well? Mark On Thu, May 19, 2011 at 10:24 AM, Yucca Nel yucca...@live.co.za wrote: Either that classis part of a lib that must be included in your WEB-INF/lib or in your $CATALINA_HOME/lib directory

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Brian Braun
Hi Mark, Do I also need to deploy that file? On Thu, May 19, 2011 at 10:28 AM, Mark Thomas ma...@apache.org wrote: On 19/05/2011 16:26, Brian Braun wrote: I did. Isn't there a jstl-api-1.2.jar you need as well? Mark On Thu, May 19, 2011 at 10:24 AM, Yucca Nel yucca...@live.co.za

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Mark Thomas
On 19/05/2011 16:30, Brian Braun wrote: Hi Mark, Do I also need to deploy that file? Almost certainly since that is where I would expect to find the missing class. Mark On Thu, May 19, 2011 at 10:28 AM, Mark Thomas ma...@apache.org wrote: On 19/05/2011 16:26, Brian Braun wrote: I

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Brian Braun
Thanks Mark, that was the problem! Now it runs. I'm starting to think that you know more about java than I do ;-) On Thu, May 19, 2011 at 10:33 AM, Mark Thomas ma...@apache.org wrote: On 19/05/2011 16:30, Brian Braun wrote: Hi Mark, Do I also need to deploy that file? Almost

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Brian Braun
I think I just understood what was the problem: The file that was missing contains all the intarfaces and abstract classes that declare what needs to be implemented, and the other file (that comes from Apache) implements it. I just downloaded the second file in the beginning. On Thu, May 19,

Re: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 5/19/2011 12:02 PM, Brian Braun wrote: I think I just understood what was the problem: The file that was missing contains all the intarfaces and abstract classes that declare what needs to be implemented, and the other file (that comes

Re: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-31 Thread Konstantin Kolinko
2010/5/31 Licht Jiang licht.ji...@gmail.com: java.lang.NoClassDefFoundError: Could not initialize class com.myservice.web.TestClass Could not initialize = the class is found, but its initialization failed. There can be many reasons for that, e.g. 1) missing dependent classes, 2) exception is

RE: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-30 Thread Caldarale, Charles R
From: Licht Jiang [mailto:licht.ji...@gmail.com] Subject: java.lang.NoClassDefFoundError: Could not initialize class java.lang.NoClassDefFoundError: Could not initialize class com.myservice.web.TestClass Show us the full stack trace(s); there are usually at least two in cases like this.

Re: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-30 Thread Licht Jiang
Thanks Charles for your help! java.lang.NoClassDefFoundError: Could not initialize class com.myservice.web.TestClass Show us the full stack trace(s); there are usually at least two in cases like this. Now I have no access to the service. But class TestClass is in

Re: java.lang.NoClassDefFoundError: org.apache.catalina.mbeans.ServerLifecycleListener

2008-12-20 Thread Ole Ersoy
Hmmm - I'm running with OpenJDK 1.6 (Should that have gcj stuff in it - I'm also using jsvc and APR - maybe it got mixed in somehow?): java -version java version 1.6.0_0 IcedTea6 1.4 (fedora-7.b12.fc10-i386) Runtime Environment (build 1.6.0_0-b12) OpenJDK Client VM (build 10.0-b19, mixed mode)

RE: java.lang.NoClassDefFoundError: org.apache.catalina.mbeans.ServerLifecycleListener

2008-12-19 Thread Caldarale, Charles R
From: Ole Ersoy [mailto:ole.er...@gmail.com] Subject: java.lang.NoClassDefFoundError: org.apache.catalina.mbeans.ServerLifecycleListener 19-Dec-08 2:39:58 PM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw error java.lang.NoClassDefFoundError:

RE: java.lang.NoClassDefFoundError: javax/servlet/jsp/JspApplicationContext

2008-01-23 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: javax/servlet/jsp/JspApplicationContext Did you put jsp-api.jar in your webapp's WEB-INF/lib directory? You shouldn't; none of the jars or classes therein that Tomcat supplies in its lib directory may

RE: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

2008-01-17 Thread olk
Thanks Chuck, for pointing me to this. I'm just starting with tomcat and did not take a look at the \bin directory, where the tomcat-juli.jar should have jumped into my face .. :o) Caldarale, Charles R wrote: From: olk [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError:

RE: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

2008-01-16 Thread Caldarale, Charles R
From: olk [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory The org.apache.catalina.core.StandardService has an import org.apache.juli.logging.LogFactory, but the org.apache.juli in the catalina.jar of apache-tomcat-6.0.14 is empty

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Delbecq
Your download is most probably corrupted, redownload the file from server, and extract it to a fresh new folder. This kind of error can happen when one of the tomcat jar file is either corrupted or just missing. En l'instant précis du 07/01/08 11:21, Thomas Chang s'exprimait en ces termes:

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Delbecq
common/lib is not the good place to put your war's required jar files (like spring.jar). You war's required jar should go to WEB-INF/lib http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html En l'instant précis du 07/01/08 11:54, Thomas Chang s'exprimait en ces termes: I download

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Thomas Chang
This jar (spring.jar) is already in the WEB-INF/lib. common/lib is not the good place to put your war's required jar files (like spring.jar). You war's required jar should go to WEB-INF/lib http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html En

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread David Smith
Bad move. Each jar should only exist once. If it's in tomcat's common/lib, it can't exist in your webapp's WEB-INF/lib and vice-versa. I suspect this is more a spring question than a tomcat question as spring does some interesting things with the classloader. The class in question in

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Filip Hanik - Dev Lists
as the previous user mentioned, if you copy libraries to different places, and sometimes to multiple places, you're going down a path that will be hard to debug. start fresh, don't place libraries inside tomcat, unless you know what you're doing, and only use WEB-INF/lib Filip Thomas Chang

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, [EMAIL PROTECTED] wrote: later on in the index.jsp attempt to use the log line 42 onMouseUp=%log.debug(From index.jsp StringToEncrypt=); An error occurred at line: 42 in the jsp file: /index.jsp Generated servlet error: log cannot be

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread Tom Robinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Robinson wrote: Caldarale, Charles R wrote: From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap I think I've installed all the correct jars (mostly via

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread Konstantin Kolinko
I'm still not sure why the ${CATALINA_HOME}/common/lib version isn't picked up via tomcat. ./server/webapps/admin/WEB-INF/lib/[commons-collections].jar ./common/lib/[commons-collections-tomcat5].jar ./common/lib/[commons-dbcp-tomcat5].jar

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread mgainty
- Wrom: JEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCG To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, December 02, 2007 9:30 AM Subject: Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Robinson

RE: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap Common/lib is for internal use and wouldnt be expected to demand load the classes you require as is the case for the webapp WEB-INF http

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread David Smith
as is the case for the webapp WEB-INF http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Anyone? M-- - Original Message - Wrom: JEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCG To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, December 02, 2007 9:30 AM Subject: Re

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread mgainty
: WIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGS To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, December 02, 2007 12:24 PM Subject: RE: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap Wrom: WZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFD Subject

RE: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap Directory of %CATALINA_HOME%\common\lib 06/15/2004 08:29p 26,202 commons-logging-api.jar Directory of %CATALINA_HOME%\webapps

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread Tom Robinson
: JEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCG To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, December 02, 2007 9:30 AM Subject: Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap Tom Robinson wrote: Caldarale, Charles R wrote: Wrom

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread Tom Robinson
Caldarale, Charles R wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap Common/lib is for internal use and wouldnt be expected to demand load the classes you require as is the case

RE: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-12-02 Thread Caldarale, Charles R
From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap The WEB-INF/lib location works for my specific app and gives it independence from the admin app if that's using a different version. Placing

RE: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-11-30 Thread Caldarale, Charles R
From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap I think I've installed all the correct jars (mostly via jpackage and CentOS yum repos) And therein lies the problem, most likely. Throw away the

Re: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap

2007-11-30 Thread Tom Robinson
Caldarale, Charles R wrote: From: Tom Robinson [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap I think I've installed all the correct jars (mostly via jpackage and CentOS yum repos) And therein lies the problem, most

Re: java.lang.NoClassDefFoundError

2007-08-26 Thread Martin Gainty
Message - From: Dave sailer [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, August 25, 2007 10:13 PM Subject: Re: java.lang.NoClassDefFoundError ah, I see now. I mucked up the path with jar uf and didn't notice cuz I was checking by doing jar xf instead of jar

Re: java.lang.NoClassDefFoundError

2007-08-25 Thread Manivannan Palanichamy
just do, jar -tvf MyJar.jar and see whether it lists the class. -- Manivannan Palanichamy http://mani.gw.googlepages.com/index.html On 8/25/07, Dave Sailer [EMAIL PROTECTED] wrote: it does. And if it didn't jar uf is broken, I would think. On Fri, 2007-08-24 at 15:20 -0600, Filip Hanik -

Re: java.lang.NoClassDefFoundError

2007-08-25 Thread Dave sailer
Subject: Re: java.lang.NoClassDefFoundError just do, jar -tvf MyJar.jar and see whether it lists the class. -- Manivannan Palanichamy http://mani.gw.googlepages.com/index.html On 8/25/07, Dave Sailer [EMAIL PROTECTED] wrote: it does. And if it didn't jar uf is broken, I would think. On Fri, 2007

Re: java.lang.NoClassDefFoundError

2007-08-24 Thread Filip Hanik - Dev Lists
better check your Jar to make sure it has the MyServletException.class file still in it. Filip Dave Sailer wrote: I have a webapp that is working but I wanted to update a servlet jar so: jar uf MyJar.jar net/whohah/portal/servlet/MyServlet.class cp MyJar.jar

Re: java.lang.NoClassDefFoundError

2007-08-24 Thread Dave Sailer
it does. And if it didn't jar uf is broken, I would think. On Fri, 2007-08-24 at 15:20 -0600, Filip Hanik - Dev Lists wrote: better check your Jar to make sure it has the MyServletException.class file still in it. Filip Dave Sailer wrote: I have a webapp that is working but I wanted to

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-23 Thread David Kerber
I really don't have time for a full refactoring on this project right now, but I got this going with a minor one. When I looked more closesly at it, there was only one method in the equipment classes that was using the servlet API, so I was able to rework that method and the place from which

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-20 Thread David Kerber
I did some more testing, and discovered an error in my OP. See inline below... I already have a message into the makers of the jni package I'm using with my standalone app to see if they have any input on this. David Smith wrote: And where is the class that can't find HttpServletRequest?

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-20 Thread David Smith
JAVA_HOME/lib/ext is in the bootstrap classloader (top-most, above System). Given your need for running this code standalone and in a webapp, I think a refactoring is in order. The parts that have to live in JAVA_HOME/lib/ext should not refer to the servlet api. They should just return data

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-20 Thread David Smith
The easy way in my opinion is to abstract the common stuff to a superclass and then subclass to servlet vs. standalone. The servlet subclass goes in WEB-INF/lib, the standalone subclasses can be in the standalone application jar. --David David Kerber wrote: David Smith wrote:

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-20 Thread David Kerber
Thanks for the suggestion! David Smith wrote: The easy way in my opinion is to abstract the common stuff to a superclass and then subclass to servlet vs. standalone. The servlet subclass goes in WEB-INF/lib, the standalone subclasses can be in the standalone application jar. --David

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-20 Thread David Smith
And where is the class that can't find HttpServletRequest? If in the common/endorsed folder, try moving it to your WEB-INF/lib (just to test a theory). I suspect your startup parameters essentially added the common/endorsed folder to the system classloader which puts it above the common

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-20 Thread David Kerber
David Smith wrote: JAVA_HOME/lib/ext is in the bootstrap classloader (top-most, above System). Given your need for running this code standalone and in a webapp, I think a refactoring is in order. The parts that have to live in JAVA_HOME/lib/ext should not refer to the servlet api. They

Re: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest

2007-04-19 Thread Rashmi Rubdi
Hi David, On 4/19/07, David Kerber [EMAIL PROTECTED] wrote: Check if you have servlet-api.jar in: C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\ Running tomcat 5.5.15 on Windows server 2003. Why would I get the subject error when I'm deep into my code, and not near the

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-09 Thread Vasiliy Keretsman
hi! I manually added servlet-api.jar to CLASSPATH at first and Tomcat started without errors. You've got something else going on. Tomcat completely ignores any existing CLASSPATH setting and establishes its own; the system classloader is used only for bin/bootstrap.jar. Sorry, forgot to

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener - Error configuring application listener of class myapp.util.WebApplicationContextSupport java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Martin Gainty
Vasily- Can we see the web.xml listener element configuration for ServletContextListener and any listener's deriving from ServletContextListener have you verified your $CATALINA_HOME/commons/lib/servlet-api.jar is the same as the OS specific distro jar? Anyone else? M- This e-mail communication

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Martin, Chuck Thanks for reply. 1. servlet-api.jat is only in tomcat/common/lib 2. cut from web.xml Can we see the web.xml listener element configuration for ServletContextListener and any listener's deriving from ServletContextListener listener

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
Hi! The problem was solved. Linux version of catalina/bin/setclasspath.sh in 5.5.15,17,20 hides the following classpath setting under condition. With tools.jar in classpath it works. if [ $1 = debug -o $1 = javac ] ; then CLASSPATH=$JAVA_HOME/lib/tools.jar fi Btw, setclasspath.bat does not

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener Linux version of catalina/bin/setclasspath.sh in 5.5.15,17,20 hides the following classpath setting under condition. With tools.jar in classpath it works

Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Vasiliy Keretsman
That makes no sense at all, since there are no javax.* classes in tools.jar. The only thing that Tomcat might use out of tools.jar is the javac classes, and then only if you configure it to use javac instead of the default compiler. I know it looks strange. I manually added servlet-api.jar to

RE: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

2006-11-08 Thread Caldarale, Charles R
From: Vasiliy Keretsman [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener I manually added servlet-api.jar to CLASSPATH at first and Tomcat started without errors. You've got something else going on. Tomcat completely ignores any

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Miguel Angel Ruz
Can you send the Tomcat log and the Servlet code ?? -Mensaje original- De: Mann, Bradley [mailto:[EMAIL PROTECTED] Enviado el: lunes, 05 de junio de 2006 16:57 Para: users@tomcat.apache.org Asunto: java.lang.NoClassDefFoundError Hello, I am using Solaris 10 and Tomcat 5.5. I have

Re: java.lang.NoClassDefFoundError

2006-06-05 Thread Jon Wingfield
Or better, read http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html and http://tomcat.apache.org/faq/classnotfound.html and deploy your application code appropriately. For the impatient: Tomcat doesn't use CLASSPATH. It sets up its own based on the servlet specification. Each

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Mann, Bradley
Source) Brad Mann Software Engineer - Information Access Services HARRIS Corporation / GCSD (321) 984-6292 -Original Message- From: Miguel Angel Ruz [mailto:[EMAIL PROTECTED] Sent: Monday, June 05, 2006 10:59 AM To: 'Tomcat Users List' Subject: RE: java.lang.NoClassDefFoundError Can you

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Miguel Angel Ruz
) throws IOException, ServletException { YOUR CODE HERE. } } -Mensaje original- De: Mann, Bradley [mailto:[EMAIL PROTECTED] Enviado el: lunes, 05 de junio de 2006 17:17 Para: Tomcat Users List Asunto: RE: java.lang.NoClassDefFoundError I can't give out

RE: java.lang.NoClassDefFoundError

2006-06-05 Thread Mann, Bradley
(321) 984-6292 -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Monday, June 05, 2006 11:19 AM To: Tomcat Users List Subject: Re: java.lang.NoClassDefFoundError Or better, read http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html and http