It may need referencing from the ?jetty-plugin.xml?. I can't remember how it works offhand. I'll have a look over the weekend if you have not worked it out.
Cheers,
Jules
Jerome Lacoste (Frisurf) wrote:
On Wed, 2002-11-20 at 14:39, Jules Gosnell wrote:Here it goes:Excellent.Please keep me informed of any problems.
I managed to deploy our application 10 minutes ago, and until now it has
been running OK. I had one problem to solve:
Upon deployment of EAR files, (containing JSPs), JBoss complains that it
doesn't find the org.apache.jasper.servlet.JspServlet class. (log below)
The missing class is referenced by the following files in the resulting bundle (as built from source):
jetty\demo\webapps\jetty\doc\JettyWithJikes.html
jetty\demo\webapps\jetty\tut\Server.html
jetty\src\org\mortbay\jetty\servlet\mortbay\jetty\servlet\webdefault.xml
jetty\etc\demo.xml
and especially
jetty\etc\webdefault.xml
Sounds like Jetty still requires the jasper classes. But Jetty 4.2.1 doesn't contain jasper libs in the lib directory.
I solved the problem by copying the org.apache.jasper.jar file that was present in Jetty 4.0.4\lib into the Jetty 4.2.1\lib.
So it sounds like a problem coming from Jetty to me.
Am I correct? Or should I move this jar file in another place?
Cheers,
Jerome
Log: [Sorry for the formating]
[INFO,J2eeDeployer] Destroying application basis-ex2.ear
[ERROR,AutoDeployer] DeploymentInfo failed:file:/D:/dev/JBoss-2.4.10_Jetty-4.2.1
/jboss/deploy/basis-ex2.ear
org.jboss.deployment.J2eeDeploymentException: Error while starting basis-ex2.war
: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet, Cause:
org.jboss.deployment.DeploymentException: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:518)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:
459)
at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at
org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103
)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Conf
igurationService.java:967)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at org.jboss.Main.<init>(Main.java:209)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106)
Caused by: org.jboss.deployment.DeploymentException: java.lang.ClassNotFoundExce
ption: org.apache.jasper.servlet.JspServlet
at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:2
16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
28)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)
... 30 more
[INFO,AutoDeployer] Auto deploy of file:/D:/dev/JBoss-2.4.10_Jetty-4.2.1/jboss/d
eploy/lib/jbosspool-jdbc.rar
[INFO,RARDeployer] Attempting to deploy RAR at 'file:/D:/dev/JBoss-2.4.10_Jetty-
4.2.1/jboss/deploy/lib/jbosspool-jdbc.rar'
________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user