应用程序自动部署到 WebLogic 会出现“警告”
我准备了简单的部署脚本,将我的 EJB 应用程序部署到 WebLogic 10.3 服务器。 应用程序打包为ear文件。
connect(username, password, "t3://" + wlHost + ":" + wlPort)
deploy('myApp','/path/to/ear/myApp.ear',targets='ADMIN')
startApplication('MyApp')
exit()
成功部署消息后,我在部署网页上的运行状况栏中看到“警告”通知。当我尝试调查问题时,我的企业应用程序 ->模块-> Myjar文件->监控
可以看到jms/MyAppResponseQueue staus已断开(状态->初始化)
请指教如何解决问题 当我尝试通过 WebLogic 屏幕部署我的耳朵时 - 一切正常。没有警告 ->应用程序处于活动模式
谢谢
I've prepared simple deployment script that deploy my EJB Application to WebLogic 10.3 server.
application packed as ear file.
connect(username, password, "t3://" + wlHost + ":" + wlPort)
deploy('myApp','/path/to/ear/myApp.ear',targets='ADMIN')
startApplication('MyApp')
exit()
After succsesfull deploy message I see on Deployment Web page "Warning" Notification in health column.When I try to investigate the problem My Enterprize Application -> Modules -> Myjar file ->Monitoring
I can see that jms/MyAppResponseQueue staus is disconnected (status -> initialization)
Please advice how to solve the problem
When I try to deploy my ear via WebLogic screens - everything is OK.No warnings -> application is in Active mode
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会回答我的问题,因为我不喜欢留下未回答的问题。问题出在部署目标上。我以 ADMIN 为目标,但需要以拥有 jms/MyAppResponseQueue 资源的集群成员之一为目标。
I'll answer my question because I don't like to keep unanswered questions. The problem was in deployment target . I targeted ADMIN but need to target one of the cluster memebers that have jms/MyAppResponseQueue resource.