Re: HttpServlet

2013-08-30 Thread Daniel Mikusa
On Aug 30, 2013, at 12:15 PM, Morten Bo Oelbye wrote: First, don't top post. Post at after the original message or post inline, like I'm doing here. > Well, it is very simple from my point of wiev. I would agree that it's not very clear what you are trying to accomplish. The more detail you

Re: HttpServlet

2013-08-30 Thread Morten Bo Oelbye
Well, it is very simple from my point of wiev. The Tomcat act in the same way in 6 and 7 in window xp I have not done any editing in the Tomcat, other than those nessisary to do a Tomcat connection using Apace in front with mod_jk. The design use a Midlet url http connection to access my Tomcat,

Re: HttpServlet

2013-08-30 Thread André Warnier
Morten Bo Oelbye wrote: I am using Tomcat as a server. I am only able to either receive data or send data. The problem is that I am not able to use handchaking. If I try use send, I get the error: java.io.IOException: Connection closed not able to receive any longer What to do? Hi. I believe t

HttpServlet

2013-08-30 Thread Morten Bo Oelbye
I am using Tomcat as a server. I am only able to either receive data or send data. The problem is that I am not able to use handchaking. If I try use send, I get the error: java.io.IOException: Connection closed not able to receive any longer What to do?

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
/HttpServlet gwt-servlet.jar I have some recollection that the above jar is the trouble maker; take a look inside it. Almost, but not quite.. I took an interest in this after seeing your response, and found the following: http://lkamal.blogspot.com/2007/07/jar-not-loaded

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
a.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 t

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: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-19 Thread Lucas Vickers
> >>> *exception* >>> >>> javax.servlet.ServletException: Error allocating a servlet instance >>> >>> >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >>> >>> org

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-19 Thread Pid
java.lang.Thread.run(Thread.java:619) *root cause* java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:621) java.security.SecureClassLoader.defineC

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
e.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) > > java.lang.Thread.run(Thread.java:619) > > *root cause* > > java.lang.NoClassDef

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
dpoint.java:454) java.lang.Thread.run(Thread.java:619) *root cause* java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:621)

RE: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Caldarale, Charles R
> From: Lucas Vickers [mailto:lucasvick...@gmail.com] > Subject: Re: Tomcat 6 database pooling causes HttpServlet class not > found exception > > Well I can confirm that adding the classes to catalina.policy > even when i am not explicitly running with -security , does fix

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
; > Subject: Re: Tomcat 6 database pooling causes HttpServlet class not > > found exception > > > > and I see it looks like you have the JVM's security manager > > turned on. > > What makes you think so? The doPrivileged() calls and SecureClassLoader > usage occur

RE: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Caldarale, Charles R
> From: David Smith [mailto:d...@cornell.edu] > Subject: Re: Tomcat 6 database pooling causes HttpServlet class not > found exception > > and I see it looks like you have the JVM's security manager > turned on. What makes you think so? The doPrivileged() calls and SecureC

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
t(); > >> > >> > >> ** Full Exception: > >> > >> HTTP Status 500 - > >> > >> type Exception report > >> > >> message > >> > >> description The server encountered an internal error () that prevented

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread David Smith
t; >> >> ** Full Exception: >> >> HTTP Status 500 - >> >> type Exception report >> >> message >> >> description The server encountered an internal error () that prevented it >> from fulfilling this request. >> >> exception >> >

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread David Smith
prevented it > from fulfilling this request. > > exception > > javax.servlet.ServletException: Error allocating a servlet instance > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap

Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
ad.run(Thread.java:619) root cause java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:621) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

AW: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Ladislav Gaspar
--- -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Gesendet: Dienstag, 3. Februar 2009 16:07 An: Tomcat Users List Betreff: RE: NoClassDefFoundError: HttpServlet > From: Ladislav Gaspar [mailto:ladislav.gas...@it-vision.com] > Subject: AW: NoClassDefFoun

RE: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Caldarale, Charles R
> From: Ladislav Gaspar [mailto:ladislav.gas...@it-vision.com] > Subject: AW: NoClassDefFoundError: HttpServlet > > The sample servlets work. Good - which says the problem is isolated to your webapp, so that narrows the focus. > But what could that be? It looks like somewhere

AW: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Ladislav Gaspar
: HttpServlet > From: Ladislav Gaspar [mailto:ladislav.gas...@it-vision.com] > Subject: AW: NoClassDefFoundError: HttpServlet > > Sorry for the misinformation. The the servlet-api.jar is in > $catalina_home/lib. The %CLASSPATH% is not adjusted The symptoms are still identical

RE: NoClassDefFoundError: HttpServlet

