Main.ExamServer History

Hide minor edits - Show changes to markup

July 28, 2010, at 02:12 PM by Steffen Dienst - update source code locations to github
Changed lines 16-18 from:

We use SVN to get a copy of the working directory:
-# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer

to:

We use GIT to get a copy of the working directory:
- git clone http://github.com/smee/elatexam

Deleted line 21:
  1. copy build.properties.sample to build.properties
Changed lines 45-49 from:
  1. Checkout the taskmodel sources: svn co http://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/taskmodel
  2. cd taskmodel
  3. mvn install to install all taskmodel artifacts
  4. cd taskmodel-core-view
  5. mvn install -PdeployTomcat -Dtomcat.path=/path/to/your/tomcat to deploy the view web application
to:
  1. Checkout the taskmodel sources: git clone http://github.com/smee/elatexam
  2. cd elatexam/taskmodel
  3. mvn install -PdeployTomcat -Dtomcat.path=/path/to/your/tomcat to deploy the view web application@@ to install all taskmodel artifacts
Changed lines 51-52 from:

- startup tomcat: # ~/tomcat/bin/startup.sh

to:

- startup tomcat via: # ~/tomcat/bin/startup.sh

Changed lines 61-62 from:
  • in the definition use <img src=/<image></img>
to:
  • in the definition use <img src="/path/in/ROOT"</img>
June 03, 2010, at 07:39 AM by Steffen Dienst -
Changed lines 39-43 from:
  1. add to {tomcat-path/bin/catalina.{sh|bat}}:
    • {set|export} CATALINA_OPTS=-Dcom.sun.management.jmxremote
    • {set|export} CATALINA_OPTS="-server -Xmx786m -XX:MaxPermSize=256m"

to:
  1. add to {tomcat-path/bin/catalina.{bat|sh}}:
    • {set|export} CATALINA_OPTS=-Dcom.sun.management.jmxremote -server
      -Xmx786m -XX:MaxPermSize=256m

April 06, 2010, at 01:19 PM by Steffen Dienst -
Changed line 1 from:

Building the Exam Server

to:

Building the elateXam Server

Changed lines 7-8 from:

Setting the environment

to:

Setting up the environment

Changed lines 10-11 from:

/home/user/.profile

to:

/home/user/.profile (assuming you are running Linux)

Changed lines 14-15 from:

Download the examServer

to:

Download the sources

Changed line 21 from:
  1. Go to the directory where you downloaded the examServer
to:
  1. Go to the directory where you downloaded the elateXam sources
Deleted line 57:
  • The exact URL to the examServer
November 28, 2009, at 05:46 PM by 127.0.0.1 -
Changed lines 41-43 from:
  • @@{set|export} CATALINA_OPTS="-server -Xmx786m -XX:MaxPermSize=256m"

to:
  • {set|export} CATALINA_OPTS="-server -Xmx786m -XX:MaxPermSize=256m"

November 28, 2009, at 05:46 PM by 127.0.0.1 -
Changed lines 39-43 from:
  1. add to {tomcat-path/bin/catalina.sh}:
    • export CATALINA_OPTS=-Dcom.sun.management.jmxremote
    • Add the line {set|export} CATALINA_OPTS="-server -Xmx786m -XX:MaxPermSize=256m" to the top of the file.

to:
  1. add to {tomcat-path/bin/catalina.{sh|bat}}:
    • {set|export} CATALINA_OPTS=-Dcom.sun.management.jmxremote
    • @@{set|export} CATALINA_OPTS="-server -Xmx786m -XX:MaxPermSize=256m"

November 28, 2009, at 05:44 PM by 127.0.0.1 -
Changed lines 38-43 from:
  1. add to {tomcat-path/bin/catalina.sh}: export CATALINA_OPTS=-Dcom.sun.management.jmxremote
to:
  1. add to {tomcat-path/bin/catalina.sh}:
    • export CATALINA_OPTS=-Dcom.sun.management.jmxremote
    • Add the line {set|export} CATALINA_OPTS="-server -Xmx786m -XX:MaxPermSize=256m" to the top of the file.

October 21, 2009, at 11:15 AM by Steffen Dienst -
Changed line 44 from:
  1. mvn install -PdeploTomcat -Dtomcat.path=/path/to/your/tomcat to deploy the view web application
to:
  1. mvn install -PdeployTomcat -Dtomcat.path=/path/to/your/tomcat to deploy the view web application
October 13, 2009, at 01:18 PM by Steffen Dienst - instruction for running jmx
Added line 38:
  1. add to {tomcat-path/bin/catalina.sh}: export CATALINA_OPTS=-Dcom.sun.management.jmxremote
