wjw465150 / run-jetty-run

Automatically exported from code.google.com/p/run-jetty-run
0 stars 0 forks source link

Webapp works in Jetty 8 but not 7 #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
I have a Spring webapp that is initialized by a context listener in the 
web.xml.  In my Spring context, I have a JNDI datasource lookup which maps 
against a JNDI datasource defined in my src/main/WEB-INF/jetty-env.xml (so I do 
enable JNDI support).  When I start the app with Jetty 7, it looks like it 
ignores the context listeners and the Spring context doesn't load.  It doesn't 
look like Jetty initializes all the way either because all paths return a 404 
response.

When I change the configuration to Jetty 8 and start the app, it works.  I have 
tested the app with Jetty 7 and mvn jetty:run and it works there also.

What steps will reproduce the problem?
1. Start app in Jetty 7.  Webapp doesn't initialize.
2. Start app in Jetty 8.  Webapp works normally.
3.

What Eclipse version are you using ?
3.7.2

What Run-Jetty-Run version are you using?
1.3.3

What OS are you using ? 32bit or 64 bit?
Windows 7 64bit

Please provide any additional information below.

Original issue reported on code.google.com by wvuong@gmail.com on 24 Jul 2012 at 11:49