Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-03-03 Thread Robert Turner
On Thu, Mar 3, 2022 at 1:10 PM Berneburg, Cris J. - US wrote: > > Running Tomcat in a container via Docker Desktop on a Windows host > > with the web application served from a location on the host mounted > > /bound to the container is insecure. > > So the app resides on the "host" OS file system

RE: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-03-03 Thread Berneburg, Cris J. - US
Mark, et al > Running Tomcat in a container via Docker Desktop on a Windows host > with the web application served from a location on the host mounted > /bound to the container is insecure. So the app resides on the "host" OS file system and is mounted into the Docker "guest" container, rather t

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-03-03 Thread Robert Turner
mkdir webapps > > > > > > 7. Copy the WAR file to the new folder > > > > cp target/test-el-resolver.war webapps/ > > > > > > 8. Start a docker container binding the local web apps folder > > > > docker run -d -p 8075:8080 --mount > >

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-03-03 Thread Mark Thomas
pper.java:489) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327) javax.servlet.http.HttpServlet.service(HttpServlet.java:764) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) Root Causejavax.servlet.ServletEx

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Robert Turner
That's good to know. I suppose the key use case we would have is having the ability to "hot deploy" from an IDE into the webapps folder rather than a full build, package, deploy cycle (which can be time consuming). Robert On Tue, Feb 8, 2022 at 11:41 AM Mark Eggers wrote: > Just a note: > > On

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Mark Eggers
Just a note: On 2/8/2022 8:32 AM, Rob Sargent wrote: On 2/8/22 08:11, Robert Turner wrote: Okay. Yep, my most recent suspicion was correct -- it's related to the Docker bind to a local folder containing the webapps. As such, I believe it's a Docker issue of some sort and not Tomcat specific.

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Rob Sargent
On 2/8/22 08:11, Robert Turner wrote: Okay. Yep, my most recent suspicion was correct -- it's related to the Docker bind to a local folder containing the webapps. As such, I believe it's a Docker issue of some sort and not Tomcat specific. However, you may want to understand it more completely

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Robert Turner
service(JspServlet.java:327) javax.servlet.http.HttpServlet.service(HttpServlet.java:764) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) Root Causejavax.servlet.ServletException: java.lang.NoClassDefFoundError: com/example/rt/Failing (wrong name: com/example/rt/failing

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Robert Turner
Mark, Thanks for the quick follow up. Based on your comments I have some ideas on what it might be, and I should be able to narrow that down further for you, and provide all the details that you requested. A few notes on the environment I'm using: Docker (the host) is running on my Mac (12.2),

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Mark Thomas
Robert, I agree this is something to do with the Docker environment. I think case insensitivity is involved somewhere as I can trigger the error if I copy my equivalent of Failure.class to failure.class and then call the JSP. I understand why it only occurs for * imports. In that instance, T

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Robert Turner
One thing to add is that my "conclusion" about OS variances I believe to be incorrect. Our tests typically run on Linux, so I think it's still something to do with a difference in the Docker-based environment. Let me know if you need any more details on anything...(but I suspect with a debugger up

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Robert Turner
Thanks Mark. Much appreciated. On Tue., Feb. 8, 2022, 04:06 Mark Thomas, wrote: > Robert, > > Thank you for putting the effort in to debugging this. Narrowing down > the issue to a simple test case is extremely helpful. > > The behaviour you describe looks odd to me. I'd expect consistent > beha

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Mark Thomas
Robert, Thank you for putting the effort in to debugging this. Narrowing down the issue to a simple test case is extremely helpful. The behaviour you describe looks odd to me. I'd expect consistent behaviour across platforms irrespective of the case sensitivity of the file system in use. I

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
Okay, so I have finally narrowed it down the trivial failure case, and I think I have an explanation as a result: [1] works (in docker), and [2] fails (in docker) but works outside. The difference between the two is the import directive being a wildcard (ugly, but historical in our app in some pla

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
So back to a divide and conquer approach I think. I just created a trivial "example" [1] and it works as expected (i.e. no exception was generated) (on the same servers I was testing the complex JAR file) -- so possibly something else modifying the behaviour -- a JAR on the classpath, or something

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
I'm just avoiding sharing product details or things I think only serves to confuse the problem. Sorry if you felt I wasn't sharing. It wasn't my intention to be obtuse. I didn't believe they added any value for the diagnostics (of course that assumes I know enough about the problem). However, sinc

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Rob Sargent
On 2/7/22 19:13, Robert Turner wrote: So, I've gone back and double-checked as much as I can (Tomcat version, JDK version), and the classpath, and I have identical classpaths in both environments (except the sort order of the URLs per "level" of ClassLoader), and I've re-verified the behaviour

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
e EL scope resolution code in Tomcat, > and > > I'm suspecting it might be related to how it chooses the scope of the > > object. Possibly related to maybe looking for static aspects of the > class, > > or something like that. After reviewing the Servlet / JSP / EL >

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
ack down why. I'm still working on the class path analysis as suggested by Rob S, even though the class in question should be in the class path in both cases. Thanks for the suggestion though. Robert On Mon, Feb 7, 2022 at 7:16 PM Neil Aggarwal wrote: > Robert: > > > Caused

RE: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Neil Aggarwal
Robert: > Caused by: java.lang.NoClassDefFoundError: package1/Class1 (wrong name: > package1/class1) This seems to be the source of your problem. Java does not like that the case is different. Make sure everything matches, including the capitals. Thank you, Neil -- Neil Aggarwal, (97

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
t; Note that I've also replaced my actual package name and class names with >> > "package1" and "Class1", and the attribute name with "class", but they >> > translate 1-to-1 as in what I've provided here and do not use reserved >> > na

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
gt; > > > > > I've done a bit of digging into the EL scope resolution code in Tomcat, > and > > I'm suspecting it might be related to how it chooses the scope of the > > object. Possibly related to maybe looking for static aspects of the > class, > > or

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Rob Sargent
ass, or something like that. After reviewing the Servlet / JSP / EL documentation, I also haven't found anything obvious that would suggest what the problem might be. Hopefully someone has encountered this before and can nudge me in the right direction. Thanks in advance, Robert [1] Caused

Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-07 Thread Robert Turner
wing the Servlet / JSP / EL documentation, I also haven't found anything obvious that would suggest what the problem might be. Hopefully someone has encountered this before and can nudge me in the right direction. Thanks in advance, Robert [1] Caused by: java.lang.NoClassDefFou

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-03-24 Thread Ravi Kumar
>> application. Currently we are using tomcat 7 and now migrating to > > TOMCAT > > >>> 9.0.43. > > >>> We have an existing HTTPS based application created using tomcat 7. > > >>> Now after migration and upgrading to tomcat 9, while starting this >

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Rémy Maucherat
ion. Currently we are using tomcat 7 and now migrating to > TOMCAT > >>> 9.0.43. > >>> We have an existing HTTPS based application created using tomcat 7. > >>> Now after migration and upgrading to tomcat 9, while starting this same > >>> https

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Christopher Schultz
AT 9.0.43. We have an existing HTTPS based application created using tomcat 7. Now after migration and upgrading to tomcat 9, while starting this same https application, we are receiving the error message as mentioned below *SEVERE: Failed to initialize component [Connector[HTTP/1.1-8443]] java.l

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Ravi Kumar
g the error message as mentioned below > > *SEVERE: Failed to initialize component [Connector[HTTP/1.1-8443]] > > java.lang.NoClassDefFoundError: > > org/apache/tomcat/util/net/ServerSocketFactory* > > * > > * > > It seems that org.apache.tomcat.util.net > > &l

Re: TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Christopher Schultz
P/1.1-8443]] java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory* * *  It seems that org.apache.tomcat.util.net <http://org.apache.tomcat.util.net>.*ServerSocketFaactory *class has been removed since tomcat 8.5.53 and in Tomcat 9 also. Correct. Requesting for the helpful su

TOMCAT 9 Upgrade :--java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory

2021-02-23 Thread Ravi Kumar
same https application, we are receiving the error message as mentioned below *SEVERE: Failed to initialize component [Connector[HTTP/1.1-8443]]java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/ServerSocketFactory* It seems that org.apache.tomcat.util.net.*ServerSocketFaactory *class

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

2019-07-11 Thread Hua, Gary - Saint Louis, MO - Contractor
: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.Element 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

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

2019-07-10 Thread Paul Carter-Brown
estProcessor.java:224) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) > at > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) > at javax.servlet.http.HttpServlet.service(HttpServlet

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

2019-07-10 Thread Hua, Gary - Saint Louis, MO - Contractor
Post(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) ::: Caused by: java.la

RE: Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld/TldParser

2016-05-19 Thread Venkata Reddy P
[mailto:venkata.re...@trianz.com] Sent: 19 May 2016 22:26 To: Tomcat Users List Subject: Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld/TldParser Hi, In tomcat8.0.33,while starting the tomcat server from \bin\startup.bat, it is getting the below

Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld/TldParser

2016-05-19 Thread Venkata Reddy P
) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/auth]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) ... 6 more Caused by: java.lang.NoClassDefFoundError: org