Changed lines 46-47 from:

Execute the command in the examServer-Directory-home:
-mvn install -PdeploTomcat -Dtomcat.path=/path/to/your/tomcat \\

to:

Execute this command in the examServer source directory:
-mvn install -PdeployTomcat -Dtomcat.path=/path/to/your/tomcat \\

Deleted lines 49-52:
  1. Before starting the examserver check
  • Firewall, is the port where the examServer runs accepted
  • Is elatportal running
Changed lines 51-52 from:

Check if you fulfil following points

  • You need the certification to authenticate yourself to the examserver
to:

Check if you fulfill following points

  • You need the client certificate to authenticate yourself to the examserver
October 13, 2009, at 10:18 AM by 127.0.0.1 - Using maven 2 for builds
Changed lines 4-6 from:
  • maven to build the project
  • copy tomcat directory into server home directory
to:
  • maven 2.1.0+ to build the project
  • tomcat 5.5+ installation
Deleted lines 11-15:

export JAVA_HOME=~/jdk1.5.0
export MAVEN_HOME=~/maven
export PATH=$PATH:~/maven/bin:~/sloccount
export SDK_HOME=~/jdk1.5.0
export JRE_HOME=~/jdk1.5.0\\

Changed lines 17-18 from:

-# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer

to:

-# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer

Changed lines 23-25 from:
  1. edit build.properties file
    set the variable catalina.home = {tomcat_install_directory} e.g.: catalina.home =/home/wiwifak/tomcat/ save the file and exit.
  2. edit catalina.home =/home/wiwifak/tomcat/server.xml file
to:
  1. edit {tomcat-path}/conf/server.xml file
Changed lines 25-26 from:
  1. make settings at the SSL Connecter element\\
to:
  1. add attribute address="127.0.0.1" to restrict unsecure access to localhost only. DO NOT remove this connector, this breaks the pdf bulk export feature...
  2. uncomment the SSL Connecter element\\
Changed lines 37-53 from:
  • URIEncoding="UTF-8"
    than save end exit
  1. befor deploy examServer the best is to build task-model-api/core/view from elatePortal
  • follow the instruction 2. in Main.Prerequisites
  • go to checkedout folder elatePortal
  • follow the instruction 7.1 in Main.Building
    -# maven deploy.taskmodel-api
    -# maven build.taskmodel-core
    -# maven deploy.taskmodel-core-view
    # Now we deploy the webapp examServer to tomcat
    The maven.xml contains all goals required. To reach this goals maven has to solve the dependencies and downloads the needed packages. Can take wile.
    Execute the command in the examServer-Directory-home:
    -# maven clean
    -# maven deploy
    Figure out if tomcat server is running if not start with:
    -# ~/tomcat/bin/startup.sh
to:
  • URIEncoding="UTF-8"
  1. make sure you have already recent copies of the taskmodel artifacts (taskmodel-core, taskmodel-api, taskmodel-core-view), if not:
    1. Checkout the taskmodel sources: svn co http://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/taskmodel
    2. cd taskmodel
    3. mvn install to install all taskmodel artifacts
    4. cd taskmodel-core-view
    5. mvn install -PdeploTomcat -Dtomcat.path=/path/to/your/tomcat to deploy the view web application
  2. Now we deploy the webapp examServer.
    Execute the command in the examServer-Directory-home:
    -mvn install -PdeploTomcat -Dtomcat.path=/path/to/your/tomcat
    - startup tomcat: # ~/tomcat/bin/startup.sh
October 06, 2009, at 02:01 PM by 127.0.0.1 -
Changed lines 73-83 from:
  • in the definition use <img src=/<image></img>
to:
  • in the definition use <img src=/<image></img>

Install new client certificats

  • get client-server-certs.zip and unpack
  • need functional ant install
  • edit build.xml to your needs, save
  • run ant cer2pkcs12 to get self-signed-certificat
  • after successful build you got
    • client.p12 for import to browser and java
    • server.truststore put to $TOMCAT_HOME/conf/
  • edit $TOMCAT_HOME/conf/server.xml and put following attributs to your https connector as above
November 02, 2008, at 11:51 PM by 127.0.0.1 -
Changed line 1 from:

Building the Exam Server on

to:

Building the Exam Server

June 25, 2008, at 05:55 PM by 91.39.59.29 -
Changed line 45 from:
  1. befor deploy examServer the best is to build task-model-api/core/view from elatePortal\\
to:
  1. befor deploy examServer the best is to build task-model-api/core/view from elatePortal
June 25, 2008, at 05:54 PM by 91.39.59.29 -
Changed line 45 from:
  1. befor deploy examServer the best is to build task-model-api/core/view from elatePortal
