One thing I notice in your config, you've not specified a contextPath name. Is that what you want? Have you tried with an explicit context name and changing the client urls to match?
I typically use Jetty as Jetty-Plus to get JNDI support. I've not had much experience with Jetty6 so I can't really be of specific help there.
But, I have got Jetty6 working with HttpInvoker. Here's an example config I've had working while testing. I know there's other ways of doing this, but I don't know the details. This is in my jetty-plus.xml:
JonnyCode:<Configure id="Server" class="org.mortbay.jetty.Server"> <Array id="plusConfig" type="java.lang.String"> <Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item> <Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item> <Item>org.mortbay.jetty.plus.webapp.Configuration</Item> <Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item> <Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item> </Array> <New id="DataAccessServicesContext" class="org.mortbay.jetty.webapp.WebAppContext"> <Arg><Ref id="contexts"/></Arg> <Arg>path to war</Arg> <Arg>/dataaccess</Arg> <Set name="ConfigurationClasses"><Ref id="plusConfig"/></Set> <Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set> <Get name="SessionHandler"> <Set name="SessionManager"> <New class="org.mortbay.jetty.servlet.HashSessionManager"> <Set name="maxInactiveInterval">600</Set> </New> </Set> </Get> </New> </Configure>


Reply With Quote
