Hi,

I'm currently using jetty-maven-plugin 7.2.0, and would like to upgrade to 
7.5.0 (then on to 8.0.0 and so on).  I have also tried versions higher than 
7.5.0, up to 
7.6.11.v20130520<http://mvnrepository.com/artifact/org.mortbay.jetty/jetty-maven-plugin/7.6.11.v20130520>,
 while any version between 7.2.1 and 7.5.0 will fail, due to 
http://jira.codehaus.org/browse/JETTY-1417

However, when I run my unassembled webapp using 7.5.0 or higher, I get a 503 
for any request sent to that particular context.  I can assemble my webapp and 
run it in a contextHandler just fine, but that's too slow for my developers to 
keep reassembling.    I can also see another contextHandler works, so I can 
only assume that the 7.5.0 fix was incomplete or something.  Any help would be 
appreciated.

Here's my output for the webapp running under 7.5.0 that shows 503.  Somehow 
this doesn't look right to me, doesn't look like the other context handlers:

org.mortbay.jetty.plugin.JettyServer@e12eceb STARTING

 +- org.eclipse.jetty.server.handler.HandlerCollection@553503e5#STARTED STARTED

 |   +- 
org.eclipse.jetty.server.handler.ContextHandlerCollection@b92db17#STARTED 
STARTED

 |   |   +- 
o.m.j.p.JettyWebAppContext{/widgets,[file:/Users/dwinsor/neo/neo-js/src/main/webapp/,
 
file:/Users/dwinsor/neo/neo-js/target/neo-js/]},[file:/Users/dwinsor/neo/neo-js/src/main/webapp/,
 file:/Users/dwinsor/neo/neo-js/target/neo-js/] STARTED

 |   |   |   +- WebAppClassLoader=383778547@16dffef3

 |   |   |   |   |

 |   |   |   |   +- 
ClassRealm[plugin>org.mortbay.jetty:jetty-maven-plugin:7.5.0.v20110901, parent: 
sun.misc.Launcher$AppClassLoader@69cd2e5f]

 |   |   |   |

 |   |   |   +- 
org.eclipse.jetty.tlds=[jar:file:/Users/dwinsor/.m2/repository/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.jar!/META-INF/sitemesh-decorator.tld,
 
jar:file:/Users/dwinsor/.m2/repository/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.jar!/META-INF/sitemesh-page.tld,
 
jar:file:/Users/dwinsor/neo/neo-js/target/neo-js/WEB-INF/lib/sitemesh-2.4.2.jar!/META-INF/sitemesh-decorator.tld,
 
jar:file:/Users/dwinsor/neo/neo-js/target/neo-js/WEB-INF/lib/sitemesh-2.4.2.jar!/META-INF/sitemesh-page.tld]

 |   |   |   +- 
org.eclipse.jetty.webFragments=[file:/Users/dwinsor/.m2/repository/org/springframework/spring-web/3.2.2.RELEASE/spring-web-3.2.2.RELEASE.jar,
 
file:/Users/dwinsor/neo/neo-js/target/neo-js/WEB-INF/lib/spring-web-3.2.2.RELEASE.jar]

 |   |   |   +- org.eclipse.jetty.tmpdirConfigured=true

 |   |   |   +- 
javax.servlet.context.tempdir=/Users/dwinsor/neo/neo-js/target/tmp


Here's parts of my effective pom:
      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>jetty-maven-plugin</artifactId>
        <version>7.6.11.v20130520</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.tomcat</groupId>
            <artifactId>catalina</artifactId>
            <version>6.0.29</version>
            <scope>compile</scope>
          </dependency>
        </dependencies>
        <configuration>
          <webAppConfig>
            <contextPath>/widgets</contextPath>
            <baseResource 
implementation="org.eclipse.jetty.util.resource.ResourceCollection">
              
<resourcesAsCSV>/Users/dwinsor/neo/neo-js/src/main/webapp,/Users/dwinsor/neo/neo-js/target/neo-js</resourcesAsCSV>
            </baseResource>
            
<overrideDescriptor>/Users/dwinsor/neo/neo-js/target/generated-resources/xml/override-web-default.xml</overrideDescriptor>
          </webAppConfig>
          <contextHandlers>
            <contextHandler 
implementation="org.eclipse.jetty.webapp.WebAppContext">
              
<war>/Users/dwinsor/neo/neo-js/target/dependency-wars/neo.war</war>
              <contextPath>/</contextPath>
              
<tempDirectory>/Users/dwinsor/neo/neo-js/target/tmp-neo</tempDirectory>
            </contextHandler>
          </contextHandlers>
          <scanTargets>
            <scanTarget>src/main/resources</scanTarget>
            <scanTarget>src/main/webapp</scanTarget>
          </scanTargets>
          
<jettyConfig>/Users/dwinsor/neo/neo-js/target/generated-resources/xml/jetty.xml</jettyConfig>
        </configuration>
      </plugin>

 Any help would be appreciated.

Thank you,
Daniel Winsor
Associate, IT Architecture
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to