首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Jenkins Websphere deploy Wsadmin错误

Jenkins Websphere deploy Wsadmin错误
EN

Stack Overflow用户
提问于 2014-04-03 13:39:21
回答 1查看 751关注 0票数 0

我在windowsxp环境下安装了jenkins和websphere。每当我尝试运行构建步骤以通过wsadmin调用WAS部署程序插件来部署application.ear时,我都会得到以下错误。

代码语言:javascript
复制
Building in workspace C:\.jenkins\jobs\websphereantdeploy\workspace
Using user admin defined at the build step level
$ C:\Program Files\IBM\WebSphere\AppServer\bin\wsadmin.bat -conntype SOAP -host localhost -port 9080 -user admin -password ******** -lang jacl -f c:/workspace/ex5.jacl C:/workspace/revision_document/build/ant/riversource.ear karanvmxpNode01
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Build step 'IBM WebSphere Application Server 6.x/7.x' marked build as failure
Finished: FAILURE

我知道如何在jenkins中更改wsadmin的路径以指定PROGRA~1而不是程序文件cauz,我认为这可能是问题所在。如果我错了,请纠正我

EN

回答 1

Stack Overflow用户

发布于 2014-04-10 19:38:51

为了解决您的问题,您需要在命令中添加引号。

代码语言:javascript
复制
"<WAS_PATH>" -conntype SOAP -host localhost

此外,我不建议将WAS安装到Program Files目录或名称中包含空格的目录中。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22828734

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档