2009-02-02 Thread Caldarale, Charles R
> From: Ladislav Gaspar [mailto:ladislav.gas...@it-vision.com] > Subject: AW: NoClassDefFoundError: HttpServlet > > Sorry for the misinformation. The the servlet-api.jar is in > $catalina_home/lib. The %CLASSPATH% is not adjusted The symptoms are still identical with those t

AW: NoClassDefFoundError: HttpServlet

2009-02-01 Thread Ladislav Gaspar
EGEND: Error deploying configuration descriptor ITVHealthGate.xml java.lang.NoClassDefFoundError: HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown S

AW: AW: NoClassDefFoundError: HttpServlet

2009-01-30 Thread Ladislav Gaspar
Von: André Warnier [mailto:a...@ice-sa.com] > Gesendet: Freitag, 30. Januar 2009 09:52 > An: Tomcat Users List > Betreff: Re: NoClassDefFoundError: HttpServlet > > Ladislav Gaspar wrote: > [...] > > >> >> What strikes me as very strange is that in the e

Re: NoClassDefFoundError: HttpServlet

2009-01-30 Thread Konstantin Kolinko
2009/1/30 Ladislav Gaspar : > > > As I wrote in the original post >>(I've cleaned up the classpath, there are no duplicate servlet-api.jar files >>around) > > The servlet-api.jar is there and it's also in the classpath. (in > $catalina_home/lib) > I do not understand. "is there and it's also"

Re: AW: NoClassDefFoundError: HttpServlet

2009-01-30 Thread David Smith
Von: André Warnier [mailto:a...@ice-sa.com] > Gesendet: Freitag, 30. Januar 2009 09:52 > An: Tomcat Users List > Betreff: Re: NoClassDefFoundError: HttpServlet > > Ladislav Gaspar wrote: > [...] > > >> >> What strikes me as very strange is that in the e

AW: NoClassDefFoundError: HttpServlet

2009-01-30 Thread Ladislav Gaspar
:a...@ice-sa.com] Gesendet: Freitag, 30. Januar 2009 09:52 An: Tomcat Users List Betreff: Re: NoClassDefFoundError: HttpServlet Ladislav Gaspar wrote: [...] > > What strikes me as very strange is that in the error message: > java.lang.NoClassDefFoundError: HttpServlet there is no package name

Re: NoClassDefFoundError: HttpServlet

2009-01-30 Thread André Warnier
Ladislav Gaspar wrote: [...] What strikes me as very strange is that in the error message: java.lang.NoClassDefFoundError: HttpServlet there is no package name in HttpServlet (that's why the ClassLoader can't find the Class, I suppose). Has anyone got an idea what could be wrong?

NoClassDefFoundError: HttpServlet

2009-01-30 Thread Ladislav Gaspar
VHealthGate.xml java.lang.NoClassDefFoundError: HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at org.apache.catalina.loader.WebappClassLoader.findClass

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Hassan Schroeder
On Thu, Aug 7, 2008 at 5:23 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > | Ha ha... I didnt look at who was asking the question... guru's... always > | want to build the freezer, just to get a cold beer ;) > > I kept trying to come up with a funny "you should see what I do what I > want to

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: | | - Original Message - From: "Christopher Schultz" | <[EMAIL PROTECTED]> | To: "Tomcat Users List" | Sent: Thursday, August 07, 2008 11:40 PM | Subject: Re: Sudden missing java

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Johnny Kewl
- Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, August 07, 2008 11:40 PM Subject: Re: Sudden missing javax/servlet/http/HttpServlet ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny,

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: | Chris, your webapps probably still work out side the dev environment | I "think" all thats happening is your IDE is not loading the commons lib... No IDE involved: real men use emacs ;) Okay, maybe vi. The explanati