Re: Tomcat 6.0.37 - java.lang.NoClassDefFoundError: javax/servlet/ServletContainerInitializer

2014-09-27 Thread Prathyusha
Thanks. Does that mean I am using a servlet-API jar that's based on 3.0? Which version of servlet-API.jar should be used? I think I was using 2.4 version unless there is another version in the tomcat libs folder. I am using tomcat 6.0.37. > On Sep 26, 2014, at 5:05 PM, Mark Thomas wrote: > >>

Re: Tomcat 6.0.37 - java.lang.NoClassDefFoundError: javax/servlet/ServletContainerInitializer

2014-09-26 Thread Mark Thomas
On 26/09/2014 21:11, Prathyusha Kanala wrote: > Hi > I have been using Atmosphere for a web application running on tomcat 7. I > now have to downgrade to Tomcat 6 due to dependency on other applications. > Here is my dependency list. > In order to be compatible with tomcat 6, i changed the dynam

Tomcat 6.0.37 - java.lang.NoClassDefFoundError: javax/servlet/ServletContainerInitializer

2014-09-26 Thread Prathyusha Kanala
> 1.7 > > 1.7 > > > > > > > > org.apache.maven.plugins > > maven-war-plugin > > 2.3 > > > > > > > > > > WebResources > > > > > > > > > > > > org.apache.maven.plugins > > mave

