RAD 和 Websphere:如何部署 war/二进制文件而不是 Java 代码?
使用 RAD 时有没有办法在 websphere 中部署战争?如果您已经有二进制文件。
拉德/7.5、Websphere6.1
Is there a way to just deploy a war in websphere when using RAD? If you already have the binary.
Rad / 7.5, Websphere6.1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
RAD 中没有可用的菜单选项允许您将 WAR 从 RAD 部署到 WAS。
您可以尝试将此作为替代方案。将 WAR 导出到 Hotdeploy 目录(WRD - WebSphere Rapid Deployment)。您需要启动 WRD 监视服务,部署到此目录的任何 WAR 或 EAR 都会自动安装在服务器中。
检查这是否满足您的要求
Manglu
There is no menu option that is available in RAD which allows you to deploy a WAR from within RAD to WAS.
You can try this as an alternative. Export the WAR to a Hotdeploy directory (WRD - WebSphere Rapid Deployment). You need to start the WRD monitor services and any WAR or EAR that is deployed to this directory gets automatically installed in the server.
Check if this meets your requirement(s)
Manglu
在 RAD 中,您可以创建一个新服务器,而无需向其中“添加”ear 项目。完成此操作后,启动服务器。从 RAD 中的服务器视图中,右键单击您的服务器配置,选择“运行管理控制台”。从那里您可以使用 websphere 管理工具来部署二进制文件,就像在常规的旧的成熟 WAS 中一样。 “应用程序”菜单项中名为“安装新应用程序”的“向导”可用于执行此操作。希望有帮助。
In RAD, you can create a new server without 'adding' an ear project to it. After you do that, start up the server. From the server view in RAD, right click on your server config, select 'run administrative console'. From there you can use the websphere admin tools to deploy a binary just like you would in regular old full-blown WAS. There's a 'wizard' available to do that located in the 'Applications' menu item called 'Install new application'. Hope that helps.