问题
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