如何在JBOSS 7上部署一个简单的war文件? [英] How to deploy a simple war file on JBOSS 7?

查看:1140
本文介绍了如何在JBOSS 7上部署一个简单的war文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我部署了一个简单的war文件(vivek.war),它在 Jboss-5.XX和Jboss-6.XX $ b中成功包含一个简单的index.jsp文件$ b我只是将war文件放在 server\default\deploy

I deployed a simple war file (vivek.war) which contains a simple index.jsp file successfully in Jboss-5.X.X and Jboss-6.X.X. I simply placed the war file in server\default\deploy

然后转到 localhost:8080 / vivek / index.jsp ,一切都很好。

And then went to localhost:8080/vivek/index.jsp and everything was fine.

但同样,对于Jboss-as-7.1。 1,我在独立的 standalone\deployments 中部署了war文件,并启动了 \bin\standalone.sh 并且然后转到 localhost:8080 / Hello / index.jsp 不显示该文件。
显示 HTTP状态404- / vivek / (说明请求的资源(/ axis2 /)不可用。)在浏览器中。

But Similarly, for Jboss-as-7.1.1, I deployed the war file in standalone standalone\deployments and started \bin\standalone.sh and then went to localhost:8080/Hello/index.jsp does not display the file. it shows HTTP Status 404-/vivek/ (description The requested resource (/axis2/) is not available.) in the browser.

在Jboss-as-7.1.1上部署简单war文件的步骤是什么以及我如何进入浏览器。

What is the procedure to deploy a simple war file on Jboss-as-7.1.1 and how i get in browser.

如果有人有想法请帮助我吗?

if nay one have idea please help me?

Thanx

推荐答案

您应该在部署目录中输入空标志文件 warname .dodeploy(例如vivek.war.dodeploy)。

You should PUT an empty flag file warname.dodeploy (ex. vivek.war.dodeploy) in your deployments directory.

有关标志文件的更多信息,请参阅部署目录中的README.TXT。

More information about flag files is available in the README.TXT in the deployments directory.

这篇关于如何在JBOSS 7上部署一个简单的war文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