Re: [tomcat 7.0.50] java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/DigesterFactory

2014-01-19 Thread Konstantin Kolinko
e: Apache Tomcat/7.0.50 > Jan 17, 2014 3:01:30 PM org.apache.catalina.core.ContainerBase startInternal > SEVERE: A child container failed during start > java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: > org/apache/tomcat/util/descriptor/DigesterFactory > at

[tomcat 7.0.50] java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/DigesterFactory

2014-01-17 Thread Marek Jagielski
rtInternal SEVERE: A child container failed during start java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/DigesterFactory at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.ja

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

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 se

java.lang.NoClassDefFoundError

2013-07-09 Thread Thomas Edison
found:* Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:60) Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory at java.net.URLCl

RE: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Guillermo GARCIA OCHOA
RCIA OCHOA [mailto:guillermo.garcia-oc...@inova-software.com] Sent: vendredi 20 janvier 2012 13:11 To: Tomcat Users List Subject: RE: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie Answers inline ... -Original Message- From: Konstant

RE: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Guillermo GARCIA OCHOA
Answers inline ... -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: vendredi 20 janvier 2012 13:06 To: Tomcat Users List Subject: Re: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie 2012/1/20 Guillermo

Re: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Konstantin Kolinko
ithout login). > > GRAVE: Servlet.service() for servlet [default] in context with path > [/mycontext]  threw exception [Could not initialize class > javax.servlet.http.Cookie] with root cause > >    java.lang.NoClassDefFoundError: Could not initialize class > ja

Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Guillermo GARCIA OCHOA
] in context with path [/mycontext] threw exception [Could not initialize class javax.servlet.http.Cookie] with root cause java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie at org.apache.catalina.core.ApplicationSessionCookieConfig.createSessionCookie

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
t; 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, >

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread 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 th

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
> > > 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 report: > > > > > > java.lang.NoClassDefFoundError:

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Miguel Bonilla
ing 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 report: > > > > java.lang.NoClassDefFoundError: org/apache/

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
gt; > This is the bug report: > > java.lang.NoClassDefFoundError: org/apache/cxf/frontend/ClientProxy Do you have the cxf-libraries (jar-files) in a place accessible for your jsp, eg. WEB-INF/lib? Bye Felix > > com.hp.io.soap.v1.IO_IOSoapServicePort_Client.setupConnection(IO

java.lang.NoClassDefFoundError

2011-06-25 Thread 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 report: java.lang.NoClassDefFoundError: org/apache/cxf/frontend

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: javax/servlet/jsp/jstl/core/LoopTag

2011-05-19 Thread Brian Braun
;>> On Thu, May 19, 2011 at 10:24 AM, Yucca Nel >> 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 need

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

2011-05-19 Thread Brian Braun
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 > >>

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

2011-05-19 Thread Mark Thomas
d 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

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

2011-05-19 Thread Brian Braun
nal Message- From: Brian Braun > >> Sent: Thursday, May 19, 2011 5:16 PM > >> To: Tomcat Users List > >> Subject: java.lang.NoClassDefFoundError: > >> javax/servlet/jsp/jstl/core/LoopTag > >> > >> > >> Hi, > >> > >>

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

2011-05-19 Thread Mark Thomas
LINA_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: java.lang.NoClassDefFoundError: >> javax/servl

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

2011-05-19 Thread Brian Braun
an Braun > Sent: Thursday, May 19, 2011 5:16 PM > To: Tomcat Users List > Subject: java.lang.NoClassDefFoundError: > javax/servlet/jsp/jstl/core/LoopTag > > > Hi, > > I feel like a rookie, But I will ask for help on this. I will swallow my > pride. > I'm using

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

2011-05-19 Thread Yucca Nel
: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag Hi, I feel like a rookie, But I will ask for help on this. I will swallow my pride. I'm using Eclipe (latest version) to develop, and Tomcat 7.0.X both in development and in production. I started using JSTL1.2 today. When I r

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

2011-05-19 Thread Brian Braun
ption: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.jav

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-19 Thread Mark Thomas
On 13/01/2011 15:47, Christopher Schultz wrote: > 1. WAR file starts copying, whether a huge, local file or a > moderately-sized remote file via the manager interface the point is > that this takes some time If done via the Manager interface this will never be an issue. The Manager does a few e

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam, On 1/19/2011 11:12 AM, Sam Zilverberg wrote: > We changed cp to mv and there are no problems now :) I thought of another strategy: ln If you use a hard link, you get to keep the file in the old location and in the new location. You also don't h

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-19 Thread Sam Zilverberg
We changed cp to mv and there are no problems now :) Thanks for the help On Thu, Jan 13, 2011 at 8:16 PM, Sam Zilverberg wrote: > We copy using cp... > I'll try some of the ideas you guys mentioned and reply sometime next week > after I have some results. > Thanks for the great ideas ! > > -Sam

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-13 Thread Sam Zilverberg
We copy using cp... I'll try some of the ideas you guys mentioned and reply sometime next week after I have some results. Thanks for the great ideas ! -Sam

