View Source

h4. [Best Practices for Deploying TWiki Software On GlassFish Application Server Using LRWPinJava !Main^download.gif!|http://mapping.sun.com/profile/offer.jsp?id=331]

*by Nagendra Nagarajayya{*}{excerpt}
May 2009{excerpt}

This Sun BluePrints™ article describes best practices in deploying TWiki software on Sun's open source GlassFish application server. Utilizing the Java™ technology long-running Web process (LRWP) protocol and running on the Solaris™ Operating System (OS), the platform can run up to twice the speed of Apache HTTP Server software implementations running on the Solaris OS. The result is reduced system overhead and the ability to accommodate greater numbers of users.

h4. Contents

* Introduction
** Greater efficiency with TWiki software and LRWPinJava
* TWiki, GlassFish™ Application Server, and the LR WPinJava Protocol
** How LRWPinJava works
** Handling potential problems
* Deploying TWiki Software on the GlassFish Application Server
** Installing GlassFish application server
** Installing Perl
** Perl modules
** Installing missing Perl modules
** Installing and deploying LRWPinJava
** Starting and stopping cgi-wrappers
** Installing, deploying, and configuring TWiki software
* Measuring TWiki Performance with GlassFish Application Server and LR WPinJava
** Test environment
** Test methodology
** Test results
** Performance statistics
** Analysis of results
* For More Information
** About the author
** Acknowledgments
** References
** Ordering Sun documents
** Accessing Sun documentation online
* GlassFish Application Server Configuration
* Apache Configuration
* Jython Test Scripts and How to Run the Tests
* Performance Details — TWiki on Apache HTTP Server with cgi-bin
* Performance Details — TWiki on GlassFish with LR WPinJava in Fork Mode
* Performance Details — TWiki on GlassFish with LR WPinJava in Persistent Mode
* Installing Perl

{panel:title=About the Author|borderStyle=solid|titleBGColor=#F8D583|bgColor=white}
Nagendra Nagarajayya has worked for Sun for over 14 years. Currently a Staff Engineer in ISV Engineering, he works with independent software vendors (ISVs) in the telecommunications industry on areas such as architecture, tuning, sizing and scaling, benchmarking, and porting. He specializes in multithreading, concurrency and parallelism, high availability, distributed computing, networking, and performance tuning.
{panel}

{panel:title=Acknowledgements|borderStyle=solid|titleBGColor=#F8D583|bgColor=white}
The author would like to thank the following individuals for their contributions to this article:
• His manager Tim Mac, who provided the opportunity and support throughout thisproject, as well as suggestions and ideas for improving TWiki performance.
• Giri Mandalika and Ravi Hingarajiya, who took the time to set up the OptimizedOpen Source Software Stack (Cool Stack) for the Solaris OS platform on the SunFire T2000 server, and provided valuable TWiki configuration information. CoolStack contains enhanced binaries for Apache HTTP Server 2.0, and helps to enhance TWiki deployment.
• Bruce Chapman and Georg Edelmann, who reviewed the paper in detail andprovided important suggestions.
{panel}

{vote:Rate this blueprint}
Great
Good
Fair
Poor
{vote}

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact