You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/10/01 20:25:25 UTC

svn commit: r451777 - in /incubator/servicemix/site/main: jmx-console.html management.html users-space.html

Author: chirino
Date: Sun Oct  1 11:25:25 2006
New Revision: 451777

URL: http://svn.apache.org/viewvc?view=rev&rev=451777
Log:
Latest export from confluence

Modified:
    incubator/servicemix/site/main/jmx-console.html
    incubator/servicemix/site/main/management.html
    incubator/servicemix/site/main/users-space.html

Modified: incubator/servicemix/site/main/jmx-console.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/jmx-console.html?view=diff&rev=451777&r1=451776&r2=451777
==============================================================================
--- incubator/servicemix/site/main/jmx-console.html (original)
+++ incubator/servicemix/site/main/jmx-console.html Sun Oct  1 11:25:25 2006
@@ -148,11 +148,10 @@
 
 <P>In case you cannot connect to the address printed in the ServiceMix console output and find in the JConsole console output some error like</P>
 <DIV class="preformatted"><DIV class="preformattedContent">
-<PRE>org.apache.servicemix.jbi.jmx.JaasAuthenticator.authenticate(JaasAuthenticator.java:73)&nbsp;
+<PRE>org.apache.servicemix.jbi.jmx.JaasAuthenticator.authenticate(JaasAuthenticator.java:73)
 </PRE>
 </DIV></DIV>
-<P>you may need to deactivate credentials or use smx / smx (default values for suer and password) to log in. The configuration is in the /conf/jmx.xml, and the default one delegates to JAAS, which is configured in conf/login.properties. The first module uses the two properties file at /conf/groups.properties and conf/users-passwords.properties</P>
-
+<P>you may have not provided the required username and password (default: smx / smx). These credentials are configurated in <EM>/conf/jmx.xml</EM> and can be deactivated (search in <EM>jmx.xml</EM> for <EM>Comment the following lines to disable JAAS authentication for jmx</EM>) which of course poses the usual security issues (no protection at all). The default setting is to delegate the credentials to JAAS, which is configured in <EM>conf/login.properties</EM> useing the properties file at <EM>/conf/groups.properties</EM> and <EM>conf/users-credentials.properties</EM> and <EM>conf/users-passwords.properties</EM>.&nbsp;</P>
 
 <H2><A name="JMXConsole-UsingJConsole"></A>Using JConsole</H2>
 
@@ -175,11 +174,11 @@
 <BR clear="all"></P></LI>
 	<LI>Click on the &quot;Advanced&quot; tab. The following URL must be entered in the &quot;JMX URL&quot; box: service:jmx:rmi:///jndi/rmi://hostname:port/app_to_monitor. Where the <TT>hostname</TT> is name of the host on which the application to be monitored is running, the <TT>port</TT> is the port number to connect to the application, and the <TT>app_to_monitor</TT> is the JMX enabled application to monitor.  For  example, if none of the defaults for ServiceMix have been modified and ServiceMix is running on <TT>localhost</TT>, enter the following: <TT>service:jmx:rmi:///jndi/rmi://localhost:1099/defaultJBIJMX</TT>.
 <BR clear="all">
-<BR clear="all"> <IMG src="jmx-console.data/jconsoleagentscr.jpg" align="absmiddle" border="0"><BR clear="all">
+<BR clear="all">  <IMG src="jmx-console.data/jconsoleagentscr.jpg" align="absmiddle" border="0"><BR clear="all">
 <BR clear="all"></LI>
 	<LI>Click the <B>Connect</B> box to connect to the ServiceMix container. <TT>org.servicemix</TT> will be visible in the console. Click on <TT>org.servicemix</TT> to see its MBeans.
 <BR clear="all">
-<BR clear="all"> <IMG src="jmx-console.data/jconsoleconnection.jpg" align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all">  <IMG src="jmx-console.data/jconsoleconnection.jpg" align="absmiddle" border="0"><BR clear="all"></LI>
 </OL>
 
 
@@ -196,7 +195,7 @@
 	<LI>Run JConsole (see the previous section) and click on <TT>org.servicemix</TT>.</LI>
 	<LI>Click on <TT>org.servicemix.jbi.framework.ComponentMBeanImpl</TT>. The components of the <EM>Basic</EM> example will be shown. Clicking on any of them will show the monitoring information available.
 <BR clear="all">
