Login  Register

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

Posted by fl.schmitt(ops-users) on Feb 21, 2011; 11:38am
URL: https://discuss.orbeon.com/No-context-available-tools-like-psi-probe-tp3312399p3317193.html

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