简体   繁体   English

如何在JBOSS中部署应用程序?

[英]How to deploy Application in JBOSS?

Successfully I installed jboss-as-7.1.1.Final in windows 7 using StackoverFlow help. 我使用StackoverFlow帮助在Windows 7中成功安装了jboss-as-7.1.1.Final I have a Application name as HellowWorld . 我的应用程序名称为HellowWorld。 Inside HellowWorld Application folder I have WEB-INF sub folder and Hellow.jsp file. 在HellowWorld Application文件夹中,我有WEB-INF子文件夹和Hellow.jsp文件。

I want to test,whether Application is working or not.for this I tried in following way 我想测试应用程序是否正常工作。为此,我尝试了以下方法

I placed my entire folder under <jboss-Home>//standalone//deployments ,started my server and log in but I didn't seen any files in my console page. 我将整个文件夹放在<jboss-Home>//standalone//deployments ,启动了服务器并登录,但是在控制台页面中没有看到任何文件。

How will I deploy App? 我将如何部署App?

Thanks 谢谢

Try to make a war file of your app 尝试为您的应用制作战争文件

jar -cvf app1.war *

and deploy 并部署

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM