如何强制Weblogic以活动状态启动部署(即不仅仅是准备好)
当我使用已部署的应用程序启动 Weblogic 实例时,部署有时会处于准备状态,而不是活动状态。我必须转到 Weblogic 控制台并手动启动部署,这是相当缓慢且烦人的重复工作。由于这是在开发计算机上完成的(有时每天 50 次),因此不存在安全隐患,因为服务器仅在本地网络上可见。有什么办法让它始终启动部署活动吗?
请注意,我没有重新部署该应用程序,而是“持续部署”它并使用 bin
目录中的脚本停止/启动 Weblogic 实例。
When I start a Weblogic instance with a deployed application, the deployment is sometimes left in prepared state, not in active state. I have to go to Weblogic Console and start the deployment manually, which is quite slow and annoying repetetive work. Since this is done on a development machine — sometimes 50 times a day, — there are no security implication as the server is only visible on the local network. Is there some way to have it always start the deployment active?
Note that I'm not redeploying the application, I instead have it "constantly deployed" and stop/start the Weblogic instance using the scripts in bin
directory.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您在
开发
模式下运行weblogic,则可以使用应用程序的autodeploy文件夹。请参阅此处的详细信息:http://download.oracle.com /docs/cd/E11035_01/wls100/deployment/autodeploy.html#wp1021620认为这应该可以解决您的问题
If you are running weblogic in
development
mode, you can use the autodeploy folder for your app. See details here: http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html#wp1021620Think this should solve your problem