A note about Jetty <Property/> elements sourced from conf/idp.properties
Cantor, Scott
cantor.2 at osu.edu
Tue May 6 20:56:52 EDT 2014
On 5/6/14, 7:14 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>
>I was also hoping for container keystore paths and passwords to be in
>idp.properties, but right now they would be in jetty-base/start.d,
>which I do not like much.
Unless we're bundling Jetty, which is no longer in the immediate plans, it
doesn't really matter. We can't limit containers to just Jetty in practice
(even if we didn't support Tomcat, people would still use it) and so
targeting Jetty specific approaches doesn't really help that much anyway.
>I guess we could file a bug, not worry about it, or write a helper
>class to conjure up properties from idp.properties using the jetty.xml
>native syntax.
That's probably not a bad strategy.
>It turns out that start.jar calls XmlConfiguration.main() which does
>accept properties files from arbitrary locations, but for some reason
>command line args are not passed in totality between the two Jetty
>classes.
The way the command line works is very complicated in Jetty. I suspect
maybe you just haven't found the right trick. In older versions I had to
use the --dry-run option to get it to give me the command it was going to
run and then run it myself, or things didn't happen right.
-- Scott
More information about the dev
mailing list