Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 6 on Debian

On 6/28/2010 7:29 PM, Jan Bartel wrote:
Bob,

You need to have set up your webapp to use jetty plus
features, such as jndi.

Here's the page which talks you through how to do that:
http://docs.codehaus.org/display/JETTY/JNDI

It doesn't specifically mention jetty on debian, but
the procedure is the same as for a non-debian install
of jetty, its just that the config files are in different
locations.

cheers
Jan

On 29/06/10 09:06, Bob Feldbauer wrote:
I'm probably missing something simple, but I can't seem to get Jetty
6.1.24 to read WEB-INF/jetty-env.xml from a WAR file on Debian (it works
fine running under IntelliJ). I tried -DDEBUG and added a Call to
jetty-env.xml, but it simply doesn't get read at all.

I know Debian's Jetty setup has some differences from a standard setup -
is anyone familiar with any issues getting jetty-env.xml to be used/read
under Jetty 6+Debian?

Thanks,

Bob Feldbauer
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

Thanks for the advice about jetty-plus and JNDI. I actually already went through that, and have the jetty-plus package installed (Debian Sid). From what I see, using jetty-plus.xml on startup and putting my WAR in the webapps-plus/ directory should cover the jetty-plus/JNDI issues. To clarify, I don't see my jetty-env.xml being read at all -- I don't see any errors if I break it or any log entries if I add a log <Call. Is there anything else I can do to see if it is being read, or see why it wouldn't be, besides -DDEBUG and <Call to log in jetty-env.xml?

Thanks,

Bob Feldbauer


Back to the top