Tuesday Feb 07, 2006

Sample Portlet development in Glassfish

I copied the pluto-1.0.1.jar and portlet-api-1.0.jar from Apache Pluto 1.1 distribution into $GLASSFISH_HOME/lib. Please note that these jar files are in pluto-1.0.1/shared/lib directory. Started the GlassFish server. I downloaded the Sample Portlet and copied to $GLASSFISH_HOME/domains/domain1/autodeploy.

Verified that deployment went through fine. The server.log had the following output:

[#|2006-02-06T23:30:30.421-0800|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.classloading|_ThreadID=12;_ThreadName=Timer-4;|Finished loading persistence units for application: /export/satish/install/glassfish/domains/domain1/applications/j2ee-modules/SamplePortlet|#] [#|2006-02-06T23:30:30.528-0800|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Timer-4;success;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#] [#|2006-02-06T23:30:30.531-0800|INFO|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=12;_ThreadName=Timer-4;|[AutoDeploy] Successfully autodeployed : /export/satish/install/glassfish/domains/domain1/autodeploy/SamplePortlet.war.|#] Soon I will use this Portlet in an application and verify the portlet implementation.

Comments:

Post a Comment:
Comments are closed for this entry.