Arun Gupta, Miles to go ...

Arun Gupta is a technology enthusiast, a passionate runner, and a community guy who works for Sun Microsystems.
« Eclipse Europa is... | Main | 23.3 miles this... »

http://blogs.sun.com/arungupta/date/20070629 Friday June 29, 2007

Screencast #WS6: Eclipse Europa and GlassFish

Eclipse 3.3 (codename Europa) was released earlier today. As mentioned earlier, we have an exciting news for GlassFish developers!

Starting today, Eclipse IDE for Java EE developers has the capability to register GlassFish V1, V2 and V3 containers from within the IDE. It supports web application directory deployment and has a fully integrated debugger.  Ludo published detail instructions on how to configure Eclipse 3.3 for GlassFish, deploy a Web project and debug a JSP. You can also watch the same steps in this screen cast with an additional detail on how to deploy a JAX-WS compliant Web service on GlassFish using Eclipse IDE.

Enjoy it here!



Technorati: eclipse europa glassfish webservices jax-ws screencast

del.icio.us | furl | simpy | slashdot | technorati | digg |
|
Comments:

hi

Posted by 203.199.183.113 on July 09, 2007 at 09:24 PM PDT #

Hello, I watched the Screencast and did the jobs step by step but when i clicked the "Download additional server adapter" i could not see glassfish.I could see the others but i could not see the glassfish.why? Thanks in advance.

Posted by khosro on July 28, 2007 at 01:25 PM PDT #

khosro, Few things to check:
  1. Are you using the latest Eclipse build ? .The first released build had issues with Update Center.
  2. Try starting "eclipse -clean"
  3. Can you confirm that GlassFish is not available in the list of adapters already installed ?
  4. If nothing mentioned above works, can you remove your existing Eclipse installation (including .metadata directory) and start over ?
  5. If nothing works, then I'll try to reproduce the steps.

      Posted by Arun Gupta on July 30, 2007 at 04:42 PM PDT #

Hi, Thanks for your reply. Unfortunately none of the procedure you suggest works. Thanks.

Posted by khosro on July 31, 2007 at 12:56 PM PDT #

khosro, I tried the following steps and it worked again for me:

  • Download Eclipse 3.3 IDE (dated Jul 2, 2007)
  • Extract all the files to a folder (say <code>c:\testbed\eclipse-j22-europa-win32</code>).
  • Start Eclipse IDE by clicking on the icon in <code>eclipse</code> directory.
  • And then I followed all the steps described in the screencast and saw this window.

The list in this windows shows GlassFish as an installable adapter on Eclipse IDE. So the current set of instructions still work for me. Couple of more suggestions ...

  • Are you behind a corporate firewall ? If yes, try setting HTTPS proxy server address correctly in &quot;Windows&quot; -> &quot;Preferences ...&quot; within Eclipse. Optionally try this setup outside the firewall.
  • If nothing else works, then try #eclipse or post a message to one of the Eclipse newsgroups.

Posted by Arun Gupta on July 31, 2007 at 01:20 PM PDT #

Hi Arun,

I am getting java version issues when deploying. Can you deploy java web services compiled with java 6? I followed all of your instructions from the video.

I am getting the usual unsupported class verion error, saying that it's higher than 1.5.0_11.

Any ideas?

Thanks

Posted by jmarkoff on September 07, 2007 at 01:13 PM PDT #

<quote>
Are you behind a corporate firewall ? If yes, try setting HTTPS proxy server address correctly
</quote>

thanks a lot for that hint. after doing this the plugin appeared in the list

Posted by manuel on September 13, 2007 at 01:09 AM PDT #

Actually, I just figured it out.

When I installed the new version of glassfish version 2, I didn't stop the old one from running.

During the setup it did not correctly, setup the domain because it could not start the server.

Stopping the old instance and Running the setup again fixed the issue.

Thanks for your response.

Posted by Jon Markoff on September 13, 2007 at 05:26 AM PDT #

[Trackback] A book on GlassFish: &quot;Java EE 5 Development using GlassFish Application Server&quot; by David Heffelfinger, was released last month. The publisher sent a courtesy copy for review, thank you for that. I read good part of the book on...

Posted by Arun Gupta's Blog on December 11, 2007 at 10:48 AM PST #

Hi,

>Hello, I watched the Screencast and did the
>jobs step by step but when i clicked
>the "Download additional server adapter" i
>could not see glassfish.I could see the
>others but i could not see the
>glassfish.why? Thanks in advance.

this helps :

Are you behind a corporate firewall ? If yes, try setting HTTPS proxy server address correctly in &quot;Windows&quot; -> &quot;Preferences ...&quot; within Eclipse. Optionally try this setup outside the firewall.

( SSL Proxy Server )

Micha

Posted by micha on January 21, 2008 at 02:38 AM PST #

Hi,

Any notes on how to get this working with Rational Studio V6?

Thanks.

Posted by Cliff on March 15, 2008 at 03:01 AM PDT #

Cliff, I've not tried this with Rational Studio v6.

Posted by Arun Gupta on March 15, 2008 at 07:57 AM PDT #

