niclas      2004/04/03 07:58:29

  Modified:    merlin/platform/tutorials/jmx README.txt
  Log:
  Updated the README.
  
  Revision  Changes    Path
  1.2       +13 -24    avalon/merlin/platform/tutorials/jmx/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/platform/tutorials/jmx/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt        3 Apr 2004 15:49:17 -0000       1.1
  +++ README.txt        3 Apr 2004 15:58:29 -0000       1.2
  @@ -22,35 +22,24 @@
   
   $ maven
   
  -The above command triggers the default goal jar:jar which will 
  -create a jar file under the target directory named 
  -merlin-hello-tutorial-1.0.jar.  The jar file contains a single
  -component, generated .xinfo descriptor, and a bundled block.xml 
  -deployment descriptor. 
  +The above command triggers the default goal jar:install which will 
  +create a jar file and copy it to your local Maven repository,
  +named jmx-hello-1.0.jar.  
   
   Runtime
   -------
   
  -To see Merlin in action, execute Merlin and give it either the 
  -jar file of the target/classes directory as the deployment 
  -argument.  
  +To see Merlin in action
   
  -$ merlin target\classes -execute
  +$ merlin --offline conf/hello.block
   
  -Or:
  -
  -$ merlin target\merlin-hello-tutorial-1.0.jar -execute
  -
  -The -execute parameter in the above command line simply tells 
  -Merlin to deploy and decomission the component.  If we didn't
  -include the -execute option, then Merlin would stay running
  -until we forced termination using ^C.
  -
  -To get an idea of what is happening behing the scenes you can
  -override the logging priorities using a configuration override
  -argument.  In addition, the -debug CLI parameter presents a 
  -summary of the resources pulling together to handle deployment:
  -
  -$ merlin target\classes -execute -debug -config conf\config.xml
  +This will start the small HelloComponent and have it registered as
  +a JMX MBean in the embedded MBeanServer. You can view the content
  +by starting your favourite browser, and connect to;
  +
  +   http://localhost:8082/
  +   
  +In there, you can locate the HelloComponent, set the output string
  +and execute the sayHello() method.
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to