Can a working Tomcat 6 webapp be turned into a usable .war file?
Posted
by
Bill Cole
on Server Fault
See other posts from Server Fault
or by Bill Cole
Published on 2012-11-14T22:44:46Z
Indexed on
2012/11/14
23:02 UTC
Read the original article
Hit count: 242
Problem: I have a working webapp on a FreeBSD 8.1 Tomcat 6 test server that I need to move to a production system. The developer who last touched it (and had root on that server) has moved on and isn't helpful. The running app seems to have been deployed from a CVS server that is now unavailable.
My thinking is that I would like to find a way to wrap the working webapp into a proper .war so that I can deploy it on a pristine host and (after testing) send the existing system to a very deep bitbucket. But I'm not having luck finding a way to do that.
I'm a sysadmin not a developer and don't work much with Tomcat systems so I may be (likely am) overlooking something blindingly simple. I gather that I may be able to just tar up the deployed directory and untar it on the new machine, but I have a nagging feeling that there are pitfalls in that.
© Server Fault or respective owner