cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF > DOSGi Apache Karaf Feature
Date Sun, 04 Nov 2012 16:06:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/15/_/styles/combined.css?spaceKey=CXF&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/CXF/DOSGi+Apache+Karaf+Feature">DOSGi
Apache Karaf Feature</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://cwiki.apache.org/confluence/display/~christian%2Bschneider">Christian
Schneider</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <h1><a name="DOSGiApacheKarafFeature-CXFDOSGiinApacheKaraf"></a>CXF
DOSGi in Apache Karaf</h1>

<h2><a name="DOSGiApacheKarafFeature-DownloadandunpackApacheKaraf"></a>Download
and unpack Apache Karaf</h2>



<h2><a name="DOSGiApacheKarafFeature-InstallationofCXFDOSGi"></a>Installation
of CXF-DOSGi</h2>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
features:addurl mvn:org.apache.cxf.dosgi/cxf-dosgi/1.4-SNAPSHOT/xml/features
features:install cxf-dosgi-discovery-distributed
</pre>
</div></div>

<p>Create config "etc/org.apache.cxf.dosgi.discovery.zookeeper.cfg" with the following
content:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
zookeeper.port=2181
zookeeper.host=localhost
</pre>
</div></div>

<h2><a name="DOSGiApacheKarafFeature-InstallationofthezookeeperServer"></a>Installation
of the zookeeper Server</h2>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
features:install cxf-dosgi-zookeeper-server
</pre>
</div></div>

<p>Create config "etc/org.apache.cxf.dosgi.discovery.zookeeper.server.cfg" with the
following content:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
zookeeper.host:127.0.0.1
clientPort:2181
zookeeper.port:2181
</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/CXF/DOSGi+Apache+Karaf+Feature">View
Online</a>
              |
       <a href="https://cwiki.apache.org/confluence/display/CXF/DOSGi+Apache+Karaf+Feature?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message