Skip to main content

using a remote Glassfish server possible?

1 reply [Last post]
naikrovek
Offline
Joined: 2005-10-19
Points: 0

Hi all, is it possible to use this plugin to deploy to or debug on a remote (not localhost) glassfish server?

If not, do you have any *eclipse* plugin suggestions that may help me?

Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ludo
Offline
Joined: 2003-06-10
Points: 0

Deploy, not yet via Eclipse, but debug: yes:

Start the server in debug mode on the remote machine.
Then attach to it via Eclipse. (See the debg parameters used socket, or shmem) via the server Admin console, to enter the correct params in the debug attach.

Fro deployment, once the war/ear file is created via Eclipse, assuming you have a local installation of GlassFish as well, you can use the adadmin command (wrappable in ANT) to do a remote deployment using this CLI tool.
For help, use
asadmin help
Thanks.