Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Fedora

...

Scenario 1

  1. Installation
  2. Functional Test

Installation

Set up

  1. Use Fedora 10 vm server (tick)
  2. Install mysql server (tick)
  3. Install wildfire (tick)
  4. Install JDK6 (tick)
  5. Install LAMS
    • JBoss 4.0.2 (tick)
    • LAMS 2.3 installer (tick)
    • Starting up LAMS 2.3 (tick)

Fedora 10 VM

Downloaded from http://www.vmware.com/appliances/directory/68067

...

No Format
[root@localhost tmp]# ./jdk-6u13-linux-i586-rpm.bin 
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.
...

Do you agree to the above license terms? [yes or no]
yes

Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
  inflating: jdk-6u13-linux-i586.rpm  
  inflating: sun-javadb-common-10.4.1-3.1.i386.rpm  
  inflating: sun-javadb-core-10.4.1-3.1.i386.rpm  
  inflating: sun-javadb-client-10.4.1-3.1.i386.rpm  
  inflating: sun-javadb-demo-10.4.1-3.1.i386.rpm  
  inflating: sun-javadb-docs-10.4.1-3.1.i386.rpm  
  inflating: sun-javadb-javadoc-10.4.1-3.1.i386.rpm  
Preparing...                ########################################### [100%]
   1:jdk                    ########################################### [100%]
Unpacking JAR files...
        rt.jar...
        jsse.jar...
        charsets.jar...
        tools.jar...
        localedata.jar...
        plugin.jar...
        javaws.jar...
        deploy.jar...
Installing JavaDB
Preparing...                ########################################### [100%]
   1:sun-javadb-common      ########################################### [ 17%]
   2:sun-javadb-core        ########################################### [ 33%]
   3:sun-javadb-client      ########################################### [ 50%]
   4:sun-javadb-demo        ########################################### [ 67%]
   5:sun-javadb-docs        ########################################### [ 83%]
   6:sun-javadb-javadoc     ########################################### [100%]

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Sun products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form for 
the JDK will be presented. If you do not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html file (located in 
the JDK installation directory) in a browser.

For more information on what data Registration collects and 
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue.....

 
Done.
[root@localhost tmp]# java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
[root@localhost tmp]# 

Installing LAMS 2.3

Install JBoss 4.0.2

No Format

[root@localhost tmp]# wget http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz
--2009-04-28 22:20:59--  http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz
Resolving transact.dl.sourceforge.net... 202.55.147.10
Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61652409 (59M) [application/x-gzip]
Saving to: `jboss-4.0.2.tar.gz.1'

100%[=========================================================================================================>] 61,652,409  20.8M/s   in 2.8s    

2009-04-28 22:21:02 (20.8 MB/s) - `jboss-4.0.2.tar.gz' saved [61652409/61652409]

[root@localhost tmp]# cd /usr/local/
[root@localhost local]# tar xzf /tmp/jboss-4.0.2.tar.gz
[root@localhost local]# 

LAMS 2.3 Unix Installer

Get the installers from: Downloads

No Format

[root@localhost tmp]# tar xzf lams-unix-installer-2.3-20090429.1705.tar.gz 
[root@localhost tmp]# cd lams-unix-installer-2.3
[root@localhost lams-unix-installer-2.3]#

Editing lams.properties

No Format

...
# The directory that contains your JDK. (Must be 1.5 or higher)
JDK_DIR=/usr/java/jdk1.6.0_13/
...

Running the installer

No Format

[root@localhost lams-unix-installer-2.3]# 
./install-lams.sh
JDK_DIR is valid

--------------------------------------------------------------------------------

WELCOME to the LAMS 2.3 unix Installer! 

Please ensure you have read and accepted the license agreement before continuing

Make sure you have correctly configured the lams.properties file to your 
preferred settings.

You should read the installation guide before continuing.

JAVA_HOME = /usr/java/jdk1.6.0_13/

--------------------------------------------------------------------------------

LAMS requires about 117MB of space, continue with installation? (y)es, (n)o: y

