We have an Apache tomcat server that runs a current web service. We were trying to deploy a second version (with a few tweaks) however when we copy the war file over, the first one stops working. Why??
views:
49answers:
3
A:
Is the Context root different in the war files. If not I believe the server will not validate the url correctly.
dealton
2010-06-28 23:18:46
The context is the WAR file name - should be different. You don't need to add Context to the XML
duffymo
2010-06-29 00:57:24
+1
A:
If your application writes to a database, and another copy of it is competing for the same data in the same database, this can result in such behaviour. Does your application write to a "fixed" database? If so, you will need to create another database, or change the way the application deals with the database.
jowierun
2010-06-28 23:33:15