Login  Register

AW: Re: No context available tools like psi-probe

Posted by Ilja Werner (psinova) on Feb 21, 2011; 10:17am
URL: https://discuss.orbeon.com/No-context-available-tools-like-psi-probe-tp3312399p3317093.html

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