Search code examples
eclipseglassfishremote-debugging

Eclipse and GlassFish: remote deployment and debugging


I am currently using Eclipse to develop a fairly straight-forward Java EE dynamic web application. I have just been using Eclipse to deploy the web app to a GlassFish 3.1 server locally running on my dev machine for development and debugging purposes.

So far, so good. But now, I am looking into deploying the app to a remote GF server for further testing.

In Eclipse, I open the "Servers" tab and select the "New->Server" context menu. I enter the IP address of the remote server running GlassFish, but the "New Server" dialog won't let me proceed. Instead, it gives me the error message:

Remote Server is not secured: It cannot be used remotely...

Some initial research suggests that remote deployment/debugging is currently not supported by Eclipse. Is that what Eclipse is trying to tell me with this weird error message? Surely "Remote deployment/debugging not supported" would be more apt. Am I overlooking something fundamental here?


Solution

  • Read http://blogs.oracle.com/quinn/entry/securing_adminstration_in_glassfish_server1

    Access to remote servers can only be done if the server has been secured...