Hi, I'm currently using Pax-web 1.1.4 (upgraded today) + war extender + whiteboard. We have a JS heavy app backed up by several servlets. The servlets are registered using DS (and picked up by whiteboard). I have been trying to use a war/<content> to serve my html+js code, but it does not behave consistently.
The system is throwing the "HTTP Context already in use ..." exception when the war is getting registered. Then, there seem to be some kind of racing condition b/c sometimes my static context comes under the manifest declared <Web-ContextPath>/<mycontent> and sometimes lands on /<mycontent>. Is it the expected behavior that a resources from a bundle cannot be served from a war (war extender?) and whiteboard at the same time? Currently I've created a bundle activator following [1] to load my static content on a know path, but this path it's deep and obscure in the code and might be a headache for the guy who will have to maintain the sw afterwards. I'd prefer the declarative war method if possible. Also, I don't see how to create a <welcome-file-list> with the programmatic method. Any hints on this case? many thanks, Gerard. [1] http://team.ops4j.org/wiki/display/ops4j/Pax+Web+Extender+-+Whiteboard
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
