本文介绍了打包Tomcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的工作中,我们必须在各种环境中部署应用程序。这是一个标准的WAR文件,需要在Tomcat 6上部署一些配置。

In my job we have to deploy an application on various environments. It's a standard WAR file which needs a bit of configuration, deployed on Tomcat 6.

有没有办法用Tomcat创建一个'部署包',这样你就可以提取它和它设置Tomcat以及您的应用程序?我不确定用Tomcat文件夹创建一个.zip文件会起作用!它肯定不会安装该服务。

Is there any way of creating a 'deployment package' with Tomcat so that you just extract it and it sets up Tomcat as well as your application? I'm not sure that creating a .zip file with the Tomcat folder would work! It certainly wouldn't install the service.

建议欢迎!

我应该注意 - 目前 - 所有应用程序都部署在Windows服务器上。

I should note that - at the moment - all apps are deployed on Windows servers.

谢谢,
Phill

Thanks,Phill

推荐答案

我们使用来部署我们的应用程序,应用程序服务器并将其作为服务安装。我们在安装程序中嵌入以安装Windows服务。

We use Ant Installer to deploy our application, app server and install it as a service. We embed Java Service Wrapper in the installer to install the Windows service.

这篇关于打包Tomcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 10:07