Karolinska Institutet - a medical university
Search LIME's website
to ki.se
to lime.ki.se
to patientcases.org

Upgrading from 2.x to 2.2

Before you start
  • Download websp22_install.tar
  • Note the port (XXX) used by Web-SP
    Default port is: 80


  1. Shutdown Web-SP (./shutdown.sh -s -S)
  2. Perform a complete backup of the database, and the Web-SP folder.
  3. Unpack Web-SP 2.2 in it's final location
  4. Edit Port Settings port for http connector
    4.1 Edit settings for the http connector
    Edit ../server/websp/deploy/jbossweb-tomcat50.sar/server.xml
    Edit line 12. Default value is "80"

      <!-- A HTTP/1.1 Connector on port 80 -->
          <Connector port="80" address="${jboss.bind.address}"
             maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
             enableLookups="false" redirectPort="8443" acceptCount="100"
             connectionTimeout="20000" disableUploadTimeout="true"/>

  5. Edit Database Settings
    5.1 Edit settings
    Edit ../server/websp/deploy/mysql-ds.xml
    Change the following values: name_of_database, username, password.


  6. Edit Mail Settings
    6.1 Edit SMTP settings
    - Edit ../server/websp/deploy/mail-service.xml
    - Change the "value" to your local smtp server
    <property name="mail.smtp.host" value="smtp.domain.edu"/>
    6.2 Edit From email
    - Edit ../server/websp/deploy/mail-service.xml
    - Change the "value" to your local smtp server
    <property name="mail.from" value="websp_support@domain.edu"/>

  7. Move a copy of "UPLOADED_MEDIA" and "CASE_IMAGES" from the backup to ../server/websp/deploy/websp.ear/websp.war/view
  8. Start Web-SP (cd /bin then ./run.sh -c websp)

  Printable page