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 04:02, 10 June 2014 by Judith.gull.gmail.com (Talk | contribs) (Redis)

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.

Enable Clustersync

Register the clustersynchroniztation service in the plugin.xml of your server application:

<service
 class="org.eclipse.scout.rt.server.services.common.clustersync.ClusterSynchronizationService"
 createImmediately="false">
</service>


Overview Cloud Support on Marketplace

There are a number of plugins available on the eclipse marketplace to support running scout applications in the cloud. This section provides an overview of the available features and plugins.

Messaging Services

Service plugins for messaging and cachestore can be installed from the updatesite https://tools.bsiag.com/marketplace/cloud/4.0 or from the eclipse marketplace.

RabbitMQ

On the marketplace there is a service available for RabbitMQ.

Update Targetplatform

Add the feature to your target file:

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

Update Product File Add the bundles to the product file.

org.eclipse.scout.rt.server.rabbitmq
com.bsiag.com.rabbitmq.client
org.apache.commons.io
org.apache.commons.pool

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

#Message Queue
org.eclipse.scout.rt.server.rabbitmq.RabbitMQMessageService#host=
org.eclipse.scout.rt.server.rabbitmq.RabbitMQMessageService#user=
org.eclipse.scout.rt.server.rabbitmq.RabbitMQMessageService#password=

ActiveMQ

On the marketplace there is a service available for ActiveMQ.

Update Targetplatform

Add the feature to your target file:

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

Update Product File Add the bundles to the product file.

org.eclipse.scout.rt.server.activemq
com.bsiag.org.apache.activemq.all

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

#Message Queue
org.eclipse.scout.rt.server.activemq.ActiveMQMessageService#host=
org.eclipse.scout.rt.server.activemq.ActiveMQMessageService#user=
org.eclipse.scout.rt.server.activemq.ActiveMQMessageService#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="0.0.0"/>
<repository location="http://tools.bsiag.com/marketplace/cloud/"/>
</location>

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

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

#Memcached
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=

Redis

On the marketplace there is a service available using Redis to connect to a redis cache.

Update Targetplatform

Add the redis feature to your target file:

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

Update Product File Add the bundles to the product file.

com.bsiag.redis.clients.jedis
org.eclipse.scout.rt.server.redis
org.apache.commons.pool

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

#Redis
org.eclipse.scout.rt.server.redis.RedisCacheService#host=
org.eclipse.scout.rt.server.redis.RedisCacheService#port=
org.eclipse.scout.rt.server.redis.RedisCacheService#auth=true
org.eclipse.scout.rt.server.redis.RedisCacheService#password=

Back to the top