You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/12/25 07:31:55 UTC
svn commit: r1553356 [16/31] - in /karaf/site/production/manual/latest: ./
commands/ developers-guide/ users-guide/
Modified: karaf/site/production/manual/latest/commands/web-list.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/web-list.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/commands/web-list.html (original)
+++ karaf/site/production/manual/latest/commands/web-list.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/connect-console.html">Programmatically connect to the Console</a></li><li><a h
ref="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/developer-commands.html">Developer Commands</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/extending-console.html">Extending the Console</a></li><li><a href="../developers-guide/branding-console.html">Branding the Console</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/custom-distribution.html">Custom Distribution</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/connect-console.html">P
rogrammatically connect to the console</a></li><li><a href="../developers-guide/writing-tests.html">Writing integration tests</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/developer-commands.html">Developer commands</a></li><li><a href="../developers-guide/scripting.html">Scripting</a></li><li><a href="../developers-guide/connect.html">Programmatically connect</a></li><li><a href="../developers-guide/branding.html">Branding</a></li><li><a href="../developers-guide/extending.html">Extending</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="../developers-guide/custom-distribution.html">Custom distribution</a></li><li><a href="../developers-guide/services.html">OSGi services</a></li><li><a href="../developers-guid
e/creating-bundles.html">Create OSGi bundle</a></li><li><a href="../developers-guide/blueprint.html">Blueprint</a></li><li><a href="../developers-guide/cdi.html">CDI</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="../developers-guide/writing-tests.html">Integration testing</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
</div>
</div>
</div>
@@ -101,7 +101,7 @@
</td>
<td height="100%" width="100%">
<div class="wiki-content">
-<p><section><br/> <title>web:list</title><br/> <section><br/> <title>Description</title><br/> <para><br/>Lists details for war bundles.<br/> </para><br/> </section><br/> <section><br/> <title>Syntax</title><br/> <para><br/>web:list<br/> </para><br/> </section><br/></section><br/>[1mDESCRIPTION[m<br/> web:[1mlist[m</p><p> Lists details for war bundles.</p><p>[1mSYNTAX[m<br/> web:list</p>
+<h1 id="weblist">web:list</h1><h2 id="Description">Description</h2><p>Lists details for war bundles.</p><h2 id="Syntax">Syntax</h2><p>web:list [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> --no-format </td><td class="confluenceTd"> Disable table rendered output </td></tr></table></div><h2 id="Details">Details</h2>
</div>
</td>
</tr>
Modified: karaf/site/production/manual/latest/commands/web-start.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/web-start.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/commands/web-start.html (original)
+++ karaf/site/production/manual/latest/commands/web-start.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/connect-console.html">Programmatically connect to the Console</a></li><li><a h
ref="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/developer-commands.html">Developer Commands</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/extending-console.html">Extending the Console</a></li><li><a href="../developers-guide/branding-console.html">Branding the Console</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/custom-distribution.html">Custom Distribution</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/connect-console.html">P
rogrammatically connect to the console</a></li><li><a href="../developers-guide/writing-tests.html">Writing integration tests</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/developer-commands.html">Developer commands</a></li><li><a href="../developers-guide/scripting.html">Scripting</a></li><li><a href="../developers-guide/connect.html">Programmatically connect</a></li><li><a href="../developers-guide/branding.html">Branding</a></li><li><a href="../developers-guide/extending.html">Extending</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="../developers-guide/custom-distribution.html">Custom distribution</a></li><li><a href="../developers-guide/services.html">OSGi services</a></li><li><a href="../developers-guid
e/creating-bundles.html">Create OSGi bundle</a></li><li><a href="../developers-guide/blueprint.html">Blueprint</a></li><li><a href="../developers-guide/cdi.html">CDI</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="../developers-guide/writing-tests.html">Integration testing</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
</div>
</div>
</div>
@@ -101,7 +101,7 @@
</td>
<td height="100%" width="100%">
<div class="wiki-content">
-<p><section><br/> <title>web:start</title><br/> <section><br/> <title>Description</title><br/> <para><br/>Start the web context of given bundles.<br/> </para><br/> </section><br/> <section><br/> <title>Syntax</title><br/> <para><br/>web:start ids <br/> </para><br/> </section><br/> <section><br/> <title>Arguments</title><br/> <informaltable><br/> <tr><br/> <td>ids</td><br/> <td>The list of bundle IDs separated by whitespaces</td><br/> </tr><br/> </informaltable><br/> </section><br/></section><br/>[1mDESCRIPTION[m<br/> web:[1mstart[m</p><p> Start the web context of given bundles.</p><p>[1mSYNTAX[m<br/> web:start ids </p><p>[1mARGUMENTS[m<br/> [1mids[m<br/> The list of bundle IDs separated by whitespaces</p>
+<h1 id="webstart">web:start</h1><h2 id="Description">Description</h2><p>Start the web context of given bundles.</p><h2 id="Syntax">Syntax</h2><p>web:start ids </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> ids </td><td class="confluenceTd"> The list of bundle IDs separated by whitespaces </td></tr></table></div><h2 id="Details">Details</h2>
</div>
</td>
</tr>
Modified: karaf/site/production/manual/latest/commands/web-stop.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/web-stop.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/commands/web-stop.html (original)
+++ karaf/site/production/manual/latest/commands/web-stop.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/connect-console.html">Programmatically connect to the Console</a></li><li><a h
ref="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/developer-commands.html">Developer Commands</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/extending-console.html">Extending the Console</a></li><li><a href="../developers-guide/branding-console.html">Branding the Console</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/custom-distribution.html">Custom Distribution</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/connect-console.html">P
rogrammatically connect to the console</a></li><li><a href="../developers-guide/writing-tests.html">Writing integration tests</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/developer-commands.html">Developer commands</a></li><li><a href="../developers-guide/scripting.html">Scripting</a></li><li><a href="../developers-guide/connect.html">Programmatically connect</a></li><li><a href="../developers-guide/branding.html">Branding</a></li><li><a href="../developers-guide/extending.html">Extending</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="../developers-guide/custom-distribution.html">Custom distribution</a></li><li><a href="../developers-guide/services.html">OSGi services</a></li><li><a href="../developers-guid
e/creating-bundles.html">Create OSGi bundle</a></li><li><a href="../developers-guide/blueprint.html">Blueprint</a></li><li><a href="../developers-guide/cdi.html">CDI</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="../developers-guide/writing-tests.html">Integration testing</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
</div>
</div>
</div>
@@ -101,7 +101,7 @@
</td>
<td height="100%" width="100%">
<div class="wiki-content">
-<p><section><br/> <title>web:stop</title><br/> <section><br/> <title>Description</title><br/> <para><br/>Stop the web context of given bundles.<br/> </para><br/> </section><br/> <section><br/> <title>Syntax</title><br/> <para><br/>web:stop ids <br/> </para><br/> </section><br/> <section><br/> <title>Arguments</title><br/> <informaltable><br/> <tr><br/> <td>ids</td><br/> <td>The list of bundle IDs separated by whitespaces</td><br/> </tr><br/> </informaltable><br/> </section><br/></section><br/>[1mDESCRIPTION[m<br/> web:[1mstop[m</p><p> Stop the web context of given bundles.</p><p>[1mSYNTAX[m<br/> web:stop ids </p><p>[1mARGUMENTS[m<br/> [1mids[m<br/> The list of bundle IDs separated by whitespaces</p>
+<h1 id="webstop">web:stop</h1><h2 id="Description">Description</h2><p>Stop the web context of given bundles.</p><h2 id="Syntax">Syntax</h2><p>web:stop ids </p><h2 id="Arguments">Arguments</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> ids </td><td class="confluenceTd"> The list of bundle IDs separated by whitespaces </td></tr></table></div><h2 id="Details">Details</h2>
</div>
</td>
</tr>
Modified: karaf/site/production/manual/latest/commands/wrapper-install.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/commands/wrapper-install.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/commands/wrapper-install.html (original)
+++ karaf/site/production/manual/latest/commands/wrapper-install.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/connect-console.html">Programmatically connect to the Console</a></li><li><a h
ref="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/developer-commands.html">Developer Commands</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/extending-console.html">Extending the Console</a></li><li><a href="../developers-guide/branding-console.html">Branding the Console</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/custom-distribution.html">Custom Distribution</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="../developers-guide/connect-console.html">P
rogrammatically connect to the console</a></li><li><a href="../developers-guide/writing-tests.html">Writing integration tests</a></li><li><a href="../developers-guide/creating-bundles.html">Creating bundles</a></li><li><a href="../developers-guide/shell-syntax.html">Shell syntax</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="../developers-guide/index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="../developers-guide/developer-commands.html">Developer commands</a></li><li><a href="../developers-guide/scripting.html">Scripting</a></li><li><a href="../developers-guide/connect.html">Programmatically connect</a></li><li><a href="../developers-guide/branding.html">Branding</a></li><li><a href="../developers-guide/extending.html">Extending</a></li><li><a href="../developers-guide/karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="../developers-guide/custom-distribution.html">Custom distribution</a></li><li><a href="../developers-guide/services.html">OSGi services</a></li><li><a href="../developers-guid
e/creating-bundles.html">Create OSGi bundle</a></li><li><a href="../developers-guide/blueprint.html">Blueprint</a></li><li><a href="../developers-guide/cdi.html">CDI</a></li><li><a href="../developers-guide/archetypes.html">Maven Archetypes</a></li><li><a href="../developers-guide/security-framework.html">Security Framework</a></li><li><a href="../developers-guide/debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="../developers-guide/writing-tests.html">Integration testing</a></li><li><a href="../developers-guide/github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="commands.html">Commands</a></h3>
</div>
</div>
</div>
@@ -101,7 +101,7 @@
</td>
<td height="100%" width="100%">
<div class="wiki-content">
-<p><section><br/> <title>wrapper:install</title><br/> <section><br/> <title>Description</title><br/> <para><br/>Install the container as a system service in the OS.<br/> </para><br/> </section><br/> <section><br/> <title>Syntax</title><br/> <para><br/>wrapper:install <a href="options.html">options</a><br/> </para><br/> </section><br/> <section><br/> <title>Options</title><br/> <informaltable><br/> <tr><br/> <td>-d, --display</td><br/> <td>The display name of the service.</td><br/> </tr><br/> <tr><br/> <td>-s, --start-type</td><br/> <td>Mode in which the service is installed. AUTO_START or DEMAND_START (Default: AUTO_START)</td><br/> </tr><br/> <tr><br/> <td>-n, --name</td><br/> <td>The service name that will be used when installing the service. (Default: karaf)</td><br/> </tr><br/> <tr><br/>
<td>-D, --description</td><br/> <td>The description of the service.</td><br/> </tr><br/> </informaltable><br/> </section><br/></section><br/>[1mDESCRIPTION[m<br/> wrapper:[1minstall[m</p><p> Install the container as a system service in the OS.</p><p>[1mSYNTAX[m<br/> wrapper:install <a href="options.html">options</a></p><p>[1mOPTIONS[m<br/> [1m-d, --display[m<br/> The display name of the service.<br/> [1m--help[m<br/> Display this help message<br/> [1m-s, --start-type[m<br/> Mode in which the service is installed. AUTO_START or <br/> DEMAND_START (Default: AUTO_START)<br/> (defaults to AUTO_START)<br/> [1m-n, --name[m<br/> The service name that will be used when installing the service. <br/> (Default: ka
raf)<br/> (defaults to karaf)<br/> [1m-D, --description[m<br/> The description of the service.<br/> (defaults to )</p>
+<h1 id="wrapperinstall">wrapper:install</h1><h2 id="Description">Description</h2><p>Install the container as a system service in the OS.</p><h2 id="Syntax">Syntax</h2><p>wrapper:install [options]</p><h2 id="Options">Options</h2><div class="table-wrap"><table class="confluenceTable"><tr><th class="confluenceTh"> Name </th><th class="confluenceTh"> Description </th></tr><tr><td class="confluenceTd"> -d, --display </td><td class="confluenceTd"> The display name of the service. (defaults to karaf) </td></tr><tr><td class="confluenceTd"> -s, --start-type </td><td class="confluenceTd"> Mode in which the service is installed. AUTO_START or DEMAND_START (Default: AUTO_START) (defaults to AUTO_START) </td></tr><tr><td class="confluenceTd"> -n, --name </td><td class="confluenceTd"> The service name that will be used when installing the service. (Default: karaf) (defaults to karaf) </td></tr><tr><td class="confluenceTd"> -D, --description </td><td class="confluenceTd"> The description of the s
ervice. (defaults to ) </td></tr></table></div><h2 id="Details">Details</h2>
</div>
</td>
</tr>
Modified: karaf/site/production/manual/latest/developers-guide/archetypes.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/archetypes.html?rev=1553356&r1=1553355&r2=1553356&view=diff
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/archetypes.html (original)
+++ karaf/site/production/manual/latest/developers-guide/archetypes.html Wed Dec 25 06:31:51 2013
@@ -8,7 +8,7 @@
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
<title>
- Apache Karaf 3.0.0-SNAPSHOT Guides
+ Apache Karaf 3.0.1-SNAPSHOT Guides
</title>
</head>
<body>
@@ -93,7 +93,7 @@
<div id="wrapper-menu-page-top">
<div id="wrapper-menu-page-bottom">
<div id="menu-page">
- <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installing Karaf</a></li><li><a href="../users-guide/directory-structure.html">Directory Structure</a></li><li><a href="../users-guide/start-stop.html">Starting and stopping Karaf</a></li><li><a href="../users-guide/wrapper.html">OS integration</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/using-console.html">Using the console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a href="../users-guide/remote-console.html">Remote console</a></li><li><a href="../users-guide/web-console.html">Web console</a></li><li><a hr
ef="../users-guide/deployer.html">Deployer</a></li><li><a href="../users-guide/child-instances.html">Child instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/failover.html">Failover Deployments</a></li><li><a href="../users-guide/logging-system.html">Logging system</a></li><li><a href="../users-guide/provisioning.html">Provisioning</a></li><li><a href="../users-guide/kar.html">KAR archive</a></li><li><a href="../users-guide/jre-tuning.html">JRE tuning</a></li><li><a href="../users-guide/web-applications.html">Web applications</a></li><li><a href="../users-guide/http.html">HTTP service</a></li><li><a href="../users-guide/jmx.html">JMX for monitoring and administration</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="connect-console.html">Programmatically connect to the Console</a></li><li><a href="shell-syntax.html">Shell syntax</a>
</li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="developer-commands.html">Developer Commands</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href="extending-console.html">Extending the Console</a></li><li><a href="branding-console.html">Branding the Console</a></li><li><a href="karaf-maven-plugin.html">Using the Karaf Maven plugin</a></li><li><a href="security-framework.html">Security Framework</a></li><li><a href="custom-distribution.html">Custom Distribution</a></li><li><a href="debugging.html">Troubleshooting, Debugging and Profiling</a></li><li><a href="connect-console.html">Programmatically connect to the console</a></li><li><a href="writing-tests.html">Writing integration tests</a></li><li><a href="creating-bundles.html">Creating bundles</a></li><li><a href="shell-syntax.html">Shell syntax</a></li><li><a href="github-contributions.html">Github Contr
ibutions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
</div>
</div>
</div>
@@ -104,8 +104,8 @@
<h1 id="Archetypes">Archetypes</h1><p>Karaf provides archetypes to easily create commands, manage [features or repository and create a kar archive.<br/>This section describes each of them and explain How to use it.</p><h2 id="Createacommandkarafcommandarchetype">Create a command (karaf-command-archetype)</h2><p>This archetype creates a Maven skeleton project that you will use to develop new Karaf commands.</p><h3 id="Commandline">Command line</h3><p>Using the command line, we can create our project:</p><pre>
mvn archetype:generate \
-DarchetypeGroupId=org.apache.karaf.archetypes \
- -DartifactId=karaf-command-archetype \
- -DarchetypeVersion=3.0.0-SNAPSHOT \
+ -DarchetypeArtifactId=karaf-command-archetype \
+ -DarchetypeVersion=3.0.1-SNAPSHOT \
-DgroupId=com.mycompany \
-DartifactId=com.mycompany.command \
-Dversion=1.0-SNAPSHOT \
@@ -123,7 +123,7 @@ mvn archetype:generate \
[INFO]
[INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
-[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-command-archetype:3.0.0-SNAPSHOT] found in catalog local
+[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-command-archetype:3.0.1-SNAPSHOT] found in catalog local
[INFO] Using property: groupId = com.mycompany
[INFO] Using property: artifactId = com.mycompany.command
[INFO] Using property: version = 1.0-SNAPSHOT
@@ -141,7 +141,7 @@ description: List sample command
scope: my
Y: :
[INFO] ----------------------------------------------------------------------------
-[INFO] Using following parameters for creating project from Archetype: karaf-command-archetype:3.0.0-SNAPSHOT
+[INFO] Using following parameters for creating project from Archetype: karaf-command-archetype:3.0.1-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.mycompany
[INFO] Parameter: artifactId, Value: com.mycompany.command
@@ -168,7 +168,7 @@ scope: my
mvn archetype:generate \
-DarchetypeGroupId=org.apache.karaf.archetypes \
-DarchetypeArtifactId=karaf-bundle-archetype \
- -DarchetypeVersion=3.0.0-SNAPSHOT \
+ -DarchetypeVersion=3.0.1-SNAPSHOT \
-DgroupId=com.mycompany \
-DartifactId=com.mycompany.bundle \
-Dversion=1.0-SNAPSHOT \
@@ -186,7 +186,7 @@ mvn archetype:generate \
[INFO]
[INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
-[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-bundle-archetype:3.0.0-SNAPSHOT] found in catalog local
+[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-bundle-archetype:3.0.1-SNAPSHOT] found in catalog local
[INFO] Using property: groupId = com.mycompany
[INFO] Using property: artifactId = com.mycompany.bundle
[INFO] Using property: version = 1.0-SNAPSHOT
@@ -198,7 +198,7 @@ version: 1.0-SNAPSHOT
package: com.mycompany.package
Y: :
[INFO] ----------------------------------------------------------------------------
-[INFO] Using following parameters for creating project from Archetype: karaf-bundle-archetype:3.0.0-SNAPSHOT
+[INFO] Using following parameters for creating project from Archetype: karaf-bundle-archetype:3.0.1-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.mycompany
[INFO] Parameter: artifactId, Value: com.mycompany.bundle
@@ -221,7 +221,7 @@ package: com.mycompany.package
mvn archetype:generate \
-DarchetypeGroupId=org.apache.karaf.archetypes \
-DarchetypeArtifactId=karaf-blueprint-archetype \
- -DarchetypeVersion=3.0.0-SNAPSHOT \
+ -DarchetypeVersion=3.0.1-SNAPSHOT \
-DgroupId=com.mycompany \
-DartifactId=com.mycompany.blueprint \
-Dversion=1.0-SNAPSHOT \
@@ -239,7 +239,7 @@ mvn archetype:generate \
[INFO]
[INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
-[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-blueprint-archetype:3.0.0-SNAPSHOT] found in catalog local
+[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-blueprint-archetype:3.0.1-SNAPSHOT] found in catalog local
[INFO] Using property: groupId = com.mycompany
[INFO] Using property: artifactId = com.mycompany.blueprint
[INFO] Using property: version = 1.0-SNAPSHOT
@@ -251,7 +251,7 @@ version: 1.0-SNAPSHOT
package: com.mycompany.package
Y: :
[INFO] ----------------------------------------------------------------------------
-[INFO] Using following parameters for creating project from Archetype: karaf-blueprint-archetype:3.0.0-SNAPSHOT
+[INFO] Using following parameters for creating project from Archetype: karaf-blueprint-archetype:3.0.1-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.mycompany
[INFO] Parameter: artifactId, Value: com.mycompany.blueprint
@@ -274,7 +274,7 @@ package: com.mycompany.package
mvn archetype:generate \
-DarchetypeGroupId=org.apache.karaf.archetypes \
-DarchetypeArtifactId=karaf-feature-archetype \
- -DarchetypeVersion=3.0.0-SNAPSHOT \
+ -DarchetypeVersion=3.0.1-SNAPSHOT \
-DgroupId=my.company \
-DartifactId=my.company.feature \
-Dversion=1.0-SNAPSHOT \
@@ -292,7 +292,7 @@ mvn archetype:generate \
[INFO]
[INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
-[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-feature-archetype:3.0.0-SNAPSHOT] found in catalog local
+[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-feature-archetype:3.0.1-SNAPSHOT] found in catalog local
[INFO] Using property: groupId = com.mycompany
[INFO] Using property: artifactId = com.mycompany.feature
[INFO] Using property: version = 1.0-SNAPSHOT
@@ -304,7 +304,7 @@ version: 1.0-SNAPSHOT
package: com.mycompany.package
Y: :
[INFO] ----------------------------------------------------------------------------
-[INFO] Using following parameters for creating project from Archetype: karaf-feature-archetype:3.0.0-SNAPSHOT
+[INFO] Using following parameters for creating project from Archetype: karaf-feature-archetype:3.0.1-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.mycompany
[INFO] Parameter: artifactId, Value: com.mycompany.feature
@@ -327,7 +327,7 @@ package: com.mycompany.package
mvn archetype:generate \
-DarchetypeGroupId=org.apache.karaf.archetypes \
-DarchetypeArtifactId=karaf-kar-archetype \
- -DarchetypeVersion=3.0.0-SNAPSHOT \
+ -DarchetypeVersion=3.0.1-SNAPSHOT \
-DgroupId=com.mycompany \
-DartifactId=com.mycompany.kar \
-Dversion=1.0-SNAPSHOT \
@@ -345,7 +345,7 @@ mvn archetype:generate \
[INFO]
[INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
-[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-kar-archetype:3.0.0-SNAPSHOT] found in catalog local
+[INFO] Archetype repository missing. Using the one from [org.apache.karaf.archetypes:karaf-kar-archetype:3.0.1-SNAPSHOT] found in catalog local
[INFO] Using property: groupId = com.mycompany
[INFO] Using property: artifactId = com.mycompany.kar
[INFO] Using property: version = 1.0-SNAPSHOT
@@ -357,7 +357,7 @@ version: 1.0-SNAPSHOT
package: com.mycompany.package
Y: :
[INFO] ----------------------------------------------------------------------------
-[INFO] Using following parameters for creating project from Archetype: karaf-kar-archetype:3.0.0-SNAPSHOT
+[INFO] Using following parameters for creating project from Archetype: karaf-kar-archetype:3.0.1-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.mycompany
[INFO] Parameter: artifactId, Value: com.mycompany.kar
Added: karaf/site/production/manual/latest/developers-guide/branding.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/branding.html?rev=1553356&view=auto
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/branding.html (added)
+++ karaf/site/production/manual/latest/developers-guide/branding.html Wed Dec 25 06:31:51 2013
@@ -0,0 +1,269 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
+<html lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="description" content="description goes here"/>
+ <meta name="keywords" content="keywords,goes,here"/>
+ <meta name="author" content="The Apache Karaf Team"/>
+ <link href="../css/style.css" rel="stylesheet" type="text/css"/>
+ <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
+ <title>
+ Apache Karaf 3.0.1-SNAPSHOT Guides
+ </title>
+ </head>
+ <body>
+ <table width="100%" cellpadding="0" cellspacing="0">
+ <tr width="100%">
+ <td id="cell-0-0" colspan="2">
+
+ </td>
+ <td id="cell-0-1">
+
+ </td>
+ <td id="cell-0-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-1-0">
+
+ </td>
+ <td id="cell-1-1">
+
+ </td>
+ <td id="cell-1-2">
+ <div style="padding: 5px;">
+ <div id="banner">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr>
+ <td align="left" class="topbardiv" nowrap="">
+<a href="http://karaf.apache.org/" title="A server side OSGi distribution">
+ <img border="0" src="../images/karaf-logo.png" width="400px"></img>
+</a>
+ </td>
+ <td align="right" nowrap="">
+<a href="http://www.apache.org/" title="The Apache Sofware Foundation">
+ <img border="0" src="../images/asf-logo.png">
+</a>
+ </td>
+ </tr>
+ </table>
+
+ </div>
+ <div id="top-menu">
+ <table border="0" cellpadding="1" cellspacing="0" width="100%">
+ <tr>
+ <td>
+ <div align="left"></div>
+ </td>
+ <td>
+ <div align="right">
+ <p>
+<a href="../index.html" title="Home">Home</a>
+|
+<a href="../users-guide/index.html" title="Users Guide">Users Guide</a>
+|
+<a href="index.html" title="Developers Guide">Developers Guide</a>
+</p>
+
+
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ <td id="cell-1-3">
+
+ </td>
+ <td id="cell-1-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-2-0" colspan="2">
+
+ </td>
+ <td id="cell-2-1">
+ <table>
+ <tr height="100%" valign="top">
+ <td height="100%">
+ <div id="wrapper-menu-page-right">
+ <div id="wrapper-menu-page-top">
+ <div id="wrapper-menu-page-bottom">
+ <div id="menu-page">
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ </div>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td height="100%" width="100%">
+ <div class="wiki-content">
+<h1 id="Branding">Branding</h1><h2 id="Console">Console</h2><p>You can "brand" the Apache Karaf console.</p><p>By branding, it means that you can define your own:</p><ul><li>the welcome message (motd or Message Of The Day) displayed when you start the console</li><li>the prompt displayed to the users</li></ul><h2 id="Brandingbundle">Branding bundle</h2><p>At startup, Apache Karaf is looking for a bundle which exports the <tt>org.apache.karaf.branding</tt> package, containing<br/>a <tt>branding.properties</tt> file.</p><p>Basically, a branding bundle is a very simple bundle, just containing a <tt>org/apache/karaf/branding/branding.properties</tt><br/>file.</p><p>It's easy to create such branding bundle using Apache Maven.</p><p>The following <tt>pom.xml</tt> creates a branding bundle:</p><pre>
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>your.group.id</groupId>
+ <artifactId>your.branding.artifact.id</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Your Branding Bundle Name</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.4.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>manual</bundle-SymbolicName>
+ <Import-Package>*</Import-Package>
+ <Private-Package>!*</Private-Package>
+ <Export-Package>
+ org.apache.karaf.branding
+ </Export-Package>
+ <Spring-Context>*;public-context:=false</Spring-Context>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
+</pre><p>You can put your <tt>branding.properties</tt> file in the project resources (<tt>src/main/resources/org/apache/karaf/branding/branding.properties</tt>):</p><pre>
+welcome = This is my Karaf brand\r\n
+prompt = Hey ${USER}>
+</pre><p>For instance, the default Apache Karaf branding properties file contains:</p><pre>
+welcome = \
+\u001B[36m __ __ ____ \u001B[0m\r\n\
+\u001B[36m / //_/____ __________ _/ __/ \u001B[0m\r\n\
+\u001B[36m / ,< / __ `/ ___/ __ `/ /_ \u001B[0m\r\n\
+\u001B[36m / /| |/ /_/ / / / /_/ / __/ \u001B[0m\r\n\
+\u001B[36m /_/ |_|\\__,_/_/ \\__,_/_/ \u001B[0m\r\n\
+\r\n\
+\u001B[1m Apache Karaf\u001B[0m (3.0.1-SNAPSHOT)\r\n\
+\r\n\
+Hit '\u001B[1m<tab>\u001B[0m' for a list of available commands\r\n\
+ and '\u001B[1m[cmd] --help\u001B[0m' for help on a specific command.\r\n\
+Hit '\u001B[1m<ctrl-d>\u001B[0m' or type '\u001B[1msystem:shutdown\u001B[0m' or '\u001B[1mlogout\u001B[0m' to shutdown Karaf.\r\n
+</pre><p>As you can see, the <tt>branding.properties</tt> contains two properties:</p><ul><li>welcome is the welcome message displayed when you start Apache Karaf console.</li><li>prompt is the string used to display the console prompt. This string supports variables:<ul><li>$} defines the user name of the prompt. Caveat – the user name is presently static and hardcoded to "karaf",<p>however you can override here with your own static user name.</p></li><li>${{APPLICATION}} defines the Karaf instance name.</li></ul></li></ul><p>As you can see, both strings support ASCII escaped format. For instance \u001B[1m switches the foreground in bold<br/>and \u001B[0m switch back to normal.</p><p>Some examples of customized prompt examples follow:</p><pre>
+# Define a user with fancy colors
+prompt = \u001B[36mmy-karaf-user\u001B[0m\u001B[1m@\u001B[0m\u001B[34m${APPLICATION}\u001B[0m>
+</pre><pre>
+# Static sober prompt
+prompt = my-user@my-karaf>
+</pre><h2 id="Installingthebrandingbundle">Installing the branding bundle</h2><p>Thanks to the <tt>pom.xml</tt>, we can use <tt>mvn</tt> to build the branding bundle:</p><pre>
+mvn install
+</pre><p>You just have to drop the file in the <tt>lib</tt> directory:</p><pre>
+cp branding.jar /opt/apache-karaf-3.0.0/lib/karaf-branding.jar
+</pre><p>You can now start Apache Karaf to see your branded console.</p><h2 id="WebConsole">WebConsole</h2><p>It's also possible to brand the Apache Karaf WebConsole.</p><p>You have to create a bundle, fragment of the Apache Karaf WebConsole.</p><p>This WebConsole branding bundle contains a <tt>META-INF/webconsole.properties</tt> containing branding properties:</p><pre>
+#
+# This file contains branding properties to overwrite the default
+# branding of the Apache Felix Web Console when deployed in an
+# Apache Karaf application.
+
+
+webconsole.brand.name = My Web Console
+
+webconsole.product.name = My Karaf
+webconsole.product.url = http://karaf.apache.org/
+webconsole.product.image = /res/karaf/imgs/logo.png
+
+webconsole.vendor.name = The Apache Software Foundation
+webconsole.vendor.url = http://www.apache.org
+webconsole.vendor.image = /res/karaf/imgs/logo.png
+
+webconsole.favicon = /res/karaf/imgs/favicon.ico
+webconsole.stylesheet = /res/karaf/ui/webconsole.css
+
+</pre><p>The bundle also provides the css stylesheet and images defined in this properties file.</p><p>As for console, you can use the following <tt>pom.xml</tt> to create the WebConsole branding bundle:</p><pre>
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>my.group.id</groupId>
+ <artifactId>branding</artifactId>
+ <packaging>bundle</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.4.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-DocURL>http://felix.apache.org/site/apache-karaf.html</Bundle-DocURL>
+ <Fragment-Host>org.apache.karaf.webconsole.console;bundle-version="[3,4)"</Fragment-Host>
+ <Export-Package>!*</Export-Package>
+ <Import-Package>
+ javax.servlet;version=2.4,
+ javax.servlet.http;version=2.4,
+ !org.apache.felix.webconsole*,
+ org.apache.aries.blueprint,
+ org.osgi.service.blueprint.container,
+ org.osgi.service.blueprint.reflect,
+ *
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
+</pre><p>With the <tt>webconsole</tt> feature installed, you can install this bundle (using <tt>bundle:install</tt> or by editing the<br/><tt>etc/startup.properties</tt>), you will see the WebConsole with your branding.</p>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td id="cell-2-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-3-0">
+
+ </td>
+ <td id="cell-3-1">
+
+ </td>
+ <td id="cell-3-2">
+ <div id="footer">
+ <div id="site-footer">
+ © 2008-2011 The Apache Software Foundation
+ <br/>
+ Apache Karaf, Karaf, Apache, the Apache feather logo, and the Apache Karaf project logo are trademarks of The Apache Software Foundation.
+ </div>
+ </div>
+ </td>
+ <td id="cell-3-3">
+
+ </td>
+ <td id="cell-3-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-4-0" colspan="2">
+
+ </td>
+ <td id="cell-4-1">
+
+ </td>
+ <td id="cell-4-2" colspan="2">
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
\ No newline at end of file
Added: karaf/site/production/manual/latest/developers-guide/connect.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/latest/developers-guide/connect.html?rev=1553356&view=auto
==============================================================================
--- karaf/site/production/manual/latest/developers-guide/connect.html (added)
+++ karaf/site/production/manual/latest/developers-guide/connect.html Wed Dec 25 06:31:51 2013
@@ -0,0 +1,205 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">
+<html lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="description" content="description goes here"/>
+ <meta name="keywords" content="keywords,goes,here"/>
+ <meta name="author" content="The Apache Karaf Team"/>
+ <link href="../css/style.css" rel="stylesheet" type="text/css"/>
+ <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
+ <title>
+ Apache Karaf 3.0.1-SNAPSHOT Guides
+ </title>
+ </head>
+ <body>
+ <table width="100%" cellpadding="0" cellspacing="0">
+ <tr width="100%">
+ <td id="cell-0-0" colspan="2">
+
+ </td>
+ <td id="cell-0-1">
+
+ </td>
+ <td id="cell-0-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-1-0">
+
+ </td>
+ <td id="cell-1-1">
+
+ </td>
+ <td id="cell-1-2">
+ <div style="padding: 5px;">
+ <div id="banner">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr>
+ <td align="left" class="topbardiv" nowrap="">
+<a href="http://karaf.apache.org/" title="A server side OSGi distribution">
+ <img border="0" src="../images/karaf-logo.png" width="400px"></img>
+</a>
+ </td>
+ <td align="right" nowrap="">
+<a href="http://www.apache.org/" title="The Apache Sofware Foundation">
+ <img border="0" src="../images/asf-logo.png">
+</a>
+ </td>
+ </tr>
+ </table>
+
+ </div>
+ <div id="top-menu">
+ <table border="0" cellpadding="1" cellspacing="0" width="100%">
+ <tr>
+ <td>
+ <div align="left"></div>
+ </td>
+ <td>
+ <div align="right">
+ <p>
+<a href="../index.html" title="Home">Home</a>
+|
+<a href="../users-guide/index.html" title="Users Guide">Users Guide</a>
+|
+<a href="index.html" title="Developers Guide">Developers Guide</a>
+</p>
+
+
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ </td>
+ <td id="cell-1-3">
+
+ </td>
+ <td id="cell-1-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-2-0" colspan="2">
+
+ </td>
+ <td id="cell-2-1">
+ <table>
+ <tr height="100%" valign="top">
+ <td height="100%">
+ <div id="wrapper-menu-page-right">
+ <div id="wrapper-menu-page-top">
+ <div id="wrapper-menu-page-bottom">
+ <div id="menu-page">
+ <h3 id="Homeindex"><a href="../index.html">Home</a></h3><ul style="list-style: square"><li><a href="../overview.html">Overview</a></li><li><a href="../quick-start.html">Quick Start</a></li></ul><h3 id="UsersGuideusersguideindex"><a href="../users-guide/index.html">Users Guide</a></h3><ul style="list-style: square"><li><a href="../users-guide/installation.html">Installation</a></li><li><a href="../users-guide/directory-structure.html">Directory structure</a></li><li><a href="../users-guide/start-stop.html">Start, stop, restart, connect</a></li><li><a href="../users-guide/wrapper.html">Integration in the operating system: the Service Wrapper</a></li><li><a href="../users-guide/console.html">Console</a></li><li><a href="../users-guide/remote.html">Remote</a></li><li><a href="../users-guide/log.html">Log</a></li><li><a href="../users-guide/configuration.html">Configuration</a></li><li><a href="../users-guide/urls.html">Artifacts repositories and URLs</a></li><li>
<a href="../users-guide/provisioning.html">Provisioning and features</a></li><li><a href="../users-guide/deployers.html">Deployers</a></li><li><a href="../users-guide/kar.html">KAR</a></li><li><a href="../users-guide/instances.html">Instances</a></li><li><a href="../users-guide/security.html">Security</a></li><li><a href="../users-guide/obr.html">OBR</a></li><li><a href="../users-guide/enterprise.html">Enterprise</a><ul><li><a href="../users-guide/webcontainer.html">WebContainer (JSP/Servlet)</a></li><li><a href="../users-guide/jndi.html">Naming (JNDI)</a></li><li><a href="../users-guide/jta.html">Transaction (JTA)</a></li><li><a href="../users-guide/jdbc.html">DataSource (JDBC)</a></li><li><a href="../users-guide/jms.html">MOM (JMS)</a></li><li><a href="../users-guide/jpa.html">Persistence (JPA)</a></li><li><a href="../users-guide/ejb.html">EJB</a></li><li><a href="../users-guide/cdi.html">CDI</a></li><li><a href="../users-guide/failover.html">HA/failover and cluster</a></li></ul><
/li><li><a href="../users-guide/monitoring.html">Monitoring and Management using JMX</a></li><li><a href="../users-guide/webconsole.html">WebConsole</a></li><li><a href="../users-guide/tuning.html">Tuning</a></li></ul><h3 id="DevelopersGuidedevelopersguideindex"><a href="index.html">Developers Guide</a></h3><ul style="list-style: square"><li><a href="developer-commands.html">Developer commands</a></li><li><a href="scripting.html">Scripting</a></li><li><a href="connect.html">Programmatically connect</a></li><li><a href="branding.html">Branding</a></li><li><a href="extending.html">Extending</a></li><li><a href="karaf-maven-plugin.html">Karaf Maven plugin</a></li><li><a href="custom-distribution.html">Custom distribution</a></li><li><a href="services.html">OSGi services</a></li><li><a href="creating-bundles.html">Create OSGi bundle</a></li><li><a href="blueprint.html">Blueprint</a></li><li><a href="cdi.html">CDI</a></li><li><a href="archetypes.html">Maven Archetypes</a></li><li><a href
="security-framework.html">Security Framework</a></li><li><a href="debugging.html">Troubleshooting, Debugging, Profiling</a></li><li><a href="writing-tests.html">Integration testing</a></li><li><a href="github-contributions.html">Github Contributions</a></li></ul><h3 id="Commandscommandscommands"><a href="../commands/commands.html">Commands</a></h3>
+ </div>
+ </div>
+ </div>
+ </div>
+ </td>
+ <td height="100%" width="100%">
+ <div class="wiki-content">
+<h1 id="Programmaticallyconnect">Programmatically connect</h1><p>As described in the users guide, Apache Karaf supports remote access to both the console (by embedding a SSHd server) and<br/>the management layer.</p><h2 id="Totheconsole">To the console</h2><p>You can write a Apache Karaf remote console client in Java (or other language).</p><p>Accessing to a remote Apache Karaf console means writing a SSH client. This SSH client can be in pure Java or in<br/>another language.</p><p>For instance, the <tt>bin/client</tt> script starts a SSH client written in Java.</p><p>The following code is a simple code to create a SSH client:</p><pre>
+import org.apache.sshd.ClientChannel;
+import org.apache.sshd.ClientSession;
+import org.apache.sshd.SshClient;
+import org.apache.sshd.client.future.ConnectFuture;
+
+public class Main {
+
+ public static void main(String[] args) throws Exception {
+ String host = "localhost";
+ int port = 8101;
+ String user = "karaf";
+ String password = "karaf";
+
+ SshClient client = null;
+ try {
+ client = SshClient.setUpDefaultClient();
+ client.start();
+ ConnectFuture future = client.connect(host, port);
+ future.await();
+ ClientSession session = future.getSession();
+ session.authPassword(user, password);
+ ClientChannel channel = session.createChannel("shell");
+ channel.setIn(System.in);
+ channel.setOut(System.out);
+ channel.setErr(System.err);
+ channel.open();
+ channel.waitFor(ClientChannel.CLOSED, 0);
+ } catch (Throwable t) {
+ t.printStackTrace();
+ System.exit(1);
+ } finally {
+ try {
+ client.stop();
+ } catch (Throwable t) { }
+ }
+ System.exit(0);
+ }
+
+}
+</pre><h2 id="Tothemanagementlayer">To the management layer</h2><p>The Apache Karaf management layer uses JMX. Apache Karaf embeds a JMX MBeanServer that you can use remotely.</p><p>In order to use the MBeanServer remotely, you have to write a JMX client.</p><p>The following example shows a simple JMX client stopping Apache Karaf remotely via the JMX layer:</p><pre>
+javax.management.*;
+
+public class Main {
+
+ public static void main(String[] args) throws Exception {
+ JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root");
+ JMXConnector connector = JMXConnectorFactory.connect(url, null);
+ MBeanServerConnection mbeanServer = connector.getMBeanServerConnection();
+ ObjectName systemMBean = new ObjectName("org.apache.karaf:type=system,name=karaf-root");
+ mbeanServer.invoke(systemMBean, "halt", null, null);
+ connector.close();
+ }
+
+}
+</pre>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td id="cell-2-2" colspan="2">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-3-0">
+
+ </td>
+ <td id="cell-3-1">
+
+ </td>
+ <td id="cell-3-2">
+ <div id="footer">
+ <div id="site-footer">
+ © 2008-2011 The Apache Software Foundation
+ <br/>
+ Apache Karaf, Karaf, Apache, the Apache feather logo, and the Apache Karaf project logo are trademarks of The Apache Software Foundation.
+ </div>
+ </div>
+ </td>
+ <td id="cell-3-3">
+
+ </td>
+ <td id="cell-3-4">
+
+ </td>
+ </tr>
+ <tr width="100%">
+ <td id="cell-4-0" colspan="2">
+
+ </td>
+ <td id="cell-4-1">
+
+ </td>
+ <td id="cell-4-2" colspan="2">
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
\ No newline at end of file