hi

i created a very simple WAR with one servlet. The WAR runs perfectly on my 
Jboss 4.0.4.CR2 and also without any problems on a tomcat 5.5.17. 

unfortunately, it throws a NoClassDefFoundError: javax/servlet/http/HttpServlet 
exception on my 4.0.4.GA installation.

i used the wizzard to create a fresh installation using the "ejb 3" option.

please refer for your own tests to the compiled and assembled war (compiled 
using jdk 5 update6)
http://www.x8ing.com/tmp/TestServlet.war 

the java source of the servlet:
http://www.x8ing.com/tmp/TestServlet.java 

finally i also uploaded the complete jboss-server log:
http://www.x8ing.com/tmp/TestServletLog.txt 

the exception looks about like this
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
  |     at java.lang.ClassLoader.findBootstrapClass(Native Method)
  |     at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
  |     at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
  |     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  |     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  |     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  |     at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  |     at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
  | 

any help is welcome. is this a serious bug? has anybody out there  a running 
servlet on the 4.0.4.GA installation?

regards,
patrick heusser

--
patrick heusser
http://www.x8ing.com

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944391#3944391

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944391


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to