using jboss 2.4.4 with jetty4
cavaliereoscuro Apr 18, 2002 8:57 AMHello everybody!
I tried to install jetty4 with jboss2.4.4.
I downloades first the jboss-jetty3.1.7 package then the jetty4 and extra packages
I unzipped the jetty4 packages in the jbossjetty dir naming jetty4 and jetty4-jmx, then i added a jetty4 configuration dir for jboss based on the jetty jboss configuration dir.
I modified the jboss.conf so jboss uses directly the jetty4 jetty.xml conf file insted of the copy in the jboss conf dir.
When i tried to start the new configuration (i modified the run_with_jetty pointing to the new jetty4 conf) i got a lot of errors but the root of the problem was
[ERROR,ConfigurationService] Unexpected error
java.lang.NoClassDefFoundError: org/mortbay/http/HandlerContext
at org.jboss.jetty.JettyService.ensureJetty(JettyService.java:125)
at org.jboss.jetty.JettyService.ensureService(JettyService.java:166)
at org.jboss.jetty.JettyService.initService(JettyService.java:198)
at org.jboss.util.ServiceMBeanSupport.init(ServiceMBeanSupport.java:77)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
at $Proxy0.init(Unknown Source)
at org.jboss.util.ServiceControl.init(ServiceControl.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.(Main.java:207)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106)
Someone can help me?
Andrea