Hi Perry,
Thanks for your EAR. I think I have found the problem. In your application.xml you specify a web-uri but no context-root element. I'm not sure this is allowed. However, I've modified Cactus to support this use case. If no context-root is specified, Cactus will now use the web-uri without a possible leading slash and without the extension.
It's not allowed AFAICT:
http://java.sun.com/dtd/application_1_3.dtd http://java.sun.com/j2ee/dtds/application_1_2.dtd
Both specify that the 'context-root' element is a mandatory child element of the 'web' element.
I don't think we should support invalid deployment descriptors, Cactus being primarily a tool for quality control ;-) So I'd prefer to see the change backed out, personally. We could also think about putting the XML parser that is used to parse the descriptors in <cactifywar> and <cactus> in validating mode, which would catch such errors and hopefully report a human-understandable error.
-chris
-- Christopher Lenz /=/ cmlenz at gmx.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
