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

Difference between revisions of "Scout/Tutorial/4.0/cloud/Cloud Step-by-Step"

< Scout‎ | Tutorial‎ | 4.0
(RabbitMQ)
(Messaging Services)
Line 15: Line 15:
  
 
== Messaging Services ==
 
== Messaging Services ==
Service plugins for messaging and cachestore can be installed from https://tools.bsiag.com/marketplace/cloud.
+
Service plugins for messaging and cachestore can be installed from https://tools.bsiag.com/marketplace/cloud/4.0.
  
  

Revision as of 05:25, 5 June 2014

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"
 factory="org.eclipse.scout.rt.server.services.ServerServiceFactory"
 session="yourproject.ServerSession">
</service>

Messaging Services

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


RabbitMQ

Update Configuration You have to configure the services in the config.ini

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

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

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