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

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

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

2022-03-03 Thread Robert Turner
gt; > > > > > 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 > > type=volume,src

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

2022-03-03 Thread Mark Thomas
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.ServletException:

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

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

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

2022-02-08 Thread Robert Turner
pServlet.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: comexamplertFailing (wrong name: comexamplertfailing) org.apache.jasper.runtime.PageCont

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,

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

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 >

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.

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

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

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,

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

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

2022-02-07 Thread Robert Turner
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 > > documentation, I also haven't found anything obvious that would suggest >

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

2022-02-07 Thread Robert Turner
. 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 by: java.lang.NoCla

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
>> > "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 >> > names. >> > >> > >> > I've done a bit of digging into the EL

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

2022-02-07 Thread Robert Turner
ope 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 > > documenta

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

2022-02-07 Thread Rob Sargent
SP / 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.NoClassDefFoundError: package1/Class1 (wrong name: pack

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

2022-02-07 Thread Robert Turner
d 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.NoClassDefFoundError: package1/Class1 (wrong name: package1/class1) at java.base/ja

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

2021-03-24 Thread Ravi Kumar
. 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 > > >

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

2021-02-23 Thread Rémy Maucherat
e 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 application, we are

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

2021-02-23 Thread Christopher Schultz
ave 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.lang.NoClassDefF

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

2021-02-23 Thread Ravi Kumar
r 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 > > <http://o

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

2021-02-23 Thread Christopher Schultz
]] 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 suggestion t

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

2021-02-23 Thread Ravi Kumar
this 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
or.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(HttpSer

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

2019-07-10 Thread Hua, Gary - Saint Louis, MO - Contractor
nServlet.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.lang.NoClass

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

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

2014-09-26 Thread Prathyusha Kanala
the error: 17553 [http-8080-2] WARN org.atmosphere.util.IOUtils - META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader 17565 [http-8080-2] ERROR org.atmosphere.cpr.AtmosphereFramework - Failed to initialize Atmosphere Framework java.lang.NoClassDefFoundError: javax/servlet

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. snip/ In order to be compatible with tomcat 6, i changed the

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

2014-01-19 Thread Konstantin Kolinko
: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 java.util.concurrent.FutureTask.report(FutureTask.java:122

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

2014-01-17 Thread Marek Jagielski
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.java:188

java.lang.NoClassDefFoundError

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

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

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

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: Tomcat 7 - java.lang.NoClassDefFoundError: Could not initialize class javax.servlet.http.Cookie

2012-01-20 Thread Konstantin Kolinko
content directly (without 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 javax.servlet.http.Cookie

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 Guillermo GARCIA 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: Konstantin Kolinko

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

2011-06-25 Thread Felix Schumacher
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_IOSoapServicePort_Client.java:85

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Miguel Bonilla
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/ClientProxy Do you have the cxf-libraries (jar-files

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
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/ClientProxy Do you have the cxf-libraries (jar-files) in a place accessible for your jsp, eg. WEB-INF/lib

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Miguel Bonilla
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/ClientProxy Do you

Re: java.lang.NoClassDefFoundError

2011-06-25 Thread Felix Schumacher
(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/ClientProxy Do you have the cxf-libraries (jar-files) in a place accessible for your jsp, eg. WEB-INF/lib

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

2011-05-19 Thread Brian Braun
: 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.java:176

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

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

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

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

2011-05-19 Thread Mark Thomas
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/servlet/jsp/jstl/core/LoopTag Hi, I feel like a rookie, But I will ask

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

2011-05-19 Thread Brian Braun
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 Eclipe (latest version) to develop, and Tomcat 7.0.X both in development and in production. I started using

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

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

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

2011-05-19 Thread Brian Braun
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 Eclipe (latest version) to develop, and Tomcat 7.0.X both

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

2011-05-19 Thread Brian Braun
). -Original 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, I feel like a rookie, But I will ask for help on this. I will swallow my pride. I'm using Eclipe

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: 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 samzilverb...@gmail.comwrote: 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

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

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

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.

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

2011-01-13 Thread user080701
How to unsubscribe this email ? -- From: Sam Zilverberg samzilverb...@gmail.com Sent: Thursday, January 13, 2011 9:47 PM To: tomcat users@tomcat.apache.org Subject: app throws java.lang.NoClassDefFoundError sometimes, and sometimes it doesnt Hi

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:

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 to

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 been resolved. Read

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

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 in WEB-INF/classes

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

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 WEB-INF/classes/come

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

2010-03-11 Thread Gustavo A. Daud
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/startup/Bootstrap Caused by: java.lang.ClassNotFoundException

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

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 gust...@sofisa.com.br: 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:

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 gust...@sofisa.com.br: I install again the tomcat 6 How did

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

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:

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

2010-03-11 Thread Gustavo A. Daud
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 wrote: Mark Thomas wrote: On 11/03

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

2010-03-10 Thread Gustavo A. Daud
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(URLClassLoader.java:217

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 Using CATALINA_TMPDIR: /opt/tomcat6/temp

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

2010-03-10 Thread Gustavo A. Daud
] 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: TOMCAT 6 Error: Exception in thread

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 installation; start over. I'm

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 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 jar is the trouble maker; take a look inside

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

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

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

2009-07-25 Thread David Smith
) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.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

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

2009-07-25 Thread Paul van Hoven
(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.defineClass

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. - Chuck THIS COMMUNICATION

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)

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

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

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

2008-11-26 Thread Steve Cohen
(Cross-posted on Apache CXF Mailing List) I have developed a Client for accessing a vendor's Web Service. The client is based on the CXF framework, built with source code generated from a Maven-based pom.xml and the vendor's WSDL. I ran this client in a standalone JUnit test and found it to

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

2008-11-26 Thread Caldarale, Charles R
From: Steve Cohen [mailto:[EMAIL PROTECTED] Subject: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat I am beginning to think the problem is not a missing class but a class conflicting with something in Tomcat. Highly likely. First just look at the names

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

2008-11-26 Thread Steve Cohen
Tomcat version is 6.0.16. Sorry for not mentioning it originally. Thanks. Caldarale, Charles R wrote: From: Steve Cohen [mailto:[EMAIL PROTECTED] Subject: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat I am beginning to think the problem is not a missing class

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

2008-11-26 Thread Pieter Temmerman
you move your program .jar to /server/lib and see if it works? (This is not a solution though). On Wed, 2008-11-26 at 09:16 -0600, Caldarale, Charles R wrote: From: Steve Cohen [mailto:[EMAIL PROTECTED] Subject: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat I

  1   2   >