I develop using “Glassfish bundle for Eclipse”, that have the internal server to test and debug JAvaEE applications on dev machine. You chan add as many servers you like, but not a remote server. Solutions?
I develop using Glassfish bundle for Eclipse, that have the internal server to test
Share
Can’t do remote servers yet via Eclipse.
As a workaround, please export (export menu on the eclipse project) as a war or ear depending on the project type, and get the archive from there.
Then, you can go to the bin/ dir of glassfish and use the asadmin command:
./asadmin deploy archivename
From a local glassfish server bin/ dir, you can also deploy to remote servers via:
./asadmin –host REMOTEHOSTNAME –port REMOTEPORT deploy ARCHIVENAME
See http://docs.sun.com/app/docs/doc/820-7701/asadmin-1m?l=en&n=1&a=view