通过install4j安装程序在JBoss上部署Web应用程序的步骤 [英] Steps to deploy web application on JBoss via install4j installer
问题描述
我不确定应该从哪里开始,因为我必须通过install4j安装程序在JBoss上部署Web应用程序.
I am not sure where should I start from as I have to deploy a web application on JBoss via install4j installer.
我已经创建了Dynamic Web Apllication,我想在JBoss上部署此应用程序,但是在客户端计算机上部署war文件并配置JBoss并不是一个好主意,因此我想创建一个安装程序文件(.exe)文件,该文件将请注意以下事项:
I have created the Dynamic Web Apllication and I want to deploy this application on JBoss but deploy a war file and configure JBoss on client machine is not a good idea thus I want to create a installer file (.exe) file which will take care of following things:
-
在客户端计算机上安装JBoss服务器
Installation of JBoss server on client machine
在JBoss服务器上部署我的应用程序
Deploy my application on JBoss server
因此我只需要将该安装程序文件提供给客户端,单击该安装程序即可为我完成所有工作,而且由于我是install4j工具的新手,因此我无法使用install4j工具执行此操作.任何人都可以提供使用install4j或任何其他工具创建.exe文件的简单步骤
so that I just have to give that installer file to client and on single click the installer will do all the things for me and as I am new to install4j tool, I am not able to do this with install4j tool.Anyone can provide simple steps to create .exe file using install4j or any other tools
编辑 到目前为止我尝试过的
EDIT what I tried so far
- 常规设置
1.1应用程序信息
指定所有信息,例如全名,短名,版本...
Specify all The information like full name,Short name,version...
1.2 Java版本
min version=1.4
max version=1.7
* 注意:混淆环境变量JAVA_HOME,JDK_HOME *
1.3语言
英语
1.4媒体文件选项
Media File Output Directory:*/home/shekhar/*
Media file Pattern
name:${compiler:sys.shortName}_${compiler:sys.platform}_${compiler:sys.version}
使用LZMA压缩 注意:其余选项不变
Use LZMA compression Note: Rest of options are unchanged
-
文件
Files
2.1分发文件
添加文件和目录:指定应用程序所在的路径
注意:其余选项不变
2.1 Distribution Files
Add Files and Directories:specify the path where application exists
Note: Rest of options are unchanged
发射器
3.1生成的启动器 添加新的启动器
3.1 Generated Launcher add a new Launcher
安装程序
不变
媒体
安装程序
默认情况下创建一个新的安装程序
Installer
create a new installer by default
构建
6.1开始构建
准备配置
Creating media file 'Unix Installer':
Collecting files:
Compiling launchers:
Compiling launcher 'connector':
Generating launcher script file
Generating VM options file connector.vmoptions.
Creating media file:
Generating launcher script file
Zipping custom code & resources JAR file
Identifying components
Shrinking runtime
Compressing files
Applying LZMA compression
Moving media files to media directory /home/shekhar/Desktop
The name of the media file is she_unix_1_0_0.sh (click to execute)
The size of the media file is 1.7 MB
Writing md5sums.
Writing updates.xml.
To check your settings, you can generate a project report
Build was completed in 13.9 seconds.
我已经运行了该exe文件,但是它已经创建了应用程序文件夹结构,但是JBoss Configuration在哪里,以及如何在JBoss上部署该应用程序
I have run this exe but it has created application folder structure but where is JBoss Configuration and how can i deploy this apllication on JBoss
推荐答案
在本地部署Web应用程序涉及将WAR文件复制到特定目录,对于JBoss而言,该目录为standalone\deployments
目录.在install4j中,可以使用复制文件或目录"操作将war文件从分发树复制到任意目录.
Deploying a web application locally involves copying a WAR file to a specific directory which in the case of JBoss is the standalone\deployments
directory. in install4j, you can use a "Copy file or directory" action to copy a war file from a distribution tree to an arbitrary directory.
这篇关于通过install4j安装程序在JBoss上部署Web应用程序的步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!