MyWikkaSite : InstallGuide

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
foxopenlogo

Install Guide


This guide covers hardware and software prerequisites and an example install.

What you need


FOXOpen allows you to start from a minimal hardware configuration and scale up as you add more applications and load.

You can get started with just one multifunction server or scale out to separate database, application and web servers as needed, FOXOpen supports Linux and Microsoft Windows operating systems.

Hardware/OS


Minimum spec for one combined server is as follows:


For simplicity, this guide will cover installing FOXOpen by using an example of a single server on Windows XP/Vista.

Software


Before installing FOXOpen, make sure the following components are installed in the following order and working:

  1. Oracle Server 10g: Oracle Express can be downloaded from here. Install and create a database with two users SYS and SYSTEM. Note down the passwords that you enter for them.
  2. Java Virtual Machine: Go here and click on the "Do I have Java?" link. If it says 'Congratulations', click on the "Test your Java Virtual Machine" link. This test must succeed to enable Tomcat to run successfully. If you do not have Java installed, download and install it, then run the above checks again to confirm.
  3. Tomcat: Available from here (note we have tested on 5.5 so that is recommended). While installing, on the Configuration page, set the Port to 8888. Alternatively you can edit server.xml and changing the following line

<Connector port="8080"
to
<Connector port="8888"

N.B. If Tomcat does not start then try rebooting your PC before trying again.

  • If you need to build the FOXOpen war from sources (NOTE you can skip this step and use the supplied war file for most environments):
    • JDK 5 or above: http://java.sun.com/javase/downloads/index.jsp
    • Apache Ant (1.7.0 or above): http://ant.apache.org/bindownload.cgi
    • Additional open source libraries: Additional libraries are packaged with FOXOpen and do not need to be downloaded, however projects will be listed (todo) and can be downloaded and built separately if required.

  • FOXOpen build from sources



    Database build


    From the command line:

    War build


    Note you can skip this step and use the supplied war file for most environments

    Note: The ant script will update the web host and oracle host in the FOXBoot.xml with the information provided in the build.properties. There is no need to handcraft the FOXBoot.xml yourself.

    Install Binaries


    War install (Tomcat)


    Ensure the database and Tomcat are up and running.



    War install (IBM WebSphere 7.0.0.9)


    Ensure the database and WebSphere are up and running.


    To alter the memory limits in WebSphere 7:

    Demo Screens and Fox Developer Training


    Unzip the foxopen_demo.zip into the ROOT folder of your Apache webapps folder.

    This documentation will be available at:

    http://<yourserver>:8888/demo_interface_index.htm

    This shows simple examples of different aspects of FoxOpen coding in a menu on the left. Clicking on each option displays an explanation of how the code works, the XML required, and a mini-demo.

    Clicking on the Documentation link at the top takes you to the Fox Worksheets Index. This is a detailed step-by-step training course for Fox, which takes you from the basics all the way to creating a Search screen. [Hint: You will need to use some XML files from the foxopen_demo.zip]

    Demo Application


    There is a demo application available at:

    http://<yourserver>:8888/foxopen/fox/foxopen/LOGIN/login

    This should display a Login page.

    Valid Users and passwords (with different user profiles) are :

    chrisc / foxopen
    benb / foxopen
    dthompson / foxopen

    This is a demo Trading application with examples of a variety of screens created using FoxOpen.

    FOXAdmin (experimental)


    FOXAdmin allows developer/system admin to manage the FOXOpen configurable resources in one place. FOXAdmin currently supports configuration of two key FOXOpen resources, namely, FoxBoot.xml (resides in foxopen.war) and MasterResource (resides in the database).

    War install


  • Download and expand FoxOpen-bin-x-xx-xx.zip
  • Copy foxadmin.war to the Tomcat "webapps" directory
  • Access URL: "http://<yourserver>:8080/foxadmin"

    War Build from sources


    Note you can skip this step and use the supplied war file for most environments

    *Note the sources to this new component are being bundled up in the next Beta4 release*

    Required software:
    1. JDK1.5 or above
    2. Tomcat6.x
    3. Apache Ant 1.7.1 or above
    Environment Parameters:
    1. Ensure JAVA_HOME is set to the right version of JDK.
    2. Ensure ANT_HOME is set to the right version of ANT and $ANT_HOME/bin is in the $PATH.

    Setup instructions:
    1. Download and expand the foxadmin source zip file.
    2. Go to the "foxadmin/trunk" directory, update the "build.properties" to match build/deploy of choice.
    3. To build the distribution artifacts, use the default ANT target. The built artifacts will be placed to the "foxadmin/trunk/build/dist" directory.
    4. Copy foxadmin.war from the "foxadmin/trunk/build/dist" directory to the Tomcat "webapps" directory.
    5. Access URL: "http://<yourserver>:8080/foxadmin"
    Note: Prior to running FOXOpen, it is a good idea to run FOXAdmin to ensure FOXOpen resources have been setup correctly in your environment.
  • There are 214 comments on this page. [Display comments]

    Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki :: Install WikkaWiki
    Page was generated in 0.0680 seconds