Do you wish to install LAMS as a Java Service Wrapper? (y)es, (n)o, (q)uit: n

Using LAMS database with the following parameters...
Database name: lams2
Database user: lamsuser
Database password: lamsdemo

Creating LAMS database.
Buildfile: ant-scripts/configure-database.xml
Database Created.
 
Filling database with LAMS tables

Buildfile: ant-scripts/filter-config.xml
Buildfile: ant-scripts/configure-database.xml
Done.


Database Created.

Copying lams.ear directory to /usr/local/jboss-4.0.2/server/default/deploy.

Done.

Configuring JBoss with your settings.
Buildfile: ant-scripts/configure-deploy.xml
cp: cannot stat `repository/*': No such file or directory
cp: cannot stat `secure/*': No such file or directory

Configuring the java Wrapper
Copying lams.properties to /etc.


LAMS 2.3 Configuration completed!
Please view the README for instructions on how to run LAMS.

[root@localhost lams-unix-installer-2.3]# 


Starting LAMS

No Format

[root@localhost lams-unix-installer-2.3]# cd /usr/local/jboss-4.0.2/bin/
[root@localhost bin]# ./run.sh 
run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur.  Make sure JAVA_HOME points to a JDK and not a JRE.
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss-4.0.2

  JAVA: java

  JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dprogram.name=run.sh

  CLASSPATH: /usr/local/jboss-4.0.2/bin/run.jar:/lib/tools.jar

=========================================================================

21:29:49,005 INFO  [Server] Starting JBoss (MX MicroKernel)...
21:29:49,008 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
21:29:49,008 INFO  [Server] Home Dir: /usr/local/jboss-4.0.2
21:29:49,009 INFO  [Server] Home URL: file:/usr/local/jboss-4.0.2/
21:29:49,009 INFO  [Server] Library URL: file:/usr/local/jboss-4.0.2/lib/
21:29:49,011 INFO  [Server] Patch URL: null
21:29:49,011 INFO  [Server] Server Name: default
21:29:49,012 INFO  [Server] Server Home Dir: /usr/local/jboss-4.0.2/server/default
21:29:49,013 INFO  [Server] Server Home URL: file:/usr/local/jboss-4.0.2/server/default/
21:29:49,014 INFO  [Server] Server Data Dir: /usr/local/jboss-4.0.2/server/default/data
21:29:49,014 INFO  [Server] Server Temp Dir: /usr/local/jboss-4.0.2/server/default/tmp
21:29:49,015 INFO  [Server] Server Config URL: file:/usr/local/jboss-4.0.2/server/default/conf/
21:29:49,015 INFO  [Server] Server Library URL: file:/usr/local/jboss-4.0.2/server/default/lib/
21:29:49,016 INFO  [Server] Root Deployment Filename: jboss-service.xml
21:29:49,019 INFO  [Server] Starting General Purpose Architecture (GPA)...
21:29:49,472 INFO  [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
21:29:49,472 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
21:29:49,473 INFO  [ServerInfo] OS-System: Linux 2.6.27.12-170.2.5.fc10.i686,i386
21:29:50,153 INFO  [Server] Core system initialized
21:29:52,582 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
2009-04-28 21:29:52,760 INFO  [WebService] Using RMI server codebase: http://localhost.localdomain:8083/
2009-04-28 21:29:53,104 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50
...

...

2009-04-28 21:31:05,688 INFO  [LocaleFilter] Initializing filter 'LocaleFilter'
2009-04-28 21:31:05,689 INFO  [LocaleFilter] Filter 'LocaleFilter' configured successfully
2009-04-28 21:31:05,713 INFO  [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/lams.ear/
2009-04-28 21:31:05,846 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2009-04-28 21:31:06,263 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
2009-04-28 21:31:06,281 INFO  [JkMain] Jk running ID=0 time=0/53  config=null
2009-04-28 21:31:06,301 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:17s:282ms

LAMS starts fine (thumbs up) (smile)

Functional Test

Include Page
Fedora Scenario 1 Functional Testing
Fedora Scenario 1 Functional Testing