Where would i put .war file in glassfish server?

旧时模样 提交于 2020-07-24 02:29:11

问题


I have started WebApplication1 from netbeans, now where would i put the .war file in glassfish server?

Here? /home/shibly/GlassFish_Server/glassfish/domains/domain1/applications/__internal

I see an empty folder named WebApplication1 in /home/shibly/GlassFish_Server/glassfish/domains/domain1/applications/__internal


回答1:


Try entering

http://localhost:4848

in your web browser, where you'll enter the GlassFish Administration Console. On the left side do the following Applications --> Deploy --> Select .war file --> OK. Your file is now uploaded!




回答2:


Have you tried the autodeploy folder?

If you copy the war to /domains/domain1/autodeploy/ then glassfish will attempt to deploy it automatically.



来源:https://stackoverflow.com/questions/34521459/where-would-i-put-war-file-in-glassfish-server

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