<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>R Service Bus – Getting Started</title>
    <link>/documentation/getting-started/</link>
    <description>Recent content in Getting Started on R Service Bus</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    
	  <atom:link href="/documentation/getting-started/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Documentation: Installation</title>
      <link>/documentation/getting-started/install/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/documentation/getting-started/install/</guid>
      <description>
        
        
        &lt;h2 id=&#34;snapshot-debian-packages&#34;&gt;Snapshot Debian Packages&lt;/h2&gt;
&lt;p&gt;Should you want to get started with the latest RSB snapshot and have all the required packages and dependencies installed in a convenient manner, simply run the following command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo apt-get install rsb-snapshot r-properties r-rsbxml r-rsbjson
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;These packages are found in this repository: deb.openanalytics.eu. Follow this guide to add this repository to your system.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;RSB needs R, several R packages and also relies on RPooli for interacting with R.&lt;/p&gt;
&lt;p&gt;If you haven&amp;rsquo;t installed R already, consider doing so using the r-base and r-rj packages from deb.openanalytics.eu&lt;/p&gt;
&lt;p&gt;The R packages can be installed in two ways:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;    install.packages(c(&amp;#34;properties&amp;#34;, &amp;#34;RSBXml&amp;#34;, &amp;#34;RSBJson&amp;#34;), repos = &amp;#34;http://repos.openanalytics.eu&amp;#34;, type = &amp;#34;source&amp;#34;)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Install the Debian packages: r-properties, r-rsbxml, r-rjsonio and r-rsbjson from deb.openanalytics.eu&lt;/p&gt;
&lt;p&gt;RPooli is bundled with RSB in its full distribution (which also contains a Tomcat web container).&lt;/p&gt;
&lt;p&gt;If you chose not to use the full distribution of RSB, you&amp;rsquo;ll need to install RPooli yourself, which is easily done with the RPooli package from deb.openanalytics.eu&lt;/p&gt;
&lt;h2 id=&#34;war-only-deployment&#34;&gt;WAR-only Deployment&lt;/h2&gt;
&lt;p&gt;RSB should deploy fine on any Java web-container supporting Servlet 3.1 running with Java 11 or newer.&lt;/p&gt;
&lt;p&gt;To ensure an RSB instance is running and can access its default RPooli pool, browse to or curl:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;http://${RSB host}/rsb/api/rest/system/health/check
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If all is good, RSB should respond: OK&lt;/p&gt;
&lt;h2 id=&#34;full-distribution-installation&#34;&gt;Full Distribution Installation&lt;/h2&gt;
&lt;p&gt;Simply unzip the distribution Zip archive in your preferred location and ensure the files in the bin directory are executable.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Documentation: Administration</title>
      <link>/documentation/getting-started/admin/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/documentation/getting-started/admin/</guid>
      <description>
        
        
        &lt;h2 id=&#34;jmx&#34;&gt;JMX&lt;/h2&gt;
&lt;h3 id=&#34;rmi&#34;&gt;RMI&lt;/h3&gt;
&lt;p&gt;RSB exposes MBeans accessible with JMX locally and over RMI.&lt;/p&gt;
&lt;p&gt;By default, the remote process URI is: &lt;strong&gt;service:jmx:rmi://127.0.0.1:9098/jndi/rmi://localhost:9099/myconnector&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id=&#34;http&#34;&gt;HTTP&lt;/h3&gt;
&lt;p&gt;All the MBeans are also accessible over HTTP.&lt;/p&gt;
&lt;p&gt;By default, the (browsable) HTTP URL is: &lt;strong&gt;http://localhost:8889&lt;/strong&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Documentation: Build</title>
      <link>/documentation/getting-started/build/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/documentation/getting-started/build/</guid>
      <description>
        
        
        &lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt; Sun/Oracle JDK 1.6 &lt;/li&gt;
&lt;li&gt; Maven 3 &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To produce rsb.war, run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mvn clean install
            
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Note that this war embeds javax dependencies and is designed to be deployed on web containers (like Tomcat or Jetty).&lt;/p&gt;
&lt;p&gt;To produce a rsb.war that can be deployed on application servers, run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mvn -P-javax-dependencies clean install
            
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;packaged-distribution&#34;&gt;Packaged Distribution&lt;/h2&gt;
&lt;p&gt;To build a complete distribution consisting of Tomcat with both the RPooli and RSB web application deployed in it, run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mvn -Pjavax-dependencies,tomcat-distribution clean package
                
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;test-run&#34;&gt;Test Run&lt;/h2&gt;
&lt;p&gt;On Linux/OS X, you can easily start RSB for a quick ride with:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mvn jetty:run
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;to start RSB configured to use a locally running RPooli.&lt;/p&gt;
&lt;p&gt;Similarly, if you have a locally running RPooli, it&amp;rsquo;s also possible to quickly try RSB with Tomcat by running:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mvn -Pjavax-dependencies,tomcat cargo:run
            
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Press Control+C when you&amp;rsquo;ll be done with testing.&lt;/p&gt;
&lt;p&gt;In both cases, RSB is accessible at this URL: &lt;a href=&#34;http://localhost:8888/rsb&#34;&gt;http://localhost:8888/rsb&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;integration-tests&#34;&gt;Integration Tests&lt;/h2&gt;
&lt;p&gt;RPooli must be running locally before starting the integration tests.&lt;/p&gt;
&lt;p&gt;If that is the case, then run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mvn -Pjavax-dependencies,it -Dit.test=SuiteITCase clean verify
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Documentation: Upgrade</title>
      <link>/documentation/getting-started/upgrade/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/documentation/getting-started/upgrade/</guid>
      <description>
        
        
        &lt;h2 id=&#34;from-version-5x-to-6x&#34;&gt;From version 5.x to 6.x&lt;/h2&gt;
&lt;p&gt;The &lt;a href=&#34;https://rsb-doc.openanalytics.eu/current/apidocs/index.html?eu/openanalytics/rsb/stats/JobStatisticsHandler.html&#34;&gt;JobStatisticsHandler&lt;/a&gt; has been modified in a non backwards compatible fashion. The change is trivial: the storeJobStatistics method now takes a Job interface as a parameter from which the application name and job ID, previously passed as distinct arguments, can be retrieved.&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