[Trackback] Screencast #WS6 showed how to configure GlassFish in Eclipse IDE. With GlassFish v3 TP2, the plug-in is also updated. Here are snapshots showing how easy it is to install GlassFish in Eclipse. The snapshots follow the steps outlined in...

Posted by Arun Gupta's Blog on May 16, 2008 at 09:30 AM PDT #

I tried the steps in your webcast, but when I click on run on server I get a null pointer exception. The log file says the file cannot be found. I checked that the docroot directory is correct, but it only contains index html and no droopy folder.

Do you have any idea what my cause this?

Here are the last three lines of the log file:

[#|2008-06-21T10:34:09.999+0300|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]

[#|2008-06-21T10:34:10.861+0300|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=13;_ThreadName=httpWorkerThread-4848-1;;|Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context ''|#]

[#|2008-06-21T10:41:22.111+0300|SEVERE|sun-appserver9.1|org.apache.jasper.servlet.JspServlet|_ThreadID=14;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=1cf1820f-802a-410c-8044-c3861eedc62e;|PWC6117: File "C:\development\silly_rabbit\kits\glassfish\domains\domain1\docroot\Droopy\index.jsp" not found|#]

Posted by Adrian on June 21, 2008 at 12:48 AM PDT #

Hi Arun,

I watched the Screencast and did the jobs step by step with eclipse 3.4 but it did not work it
give me the message class path is missing.
GlassFish v3 tp2 server which I installed is the pack of netbean version 6.1 and it work well with netbean, do you think I should installed another server of glassfish v3 tp2 for eclipse 3.4.

Please suggest me what should I do.

Thanks Jamil

Posted by Jamil on June 23, 2008 at 12:00 AM PDT #

Jamil, I tried with Eclipse 3.4 today and it worked. Stay tuned for an updated blog tomorrow.

Posted by Arun Gupta on June 26, 2008 at 05:32 PM PDT #

[Trackback] Eclipse Ganymede is the annual release of Eclipse projects; this year including 23 projects. Screencast #WS6 showed how GlassFish v2 can be easily registered and started within an earlier version of Eclipse (3.3 specifically). Eclipse is now 3.4 (as...

Posted by Arun Gupta's Blog on June 27, 2008 at 06:15 AM PDT #

When you deploy as stated in the blog, you get a directory deployment in which there is a reference in domain.xml to the directory where the application is.

How do you deploy in a way that a war file goes to .../applications/j2ee-modules?

Posted by Fernando Lafora on November 20, 2008 at 02:19 AM PST #

You can always use asadmin :)

Please ask your questions to users@glassfishplugins.dev.java.net for a better response time.

Posted by Arun Gupta on November 20, 2008 at 05:12 PM PST #

I watched the Screencast and did the jobs step by step with eclipse 3.4 but it did not work it
give me the message class path is missing.
GlassFish v3 tp2 server which I installed is the pack of netbean version 6.1 and it work well with netbean, do you think I should installed another server of glassfish v3 tp2 for eclipse 3.4.

Please suggest me what should I do.

Posted by LAPTOP BATTERY on November 26, 2008 at 08:51 PM PST #

LAPTOP BATTERY, Eclipse 3.4 works with GlassFish v3 prelude. All the steps are clearly shown in the following screencast at: http://blogs.sun.com/arungupta/entry/screencast_28_simple_web_application.

Have you tried that ?

Posted by Arun Gupta on November 27, 2008 at 08:43 AM PST #

Hi,

I first created an enterprise application project. Then developed an ejb and finally a client application. All the references are correct. I can run the enterprice application on the server (it deploys it correct). If I go to the webinterface of glassfish, I can launch the client application. But I want that the client application is launchec automatic when it is deployed on the server. How do I do that?

Greetings,

Jan

Posted by Jan Modaal on February 26, 2009 at 11:55 AM PST #

Hi,

I have a custom domain called abc. However, when I am creating a new glassfish 2.1 server from eclipse3.4, it says domains/domain1 is missing. I dont have domain1 and I would like to change that to abc.

TIA.

Posted by Fil on May 28, 2009 at 01:53 PM PDT #

Fil, Please ask your questions to users@glassfishplugins.dev.java.net.

Posted by Arun Gupta on May 28, 2009 at 02:15 PM PDT #

We are waiting screencasts for jdeveloper too.

Posted by Mücahid Uslu on June 06, 2009 at 12:37 AM PDT #

Mucahid, Do you know where can I download JDeveloper for Mac ? I already have JDK 6 installed on my MBP.

Posted by Arun Gupta on June 10, 2009 at 04:25 PM PDT #

Mucahid, Are you aware of JDeveloper and GlassFish integration ? I could not find anything.

Posted by Arun Gupta on June 11, 2009 at 08:57 AM PDT #

I am trying to configure tomcat server in eclipse ganymede here in windows--> all r coming except server preferences are not shown....

Please try to give me good answer...

Posted by msvreddy on September 27, 2009 at 09:33 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
« Eclipse Europa is... | Main | 23.3 miles this... »

Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.