Devilish detail when you register a domain
By vbkraemer on Jun 27, 2007
The GlassFish/SJSAS integration allows you to register domains created by a number of different version of these projects and products. This flexibility is great, but it isn't free.
I recently spent some time helping a user that wanted to deploy J2EE applications to SJSAS 8.2 EE on a remote machine. He had registered the domain using the registration wizard, but the tests to see if the server was running were failing. That caused a deployment failure.
After digging into the issue for a few minutes, I realized what the root cause of the issue was. The user had registered the remote domain by using the install directory of GlassFish V2 build in the Platform Location field. And that just doesn't work.
To maintain the flexibility, the integration uses code from the jars of a server install to communicate with that install (or remote installs) of that server. So, that means that if you register a domain, you need to have an install of that server available locally, so that the plugin can load and use the correct code to communicate with that domain.
You can learn more about domain registration through these resources, though some of them are dated: