Author: chirino
Date: Sat Jan 13 11:25:48 2007
New Revision: 495950
URL: http://svn.apache.org/viewvc?view=rev&rev=495950
Log:
Latest export from confluence
Modified:
incubator/servicemix/site/jboss-deployer.html
Modified: incubator/servicemix/site/jboss-deployer.html
URL:
http://svn.apache.org/viewvc/incubator/servicemix/site/jboss-deployer.html?view=diff&rev=495950&r1=495949&r2=495950
==============================================================================
--- incubator/servicemix/site/jboss-deployer.html (original)
+++ incubator/servicemix/site/jboss-deployer.html Sat Jan 13 11:25:48 2007
@@ -140,8 +140,7 @@
<!--
<div class="pagetitle">JBoss Deployer</div>
-->
- <DIV class="wiki-content">
-<H3><A name="JBossDeployer-DeployingJBIJarstoJBoss"></A>Deploying JBI Jars to
JBoss</H3>
+ <DIV class="wiki-content"><H3><A
name="JBossDeployer-DeployingJBIJarstoJBoss"></A>Deploying JBI Jars to
JBoss</H3>
<P>This document discusses how to deploy ServiceMix to the JBoss application
server.</P>
@@ -155,14 +154,12 @@
<P>Due to licensing reasons, the JBoss deployer is available at Codehaus.<BR>
You can build it using the following commands.</P>
-
<DIV class="code"><DIV class="codeContent">
<PRE class="code-java">svn co http:<SPAN
class="code-comment">//svn.codehaus.org/servicemix/trunk/jboss-deployer
</SPAN>cd jboss-deployer
mvn install</PRE>
</DIV></DIV>
-
-<P>You will then find a jboss-deployer-3.0-incubating-SNAPSHOT.sar in the
target directory, simply take this and drop it in your JBoss deploy directory
(currently only tested on JBos 4.0.3), and away you go!!! Want to
see it in action? You should be able to drop the JBI RI Transformation Engine
example straight into the deploy directory and watch it pick up. Suddenly you
have JBI enabled your JBoss Server!</P>
+<P>You will then find a jboss-deployer-3.0-incubating-SNAPSHOT.sar in the
target directory, simply take this and drop it in your JBoss deploy directory
(tested on JBos 4.0.3 and 4.0.5), and away you go!!! Want to see it
in action? You should be able to drop the JBI RI Transformation Engine example
straight into the deploy directory and watch it pick up. Suddenly you have JBI
enabled your JBoss Server!</P>
<H3><A name="JBossDeployer-DeployingstandardJBIartifacts"></A>Deploying
standard JBI artifacts</H3>
@@ -172,11 +169,11 @@
<H3><A
name="JBossDeployer-DeployingServiceMixXBeanConfigurations"></A>Deploying
ServiceMix XBean Configurations</H3>
-<P>Most of the examples that ship with ServiceMix are not delivered in the JBI
component/service assembly form but as servicemix.xml configurations that
utilize the <EM>XBean</EM> infrastructure in ServiceMix. This approach lets
you quickly get a JBI architecture up and running and while not directly
in-line with the JSR-208 specification it is a powerful approach.<TABLE
cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" border="0"
align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD
valign="top"><IMG
src="http://goopen.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B
class="strong">Useful Information</B><BR><BR>
-Note that if you are planning on using the components that ship with
ServiceMix there libraries are not included in the ServiceMix JBoss deployer,
therefore you will need to copy your $SERVICEMIX_HOME/lib and
$SERVICEMIX_HOME/lib/optional directories to your application server's
library path (ie. $JBOSS_HOME/server/default/lib).</TD></TR></TABLE><BR>
- </P>
-
-<P>Since it is this approach that most people start with we added the ability
to deploy this Spring JBI configurations onto JBoss. In order to do
this, deploy the jboss-deployer-2.0.sar deployer that you see below . Next,
take a servicemix.xml configuration file and rename it so that it ends in
-sm.xml (ie. filebind-sm.xml). Place the configuration file in the
JBoss deploy directory. Before you do that, you will need to make
some basic modifications to the configuration file to get it running, namely
you will need to make sure that the <EM>createMBeanServer</EM> property is
<EM>false</EM>. Below is the file binding example configured to run under
JBoss.</P>
+<P>Most of the examples that ship with ServiceMix are not delivered in the JBI
component/service assembly form but as servicemix.xml configurations that
utilize the <EM>XBean</EM> infrastructure in ServiceMix. This approach lets
you quickly get a JBI architecture up and running and while not directly
in-line with the JSR-208 specification it is a powerful approach.</P>
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro"
border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD
valign="top"><IMG
src="http://goopen.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B
class="strong">Useful Information</B><BR>
+<P>Note that if you are planning on using the components that ship with
ServiceMix there libraries are not included in the ServiceMix JBoss deployer,
therefore you will need to copy your $SERVICEMIX_HOME/lib and
$SERVICEMIX_HOME/lib/optional directories to your application server's
library path (ie. $JBOSS_HOME/server/default/lib).</P></TD></TR></TABLE>
+<P> <BR>
+Since it is this approach that most people start with we added the ability to
deploy this Spring JBI configurations onto JBoss. In order to do this,
deploy the jboss-deployer-2.0.sar deployer that you see below . Next, take a
servicemix.xml configuration file and rename it so that it ends in -sm.xml
(ie. filebind-sm.xml). Place the configuration file in the JBoss deploy
directory. Before you do that, you will need to make some basic
modifications to the configuration file to get it running, namely you will need
to make sure that the <EM>createMBeanServer</EM> property is
<EM>false</EM>. Below is the file binding example configured to run under
JBoss.</P>
<P><B>Example filebinding-sm.xml for ServiceMix 3.0</B></P>
<DIV class="code"><DIV class="codeContent">
@@ -185,10 +182,10 @@
<SPAN class="code-keyword">xmlns:foo</SPAN>=<SPAN
class="code-quote">"http://servicemix.org/demo/"</SPAN>>
<SPAN class="code-tag"><SPAN class="code-comment"><!-- the JBI
container --></SPAN></SPAN>
- <sm:container id=<SPAN class="code-quote">"jbi"</SPAN>
+ <sm:container id=<SPAN class="code-quote">"jbi"</SPAN>
useMBeanServer=<SPAN
class="code-quote">"false"</SPAN>
- createMBeanServer=<SPAN
class="code-quote">"false"</SPAN>
- dumpStats=<SPAN class="code-quote">"true"</SPAN>
+ createMBeanServer=<SPAN
class="code-quote">"false"</SPAN>
+ dumpStats=<SPAN class="code-quote">"true"</SPAN>
statsInterval=<SPAN
class="code-quote">"10"</SPAN>>
<SPAN class="code-tag"><sm:activationSpecs></SPAN>
@@ -214,7 +211,7 @@
<SPAN class="code-tag"><SPAN
class="code-comment"><!-- Look for files in the inbox directory
--></SPAN></SPAN>
<sm:activationSpec componentName=<SPAN
class="code-quote">"filePoller"</SPAN>
- destinationService=<SPAN
class="code-quote">"foo:fileSender"</SPAN>
+ destinationService=<SPAN
class="code-quote">"foo:fileSender"</SPAN>
service=<SPAN
class="code-quote">"foo:filePoller"</SPAN>>
<SPAN
class="code-tag"><sm:component></SPAN>
<SPAN class="code-tag"><bean
class=<SPAN
class="code-quote">"org.apache.servicemix.components.file.FilePoller"</SPAN>></SPAN>
@@ -233,8 +230,7 @@
<SPAN class="code-tag"></bean></SPAN>
<SPAN class="code-tag"></beans></SPAN></PRE>
-</DIV></DIV>
-<P> </P></DIV>
+</DIV></DIV></DIV>
<!--
<div class="tabletitle">
@@ -258,9 +254,35 @@
</DIV>
<DIV id="site-footer">
Added by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=pdodds%2540unity-systems.com">[EMAIL
PROTECTED]</A>,
- last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume
Nodet</A> on Jul 25, 2006
- (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=1932&originalId=9225">view
change</A>)
-
+ last edited by <A
href="http://goopen.org/confluence/users/viewuserprofile.action?username=keogaa">Grégoire
A.</A> on Jan 16, 2007
+ (<A
href="http://goopen.org/confluence/pages/diffpages.action?pageId=1932&originalId=15288">view
change</A>)
+ <SPAN id="show" class="inline-control-link"><A href=""
onclick="showComment(); return false;">show comment</A></SPAN>
+ <SPAN id="hide" class="inline-control-link" style="display:none;"><A
href="" onclick="hideComment(); return false;">hide comment</A></SPAN>
+ <DIV id="versionComment" class="noteMacro" style="display:none;
padding: 5px;">
+ <B>Comment:</B>
+ add jboss version tested<BR>
+ <SPAN class="smalltext"><A
href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=1932">View
page history</A></SPAN>
+ </DIV>
+
+ <SCRIPT>
+ var show = document.getElementById('show');
+ var hide = document.getElementById('hide');
+ var versionComment = document.getElementById('versionComment');
+
+ function showComment(){
+ show.style.display = 'none';
+ hide.style.display = 'inline';
+ versionComment.style.display = 'block';
+ }
+
+ function hideComment(){
+ show.style.display = 'inline';
+ hide.style.display = 'none';
+ versionComment.style.display = 'none';
+ }
+
+ </SCRIPT>
+
(<A
href="http://goopen.org/confluence/pages/editpage.action?pageId=1932">edit
page</A>)
</DIV>