如何在Jboss AS上部署JBoss ESB [英] How to Deploy a JBoss ESB on a Jboss AS
问题描述
我正在尝试使用Ant在Jboss AS上部署Jboss esb.但是我遇到以下错误,这使我无法构建.我当然已经用正确的服务器主目录和服务器配置路径更改了.Properties文件. 以下是我遇到的错误
I am Trying to deploy Jboss esb over Jboss AS using Ant. but i am getting the following error and it is giving me a build fail. I certainly have changed the .Properties file with the correct Server home and server config paths. Below is the error i am getting
我也有Jboss 5.1.0 AS和Jbossesb 4.1.0 我不确定我需要对build.xml文件进行哪些更改.
Also I have Jboss 5.1.0 AS and Jbossesb 4.1.0 I am not sure what changes do i need to make with my build.xml file.
C:\jbossesb-4.10\install>ant deploy
Buildfile: C:\jbossesb-4.10\install\build.xml
check.deploy.props:
dependencies.source:
dependencies.jbossesb:
dependencies:
init.bindings.props:
undeploy.bindings:
undeploy.jbossas5:
undeploy.jbossas6:
undeploy:
BUILD FAILED
C:\jbossesb-4.10\install\build.xml:480: Directory does not exist: C:\jbossesb-4.10\install\jboss-5.1.0.GA\server\all\lib
推荐答案
要将jboss-esb部署到jboss,因为您需要在
In order to deploy jboss-esb on to jboss-as you need to have deployment.properties file in
您的jboss-esb安装文件夹(例如:\ jbossesb-4.6 \ jbossesb-4.6 \ install)
your install folder of jboss-esb (for ex: \jbossesb-4.6\jbossesb-4.6\install)
在该部署属性文件中,您需要将 jboss-as home 设置为
in that deployment properties file you need to set your jboss-as home
例如:org.jboss.esb.server.home = D:/J Boss Book Installs/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA
ex: org.jboss.esb.server.home=D:/J Boss Book Installs/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA
注意:斜杠的方向非常重要,斜杠的方向应为正斜杠(/)(如上例所示),以便将其编入给定服务器.home位置.
NOTE: the direction of slash is very important it should be forward slash(/) (as specified in example above) for it get indexed in to the given server.home location .
否则,您将得到目录不存在错误,就像您在问题中上面指定的错误一样.
Otherwise you will get directory doesn't exist errors just like the one you specified above in your question .
检查您的deployment.properties文件并更正server.home,这可能会解决您的错误!!!
Check your deployment.properties file and correct server.home it would probably resolve your error !!!
这篇关于如何在Jboss AS上部署JBoss ESB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!