Errors when deploying the Jetty sar in JBoss

  • Share
  • Share

Applies to:
Jetty, JBoss

Description:
Occurs when deploying the Jetty sar in Jboss

Cause:
a. There is old Jetty or Tomcat sar in the JBoss deployment directory.
b. Inccorrect web.xml in the JBoss distibution.
c. Old Jetty JBoss sar file.
d. Invalid Jetty JBoss sar file.

JAVA-Jetty , , , , , ,

  1. admin
    March 20th, 2009 at 10:28 | #1

    First, check that you have removed any old Jetty or Tomcat sars from the JBoss deployment directory.
    Second, read this JBoss forum entry regarding incorrect web.xml files in the JBoss distro: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63494
    Third, try the most recent JettyJBoss sar.
    Fourth, try recompiling the JettyJBoss sar against your version of JBoss:
    1. Download a jetty-x.x.x-all.zip and unzip it.
    2. Edit the $JETTY_HOME/extra/j2ee/jboss.properties file and change the JBoss version and location to match your installation.
    3. Do an ant all build in the $JETTY_HOME/extra/j2ee directory.
    4. Copy the sar produced from the build to your JBoss deploy directory (ensuring you have removed any old sars first).

  1. No trackbacks yet.