-<BR clear="all"> <IMG src="jmx-console.data/jconsolembeans.jpg" align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all">  <IMG src="jmx-console.data/jconsolembeans.jpg" align="absmiddle" border="0"><BR clear="all"></LI>
 </OL>
 
 
@@ -212,7 +211,7 @@
 	<LI>Click on the MC4J executable <TT>MC4J Console 1.2b9.exe</TT> (for Windows) to start MC4J. The executable can be found in the top-level directory of the MC4J installation. The MC4J window will appear.</LI>
 	<LI>Select &quot;Management&gt;Create Server Connection...&quot; from the menu. This will start &quot;My Wizard&quot;. The connection to ServiceMix can be created using the wizard.
 <BR clear="all">
-<BR clear="all"> <IMG src="jmx-console.data/mc4jwizard.jpg" align="absmiddle" border="0"><BR clear="all">
+<BR clear="all">  <IMG src="jmx-console.data/mc4jwizard.jpg" align="absmiddle" border="0"><BR clear="all">
 <BR clear="all"></LI>
 	<LI>Enter the following into the text boxes/pull-down menus:<BR>
 <B>Select your server connection type:</B> JSR160<BR>
@@ -224,7 +223,7 @@
 	<LI>Click &quot;Finish&quot; in the next window.<BR>
 A connection to ServiceMix has been added to MC4J&#33;
 <BR clear="all">
-<BR clear="all"> <IMG src="jmx-console.data/mc4jconnections.jpg" align="absmiddle" border="0"><BR clear="all"></LI>
+<BR clear="all">  <IMG src="jmx-console.data/mc4jconnections.jpg" align="absmiddle" border="0"><BR clear="all"></LI>
 </OL>
 
 
@@ -241,7 +240,7 @@
 	<LI>Run MC4J (see the previous section) and click on <TT>org.servicemix</TT>.</LI>
 	<LI>Click on <TT>org.servicemix.jbi.framework.ComponentMBeanImpl</TT>. The components of the <EM>File Binding</EM> example will be shown. Right-click on a component and select &quot;Available dashboards...&gt;Basic MBean View&quot; to see the information shown in the diagram below. For more details on using MC4J, please see the MC4J <SPAN class="nobr"><A href="http://mc4j.org/confluence/display/MC4J/Home" title="Visit page outside Confluence" rel="nofollow">documentation<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>.
 <BR clear="all">
-<BR clear="all"> <IMG src="jmx-console.data/mc4jfilebinding.jpg" align="absmiddle" border="0"></LI>
+<BR clear="all">  <IMG src="jmx-console.data/mc4jfilebinding.jpg" align="absmiddle" border="0"></LI>
 </OL>
 
 
@@ -269,7 +268,7 @@
 	</LI>
 	<LI>Run the ServiceMix JMX Console. To do this enter the following URL in a web browser: <SPAN class="nobr"><A href="http://localhost:8080/servicemix-web" title="Visit page outside Confluence" rel="nofollow">http://localhost:8080/servicemix-web<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. You will see the following:
 <BR clear="all">
-<BR clear="all"> <IMG src="jmx-console.data/jmxconsole.jpg" align="absmiddle" border="0"></LI>
+<BR clear="all">  <IMG src="jmx-console.data/jmxconsole.jpg" align="absmiddle" border="0"></LI>
 </OL>
 
 
@@ -294,13 +293,13 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=rajdavies">Rob Davies</A>,
-    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A> on Sep 25, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2041&originalId=13813">view change</A>)
+    last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=georg_dembowski">Georg Dembowski</A> on Oct 01, 2006
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=2041&originalId=13890">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>
-      INS connection troubleshooting<BR>
+      credentials extended<BR>
       <SPAN class="smalltext"><A href="http://goopen.org/confluence/pages/viewpreviouspageversions.action?pageId=2041">View page history</A></SPAN>
   </DIV>
 

