[jetty-users] Maven plugin 7.5.1: systemProperties not being honoured?

2011-09-12 Thread Robert Munteanu
Hi, I've just upgraded my plugin configuration from 6.1.25 to 7.5.1.v20110908 . The single issue I still face is that the systemProperties are not applied. This section used to configure logback has no effect:

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-12 Thread Thomas Becker
Hi, I just recently setup a JAAS setup using the same tutorial as you did: http://wiki.eclipse.org/Jetty/Tutorial/JAAS I remember I've had the same exception and I did resolve it by starting from scratch and recreating all config files. So I don't know exactly what my problem was. However co

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-12 Thread Jesse McConnell
This is generally a classloader issue so make sure that your login class in available where it should be. as thomas said, how are you starting up jetty? cheers, jesse On Mon, Sep 12, 2011 at 07:40, Thomas Becker wrote: > Hi, > > I just recently setup a JAAS setup using the same tutorial as you

Re: [jetty-users] Maven plugin 7.5.1: systemProperties not being honoured?

2011-09-12 Thread Joakim Erdfelt
You can't use slf4j and logback in this way. The slf4j configuration will initialize (and consequently logback as well) early, at plugin start, hence you can't have that same plugin then start to set system properties that then configure the slf4j and logback specifics. -- Joakim Erdfelt joa...@i

Re: [jetty-users] Maven plugin 7.5.1: systemProperties not being honoured?

2011-09-12 Thread Robert Munteanu
Hi, Since this worked in 6.1.25, and documented as such under http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin#MavenJettyPlugin-Logging ( see Logback-Classic as the logging backend for the JSP Engine ) , I would think that it would work in 7 as well. If that assumption is wrong, and the

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-12 Thread Guofeng Zhang
I can run my web app using jetty-maven-plugin by setting the following: org.mortbay.jetty jetty-maven-plugin .. java.security.auth.login.config src/main/resources/jetty/jaas.conf

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-12 Thread Guofeng Zhang
if I add my login module jar with "-Dpath" in the command line as the following: java -Dpath=jars/org.planner.security-1.0.0-SNAPSHOT.jar -Djava.security.auth.login.config=file://D:/projects/ap/jetty-distribution-8.0.1.v20110908/conf/jaas.conf -jar start.jar it works well. but if I simply copy th