[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Multiple Web Applications with the maven jetty plugin
|
Hey,
since configuring the loginServices:
<loginServices>
<loginService implementation="org.eclipse.jetty.security.HashLoginService">
<name>Test Realm</name>
<config>${basedir}/src/etc/realm.properties</config>
</loginService>
</loginServices>
it works. I don't know why the realm is nedded, but what's the point?
So, useCase one succeeds. Remeining two.
Fredy
2011/3/2 SoftwareEngineering Hauschel
<info@xxxxxxxxxxx>
Hey Thomas,
I've found this docu, but there is now documentation on how to run multiple webapps.
And the simple cases don't work for me ;-(
For the example "Running a Pre-assembled WAR with mvn jetty:deploy-war" I get the following error:
2011-03-02 10:42:14.118:WARN::FAILED org.eclipse.jetty.security.ConstraintSecurityHandler@1092447: java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@4a0ac5 in org.eclipse.jetty.security.ConstraintSecurityHandler@1092447
I've a Integartiontest project with some integrationtests which need one webApp to run on port 8080.
Another one witch need >1 webApps to run on port 8080. And one more, that should have webapps on port 8080 and some other webApps on port 8090.
With the "old" maven-jetty-plugin the firts two useCases are no problem. with
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.3.0.v20110203</version>
it seems to be not so easy anymore ,-(
Fredy
--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092
Mein Strom kommt von http://www.greenpeace-energy.de und http://www.naturstrom.de. Für eine saubere Zukunft!
Der Umstieg ist jederzeit völlig problemlos möglich: http://www.atomausstieg-selber-machen.de.
--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092
Mein Strom kommt von
http://www.greenpeace-energy.de und
http://www.naturstrom.de. Für eine saubere Zukunft!
Der Umstieg ist jederzeit völlig problemlos möglich:
http://www.atomausstieg-selber-machen.de.