Deploying multiple Java web apps to Glassfish in one go

╄→尐↘猪︶ㄣ 提交于 2019-12-24 08:15:11

问题


I have multiple (8) WAR files and 1 EAR file that I want to deploy to Glassfish without having to redeploy each application through the Admin Console.

Previously in Tomcat the WAR files could just be dropped into the webapps directory, is there something similar for Glassfish? Using the asadmin command to grab a bunch of apps to dpeloy? Preferably for WAR and EAR files?


回答1:


Yep - take a look at /domains/domain1/autodeply - you can drop things straight in there.

(substitute domain1 with your domain if you're working in a custom environment)

(sorry if the folder is off - it's coming from memory at this point)



来源:https://stackoverflow.com/questions/877390/deploying-multiple-java-web-apps-to-glassfish-in-one-go

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!