to:
  1. befor deploy examServer the best is to build task-model-api/core/view from elatePortal\\
Changed lines 48-51 from:

-'''# maven deploy.taskmodel-api -'''# maven build.taskmodel-core -'''# maven deploy.taskmodel-core-view

to:
  • follow the instruction 7.1 in Main.Building
    -# maven deploy.taskmodel-api
    -# maven build.taskmodel-core
    -# maven deploy.taskmodel-core-view\\
June 25, 2008, at 05:52 PM by 91.39.59.29 -
Added lines 45-51:
  1. befor deploy examServer the best is to build task-model-api/core/view from elatePortal

-'''# maven deploy.taskmodel-api -'''# maven build.taskmodel-core -'''# maven deploy.taskmodel-core-view

Changed line 72 from:
  • put the images under tomcat/webapps/taskmodel-core-view/
to:
  • put the images under tomcat/webapps/ROOT/
June 25, 2008, at 11:22 AM by 139.18.86.22 -
Added lines 63-66:

Additional

If you use images in the complex-task-definition than

  • put the images under tomcat/webapps/taskmodel-core-view/
  • in the definition use <img src=/<image></img>
June 24, 2008, at 05:31 PM by 139.18.85.3 -
Changed line 60 from:
  • The exact URL to the examServer
to:
  • The exact URL to the examServer
June 24, 2008, at 05:30 PM by 139.18.85.3 -
Changed line 60 from:
  • The exact URL to the examServer
to:
  • The exact URL to the examServer
June 24, 2008, at 04:24 PM by 139.18.85.3 -
Added lines 58-60:

Check if you fulfil following points

  • You need the certification to authenticate yourself to the examserver
  • The exact URL to the examServer
June 24, 2008, at 04:17 PM by 139.18.85.3 -
Changed line 50 from:

Figure out if tomcat server is running if not start with:

to:

Figure out if tomcat server is running if not start with:\\

June 24, 2008, at 04:15 PM by 139.18.85.3 -
Changed lines 49-50 from:

-# maven deploy

to:

-# maven deploy
Figure out if tomcat server is running if not start with: -# ~/tomcat/bin/startup.sh

June 24, 2008, at 04:12 PM by 139.18.85.3 -
Changed lines 47-48 from:

Execute the command in the examServer-Directory-home: -# maven clean

to:

Execute the command in the examServer-Directory-home:
-# maven clean\\

June 24, 2008, at 04:11 PM by 139.18.85.3 -
Deleted line 50:

<<<<<<<

Deleted lines 54-57:

=======

Deleted lines 55-56:

>>>>>>>

June 24, 2008, at 04:09 PM by 139.18.85.3 -
Added lines 51-59:

<<<<<<<

  1. Before starting the examserver check
  • Firewall, is the port where the examServer runs accepted
  • Is elatportal running

=======

Changed lines 61-62 from:
to:

>>>>>>>

June 24, 2008, at 03:54 PM by 139.18.8.98 -
Changed lines 51-53 from:

to:

Running the Exam Server

  • initial user/password: admin/admin
June 24, 2008, at 03:48 PM by 139.18.85.3 -
Changed line 21 from:

We use SVN to get a copy of the working directory:

to:

We use SVN to get a copy of the working directory:\\

June 24, 2008, at 03:48 PM by 139.18.85.3 -
Changed lines 21-22 from:

-'''# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer'''

to:

We use SVN to get a copy of the working directory: -# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer

June 24, 2008, at 03:45 PM by 139.18.85.3 -
Changed lines 44-45 from:
  1. Now we deploy the webapp examServer to tomcat

Maven contains al goals in the maven.xml. To reach this goals maven has to solve the dependencies and downloads the needed packages. Can take wile.\\

to:
  1. Now we deploy the webapp examServer to tomcat
    The maven.xml contains all goals required. To reach this goals maven has to solve the dependencies and downloads the needed packages. Can take wile.\\
June 24, 2008, at 03:35 PM by 139.18.85.3 -
Changed line 42 from:
  • URIEncoding="UTF-8"
to:
  • URIEncoding="UTF-8"\\
June 24, 2008, at 03:34 PM by 139.18.85.3 -
Added line 47:

-# maven clean

June 24, 2008, at 03:15 PM by 139.18.85.3 -
Changed lines 28-29 from:

set the variable catalina.home = {tomcat_install_directory} e.g.: catalina.home =/home/wiwifak/tomcat/ save the file and exit.

to:

set the variable catalina.home = {tomcat_install_directory} e.g.: catalina.home =/home/wiwifak/tomcat/ save the file and exit.

