Jan 24

Problems Installing Glassfish Plugin in Eclipse 3.3?

Tag: eclipse, glassfish, javapmularien @ 8:46 pm

File this one under “silly me”. I was having a heck of a time getting Eclipse 3.3 to find the Glassfish plugin automatically (or even manually) as described in the install guide.

I am sometimes behind a corporate proxy server, but I had the proxy set up in Eclipse when I was trying this, and I was seeing other app servers show up in the “Download additional server adapters” dialog.

Turns out that about half of the server adapter sites serve up their updates via HTTP (Geronimo, IBM, Pramati, and Eclipse proper). The rest use HTTPS (BEA, Glassfish, SAP). This can be determined by opening org.eclipse.wst.server.ui_1.0.205.v20070912.jar, or the equivalent on your version of Eclipse/WTP, and looking at serverAdapterSites.xml. For the curious, you can view the contents of this file in the Eclipse CVS repository.

All I had to do once I figured this out was to update my Eclipse proxy settings to use the same proxy for HTTPS that I was using for HTTP. It’s unfortunate that one doesn’t get any error or warning messages when this happens!

Hopefully this helps anyone else trying to get this installed from behind a proxy.

3 Responses to “Problems Installing Glassfish Plugin in Eclipse 3.3?”

  1. ludo says:

    Thanks for the tip…It seems that error reporting from Eclipse Update center could be improved a bit..
    Anyway, I hope this blog entry will help people out there.

    Thanks
    Ludo

  2. dave says:

    don’t know if the comments get indexed by search engines or not, but would be good if this showed up when searching for “glassfish eclipse update manager” or similar, although i guess download server adapter is probably more appropriate/correct.

    thanks, i finally got it.

  3. pmularien says:

    @dave: I tried Googling “glassfish eclipse problem” and “glassfish eclipse update” and this entry shows up on the first page for both queries. Unfortunately it doesn’t show up for “glassfish eclipse update manager”. I would assume at some point the Google bot will come back and pick up your comments.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>