Modified: incubator/servicemix/site/main/management.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/management.html?view=diff&rev=451777&r1=451776&r2=451777
==============================================================================
--- incubator/servicemix/site/main/management.html (original)
+++ incubator/servicemix/site/main/management.html Sun Oct  1 11:25:25 2006
@@ -166,10 +166,7 @@
               <a href="javascript:hideChildren()">Hide Children</a></span>
           </div>
           <div class="greybox" id="children" style="display: none;">
-                                      <a href="http://goopen.org/confluence/display/SM/JMX+Console" title="JMX Console">JMX Console</a>
-              <span class="smalltext">(ServiceMix)</span>
-              <br>
-                          <a href="http://goopen.org/confluence/display/SM/Environment+Context+MBean" title="Environment Context MBean">Environment Context MBean</a>
+                                      <a href="http://goopen.org/confluence/display/SM/Environment+Context+MBean" title="Environment Context MBean">Environment Context MBean</a>
               <span class="smalltext">(ServiceMix)</span>
               <br>
                           <a href="http://goopen.org/confluence/display/SM/NMR+Broker+MBean" title="NMR Broker MBean">NMR Broker MBean</a>
@@ -191,6 +188,9 @@
               <span class="smalltext">(ServiceMix)</span>
               <br>
                           <a href="http://goopen.org/confluence/display/SM/Ant+Tasks" title="Ant Tasks">Ant Tasks</a>
+              <span class="smalltext">(ServiceMix)</span>
+              <br>
+                          <a href="http://goopen.org/confluence/display/SM/JMX+Console" title="JMX Console">JMX Console</a>
               <span class="smalltext">(ServiceMix)</span>
               <br>
                       </div>

Modified: incubator/servicemix/site/main/users-space.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/site/main/users-space.html?view=diff&rev=451777&r1=451776&r2=451777
==============================================================================
--- incubator/servicemix/site/main/users-space.html (original)
+++ incubator/servicemix/site/main/users-space.html Sun Oct  1 11:25:25 2006
@@ -119,11 +119,17 @@
 
 <UL>
 	<LI>connect the dots between the documentation already existing on the Servicemix website</LI>
