Top Banner
J5EEWASCEv2p2 Friday, February 01, 2008 Page 1 of 56 Slide 1 Slide notes: Project Length: 10:11 Slide Time 18.9s Welcome to Part 2 of Installing Java 5 and WebSphere Application Server Community Edition v2 on openSUSE. In this demonstration we will be installing the WASCE v2 application server on the openSUSE platform. Let's get started.
56
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 1 of 56

Slide 1

Slide notes: Project Length: 10:11

Slide Time 18.9s

Welcome to Part 2 of Installing Java 5 and WebSphere Application Server Community Edition v2 on openSUSE.

In this demonstration we will be installing the WASCE v2 application server on the openSUSE platform. Let's get started.

Page 2: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 2 of 56

Slide 2

Slide notes: Slide Time 22.6s

In part one of this demonstration we installed an IBM Java 5 JVM that is bundled with the WASCE download. We will be using the JVM we installed in part one in this demonstration. We can verify the active JVM for our current environment by opening a terminal window konsole.

Title Slide notes here:

Page 3: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 3 of 56

Slide 3

Slide notes: Slide Time 2.2s

Page 4: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 4 of 56

Slide 4

Slide notes: Slide Time 8.8s

Entering the command "java" with the "version" parameter will show the active JVM for our current user environment.

Page 5: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 5 of 56

Slide 5

Slide notes: Slide Time 11.2s

You can see in the highlighted area the active JVM is the IBM Java 5, so we will proceed with our installation of WASCE v2.

Page 6: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 6 of 56

Slide 6

Slide notes: Slide Time 4.6s

We will close the konsole shell using the exit command.

Page 7: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 7 of 56

Slide 7

Slide notes: Slide Time 36.3s

We will now open the system application of "Terminal Program - Super User Mode" to install WASCE since the installation requires "root" or administration authority.

We are using this option rather than logging on as "root" or using the su command to switch to the "root" user environment because the 'Super User Mode" application uses the JVM of the current user environment we just verified.

The "root" user environment may have a different JVM defined as active.

Page 8: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 8 of 56

Slide 8

Slide notes: Slide Time 8.6s

The "Terminal program - Super User Mode" application is found selecting "System - Terminal"

Page 9: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 9 of 56

Slide 9

Slide notes: Slide Time 3s

Page 10: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 10 of 56

Slide 10

Slide notes: Slide Time 4.1s

then select "Terminal Program - Super User Mode"

Page 11: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 11 of 56

Slide 11

Slide notes: Slide Time 8.3s

The "Super User Mode" program opens a root shell konsole for the execution of commands with "root" authority.

Page 12: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 12 of 56

Slide 12

Slide notes: Slide Time 9.3s

When prompted for a password you must enter the "root" password. If this is not entered correctly the root shell konsole will close.

Page 13: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 13 of 56

Slide 13

Slide notes: Slide Time 1.2s

Page 14: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 14 of 56

Slide 14

Slide notes: Slide Time 4s

Page 15: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 15 of 56

Slide 15

Slide notes: Slide time 12.3s

After the correct password is entered we can change directory to the folder where the WASCE installation file is located. The highlighted file is the installation binary.

Page 16: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 16 of 56

Slide 16

Slide notes: Slide Time 5.3s

We will now execute the installation binary file and press enter

Page 17: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 17 of 56

Slide 17

Slide notes: Slide Time 9.1s

The binary execution starts an installation wizard which verifies the JVM as one of the first steps of the installation process.

Page 18: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 18 of 56

Slide 18

Slide notes: Slide Time 9s

If the JVM verification is successful the wizard starts the InstallShield Wizard to continue the installation.

Page 19: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 19 of 56

Slide 19

Slide notes: Slide Time 11.6s

You can see from the splash screen that WebSphere Application Server Community Edition v2 is based on the open source Apache Geronimo technology.

Page 20: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 20 of 56

Slide 20

Slide notes: Slide Time 12.8s

In this panel the wizard displays a warning that "A recommended platform was not detected". Improved support may now be available, so we will choose "Next" to continue the install.

Page 21: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 21 of 56

Slide 21

Slide notes: Slide Time 6.3s

On this panel we are asked to read the license agreement "carefully".

Page 22: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 22 of 56

Slide 22

Slide notes: Slide Time 8.8s

After "carefully" reading the "entire" license agreement we select "accept" to continue the install.

Page 23: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 23 of 56

Slide 23

Slide notes: Slide Time 3s

Page 24: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 24 of 56

Slide 24

Slide notes: Slide Time 13.6s

After selecting "Next" the next panel shows the default installation directory for WASCE in the highlighted area. We will keep the default for this demonstration and choose "Next".

Page 25: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 25 of 56

Slide 25

Slide notes: Slide Time 12.4s

This panel confirms the installation directory and shows the total size of the WASCE installation. We will select "Install" to continue the installation.

Page 26: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 26 of 56

Slide 26

Slide notes: Slide Time 3s

Page 27: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 27 of 56

Slide 27

Slide notes: Slide Time 2s

Page 28: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 28 of 56

Slide 28

Slide notes: Slide Time 9.7s

After a few minutes we will see the final panel with the message the installation is successful. We will now select "Finish".

Page 29: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 29 of 56

Slide 29

Slide notes: Slide Time 29.1s

After the WASCE install wizard is closed we are returned to the command prompt of the root shell konsole. We do not want to close this window just yet.

This next step is optional, and most likely should not be used for a production install of WASCE.

However, if you want users other than the "root" user to be able to start and stop the installed WASCE server the next step is necessary.

Page 30: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 30 of 56

Slide 30

Slide notes: Slide Time 29.2s

At the command prompt we will change directory to the "opt" directory where the WASCE server was installed. Using the "ls" command we see the "IBM" directory for the continued path of the WASCE installation.

In Linux the directory names are case sensitive, so we will be changing the read, write, and execute permissions on the "capital" IBM directory using the chmod command.

Page 31: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 31 of 56

Slide 31

Slide notes: Slide Time 21.6s

The -R parameter changes the permissions for all files and subdirectories in the "IBM" directory path. The 777 parameter gives all users read, write, and execute permisions on all files in the "IBM" path. You may want to set different permissions for your installation.

Page 32: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 32 of 56

Slide 32

Slide notes: Slide Time 10.2s

Now that the permissions have been changed we can close the root shell konsole and open a standard konsole shell to start the WASCE server.

Page 33: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 33 of 56

Slide 33

Slide notes: Slide Time 3s

Page 34: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 34 of 56

Slide 34

Slide notes: Slide Time 0.3s

Page 35: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 35 of 56

Slide 35

Slide notes: Slide Time 3s

Page 36: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 36 of 56

Slide 36

Slide notes: Slide Time 0.7s

Page 37: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 37 of 56

Slide 37

Slide notes: Slide Time 22.3s

The binary executable files for WASCE are in the /opt/IBM/WebSphere/AppCommunityEdition/bin path. There are various shell scripts for various functions, but for this demonstration we will start the server using the highlighted startup.sh script.

Page 38: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 38 of 56

Slide 38

Slide notes: Slide Time 19.8s

We will execute the startup.sh script using the "&" parameter which allows us to close this konsole without killing any processes started in the konsole.

You can see from the messages on the left hand that WASCE is "powered" by Apache Geronimo technology.

Page 39: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 39 of 56

Slide 39

Slide notes: Slide Time 12.7s

Now that the server is started we can open a browser and enter the url "http://localhost:8080" to see the Welcome page of the WASCE server.

Page 40: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 40 of 56

Slide 40

Slide notes: Slide Time 10.3s

When we open Firefox you can see the developerWorks website where we downloaded the WASCE product in part one of this demonstration.

Page 41: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 41 of 56

Slide 41

Slide notes: Slide Time 21.2s

A fter we enter the url "http://localhost:8080" and press enter we will see the Welcome page for WebSphere Application Server Community Edition Version 2 (if the server is in fact up and running).

This page hightlights many of the new features of WASCE v2 and the current levels of supported standards.

Page 42: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 42 of 56

Slide 42

Slide notes: Slide Time 9.4s

If we click on the "Administrative Console" link we will see the admin logon panel for the browser based Administrative Client.

Page 43: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 43 of 56

Slide 43

Slide notes: Slide Time 11.8s

The default user name is "system", and the default password is "manager". Of course these defaults should be changed for your WASCE installation

Page 44: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 44 of 56

Slide 44

Slide notes: Slide Time 3s

Page 45: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 45 of 56

Slide 45

Slide notes: Slide Time 12.9s

After successfully logging on you will see the main page for the Admistrative Console. There are many functions to explore here, but we will only touch on a few of these in this demo.

Page 46: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 46 of 56

Slide 46

Slide notes: Slide Time 15.1s

You can see in the highlighted area the administrative console provides a user friendly way to administer many server functions.

One example is the "Information" link under "Server" folder on the left hand side.

Page 47: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 47 of 56

Slide 47

Slide notes: Slide Time 12.8s

This link provides valuable information about the server, operating system, and Java environment.

Our next step will be to "Shutdown" the server from the console.

Page 48: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 48 of 56

Slide 48

Slide notes: Slide Time 7.7s

To shutdown the server from the console we click on the "Shutdown" link under the Server folder on the left hand side.

Page 49: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 49 of 56

Slide 49

Slide notes: Slide Time 6.8s

We will select 'OK' when asked if we are sure we want to shutdown the server at this time.

Page 50: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 50 of 56

Slide 50

Slide notes: Slide Time 6.8s

A final click on the 'Shutdown' button will shut down the WASCE server from the console.

Page 51: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 51 of 56

Slide 51

Slide notes: Slide Time 11.4s

We can verify the WASCE server is shutdown by attempting to load the Welcome page again using the localhost:8080 url from the browser.

Page 52: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 52 of 56

Slide 52

Slide notes: Slide Time 12.4s

This concludes part 2 of Installing Java 5 EE and IBM WebSphere Application Server Community Edition v2 on openSUSE.

Page 53: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 53 of 56

Slide 53

Slide notes: Slide Time 12.9s

Just a quick reminder that WASCE v2 is a lightweight JEE5 application server based on the open source Apache Geronimo technology.

Page 54: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 54 of 56

Slide 54

Slide notes: Slide Time 8.7s

There are several links for addtional information and forums if you would like additional information on the WASCE server.

Page 55: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 55 of 56

Slide 55

Slide notes: Slide Time 25s

For additional information on WASCE and other technologies such as open source, java, and openSUSE Linux please visit the links on this panel.

Page 56: J5EEandWASCEv2p2

J5EEWASCEv2p2 Friday, February 01, 2008

Page 56 of 56

Slide 56

Slide notes: Slide Time 9s

Please take the time to experience other development technologies at the IBM developerWorks website. Thank you!