Inst&Conf: SGMJ (Solaris Glassfish MySQL Java) Stack

For now it is just JIT (Just Install software) Virtual Appliance, developers will post-configure it using DOCs

This entry is part of 'OpenSolaris on Amazon EC2' Workshop

GlassFish V2 U1 with MySQL Community Server 5.0 in the News

Get Glassfish MySQL bundle from java EE donwloads

DOCS Installing Application Server 9.1 Update 1 with MySQL Community Server

Note: In this bundle in GlassFish V2 Update Release 1 (UR1), but with ability to update from Network

1. Install of GlassFish and MySQL bundle

chmod +x sjsas-9_1_01-mysql-solaris-i586.bin

./sjsas-9_1_01-mysql-solaris-i586.bin -console

The directory "/opt/glassfish" does not exist.

Do you want to create it now or choose another directory?

1. Create Directory
2. Choose New

   Enter the number corresponding to your choice  [1] {"<" goes back, "!"
   exits} 1
The Sun Java System Application Server requires a Java 2 SDK.
   Please provide the path to a Java 2 SDK 5.0 or greater.
   [/usr/jdk/instances/jdk1.6.0] {"<" goes back, "!" exits}
   Admin User [admin] {"<" goes back, "!" exits}:
   Admin User's Password (8 chars minimum):
   Re-enter Password:
   Do you want to store admin user name and password in .asadminpass file in
   user's home directory [yes] {"<" goes back, "!" exits}?
   Admin Port [4848] {"<" goes back, "!" exits}:
   HTTP Port [8080] {"<" goes back, "!" exits}:
   HTTPS Port [8181] {"<" goes back, "!" exits}:

For your convenience, this installation of MySQL will setup a pre-configured
option file to be used for MySQL Server. This option file parameters are
generated based on the size of your machine. Please choose the size of your
system. Please refer Installation Guide for more information.

        1. SMALL
        2. MEDIUM
        3. LARGE
        4. HEAVY
        5. HUGE
        6. EXIT INSTALLATION

   Please enter the number corresponding to the option [1] {"<" goes back, "!"
   exits}: 2

2. Post-configure steps (Needed done on AMI image)

Note: This post-confgirations are not done for security reasons, so developers can put their passwords and config other security params.

Consult DOCc bellow for steps:

DOCS Installing Application Server 9.1 Update 1 with MySQL Community Server

2.1 Postconfigure MySQL
2.2 Start MySQL server
2.3 Start GlassFish server
2.4 Integrate GlassFish and MySQL into SMF to start automatically

Example for step 2.3:

Start Glassfish domain

/opt/glassfish/bin/asadmin start-domain domain1

See also: Sun Java System Application Server 9.1 Performance Tuning Guide

If you any issues with post-configuration you can contact GlassFish community:

java.net Forums - GlassFish

Comments:

Hi Rudolf

Great AMIs. I dont suppose you have any more detailed instructions on how to get the App server up adn running with MySQL. I am struggling with the steps 2.1 onwards.

John

Posted by John Gillespie on November 17, 2008 at 06:51 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Hands-on experience with Virtualization

Search

Categories
Archives
« April 2014
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
   
       
Today