Smilehouse Workspace HOWTO Articles

Howto upgrade Workspace version

If you have installed Workspace and you want to advance to newer version, you need a newer Workspace binary installation package.

Ask for proper installation package from sales@smilehouse.com.

The actual upgrading process is similar to installation process.
For more information about installation:

During upgrade in Windows the Tomcat must be stopped. On other platforms it is recommended.
Copy the new release to $WORKSPACE_HOME/releases
Extract the Workspace directory layout with the following command

# cd $WORKSPACE_HOME
# java -jar releases/Workspace_Standard-v(newversion)_shared-(newbuild).zip
Create a virtual host for the new Workspace version to $CATALINA_HOME/conf/server.xml
<Host name="(newbuild).ws-serverX.smilehouse.com" appBase="/home/workspace/client_app_base" unpackWARs="false">
  <Context docBase="/home/workspace/clients/workspace.client_standard_(newbuild).war" path=""/>
</Host>

Go to $WORKSPACE_HOME/installers/Workspace_Standard-v(newversion)_shared-(newbuild)

Upgrade the organization
sh upgrade.sh verkkokauppa

Move the organizations alias defintion(s) to inside the new Workspace virtualhost (build)
<Host name="(build).ws-serverX.smilehouse.com" appBase="/home/workspace/client_app_base" unpackWARs="false">
  <Context docBase="/home/workspace/clients/workspace.client_standard_(build).war" path=""/>
</Host>

<Host name="(newbuild).ws-serverX.smilehouse.com" appBase="/home/workspace/client_app_base" unpackWARs="false">
  <Context docBase="/home/workspace/clients/workspace.client_standard_(newbuild).war" path=""/>
  <Alias>verkkokauppa.ws-serverX.smilehouse.com</Alias>
</Host>

Restart Tomcat and see catalina.out for errors
<< Back to HOWTO index




Article information

Software: Smilehouse Workspace
Author: Risto Sarapik
About author: Risto Sarapik is working at Smilehouse as a Software Developer
Contact author: risto.sarapik@smilehouse.com

HOWTO
Learn how to use Workspace more efficient! Find latest tips and tricks from here


 
© Smilehouse