Expresso Complete Installation Instructions

This document describes the installation process for the "Expresso Complete" bundle, which contains the files required to get Expresso up and running quickly.

Version:

Expresso 5.5

Maintainer:

Sandra Cann

Introduction

This document describes the installation process for the "Expresso Complete" bundle, which contains the files required to get Expresso up and running quickly, including a pre-configured version of the Jakarta Jakarta Tomcat 4.x web/servlet/JSP engine and Hypersonic database to get you up quickly. Tomcat 4.x is an implementation of the Java Servlet 2.3 and JSP 1.2 specifications.

You can change Tomcat or Hypersonic db once you are setup. Should you wish to do this deploy the complete version untouched and unchanged, and leave it alone in it's own separate folder, to go back and run it when you need to figure something out. This should not take more than 10 or 20 minutes. Then follow the instructions on site in the documentation for deploying on another app server or database. Get this running separately, again, without touching the complete version. Last but not least, find a buddy somewhere in the archives or from the list server who has deployed on your brand and version of the appServer, and get some tips. When you are successful, consider posting a little tutorial for your brand and version of app server, to leave bread crumbs for the next guy to follow; or better yet submit a documentation update to support@jcorporate.com.

Before starting with the instructions below please be sure to read the following:

Installing on Unix/Linux/Solaris

Follow the steps below:

  1. Choose a directory for the installation, creating it if required. We'll assume you've chosen /home/expresso for this example - substitute your directory name as required.
  2. Locate your Java Development Kit installation. You must have at least JDK1.2. We'll assume it's in /home/jdk, again substitute as required.
  3. Go to your /home/expresso directory and copy the expressoX-XX-complete.jar file into that directory. (X-XX is the version number of Expresso, such as 5-50).
  4. Un-jar the file by issuing: /home/jdk/bin/jar xvf expressoX-XX-complete.jar. A number of files and directories will be created.
  5. cd to the "bin" directory just created and issue a "chmod +x *" to make all of the scripts executable.
  6. Issue a "set JAVA_HOME=/home/jdk" or other "set" command as required by your shell program to set the JAVA_HOME environment variable.
  7. Type ./startup.sh
  8. Tomcat should then start up, though depending upon how fast/slow the host machine is, this could take a little time. A good rule of thumb is when the file sizes in the logs directory stop changing the server is up.. Once Tomcat boots up you can then browse to the Expresso home page at: http://yourservername:8080/expresso/frame.jsp, where "yourservername" is the name of your server (or "localhost"). For example, it might be http://vaio:8080/expresso/frame.jsp. If you type in the url before Tomcat boots up properly it will not work.You can also see Tomcat's documentation and examples by going to http://yourservername/ in your browser.

Installing on Windows

Follow the steps below:

  1. Choose a directory for the installation, creating it if required. We'll assume you've chosen c:\expresso for this example - substitute your directory name as required.
  2. Locate your Java Development Kit installation. You must have at least JDK1.2. We'll assume it's in c:\jdk, again substitute as required, for example it might be d:\jdk1.3.1_01.
  3. Copy the expressoX-XX-complete.zip file into your c:\expresso directory (X-XX is the version number of Expresso, such as 5.50).
  4. Unzip the file by double click (it should open up in Winzip, which you can then use to expand the files). A number of files and directories will be created.
  5. Open Windows Explorer, open directory just created c:expresso/bin
  6. Edit file startup.bat. Insert two set commands
  7. At the beginning of the file issue a "set JAVA_HOME=c:\j2sdk1.4.0" command (or wherever your SDK resides to set the JAVA_HOME environment variable) and issue a "set CATALINA_HOME:c\expresso" command.
  8. Save startup.bat. Doubleclick startup.bat You migth get this nasty message telling you that there is no memory available in your environment:

  9. If this is the case, select file startup.bat with a click on the left mouse button, then click the right mouse button to get the properties menu. Select properties. You'll get this:

    On memory, change all values from "automatic" to the max. value available.
    You'll get another startup file with the DOS-Prompt sign in front of it (file name is startup.sh).
    The same action as described above is needed to get shutdown.bat up and running.

    Now doubleclick on the new startup.sh file.
  10. Tomcat should then start up, though depending upon how fast/slow the host machine is, this could take a little time. A good rule of thumb is when the file sizes in the logs directory stop changing the server is up.. Once Tomcat boots up you can then browse to the Expresso home page at:
    http://yourservername:8080/expresso/frame.jsp, where "yourservername" is the name of your server (or "localhost"). For example, it might be http://vaio:8080/expresso/frame.jsp. If you type in the url before Tomcat boots up properly it will not work. You can also see Tomcat's documentation and examples by going to http://yourservername/ in your browser. If you're running expresso on your own machine and localhost doesn't work, try http://127.0.0.1:8080/expresso/frame.jsp instead.
  11. For your convenience, you can copy your startup and shutdown files to your desktop by simply drag and dropping them from Windows Explorer to any point on your desktop. They will be there for subsequents starts/shutdowns of expresso.

Administrative Login Password

Now you have completed the installation. :) Now you are ready to Login and begin using Expresso.

Login as "Admin" and leave Password blank

Login with user name of "Admin" and an empty password string. Yes, login as Admin with a capital 'A'.

Example Applications

To make it easier to get rolling with Expresso, there are some "Example" applications that are available with example documentation explaining how to access the demo applications and how to use them as a basis for developing your own applications with Expresso. You might begin with a sample application such as:

Also under the Examples project there is also an effort comunity underway onsite to develop an Expresso J2EE Pet Shop example application. This example will illustrate Sun's Java BluePrints guidelines and patterns implemented using the Expresso Framework. This sample application wil shows how to use the capabilities of the J2EE 1.3 platform to develop flexible, scalable, cross-platform enterprise applications based on the Expresso Framework.

After working with Example applications, the next step will be to install other applications, such as eForum or begin development. Here are some references for beginning to develop your own application.

Conclusion

So what is the next step you might be asking? Expresso has some optional features that you may want to download the appropriate 3rd party jars to take advantage of those features.

There are no "post-install" steps to Expresso other than connecting to an alternate database or beginning development. If you get a bug that has you hung up, it will likely get fixed very quickly with the community collaboration in which case you will want to download the daily -dev download.

In closing here are some additional Reference Material resources:

Contributors

Contributors to this document include: Sandra Cann, Geeta Ramani, and Ruedi Anneler.

If you find any trouble spots with this document, or something you'd like to see clarified please contact the maintainer of this document.


Copyright 1999-2004 Jcorporate Ltd. All rights reserved. Copyright Privacy

Last Modified: 04-May-2004