RI Quick Start

RI Quick Start

Installation

  1. Download and install an evaluation copy of Oracle Weblogic Server 10.0 MP1.
    If you installed the product in $HOME/jsr289/bea dir, note that BEA_HOME will be: $HOME/jsr289/bea
    e.g.: export BEA_HOME=$HOME/jsr289/bea


  2. Download the JSR 289 RI
    Download jsr289ri-installer.zip. Unzipping this file will give you one file called jsr289-installer.jar.


  3. Install the JSR 289 RI on the Oracle WebLogic Server 10.0 MP1 product you installed in step 1 using the following command:
    $BEA_HOME/jdk150_11/bin/java -jar jsr289ri-installer.jar
    When prompted for a BEA Home Directory, use the one from step 1 (BEA_HOME).
    You can confirm the JSR 289 RI installation by the presence of the directory:
    ls $BEA_HOME/user_projects/domains/jsr289riDomain


  4. Download and unzip sipservlet-1_1-tck.zip.
    You will get 2 directories: sipunit and tck
    If you unzipped the TCK in the $HOME/jsr289 dir, note that TCK_DIRECTORY will be: $HOME/jsr289/tck
    e.g. export TCK_DIRECTORY=$HOME/jsr289/tck


  5. Set property values for the TCK
    Edit $TCK_DIRECTORY/conf/signature.properties set Referenced_JSR289API_JAR to $BEA_HOME/jsr289ri/lib/ri/sipservlet.jar
    Edit $TCK_DIRECTORY/conf/default.properties, set server.host to the IP address of the RI server machine, if needed.


  6. Set property values for the RI
    Edit the $BEA_HOME/user_projects/domains/jsr289riDomain/startWebLogic.sh script to set the following environment variable:
    export TCK_DIRECTORY=$HOME/jsr289/tck


  7. Install the apps:
    1. In one window, start the server:
      cd $BEA_HOME/user_projects/domains/jsr289riDomain
      ./startWebLogic.sh


    2. In another window:
      cd $BEA_HOME/user_projects/domains/jsr289riDomain
      export CLASSPATH=$BEA_HOME/wlserver_10.0/server/lib/weblogic.jar
      export PATH=$BEA_HOME/jdk150_11/bin:$PATH
      java weblogic.Deployer -username weblogic -password weblogic -targets AdminServer -deploy $TCK_DIRECTORY/dist/tck-apps.ear

Running TCK

  1. Start the server
    cd $BEA_HOME/user_projects/domains/jsr289riDomain
    export TCK_DIRECTORY=$HOME/jsr289/tck
    ./startWebLogic.sh


  2. In another window, setup environment variables. Examples:
    export JAVA_HOME=$BEA_HOME/jdk150_11
    export ANT_HOME=$BEA_HOME/modules/org.apache.ant_1.6.5


  3. Run the TCK
    cd $TCK_DIRECTORY/bin
    ./runAllTests.sh
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy