Hi David,
Looks like there may be a problem with your Context Resource code.
>From your programmatic configuration:
>ContextResource resource = new ContextResource();
>resource.setName("jdbc/reference");
>From your commented 'origin' example:
>
Hi! :-)
My problem it that I don`t know at boot time how much applications I
will need. I want a sample web app and deploy it on X different context
(/as1, /as2).
So I would like to have a simple application (exploded war directory)
and deploy it X time usinng each time a different Resourc
Hola,
Why not just set autoDeploy="false" on your Host in server.xml, put
your webapp in the appBase directory like you normally would, and use
the manager interface (JMX, HTML, ant, your choice) to send the deploy
command? That way you don't have to write any code...
Yoav
On 5/18/06, David Gag
Hi,
I want my tomcat have war unpacked on the disk. The application will
only be deployed when it receives a message...
I tried with the following code without success. My biggest problem for
now is how to specify info for the jdbc connection.
StandardContext context = new StandardConte