-	<LI>Give a developer interested in Servicemix a run through on getting the software up and running (with examples&#33;)</LI>
+	<LI>Give a developer interested in Servicemix a run through on getting the software up and running</LI>
+	<LI>Give the developer instructions on compiling/installing the packaged Smix examples</LI>
 	<LI>Give the developer information on monitoring/configuring the software via jconsole</LI>
+	<LI>Create two working service assemblies (SA&apos;s) which work together, using out of the box Smix components&#33;</LI>
 </UL>
 
 
+<H4><A name="Usersspace-Also..."></A>Also...</H4>
+
+<P>Check out Georg Dembowski&apos;s <SPAN class="nobr"><A href="hello-world-se.html" title="Visit page outside Confluence" rel="nofollow">tutorial<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> in progress on creating a simple service engine (JBI component).</P>
+
 <H4><A name="Usersspace-Conventions%3A"></A>Conventions:</H4>
 
 <P>TERMS:</P>
@@ -148,9 +154,11 @@
 
 <P>If you are going to be running any of the examples or doing any development with a current SNAPSHOT/release then you may want to do a few things first. It makes sense to check out the 3.0 (SNAPSHOT if you want the newest) source code so that you can install the Smix component dependencies in your local repository. First go here and download the <SPAN class="nobr"><A href="http://servicemix.org/site/download.html" title="Visit page outside Confluence" rel="nofollow">ServiceMix 3.0<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> sources. Next you will want to build the Servicemix app and it&apos;s included components. Go <SPAN class="nobr"><A href="http://servicemix.org/site/building.html" title="Visit page outside Confluence" rel="nofollow">here<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align
 ="absmiddle" alt="" border="0"></SUP></A></SPAN> for instructions.</P>
 
-<P>Once you have built the 3.0 app, following the instructions linked above, the Smix component modules will be installed locally. If you want to deploy those dependencies to a company repository then keep reading. I can only give information on doing this for Maven 2 as I did not try this for Maven 1. First go into the top level project pom.xml with you favorite editor. This will be in the [Smix_source_folder]/src folder. You are going to first edit out the references to Maven 1. Search for &apos;m1&apos;, or in another case I searched for &apos;maven-one&apos;. There was a property and a plug in section I deleted (maybe some other sections also). I think the plug in is the important one to delete/coment out. Next edit the &apos;distributionManagement&apos; section. Put the relevent information for you company repository here. If you are working with a SNAPSHOT release then you will need to put your snapshot repository information in here.</P>
+<P>Once you have built the 3.0 app, following the instructions linked above, the Smix component modules will be installed locally.</P>
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="infoMacro" border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD><B class="strong">Getting the Smix dependencies into your company repository</B><BR>
+<P>If you want to deploy those dependencies to a company repository then keep reading. I can only give information on doing this for Maven 2 as I did not try this for Maven 1. First go into the top level project pom.xml with you favorite editor. This will be in the [Smix_source_folder]/src folder. You are going to first edit out the references to Maven 1. Search for &apos;m1&apos;, or in another case I searched for &apos;maven-one&apos;. There was a property and a plug in section I deleted (maybe some other sections also). I think the plug in is the important one to delete/coment out. Next edit the &apos;distributionManagement&apos; section. Put the relevent information for you company repository here. If you are working with a SNAPSHOT release then you will need to put your snapshot repository information in here.</P>
 
-<P>You should now be able to &apos;mvn &#45;Dmaven.test.skip=true deploy&apos; and the dependencies will upload to the remote repository you defined. This is a good thing when people you are working with will need the Smix component dependencies. If others will be working on a Smix project you create it will also come in handy, as they will not have to chase down dependencies. THANKS MAVEN&#33;&#33;&#33; I think there are other benefits too, such as faster fetching since the dependencies are more local (physically).</P>
+<P>You should now be able to &apos;mvn &#45;Dmaven.test.skip=true deploy&apos; and the dependencies will upload to the remote repository you defined. This is a good thing when people you are working with will need the Smix component dependencies. If others will be working on a Smix project you create it will also come in handy, as they will not have to chase down dependencies. THANKS MAVEN&#33;&#33;&#33; I think there are other benefits too, such as faster fetching since the dependencies are more local (physically).</P></TD></TR></TABLE>
 
 <H4><A name="Usersspace-NextupinstallthecompiledbinaryServicemix..."></A><B>Next up install the compiled binary Servicemix...</B></H4>
 
@@ -207,7 +215,7 @@
 
 <H4><A name="Usersspace-Temporaryexcursionintomonitoring"></A><B>Temporary excursion into monitoring</B></H4>
 
-<P>One great benefit to JBI and Smix is the monitoring capabilities. Using the jconsole application packaged with the Java SDK you can tap into your Smix instance. In doing so you can get all sorts of information on things like thread and memory usage, and have the ability to configure the Smix environment dynamically. Lets use jconsole&#33; Open a terminal session and type &apos;nohup jconsole &amp;&apos;. If your machine has the Java SDK /bin folder in it&apos;s path then this should launch the jconsole application. If the application has launched then you should be able to close the terminal window now.</P>
+<P>One great benefit to JBI and Smix are the monitoring capabilities. Using the jconsole application packaged with the Java SDK you can tap into your Smix instance. In doing so you can get all sorts of information on things like thread and memory usage, and have the ability to configure the Smix environment dynamically. Lets use jconsole&#33; Open a terminal session and type &apos;nohup jconsole &amp;&apos;. If your machine has the Java SDK&apos;s /bin folder in it&apos;s path then this should launch the jconsole application. If the application has launched then you should be able to close the terminal window now.</P>
 
 <P>You should see a window titled &apos;JConsole: Connect to Agent&apos;. In the &apos;Local&apos; tab&apos;s window you should see an entry. Select this entry and press the &apos;Connect&apos; button. You should now be connected to your local Smix instance. Take some time to play around. Done? Alright now lets do some maintanance to the Smix environment. We are going to shut down the wsdl-first SA, then start it back up.</P>
 <UL>
@@ -239,7 +247,7 @@
     <DIV id="site-footer">
           Added by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=gnodet">Guillaume Nodet</A>,
     last edited by     <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=robottaway">Robert Ottaway</A> on Oct 01, 2006
-                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=13814&originalId=13884">view change</A>)
+                  &nbsp;(<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=13814&originalId=13891">view change</A>)
               
       (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=13814">edit page</A>)
     </DIV>