Does the install ant task from 'catalina-ant.jar' work for anyone? When I try to use it works fine until I restart the server - it seems like the install task uses a HTTP PUT to put the warfile under work/ then catalina edits its own server.xml so the new context will survive a reboot. This is just what I need, but it seems to write invalid xml back to it.
Next time I restart tomcat I get: java.lang.IllegalAccessException: org/apache/catalina/core/StandardContextValve at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:2 53) at org.apache.commons.digester.Digester.startElement(Digester.java:1237) at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser .java:459) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractX MLDocumentParser.java:221) at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder. java:595) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XML DocumentFragmentScannerImpl.java:747) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispa tcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocu etc, etc. A diff of my (thankfully backed up) server.xml shows a *lot* of changes - it's not like I'm doing anything funny in there: I have a vhost, a JDBCRealm, and that's it. I suppose I can work around it by copying the warfile to the appBase and restarting the server, but that's highly clanky. Has anyone had more luck? I was hoping to use this for remote deployment, so the HTTP PUT is very useful - am I right in thinking that if the warfile was copied to appBase (rather than a subdirectory of work), then the auto-deploy festure would mean you wouldn't need to restart tomcat at all? Getting rid of the webapp later would be a pain though.. -- Rasputin :: Jack of All Trades - Master of Nuns --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
