Hello out there… Tools like psi-probe http://code.google.com/p/psi-probe/ wont show a context-descriptor for the standard orbeon.war Any idea why? It works for mostly any other installable tomcat war bundles. Tried it with last stable and actual nightly build on tomcat 6.0.29 and on tomcat 6.0.32. Any Ideas? Regards Ilja Werner -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Ilja,
> Tools like psi-probe http://code.google.com/p/psi-probe/ wont show a > context-descriptor for the standard orbeon.war > > Any idea why? i think there's no need for special context settings when using the default install. If special configurations are required, the easiest way may be: - create a context fragment holding the required definitions, e.g. a realm to authenticate users using LDAP; - create a META-INF directory on the same level as WEB-INF in the orbeon war; - and put the context fragment (named context.xml) into the META-INF dir. I use such a LDAP authentication config in my own app, and psi-probe displays that context fragment without problems. HTH florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Florian,
good idea. But that means touching the original war file. I'd prefer to, by example, attach a sandbox directory for *outside* a completely untouched orbeon.war. I want to avoid unpacking orbeon.war and repackage it with a differen META-INF as tomcat6 has the availability to put a file in catalina/localhost/orbeon.xml. Is repackaging with a META-INF directory really necessary? Regards Ilja Werner -----Ursprüngliche Nachricht----- Von: Florian Schmitt [mailto:[hidden email]] Gesendet: Freitag, 18. Februar 2011 13:00 An: [hidden email] Betreff: [ops-users] Re: No context available tools like psi-probe Ilja, > Tools like psi-probe http://code.google.com/p/psi-probe/ wont show a > context-descriptor for the standard orbeon.war > > Any idea why? i think there's no need for special context settings when using the default install. If special configurations are required, the easiest way may be: - create a context fragment holding the required definitions, e.g. a realm to authenticate users using LDAP; - create a META-INF directory on the same level as WEB-INF in the orbeon war; - and put the context fragment (named context.xml) into the META-INF dir. I use such a LDAP authentication config in my own app, and psi-probe displays that context fragment without problems. HTH florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Ilja,
> good idea. But that means touching the original war file. > I'd prefer to, by example, attach a sandbox directory for *outside* a > completely untouched orbeon.war. > I want to avoid unpacking orbeon.war and repackage it with a differen META-INF > as tomcat6 has the availability to put a file in > catalina/localhost/orbeon.xml. > > Is repackaging with a META-INF directory really necessary? hmm - i'm not a tomcat expert, but i think it should work without repackaging. In my own app, i have to repackage the war anyway, because the navigation is based on page-flow and XPLs, so in my case dropping the context descriptor into the META-INF is the easiest way. I've just tried to add a custom context descriptor to a nightly orbeon-CE war, and it worked for me: -------------- florian@pc-virt-40-111:/srv/tomcat$ ls -la conf/Catalina/localhost/ insgesamt 28 (...) -rw-r--r-- 1 tomcat6 tomcat6 380 2011-02-21 12:15 orbeon-CE.xml (...) -------------- Probe displays the content of orbeon-CE.xml without problems. HTH florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |