TimeoutException on remote Glassfish v4.1 deployment
问题 I have VPS on OVH, lets say it's vpsXXXX.ovh.net, with Debian 7. I've installed Java 8, Glassfish 4.1 and enabled secure admin: asadmin > change-admin-password --user admin > start-domain > enable-secure-admin # user: admin > restart-domain I've checked that vpsXXXX.ovh.net:8080 and vpsXXXX.ovh.net:4848 works. When I've uploaded my war by scp, logged on VPS by SSH and deployed by asadmin deploy JEE.war everything worked. Then I've undeployed it and tried to deploy it from remotely by command: