Sun Microsystems 820682310 What Options Are Available for Running JRuby With Enterprise Server?

Page 44
■Gem documentation: http://glassfishgem.rubyforge.org

Rails and JRuby FAQs

Response: Place them in the domain/lib directory, or in glassfish/lib. If those bundles are OSGi bundles, you should place them in the glassfish/modules directory. If you want to package your own set of jar files with the Rails application, instead of copying thejars in the glassfish/lib or glassfish/modules directory, you might want to use Warbler. The Warbler gem lets you package your own jars and creates a WAR file from your Rails applications.

Where Can I Find More Information About Rails Applications and Enterprise Server?

See the following:

Related documentation: Getting Started With JRuby on Rails for Sun GlassFish Enterprise Server v3 Prelude

Blog post: “New and Improved GlassFish Gem”

(http://weblogs.java.net/blog/vivekp/archive/2008/11/new_and_improve_1.html)

Getting Started Guide: http://wiki.glassfish.java.net/Wiki.jsp?page=GettingStartedGuide

Gem documentation: http://glassfishgem.rubyforge.org

Warbler information: http://caldersphere.rubyforge.org/warbler/

Related screencasts: http://wiki.glassfish.java.net/Wiki.jsp?page=Screencasts

What Options Are Available for Running JRuby With Enterprise Server?

JRuby applications can be deployed natively, without the use of the servlet container. Enterprise Server v3 Prelude can run JRuby applications directly on top of the servlet container. Warbler can also be used to deploy JRuby applications to the servlet container.

For screencasts related to JRuby and Enterprise Server, see the GlassFish screencasts page at http://wiki.glassfish.java.net/Wiki.jsp?page=Screencasts. Also see Getting Started With JRuby on Rails for Sun GlassFish Enterprise Server v3 Prelude.

44

Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide • November 2008

Image 44
Contents Sun Microsystems, Inc 4150 Network Circle Santa Clara, CA U.S.A v3 Prelude Troubleshooting GuideSun GlassFish Enterprise Server This distribution may include materials developed by third parties Contents 1 Overview of Enterprise Server TroubleshootingWas Application Deployment Successful? Administration FAQs Index Update Tool FAQsHow Do I Use Update Tool to Extend My Enterprise Server Installation? “Symbol Conventions” on page “Default Paths and File Names” on page PrefaceEnterprise Server Documentation Set “Enterprise Server Documentation Set” on pageTABLE P-1 Books in the Enterprise Server Documentation Set Continuedhttp//developers.sun.com/javadb Related DocumentationTypographic Conventions Symbol Conventions Default Paths and File NamesThe following table explains symbols that might be used in this book Symbol ConventionsThird-Party Web Site References Documentation, Support, and TrainingSearching Sun Product Documentation Sun Welcomes Your Comments Identifying the Problem “Identifying the Problem” on page “Troubleshooting Tools” on page“Where to Go for More Information” on page First StepsVerify System Requirements and Configuration Review Known IssuesSearch the Product Documentation Search the GlassFish Mailing Lists and ForumsWhen Does the Problem Occur? What Is Your Environment?Gathering Information Search the SunSolve KnowledgebaseExamining Log Files What Is Your System Configuration?What Is Different? Troubleshooting Tools Monitoring the SystemOperating System Utilities “Operating System Utilities” on pageType the following command Stack Traces and Thread DumpsVisualVM To Obtain a Server Thread DumpWhere to Go for More Information Page Specific Issues Cannot Access Local Server http//localhost8080“Cannot Access Local Server http//localhost8080” on page “Cannot Access Remote Server” on pageTo Determine Which Port Number the Server Is Actually Using Did the Server Start?Was the Server Started at the Expected Port? DescriptionCannot Access Remote Server Is the Proxy Setting Causing a Problem?Solution “Is the Proxy Setting Causing a Problem?” on pageCannot Access the Administration Console “Is the Administration Console Running on the Expected Port?” on page“Is the Security Manager Disabled?” on page Is the Application Server Running?Cannot Access a Server Application Is the Administration Console Running on the Expected Port?Is the Security Manager Disabled? “Administrator User Name or Password Not Known” on pageAdministrator User Name or Password Not Known To Remove the User Name and Password CompletelyWas Application Deployment Successful? 1 Stop the server, if it is currently running8 Restart the server for the new user name-password to take effect Server Will Not Start on Windows Port Conflict4 Start the server 7 Uncomment the security-constraint element in the web.xml fileSolution Two Server Instances Bind to Same Port on WindowsHas an Ungraceful Shutdown Occurred on a Previously Running Server? DescriptionCannot Produce a JVM Thread Dump After Server Crash Issues Related to ApplicationsError When Deploying EAR Cannot Find SunDeploymentManager http//blogs.sun.com/quinn/entry/deploymentinglassfishv3preludeIssues Related to asadmin asadmin start-domain Command FailsError CLI143 There is more than one domain SolutionCannot Stop Domain Using asadmin stop-domain Error Could Not Start DomainIssues Related to Eclipse Using asadmin set Command Might Produce Unexpected ResultsCannot Upgrade Issues Related to Installation and UpgradeGeneral Installation Issues Related to JavaMail Issues Related to JNDICannot Configure JavaMail Resources Cannot Deploy a Mail Session as a JNDI ResourceIssues Related to MySQL Issues Related to SecurityException When Creating MySQL Connection Pool java.security.AccessControlException AccessMutual Authentication Not Working With the Application Client Page Frequently Asked Questions Administration FAQsWhich asadmin Commands are Supported? “Administration FAQs” on page “Application FAQs” on pageApplication FAQs Eclipse FAQsHow Do I Debug Applications? How Do I Change Application Permissions?Extensibility FAQs How Do I Extend the Administration Console?How Do I Develop Add-On Components? How Do I Add Containers?Java Persistence FAQs JDBC FAQsJersey FAQs What Java Persistence Support Is Available?OpenESB FAQs Rails and JRuby FAQsIf I Deploy an Application Using the glassfishrails That Application?Warbler information http//caldersphere.rubyforge.org/warbler What Options Are Available for Running JRuby With Enterprise Server?Gem documentation http//glassfishgem.rubyforge.org Security FAQs Update Tool FAQsWhat Happens When No Server Side Realm Is Configured? Can I Change the Keystore Password?After you start your Enterprise Server instance, the default location for the Administration Console is http//localhost4848/ at least one Enterprise Server domain must be started before you can launch the Administration Console. Unless you declined to check for updates during installation, you will be notified of available updates in the message area. Update Tool can also be accessed on the command line by running the updatetool command in the as-install/bin directory. Extensive online help is provided for both versions Index