RE: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-13 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: app throws java.lang.NoClassDefFoundError sometimes, and > sometimes it doesnt > I can think of a few ways around this: > 1. Upgrade. It's possible issues with auto-deploy and/or manager have &

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam, On 1/13/2011 8:47 AM, Sam Zilverberg wrote: > I'm running a wicket app on tomcat 6.0.20. Upgrade! > Once in a while I need to redeploy it (after fixing some stuff, adding > features and so on). > This is how I redeploy: > 1.Use tomcat manager t

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-13 Thread André Warnier
user080701 wrote: How to unsubscribe this email ? Scroll to the end (all thr way down there), and follow the instructions. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h.

Re: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-13 Thread user080701
How to unsubscribe this email ? -- From: "Sam Zilverberg" Sent: Thursday, January 13, 2011 9:47 PM To: "tomcat" Subject: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt Hi, I'm runni

app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt

2011-01-13 Thread Sam Zilverberg
Hi, I'm running a wicket app on tomcat 6.0.20. Once in a while I need to redeploy it (after fixing some stuff, adding features and so on). This is how I redeploy: 1.Use tomcat manager to undeploy the running app. 2.Deploy the new app by copying the new WAR file to a library inside tomcat. Everyth

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

2010-05-31 Thread Konstantin Kolinko
2010/5/31 Licht Jiang : > 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) excep

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

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 tw

java.lang.NoClassDefFoundError: Could not initialize class

2010-05-30 Thread Licht Jiang
I got the following error from a web service running in Apache Tomcat/5.5.27 and JVM 1.6.0_17-b04-248-10M3025. java.lang.NoClassDefFoundError: Could not initialize class com.myservice.web.TestClass TestClass is a class called by the servlet in doget(). But class "TestClass" is i

RES: RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Gustavo A. Daud
___ De: Mark Thomas [ma...@apache.org] Enviado: quinta-feira, 11 de março de 2010 10:49 Para: Tomcat Users List Assunto: Re: RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap On 11/03/2010 13:23, André Warnier wro

Re: RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Mark Thomas
On 11/03/2010 13:23, André Warnier wrote: Mark Thomas wrote: On 11/03/2010 12:49, Gustavo A. Daud wrote: Chuck, I install again the tomcat 6 and now I'm using other user to running tomcat, as you sugest. But, the error persists... Look at this line: "Using CLASSPATH: /opt/tomcat6/bin/bootstrap

Re: RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread André Warnier
Mark Thomas wrote: On 11/03/2010 12:49, Gustavo A. Daud wrote: Chuck, I install again the tomcat 6 and now I'm using other user to running tomcat, as you sugest. But, the error persists... Look at this line: "Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar". I perform a search on tomcat

RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Gustavo A. Daud
...@gmail.com] Enviado: quinta-feira, 11 de março de 2010 10:05 Para: Tomcat Users List Assunto: Re: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap 2010/3/11 Gustavo A. Daud : > I install again the tomcat 6 How did you i

Re: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Konstantin Kolinko
2010/3/11 Gustavo A. Daud : > I install again the tomcat 6 How did you install Tomcat? Did you download the proper distributive from http://tomcat.apache.org/ ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Mark Thomas
On 11/03/2010 12:49, Gustavo A. Daud wrote: Chuck, I install again the tomcat 6 and now I'm using other user to running tomcat, as you sugest. But, the error persists... Look at this line: "Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar". I perform a search on tomcat files looking for a

RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Gustavo A. Daud
/opt/tomcat6 Using CATALINA_HOME: /opt/tomcat6 Using CATALINA_TMPDIR: /opt/tomcat6/temp Using JRE_HOME:/usr/lib/jvm/jdk1.6 Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina

RE: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Caldarale, Charles R
> From: Gustavo A. Daud [mailto:gust...@sofisa.com.br] > Subject: RES: TOMCAT 6 Error: Exception in thread "main" > java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap > > But as you can see, bootstrap.jar, is not in there So you have a corrupted Tomcat

