Skip to content

Local Server Setup(cli)

Wasula Kankanamge edited this page Feb 26, 2015 · 2 revisions

nursa3 folder is located in the trunk of the nursa svn directory

  • Check that you have downloaded a Subversion (svn) client by typing svn into a command line.

    • svn: svn://svn.dldcc.bcm.edu/svn/repo/nursa
    • pwd: Request your password
  • Download an svn client of your choice as needed.

  • Download JBoss 7 and rename the folder to JBoss(7). Note that newer releases of JBoss may be compatible with NURSA, but have not been certified.

  • Download Maven

  • Download Java Enterprise Edition SDK 6 as needed and set JAVA_HOME as follows for Linux operating systems. If you are not certain whether you have already set Java 6 in your path, use the ECHO command for $JAVA_HOME.

    $ vim .bash_profile

    export JAVA_HOME=$(/usr/libexec/java_home)

    source .bash_profile

  • Copy nursa3->server->standalone-full.xml file content to standalone.xml file in JBOSS->standalone->configuration

  • Copy files from nursa3->server->hibernate to /JBOSS_HOME/modules/org/hibernate/main

  • Refer to the word document in nursa3->server->jaxrs2-resteasy-upgrade and copy/replace the files.

  • Request Oracle driver from a co-worker and place it in JBOSS_HOME->modules

  • Run JBoss->bin->standalone.sh

  • Browse to nursa->trunk->nursa3 and run mvn clean package

  • Browse to nursa->trunk->nursa3->target, copy and paste nursa.war file in jboss->standalone->deployments and watch the logs for errors and failures

  • Your local server should be running now on http://localhost:8084/