Hi all,
Hi Eric,
I thought this might be a more appropriate list for my question:
I am working with the version of Cactus and Maven in CVS head. At this point, my remaining headache is with using my own server.xml and tomcat 4.1.x...
If I don't specify a server.xml, then my war file is unpacked, and the tests
all run. The only issue is that this causes things to fail as I need
settings from my server.xml. If I specify one via: cactus.tomcat4x.config = ${basedir}/src/conf/cactus-server.xml
Then my cactus-server.xml is copied over as the server.xml. However, the war file is never unpacked, and eventually I time out. Here is my relavant portion:
<Context path="/fortius-cactus" docBase="fortius-cactus" debug="0" reloadable="true">
<Loader checkInterval="1"/>
<ResourceLink name="jdbc/fortius" type="javax.sql.DataSource" global="jdbc/fortius"/> </Context>
However, if I refer to another, already expanded war file like this:
<Context path="/fortius-cactus" docBase="C:\clients\Upstate\fortius\target\fortius-cactus" debug="2" reloadable="false">
Then everything works! I tried specifing as my docBase="fortius-cactus.war", and that put all my classes and jars in the work subdirectory, but my application only works from an unpacked war file, and therefore things would fail.
Any suggestions on how to format my <context> would be great.. I like the new ant integration stuff, and I feel so close to getting everything working..... ;-)
I think you'll need to provide a <Host> element in which your <Context> is nested, and set its 'unpackWARs' attribute to 'true'
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html
Hope that helps, -chris
-- Christopher Lenz /=/ cmlenz at gmx.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