Re: [SOLVED] Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
is Christopher Schultz wrote: | All, | | I've checked everything I can think of. Today, my dev instance of Tomcat | started acting funny, saying: | java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet | ~at java.lang.ClassLoader.defineClass

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Johnny Kewl
- Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, August 07, 2008 7:45 PM Subject: Sudden missing javax/servlet/http/HttpServlet ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've ch

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Hassan Schroeder
On Thu, Aug 7, 2008 at 1:09 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > Yeah, I did that and everything looks good. CVS will only destroy a > binary file if you forget to disable keyword expansion (been there!). Ah, that could have been the case -- I hadn't set it up, and wasn't all that

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, Hassan Schroeder wrote: | On Thu, Aug 7, 2008 at 12:18 PM, Christopher Schultz | <[EMAIL PROTECTED]> wrote: | |> I'm going to start looking at the Velocity and Velocity-Tools JARs to |> see if they might have been corrupted or something. They

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Hassan Schroeder
On Thu, Aug 7, 2008 at 12:18 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > I'm going to start looking at the Velocity and Velocity-Tools JARs to > see if they might have been corrupted or something. They are stored in > CVS in our project, and cvs doesn't say anything, but since I'm graspin

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
p/logs/* app/logs/catalina.2008-08-07.log:SEVERE: Error deploying web application directory diagnosis app/logs/catalina.2008-08-07.log:java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet app/logs/catalina.out:SEVERE: Error deploying web application directory diagnosis app/logs/catalina

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread David Smith
there's no SecurityManager to worry about, either. Thanks, - -chris Christopher Schultz wrote: | All, | | I've checked everything I can think of. Today, my dev instance of Tomcat | started acting funny, saying: | java.lang.NoClassDefFoundError: javax/servlet/http/HttpS

Re: Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
ny, saying: | java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet | ~at java.lang.ClassLoader.defineClass1(Native Method) | ~at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | ~at | java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | | (ultimately c

Sudden missing javax/servlet/http/HttpServlet ?

2008-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've checked everything I can think of. Today, my dev instance of Tomcat started acting funny, saying: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet ~at java.lang.ClassLoader.defineClass1(Native Method) ~

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Ghodmode
On 9/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: David Delbecq [mailto:[EMAIL PROTECTED] > > Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet > > > > Check also it's neither in shared/lib and that there is no CLASSP

RE: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Caldarale, Charles R
> From: Ghodmode [mailto:[EMAIL PROTECTED] > Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet > > I'm not using WAR files. I'm just putting all of the files > in the necessary locations already "exploded". Is this significant? Perhaps. E

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Ghodmode
On 9/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > ... David D already pointed out the likely cause of the problem. > > - Chuck > Unfortunately, David's idea wasn't a solution for me. There aren't any files in my WEB-INF/lib directory. I only created this HelloServlet to eliminate

RE: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Caldarale, Charles R
> From: David Delbecq [mailto:[EMAIL PROTECTED] > Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet > > Check also it's neither in shared/lib and that there is no CLASSPATH > defined (tomcat handles all by itself classpath). There wouldn't be a shared/

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread David Delbecq
x27;ve had some problems loading servlets, so I tried a basic HelloWorld just to make sure everything was working. java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet servlet-api.jar is in $CATALINA_HOME/lib just like it's supposed to be. All of the example JSPs and servlets wor

RE: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: NoClassDefFoundError: javax/servlet/http/HttpServlet > > Is servlet-api.jar in $CATALINA_HOME/common/lib As clearly stated by the OP, he's using Tomcat 6 and servlet-api.jar is in $CATALINA-HOME/lib, exactly where

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Ghodmode
On 9/4/07, Martin Gainty <[EMAIL PROTECTED]> wrote: > > Is servlet-api.jar in $CATALINA_HOME/common/lib > I've see reference to it on some forums, but there's no "common" directory in my Tomcat installation. -- Vince

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Martin Gainty
nt interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Ghodmode" <[EMAIL PROTECTED]> To: Sent: Monday, September 03, 2007 4:49 PM Subject: NoClassDefFoundError: javax/servlet/http/HttpServlet > I've had some proble

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Ghodmode
tried a basic HelloWorld > just > > to make sure everything was working. > > > > java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet > > > > servlet-api.jar is in $CATALINA_HOME/lib just like it's supposed to > be. All > > of the example JSPs and

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread David Delbecq
rvlet/http/HttpServlet servlet-api.jar is in $CATALINA_HOME/lib just like it's supposed to be. All of the example JSPs and servlets work fine. Does anyone know what I might be doing wrong? Apache Tomcat 6.0.14 Java 1.6.0_02-b05 Here's my HelloServlet.java: @home:~/dev/tomcat/webapps$

NoClassDefFoundError: javax/servlet/http/HttpServlet

2007-09-03 Thread Ghodmode
I've had some problems loading servlets, so I tried a basic HelloWorld just to make sure everything was working. java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet servlet-api.jar is in $CATALINA_HOME/lib just like it's supposed to be. All of the example JSPs and servlets

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
it should work without that setting assuming that tomcat picks up the file setclasspath.sh correctly, the reason I mentioned it is cause the sunVM doesn't have a gnu.java.lang.MainThread class, so I would suspect that you are not running the VM you think you are running. Of course, I know very l

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Edoardo Panfili wrote: Filip Hanik - Dev Lists wrote: if you are running the Sun VM, why is this in your stack trace? at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) The stack is the one that Tomcat has print before the "remove" of gcj. But the error is still here also after the

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
wrote: Marc Farrow wrote: there is somethings wrog in my develope/deploy/me system. I'll begin from scratch. After a fresh installation the problem is still here (but not after all restarts). sometimes Tocat throws this exception java.lang.NoClassDefFoundError: javax/servlet/ht

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
wrote: Marc Farrow wrote: there is somethings wrog in my develope/deploy/me system. I'll begin from scratch. After a fresh installation the problem is still here (but not after all restarts). sometimes Tocat throws this exception java.lang.NoClassDefFoundError: javax/servlet/http/HttpSe

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
ption java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) atjava.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.define

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
em is still here (but not after all restarts). sometimes Tocat throws this exception java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.jav

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
rvlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) atjava.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: It looks like you found the next problems. On your ls command it is not showing the Ricerca class file. So you must be missing resources when you migrated over. On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote: Marc Farrow wrote: > I do not doubt that. However, depend

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Marc Farrow
It looks like you found the next problems. On your ls command it is not showing the Ricerca class file. So you must be missing resources when you migrated over. On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote: Marc Farrow wrote: > I do not doubt that. However, depending on what O.S. you

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: I do not doubt that. However, depending on what O.S. you are using you need to check your JAVA_HOME environment entry or even windows registry. export JAVA_HOME=/opt/jdk/ (jdk is a simboilik link to the 1.5 jdk folder) Tomcat now says "no Class definition found" regarding

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Marc Farrow
I do not doubt that. However, depending on what O.S. you are using you need to check your JAVA_HOME environment entry or even windows registry. On 5/2/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote: Marc Farrow wrote: > This seems like the classic "you are using a java JRE versus a java JDK". >

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
Marc Farrow wrote: This seems like the classic "you are using a java JRE versus a java JDK". I am using jdk1.5.0_06 edoardo -- [EMAIL PROTECTED] AIM: edoardopn Jabber: [EMAIL PROTECTED] tel:075 9142766 - To unsubscribe, e-ma

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Marc Farrow
(build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) Why tomcat throws this exception? 2-mag-2006 12.48.37 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Allocate exception for servlet UltimiDownload java.lang.NoClassDefFoundError: javax/servlet/h

NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Edoardo Panfili
6 12.48.37 org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Allocate exception for servlet UltimiDownload java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-01-09 Thread Ori
repositories to the classpath via addRepository(). This worked fine for Tomcat 5.0.28. When I upgraded to 5.5.12, the exact same configuration produces the an exception on application startup "...Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet". Without the plugin,

Re: HttpServlet not found?

2005-11-29 Thread Sebastian Funk
Hi, thanks a lot. Very quick. Only 3 minutes and I got help. Best regards, Sebastian Funk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: HttpServlet not found?

2005-11-29 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Re: HttpServlet not found? > > But when I shouldn't set the $CLASSPATH, how can I load the MySQL- > Drivers? Read this: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html and then choose the appropriat

Re: HttpServlet not found?

2005-11-29 Thread Sebastian Funk
Hi, thanks for helping. that seems to work. I'll be watching it. But when I shouldn't set the $CLASSPATH, how can I load the MySQL- Drivers? Thanks $ Greetings, Sebastian Funk - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

RE: HttpServlet not found?

2005-11-29 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: HttpServlet not found? > > (otherwise take servlet-api.jar off CLASSPATH and put back > j2ee.jar to $J2EE_HOME\lib\j2ee.jar and place on CLASSPATH) I think you'll need to do more than that. Tomcat has a vari

Re: HttpServlet not found?

2005-11-29 Thread Martin Gainty
Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, November 29, 2005 11:07 AM Subject: RE: HttpServlet not found? > From: Sebastian [mailto:[EMAIL PROTECTED] > Subject: HttpServlet not found? > > I compiled it with > "javac -c

Re: HttpServlet not found?

2005-11-29 Thread Sebastian Funk
HI, On Nov 29, 2005, at 5:07 PM, Caldarale, Charles R wrote: From: Sebastian [mailto:[EMAIL PROTECTED] Subject: HttpServlet not found? I compiled it with "javac -cp /home/tomcat/j2ee/lib/j2ee.jar:/home/tomcat/mysql MyServlet.java". Using j2ee.jar with Tomcat usually resul

RE: HttpServlet not found?

2005-11-29 Thread Caldarale, Charles R
> From: Sebastian [mailto:[EMAIL PROTECTED] > Subject: HttpServlet not found? > > I compiled it with > "javac -cp /home/tomcat/j2ee/lib/j2ee.jar:/home/tomcat/mysql > MyServlet.java". Using j2ee.jar with Tomcat usually results in much grief, since it contain

HttpServlet not found?

2005-11-29 Thread Sebastian
tomcat/mysql MyServlet.java". This displays no error. But I can't access the servlet. it shows me that: exception javax.servlet.ServletException: Error allocating a servlet instance ... root cause java.lang.NoClassDefFoundError: javax/servlet/http/H