Skip to main content

Notice: This Wiki is now read only and edits are no longer 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
(Cache Services)
(Memcached)
Line 27: Line 27:
 
On the marketplace there is a service available using [https://code.google.com/p/spymemcached/| spymemcached]  to connect to a memcached cache.
 
On the marketplace there is a service available using [https://code.google.com/p/spymemcached/| spymemcached]  to connect to a memcached cache.
  
==== Update Targetplatform ====
+
'''Update Targetplatform'''
 +
 
 
Add the memcached feature to your target file:
 
Add the memcached feature to your target file:
  
Line 35: Line 36:
 
  </location>
 
  </location>
  
==== Update Configuration ====
+
'''Update Configuration'''
 
Add the following settings to the config.ini file of the server.
 
Add the following settings to the config.ini file of the server.
  
Line 44: Line 45:
 
  org.eclipse.scout.cloud.cachestore.MemcachedCacheService#password=
 
  org.eclipse.scout.cloud.cachestore.MemcachedCacheService#password=
  
==== Update Product File ====
+
'''Update Product File'''
 
Add the bundles to the product file.
 
Add the bundles to the product file.
  

Revision as of 06:13, 2 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.

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