Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Voicetools » FYI: how to update an openvxml application in Tomcat
FYI: how to update an openvxml application in Tomcat [message #18900] Wed, 11 June 2008 16:23 Go to next message
Randy Childers is currently offline Randy Childers
Messages: 121
Registered: July 2009
Senior Member
This is just an FYI for those who aren't intimately familiar with the way
Tomcat works.



There's something tricky about redeploying a new version of an application
to a Tomcat installation; there is an internal cache which, if you don't
explicitly delete it, you can delete the folder with the same name in the
webapps directory and replace the existing .war, but you'll actually be
using the previous version of the application still in the cache. The
routine I follow to avoid this is:

(assume for this example that we're updating acme.war)



1. Stop the Tomcat service

2. In the Tomcat\webapps folder, delete the acme.war file and the acme
folder

3. In the Tomcat\work\Catalina\localhost folder, delete the acme
folder (this is the cache)

4. Copy in the new acme.war to the webapps folder

5. Start the service

6. Wait a little while for Tomcat to unpack the .war and get things ready
to serve VXML



Randy

OpenMethods
Re: FYI: how to update an openvxml application in Tomcat [message #662947 is a reply to message #18900] Fri, 01 April 2011 14:38 Go to previous message
Carlitos  is currently offline Carlitos
Messages: 13
Registered: April 2011
Junior Member
Hi Randy,

I downloaded the latest OpenVXML version from openmethods.com and created a simple app that worked the first time I deployed to Tomcat. However, I came back and changed a TTS prompt in it, recompiled it (or, at least, I think I did since I did a Project->Clean...->Clean all projects and I have the Build Automatically checked), re-deployed using your tomcat deployment instructions you provided, but I'm still getting the old version of the tts prompt. Any ideas? Am I building the thing correctly? Anything else I need to be aware of?

Thanks,
Carlos
Previous Topic:Calling web services made in eclipse through javascript
Next Topic:Ideas for Voice Tools
Goto Forum:
  


Current Time: Mon Sep 22 20:25:35 GMT 2014

Powered by FUDForum. Page generated in 0.01805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software