本文介绍了可以在JBoss AS 7中部署爆炸式战争文件(解压缩的战争)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在复制到以下部署文件夹中时部署'app.war'文件没有问题:_
jboss-as-7.0.0 .Final\jboss-AS-7.0.0.Final\standalone\deployments的; JBoss7将正确部署它。

我想对分解文件夹'app'(即解压的app.war)也这样做。 Apache Tomcat与其部署目录中的分解文件夹正常工作,但JBoss无法执行相同操作。

I Have no problem in deploying an 'app.war' file when copied into the below deployments folder :
"jboss-as-7.0.0.Final\jboss-as-7.0.0.Final\standalone\deployments"; JBoss7 would deploy it properly.
I would like to do the same for an exploded folder 'app'(i.e. extracted app.war). Apache Tomcat works properly with an exploded folder in its deployment directories, but am unable to do the same for JBoss.

我确实把 deployment-在JBoss控制台中扫描仪自动部署 - 爆炸='真'而且我已经在部署目录中创建了'app.war.dodeploy'文件以及提取的'app'文件夹。我无法在jboss服务器中部署并启动应用程序。

I did put deployment-scanner auto-deploy-exploded='true' in JBoss console; and I did create 'app.war.dodeploy' file along with an extracted 'app' folder in deployments directory. I am unable deploy and start the 'app' in jboss server.

我想知道是否可以在JBoss7中部署爆炸式战争文件(解压缩的战争)。



我想特别部署一个解压缩的文件夹,因为我使用'部署软件。 Kwatee将爆炸(提取的战争)文件夹复制到其目标服务器部署文件夹。我会感激,如果有人知道如何使夸特移动一个战争文件,因为它是,而不是移动一个提取的战争文件夹。我也会感谢任何人可以为Kwatee或


I would like to particularly deploy an unzipped folder because I am using 'Kwatee' deployment software. Kwatee copies an exploded (extracted war) folder to its target server deployment folder. I would appreciate if anyone knows How to make Kwatee move a 'war' file as it is, instead of moving an extracted war folder. I would also appreciate if anyone can suggest an alternate software for Kwatee or answer my previous related question

推荐答案

将你的文件夹重命名为 app.war ,然后触摸您的 app.war.dodeploy 文件。

Rename your folder to app.war and touch your app.war.dodeploy file.

我还建议您编辑 deployment-scanner standalone.xml 配置文件中,将 auto-deploy-expanding 属性更改回 false

I would also recommend editing your deployment-scanner in the standalone.xml configuration file and changing auto-deploy-exploded property back to false.

从:

这篇关于可以在JBoss AS 7中部署爆炸式战争文件(解压缩的战争)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 00:57