简体   繁体   English

有没有办法使用普通的Ant远程部署到Websphere 6.1而无需在本地使用WAS或RAD?

[英]Is there way to use plain Ant to remote deploy to Websphere 6.1 without having WAS or RAD locally?

There are quite a few questions here about using ant to deploy to websphere but they all use ws_ant.bat or wsadmin ... 这里有很多关于使用ant部署到websphere的问题,但它们都使用ws_ant.bat或wsadmin ...

I want to automatically deploy to a remote Websphere 6.1 server from a build server (running Atlassian Bamboo) which doens't have WAS or RAD deployed. 我想从构建服务器(运行Atlassian Bamboo)自动部署到远程Websphere 6.1服务器,该服务器没有部署WAS或RAD。 Is this even possible? 这甚至可能吗? I've tried setting up the ant tasks but I'm running into problems getting the wsInstallApp task to execute. 我已经尝试设置ant任务但是我遇到了让wsInstallApp任务执行的问题。

I've got com.ibm.ws.runtime_6.1.0.jar on the classpath so the task starts executing but it reports that it is unable to determine WAS Home directory (even though the wasHome attribute is optional). 我在类路径上有com.ibm.ws.runtime_6.1.0.jar,所以任务开始执行但它报告它无法确定WAS Home目录(即使wasHome属性是可选的)。

Has anybody succeeded in deploying to a remote WAS 6.1 server this way? 有没有人成功地以这种方式部署到远程WAS 6.1服务器?

What you want is the admin thinclient, but that is only available in WebSphere Application Server 7.0 and later. 您想要的是管理员瘦客户端,但这仅在WebSphere Application Server 7.0及更高版本中可用。 The only supported option for 6.1 and earlier is to install the product (client or server) on your build machine. 6.1及更早版本唯一支持的选项是在构建计算机上安装产品(客户端或服务器)。

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

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