Life, Universe and Everything
Karthik Sudarshan
Archives
« December 2009
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today
Click me to subscribe
Search

Links
 

Today's Page Hits: 38

« Sun's Enterprise-cla... | Main | Deploying portlets... »
Thursday Sep 21, 2006
Deploying Sun's Open Source Enterprise Class Portlet Container on GlassFish

    So you have heard of Sun's Open Source Portlet Container and want to try it out. The portlet container comes with out of the box integration hooks with GlassFish. I'll try to chalk out the steps for the installation of the Sun Open Source Enterprise Portlet Container on GlassFish.

    Requirements :
    Just follow these steps and you should be able to get the Portlet Container working on GlassFish.
  1. Download the portlet container source code.

        Please check the Getting Started page of the project to get the code of the project. It also provides link for maven download and svn client download and setup.

  2. cd portlet-container
  3. mvn clean package verify
  4. A directory viz., dist/portlet-container will be created under the portlet-container directory.
  5. cd dist/portlet-container
  6. Edit config/pcenv.conf file and provide the value for GLASSFISH_HOME.
  7. ant -f setup.xml deploy_on_glassfish   (Ensure that GlassFish is running as this requires the admin server to be running in order to set the jvm option required by the Portlet Container).
  8. This deploys the Portlet Container on GlassFish, copies the jar files to the server classpath for domain1 and stops the GlassFish server.
  9. Start the GlassFish server. Check the server logs at $GLASSFISH_HOME/domains/domain1/logs/server.log to see that portletcontainerdriver is deployed.
    That's it really! So get that code and rock on :)

Posted at 04:50AM Sep 21, 2006 by Karthik Kadambi Sudarshan in Sun  |  Comments[1]

Comments:

[Trackback] [...]

Posted by bitacle.org on September 21, 2006 at 05:51 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed