错误Ant构建/部署到WebSphere 7.0 [英] Error Ant Build/deploy to websphere 7.0

查看:698
本文介绍了错误Ant构建/部署到WebSphere 7.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想建立/战争部署到WebSphere Process Server 7.0。我在Windows环境下运行.....

我用<一个href=\"http://illegalargumentexception.blogspot.com/2008/08/ant-automated-deployment-to-websphere.html\" rel=\"nofollow\">http://illegalargumentexception.blogspot.com/2008/08/ant-automated-deployment-to-websphere.html作为我的参考。和的http://illegalargumentexception.google$c$c.com/svn/trunk/$c$c/java/WebSphereAntFiles/我的样品code到部署。

这是我的buil.properies是?

  #build性能
mywebappear = D:/data/$c$c/WebSphereAntFiles/scripts/test/mywebappEAR.ear#WAS6安装目录
WAS_HOME = C:/ IBM / WID7_WTE /运行时间/ bi_v7
#server名称(见小区/节点/服务器;例如服务器1)
was_server = server1的
#用户+密码;使用时的安全性已启用
was_user =管理员
WAS_PASSWORD =管理员
#stops的问题脚本
was_failonerror =真
#virtual主机
was_virtualhost = default_host的#Absolute路径EAR文件
#was_ear = fooEAR.ear企业应用程序#NAME
#was_appname = fooEAR

这是我的控制台,而我试图建立与ws_ant.bat

  [wsDefaultBindings] MyWebApp.war的
[wsDefaultBindings&LT;虚拟主机&GT; - &GT; default_host的
[wsDefaultBindings]
[wsDefaultBindings] ------------------------
[wsDefaultBindings]保存EAR文件到目录
[wsDefaultBindings]保存EAR文件到目录中成功test_wsStartServer:WAS_wsStartServer:depCheck:depCheck:
[startserver的] ADMU0116I:刀具的信息被记录在文件
[startserver的] C:\\ IBM \\ WID7_WTE \\运行时将\\ bi_v7 \\配置文件\\的QWP的\\ logs \\ server1的\\ startServer.log
[startserver的] ADMU0128I:开始用的QWP轮廓工具
[startserver的] ADMU3100I:服务器读取配置:server1的
[startserver的] ADMU3028I:冲突端口检测到8880可能的原因:一)的实例
[startserver的]服务器server1上已经运行二)其他一些工艺
使用端口8880 [startserver的]
[startserver的] ADMU3027E:服务器的一个实例可能已经在运行:服务器
[startserver的] ADMU0111E:程序,错误退出:
[startserver的] com.ibm.websphere.management.exception.AdminException:ADMU3027E:一个
[startserver的]服务器实例可能已经在运行:服务器
[startserver的] ADMU1211I:要获取故障的全部跟踪,使用-trace选项。
[startserver的] ADMU0211I:错误细节可以看出在文件中:
[startserver的] C:/ IBM / WID7_WTE /运行时间/ bi_v7 /型材/的QWP的\\ logs \\ server1的\\ startServer.log构建失败
D:\\ DATA \\ code \\ WebSphereAntFiles \\脚本\\测试\\的build.xml:6​​8:执行此线出现以下错误:
D:\\ DATA \\ code \\ WebSphereAntFiles \\脚本\\ WAS \\ wsStartServer.xml:49:Java的返回:-1


解决方案

  [startserver的] ADMU3028I:一)的实例:冲突在端口8880可能的原因检测
[startserver的]服务器server1上已经运行二)其他一些工艺
使用端口8880 [startserver的]

我猜测你已经开始您的服务器。 <一href=\"http://publib.boulder.ibm.com/infocenter/dmndhelp/v7r0mx/index.jsp?topic=/com.ibm.websphere.wbpmcore.javadoc.doc/web/apidocs/com/ibm/websphere/ant/tasks/package-summary.html\"相对=nofollow> com.ibm.websphere.ant.tasks.StartServer 将无法启动服务器,如果它已经在运行。

要么停止调用该任务或运行脚本之前停止服务器。

Hi I'm trying to build/deploy war to websphere process server 7.0. and I run on windows environment.....

I use http://illegalargumentexception.blogspot.com/2008/08/ant-automated-deployment-to-websphere.html as my reference. and http://illegalargumentexception.googlecode.com/svn/trunk/code/java/WebSphereAntFiles/ as my sample code to deployed.

this is my buil.properies is ?

#build properties
mywebappear=D:/data/code/WebSphereAntFiles/scripts/test/mywebappEAR.ear



#WAS6 install directory
was_home=C:/IBM/WID7_WTE/runtimes/bi_v7
#server name (see cell/node/server; e.g. "server1")
was_server=server1
#user + password; for use when security is enabled
was_user=admin
was_password=admin
#stops scripts on problem
was_failonerror=true
#virtual host
was_virtualhost=default_host

#Absolute path to EAR file
#was_ear=fooEAR.ear

#Name of the enterprise application
#was_appname=fooEAR

this is my console while I trying to build with ws_ant.bat

[wsDefaultBindings] mywebapp.war
[wsDefaultBindings]   <virtual-host> --> default_host
[wsDefaultBindings]
[wsDefaultBindings] ------------------------


[wsDefaultBindings] Saving EAR File to directory
[wsDefaultBindings] Saved EAR File to directory Successfully

test_wsStartServer:

WAS_wsStartServer:

depCheck:

depCheck:
[startServer] ADMU0116I: Tool information is being logged in file
[startServer]            C:\IBM\WID7_WTE\runtimes\bi_v7\profiles\qwps\logs\server1\startServer.log
[startServer] ADMU0128I: Starting tool with the qwps profile
[startServer] ADMU3100I: Reading configuration for server: server1
[startServer] ADMU3028I: Conflict detected on port 8880.  Likely causes: a) An instance of
[startServer]            the server server1 is already running  b) some other process is
[startServer]            using port 8880
[startServer] ADMU3027E: An instance of the server may already be running: server1
[startServer] ADMU0111E: Program exiting with error:
[startServer]            com.ibm.websphere.management.exception.AdminException: ADMU3027E: An
[startServer]            instance of the server may already be running: server1
[startServer] ADMU1211I: To obtain a full trace of the failure, use the -trace option.
[startServer] ADMU0211I: Error details may be seen in the file:
[startServer]            C:/IBM/WID7_WTE/runtimes/bi_v7/profiles/qwps\logs\server1\startServer.log

BUILD FAILED
D:\data\code\WebSphereAntFiles\scripts\test\build.xml:68: The following error occurred while executing this line:
D:\data\code\WebSphereAntFiles\scripts\was\wsStartServer.xml:49: Java returned: -1

解决方案

[startServer] ADMU3028I: Conflict detected on port 8880.  Likely causes: a) An instance of
[startServer]            the server server1 is already running  b) some other process is
[startServer]            using port 8880

I am guessing that you have already started your server. com.ibm.websphere.ant.tasks.StartServer will fail to start the server if it is already running.

Either stop calling this task or stop your server before running the script.

这篇关于错误Ant构建/部署到WebSphere 7.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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