Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Scout/Tutorial/4.0/cloud/Cloud Step-by-Step

< Scout‎ | Tutorial‎ | 4.0
Revision as of 05:46, 2 June 2014 by Judith.gull.gmail.com (Talk | contribs) (Cache Services)

The Scout documentation has been moved to https://eclipsescout.github.io/.

How to deploy your Scout Application to the Cloud

This tutorial describes how to deploy your Scout Application to a PaaS cloud.

Prerequisites

Cloud support is only supported for the upcoming Luna release.

You can install Scout using the updatesite http://download.eclipse.org/scout/releases/4.0/cloud. (see Install Scout SDK)

Configure Messaging and Cachstore Services

Service plugins for messaging and cachestore can be installed from https://tools.bsiag.com/marketplace/cloud.


You have to configure the services in the config.ini


#Message Queue
org.eclipse.scout.cloud.notification.rabbitmq.RabbitMQMessageService#host=
org.eclipse.scout.cloud.notification.rabbitmq.RabbitMQMessageService#user=
org.eclipse.scout.cloud.notification.rabbitmq.RabbitMQMessageService#password=

Cache Services

A cache service can be used to synchronize the ServerSession and other shared state on the scout server side.

Memcached

On the marketplace there is a service available using spymemcached to connect to a memcached cache.

Update Targetplatform

Add the memcached feature to your target file:

<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit"> 
<unit id="org.eclipse.scout.rt.server.memcached.source.feature.group" version="4.1.0.20140601-1237"/>
<repository location="http://tools.bsiag.com/marketplace/cloud/"/>
</location>

Update Configuration

Add the following settings to the config.ini file of the server.

#Cache
org.eclipse.scout.cloud.cachestore.MemcachedCacheService#host=
org.eclipse.scout.cloud.cachestore.MemcachedCacheService#port=
org.eclipse.scout.cloud.cachestore.MemcachedCacheService#username=
org.eclipse.scout.cloud.cachestore.MemcachedCacheService#password=

Update Product File

Add the bundles to the product file.

org.eclipse.scout.rt.server.memcached
com.bsiag.net.spy.memcached
org.eclipse.scout.commons.log4j.bridge.fragment

Back to the top