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
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
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
> >
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
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
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.
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
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
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),
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
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
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
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
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
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
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
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
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
>
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
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
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
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
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
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
>> 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
>
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
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
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
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
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
: 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
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
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
[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: 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
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:
>
>>
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
> 1.7
>
> 1.7
>
>
>
>
>
>
>
> org.apache.maven.plugins
>
> maven-war-plugin
>
> 2.3
>
>
>
>
>
>
>
>
>
> WebResources
>
>
>
>
>
>
>
>
>
>
>
> org.apache.maven.plugins
>
> mave
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
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
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
> 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
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
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
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
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
] 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
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,
>
> > 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
> > > 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:
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/
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
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
-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
;>> 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
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
> >>
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
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,
> >>
> >>
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
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
: 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
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
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
-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
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
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
> 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
&
-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
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.
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
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
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
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
> 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
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
___
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
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
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
...@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
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
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
/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
> 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
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
> 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
>
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
-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:
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
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
> 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.
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
> 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
)
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
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)
> 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
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
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
;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
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
> 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 - 100 of 185 matches
Mail list logo