servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache ServiceMix > Getting Started
Date Fri, 04 Mar 2011 15:33:01 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2036/9/13/_/styles/combined.css?spaceKey=SM&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/SM/Getting+Started">Getting
Started</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~nanthrax">Jean-Baptiste
Onofré</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" ># Extract the download into a directory
of your choice. <br># Proceed to the [#Starting ServiceMix] section of this document.
<br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">#
Following start-up, go to [#Testing the Installation] section of this document. <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h3. Starting ServiceMix
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="GettingStarted-GettingStarted"></a>Getting Started</h1>
<p>The purpose of this document is to provide a starting point for those new to ServiceMix
and OSGi. Please read through each section here and if you have any questions, please just
hop on the ServiceMix user <a href="/confluence/display/SM/Mailing+Lists" title="Mailing
Lists">mailing list</a> to ask any questions you might have.</p>

<h2><a name="GettingStarted-Introduction%2COSGiandServiceMix"></a>Introduction,
OSGi and ServiceMix</h2>
<p>ServiceMix is a complete and professional integration platform powered by OSGi. It
provides an enterprise ready powerful Enterprise Service Bus (ESB). Thanks to OSGi, ServiceMix
is a highly configurable platform and allow you to extend it very easily.</p>

<p>OSGi is a dynamic module system for Java. OSGi provides the standardized primitives
that allow applications to be constructed from small, reusable and collaborative components.</p>

<p>The OSGi Service Platform provides the functions to change the composition dynamically
on the device of a variety of networks, without requiring restarts.<br/>
To minimize the coupling, as well as make these couplings managed, the OSGi technology provides
a service-oriented architecture that enables these components to dynamically discover eath
other for collaboration.</p>

<p>ServiceMix integrates a large number of projects such as:</p>
<ul>
	<li><a href="http://karaf.apache.org" class="external-link" rel="nofollow">Apache
Karaf</a> is the ServiceMix kernel</li>
	<li><a href="http://activemq.apache.org" class="external-link" rel="nofollow">Apache
ActiveMQ</a> as message broker</li>
	<li><a href="http://camel.apache.org" class="external-link" rel="nofollow">Apache
Camel</a> as message routing, components provider and EIP framework</li>
	<li><a href="http://cxf.apache.org" class="external-link" rel="nofollow">Apache
CXF</a> as WS-* and RESTful WebService provider</li>
	<li><a href="http://ode.apache.org" class="external-link" rel="nofollow">Apache
ODE</a> as WS-BPEL embedded engine</li>
</ul>


<h2><a name="GettingStarted-Tutorials"></a>Tutorials </h2>
<p>The <a href="/confluence/display/SM/Tutorials" title="Tutorials">Tutorials</a>
section is the next step. These tutorials walk you through the basic use of the technology
and show you how to build various examples. We are working to continually add new tutorials
so please check back often. If there is a use case that you'd like to see, please hop on the
ServiceMix user <a href="/confluence/display/SM/Mailing+Lists" title="Mailing Lists">mailing
list</a> to discuss it. We're all very interested in what you'd like to see and we highly
encourage contributions from the community. </p>

<h2><a name="GettingStarted-InstallingtheServiceMixBinaryDistribution"></a>Installing
the ServiceMix Binary Distribution </h2>

<h3><a name="GettingStarted-PreInstallationRequirements"></a>Pre-Installation
Requirements</h3>
<p><b>Hardware:</b> </p>
<ul>
	<li>100 MB of disk space for the ServiceMix 4.x binary distribution.</li>
</ul>


<p><b>Operating Systems:</b></p>
<ul>
	<li>Windows: Windows XP SP2, Windows 2000, Windows Vista, Windows 7</li>
	<li>Unix: Any Linux/Unix platform that supports Java</li>
</ul>


<p><b>Environment:</b></p>
<ul>
	<li>Java Developer Kit (JDK) 1.6.x (Java 6) or better for both deployment and compiling.</li>
</ul>


<h3><a name="GettingStarted-BinaryDistributionInstallationProcedure"></a>Binary
Distribution Installation Procedure </h3>
<p>This procedure explains how to download and install the binary distribution.</p>

<ol>
	<li>Download the binary distribution for your platform (either a tarball for a zip
file). The latest release can be downloaded here: <a href="http://servicemix.apache.org/download.html"
class="external-link" rel="nofollow">http://servicemix.apache.org/download.html</a></li>
	<li>Extract the download into a directory of your choice.</li>
	<li>Proceed to the <a href="#GettingStarted-StartingServiceMix">Starting ServiceMix</a>
section of this document.</li>
</ol>


<h3><a name="GettingStarted-StartingServiceMix"></a>Starting ServiceMix</h3>
<p>This section provides instructions on starting ServiceMix from both Windows and Unix
platforms. Below are the steps to follow: </p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java"> 
&gt; cd &lt;SERVICEMIX_HOME&gt;
</pre>
</div></div> 

<p>The &lt;SERVICEMIX_HOME&gt; above is just simply a placeholder for the ServiceMix
binary distribution directory, i.e., the directory you expanded from the downloaded tarball
or zip file. </p>

<p><b>Windows:</b></p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">  
&gt; .\bin\servicemix.bat
</pre>
</div></div> 

<p><b>Linux/Unix:</b></p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">  
$ ./bin/servicemix
</pre>
</div></div>  

<p>ServiceMix start and you are in the ServiceMix shell.</p>


<p>Do not close the console or shell in which ServiceMix was started, as that will terminate
ServiceMix (unless ServiceMix was started with nohup).</p>


<p>You can also start ServiceMix directly in background:</p>

<p><b>Windows:</b></p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&gt; .\bin\start.bat
</pre>
</div></div>

<p><b>Linux/Unix:</b></p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
$ ./bin/start
</pre>
</div></div>


<h3><a name="GettingStarted-StoppingServiceMix"></a>Stopping ServiceMix</h3>
<p>For both Windows and Unix installations, terminate ServiceMix by typing "CTRL-D"
on the command line where ServiceMix is running.</p>

<p>You can also type "osgi:shutdown" in the ServiceMix shell.</p>

<p>If you started ServiceMix in background, you can use:</p>

<p><b>Windows:</b></p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&gt; .\bin\stop.bat
</pre>
</div></div>

<p><b>Linux/Unix:</b></p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
$ ./bin/stop
</pre>
</div></div>




    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/SM/Getting+Started">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=39182&revisedVersion=48&originalVersion=47">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/SM/Getting+Started?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message