June 24, 2008, at 03:14 PM by 139.18.85.3 -
Changed lines 28-29 from:

set the variable catalina.home = {tomcat_install_directory} e.g.: catalina.home =/home/wiwifak/tomcat/ \\

to:

set the variable catalina.home = {tomcat_install_directory} e.g.: catalina.home =/home/wiwifak/tomcat/

June 24, 2008, at 03:13 PM by 139.18.85.3 -
Changed lines 27-29 from:
  1. edit build.properties file
    set the variable catalina.home = {tomcat_install_directory}\\

e.g.: catalina.home =/home/wiwifak/tomcat/\\

to:
  1. edit build.properties file
    set the variable catalina.home = {tomcat_install_directory}

e.g.: catalina.home =/home/wiwifak/tomcat/ \\

June 24, 2008, at 03:11 PM by 139.18.85.3 -
Added lines 47-48:

Maven contains al goals in the maven.xml. To reach this goals maven has to solve the dependencies and downloads the needed packages. Can take wile.
Execute the command in the examServer-Directory-home:

June 24, 2008, at 03:04 PM by 139.18.85.3 -
Changed lines 45-48 from:

to:

than save end exit

  1. Now we deploy the webapp examServer to tomcat

-# maven deploy

June 24, 2008, at 03:01 PM by 139.18.85.3 -
Changed lines 35-40 from:
  1. add the following attributes to the connector element

to:
  1. add the following attributes to the connector element (be sure that is the SSL connector element)
    • scheme="https"
    • secure="true"
    • sslProtocol="TLS"
    • clientAuth="true"
    • truststoreFile="conf/server.truststore"
    • truststorePass="*******"
    • emptySessionPath="true"
    • useBodyEncodingForURI="false"
    • URIEncoding="UTF-8"

June 24, 2008, at 02:50 PM by 139.18.85.3 -
Changed lines 31-34 from:

to:
  1. edit catalina.home =/home/wiwifak/tomcat/server.xml file
    1. at element server change attribute to an unused port e.g. 8006
    2. make settings at the SSL Connecter element
      set also to an unused port e.g. 8443
    3. add the following attributes to the connector element

June 24, 2008, at 02:43 PM by 139.18.85.3 -
Changed line 25 from:
  1. change to examServer directory
to:
  1. Go to the directory where you downloaded the examServer
Changed lines 27-33 from:
  1. edit build.properties file

set the variable catalina.home = tomcat install directory catalina.home =/home/wiwifak/tomcat/

to:
  1. edit build.properties file
    set the variable catalina.home = {tomcat_install_directory}\\

e.g.: catalina.home =/home/wiwifak/tomcat/
save the file and exit.

June 24, 2008, at 02:39 PM by 139.18.85.3 -
Changed lines 4-5 from:
  • maven to build the project
to:
  • maven to build the project
  • copy tomcat directory into server home directory
Changed lines 23-26 from:

to:

Settings

  1. change to examServer directory
  2. copy build.properties.sample to build.properties
  3. edit build.properties file

set the variable catalina.home = tomcat install directory catalina.home =/home/wiwifak/tomcat/

June 24, 2008, at 02:32 PM by 139.18.85.3 -
Changed lines 20-25 from:

-# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer

to:

-'''# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer'''

June 24, 2008, at 02:31 PM by 139.18.85.3 -
Changed lines 18-20 from:

to:

Download the examServer

-# svn co https://elateportal.svn.sourceforge.net/svnroot/elateportal/trunk/examServer

June 24, 2008, at 02:22 PM by 139.18.85.3 -
Changed lines 6-20 from:

to:

Setting the environment

The following environment variables have to be set in the file /home/user/.profile

export JAVA_HOME=~/jdk1.5.0
export MAVEN_HOME=~/maven
export PATH=$PATH:~/maven/bin:~/sloccount
export SDK_HOME=~/jdk1.5.0
export JRE_HOME=~/jdk1.5.0
export LANG=de_DE@euro.UTF-8

June 24, 2008, at 02:09 PM by 139.18.85.3 -
Changed line 1 from:

Building the Exam Server

to:

Building the Exam Server on

Changed lines 3-6 from:
  • give your tomcat plenty of heap space ;)
to:
  • JDK at least version 1.5
  • maven to build the project

September 28, 2007, at 02:59 PM by 139.18.8.147 -
Changed line 1 from:

Building the Exam Server!!

to:

Building the Exam Server

September 28, 2007, at 02:58 PM by 139.18.8.147 -
Added lines 1-3:

Building the Exam Server!!

runtime requirements

  • give your tomcat plenty of heap space ;)