Cheers for that, I've unpacked the war now and it works fine.
Is there any way to redeploy an unpacked war with undeploying and then redeploying. It doesn't take that long to redeploy but it is a bit ennoying.
Cheers, Owen
On Mon, 19 Apr 2004 15:15:57 +0000, Jacob Kjome <[EMAIL PROTECTED]> wrote:
You've got unpackWars="false". I don't use Velocity, but does it use File IO to load .vm files? If so, you will have to unpack wars to use Velocity. Pretty stupid on Velocity's part if they use File IO in Webapps.
Jake
Quoting Owen Fellows <[EMAIL PROTECTED]>:
Hi,
I've raised a bug online http://issues.apache.org/bugzilla/show_bug.cgi?id=28470 but though I would ask the question here as well.
-- The problem i'm experiencing is this.
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/index.vm'
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/index.vm' at org.apache.velocity.runtime.resource.ResourceManagerImpl. loadResource(ResourceManagerImpl.java:501)
---
I've deployed a war through the manager interface. It deploys fine, picks up the xml file with my context in it, datasource etc. First time i go to a page i get the above error.
I have unpackWARs set to false because i want to be able to reload my war without undeploying (I believe this possible). This is the Host tag in the server.xml <Host name="localhost" debug="0" appBase="webapps" unpackWARs="false" autoDeploy="false" xmlValidation="false" xmlNamespaceAware="false">
Questions. - Am i doing something wrong - Is there another way i can get my war to redeploy (without having to undeploy redeploy)?
Any replies or advice would be great.
Thanks, Owen
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]