WSO2 Data Analytics Server is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

All docs This doc
Skip to end of metadata
Go to start of metadata

Prior to installing any WSO2 Carbon based product, it is necessary to have the appropriate prerequisite software installed on your system. Verify that the computer has the supported operating system and development platforms before starting the installation.

System requirements


  • ~ 8 GB minimum is recommended.
    In a stand-alone deployment, about 6GB of memory is allocated to the Carbon JVM and Spark. The balance is used by the operating system.
    In a distributed deployment, Spark is run in a seperate JVM. It is recommended to allocate 4GB of memory for Carbon JVM and 2GB for Spark.
  • ~ 4 GB heap size.


  • ~ 10 GB minimum (excluding space allocated for log files and databases.) The disk space required depends on the amount of index data that needs to be stored.
  • A minimum of 4 CPU cores are recommended. A lower number may affect performance.

Environment compatibility

Operating Systems / Databases

  • All WSO2 Carbon-based products are Java applications that can be run on any platform that is Oracle JDK 1.8* or OpenJDK 8 compliant. 
  • A ll WSO2 products are generally compatible with most common DBMSs. For more information, see Working with Databases .

  • It is not recommended to use Apache DS in a production environment due to issues with scalability. Instead, it is recommended to use an LDAP like OpenLDAP for user management.

  • For environments that WSO2 products are tested with, see Compatibility of WSO2 Products .  
  • If you have difficulty in setting up any WSO2 product in a specific platform or database, please contact us .

Required applications

The following applications are required for running the Data Analytics Server and its samples, or for building from the source code. Mandatory installs are marked with *.




Download Links

Java SE Development Kit (JDK)*


To launch WSO2 DAS, you need to have JDK 1.8.*. You cannot launch WSO2 DAS with JDK 1.7.* or lower.



Some updates of JDK 1.8 (for example, JDK1.8.0_151) are affected by a known issue related to GZIP decoding. Until this issue is fixed, we recommend one of the following approaches:

  • Use either JDK1.8.0_144 or JDK1.8.0_077 updates. We have verified that these versions are not affected by the known issue.
  • Alternatively, you can disable GZIP decoding for your product by following the steps given below. This will ensure that your product is not affected by the known issue.
    1. Open the catalina-server.xml file from the <DAS_HOME>/repository/conf/tomcat/ directory.
    2. Set the compression parameter (under each of the connector configurations) to false as shown below:

    3. Restart the server.


Oracle JDK

JDBC-compliant Connector for JavaRequired as a standardized database driver for Java platforms and development.1.7.0 or laterMySQL Connectors

Apache Ant

To compile and run the product samples .

1.7.0 or later

Apache Ant

Required to check out the source from the Git repository.

1.9.0 or later

Apache Git

Apache Maven

To build the product from the source distribution (both JDK and Apache Maven are required).

If you are installing by downloading and extracting the binary distribution instead of building from the source code, you do not need to install Maven.

Apache Maven

Web Browser

To access each product's Management Console . The Web Browser must be JavaScript enabled to take full advantage of the Management console.

WSO2 DAS does not support Internet Explorer 10 and older versions.

In order to avoid the NoClassDefFoundError exception when running the C++ code embedded in WSO2 DAS and other WSO2 DAS-based products, install glibc package in the operating system.

For detailed installation guidelines in Alpine Linux , see alpine-pkg-glibc .

Then download snappy-java from here and copy it to the <PRODUCT_HOME>/repository/components/lib directory.

The path specified above changes depending on the Analytics profile for which you are doing this installation.

e.g., For EI Analytics, the directory in which you need to place the snappy-java package is <EI_HOME>/wso2/analytics <EI_HOME>/wso2/analytics/ repository/components/lib directory.

 Click here to view the exception that may occur if glib is not installed...
2018-08-03 06:21:01,687]  INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL  : https://localhost:9443/carbon/
[2018-08-03 06:21:01,701]  INFO {} -  WSO2EventConsumer added to the junction.
[2018-08-03 06:21:01,701]  INFO {} -  Deployed successfully analytics event store: org_wso2_is_analytics_stream_LoginSuccessAfterMultipleFailures.xml
[2018-08-03 06:21:01,994]  INFO {org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager} -  Task scheduled: [-1234][ANALYTICS_SPARK][ISAnalytics-ConfigureAlertLongSessions-ConfigureAlertLongSessions-batch1]
[2018-08-03 06:21:27,664]  INFO {org.wso2.carbon.event.processor.manager.core.internal.CarbonEventManagementService} -  Starting polling event receivers
Exception in thread "dag-scheduler-event-loop" java.lang.NoClassDefFoundError: org/xerial/snappy/SnappyInputStream
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at org.apache.spark.util.Utils$.classForName(Utils.scala:175)
        at org.apache.spark.broadcast.TorrentBroadcast.<init>(TorrentBroadcast.scala:80)
        at org.apache.spark.broadcast.TorrentBroadcastFactory.newBroadcast(TorrentBroadcastFactory.scala:34)
        at org.apache.spark.broadcast.BroadcastManager.newBroadcast(BroadcastManager.scala:63)
        at org.apache.spark.SparkContext.broadcast(SparkContext.scala:1326)
        at org.apache.spark.scheduler.DAGScheduler.submitMissingTasks(DAGScheduler.scala:1006)
        at org.apache.spark.scheduler.DAGScheduler.handleJobSubmitted(DAGScheduler.scala:861)
        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:1607)
        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1599)
        at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1588)
        at org.apache.spark.util.EventLoop$$anon$
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.xerial.snappy.snappy-java (469).
        at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(
        at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 17 more
Caused by: org.osgi.framework.BundleException: Exception in org.xerial.snappy.SnappyBundleActivator.start() of bundle org.xerial.snappy.snappy-java.
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(
        at org.eclipse.osgi.framework.util.SecureAction.start(
        at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(
        at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(
        ... 26 more
Caused by: java.lang.UnsatisfiedLinkError: /home/wso2carbon/wso2is-analytics-5.5.0/repository/components/default/configuration/org.eclipse.osgi/bundles/469/1/.cp/org/xerial/snappy/native/Linux/x86_64/ Error loading shared library No such file or directory (needed by /home/wso2carbon/wso2is-analytics-5.5.0/repository/components/default/configuration/org.eclipse.osgi/bundles/469/1/.cp/org/xerial/snappy/native/Linux/x86_64/
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at org.xerial.snappy.SnappyBundleActivator.start(
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$
        at Method)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
        ... 32 more

You are now ready to install. Click one of the following links for instructions:

  • No labels