RES: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Gustavo A. Daud
unisys.com] Enviado: quarta-feira, 10 de março de 2010 17:19 Para: Tomcat Users List Assunto: RE: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap > From: Gustavo A. Daud [mailto:gust...@sofisa.com.br] > Subject: TO

RE: TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Caldarale, Charles R
> From: Gustavo A. Daud [mailto:gust...@sofisa.com.br] > Subject: TOMCAT 6 Error: Exception in thread "main" > java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap > > "Using CATALINA_BASE: /opt/tomcat6 > Using CATALINA_HOME: /opt/tomcat6 >

TOMCAT 6 Error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-10 Thread Gustavo A. Daud
k1.6 Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap at java.net.URLClassLoader$1.run(URL

Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 7/26/2009 5:47 AM, Paul van Hoven wrote: > Yeah, that was it. Thanks for the great help. I deleted gwt-user.jar and > now it runs perfectly fine. For a bit of background, the Servlet API classes are supposed to be located in one place only:

Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-26 Thread Paul van Hoven
Yeah, that was it. Thanks for the great help. I deleted gwt-user.jar and now it runs perfectly fine. Juha Laiho schrieb: Caldarale, Charles R wrote: From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] Subject: Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http

Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-26 Thread Juha Laiho
Caldarale, Charles R wrote: >> From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] >> Subject: Re: On my Webserver: java.lang.NoClassDefFoundError: >> javax/servlet/http/HttpServlet >> >> gwt-servlet.jar > > I have some recollection that the above j

RE: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread Caldarale, Charles R
> From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com] > Subject: Re: On my Webserver: java.lang.NoClassDefFoundError: > javax/servlet/http/HttpServlet > > gwt-servlet.jar I have some recollection that the above jar is the trouble maker; take a look inside it.

Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread Paul van Hoven
er.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) java.lang.Thread.run(Thread.java:636) root cause java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.d

Re: On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread David Smith
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) >jav

On my Webserver: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2009-07-25 Thread Paul van Hoven
) java.lang.Thread.run(Thread.java:636) root cause java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:637) ... Actually i do not understand this. The environment variables are set as

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

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

2008-12-19 Thread Ole Ersoy
Hi, I'm attempting to install Tomcat 6.0.18 on Linux. Right now I'm getting this: 19-Dec-08 2:39:58 PM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw error java.lang.NoClassDefFoundError: org.apache.catalina.mbeans.ServerLifecycleLis

Re: HELP!!! java.lang.NoClassDefFoundError running CXF-based client in Tomcat

2008-11-26 Thread Steve Cohen
ialog. Make sure all the jars you want in "WEB-INF/lib" at runtime are checked. Cheers, Larry -Original Message- From: Steve Cohen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 11:44 AM To: Tomcat Users List Subject: Re: HELP!!! java.lang.NoClassDefFoundError runnin

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client in Tomcat

2008-11-26 Thread Larry Isaacs
;s Properties dialog. Make sure all the jars you want in "WEB-INF/lib" at runtime are checked. Cheers, Larry -Original Message- From: Steve Cohen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 11:44 AM To: Tomcat Users List Subject: Re: HELP!!! java.lang.NoClassDefF

Re: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat

2008-11-26 Thread Steve Cohen
It's the Real Tomcat, but running inside Eclipse WTP, which starts and stops the server. Caldarale, Charles R wrote: From: Steve Cohen [mailto:[EMAIL PROTECTED] Subject: Re: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat Another piece of information I omitted

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat

2008-11-26 Thread Caldarale, Charles R
> From: Steve Cohen [mailto:[EMAIL PROTECTED] > Subject: Re: HELP!!! java.lang.NoClassDefFoundError running > CXF-based client inTomcat > > Another piece of information I omitted: JDK version > java-1.5.0-sun-1.5.0.13 running under Ubuntu Linux. Is this a real Tomcat or a 3r

  1   2   >