Marek Potociar's Blog

1Feb/112

Custom tubes sample for Metro

I have just added a new custom-tubes sample to the Metro/WSIT sample collection. It is based on one of my previous posts on intercepting web service calls in Metro using custom tubes. I have tested the sample with GlassFish 3.1-b40 and latest Metro 2.1 standalone bundle used on the client side.

To run the sample you need to follow these steps:

  1. Download and install most recent build of GlassFish 3.1 from the following location: http://dlc.sun.com.edgesuite.net/glassfish/3.1/promoted/
    • Don't forget to set the AS_HOME environment variable to point to your GlassFish installation directory
  2. Start GlassFish, e.g. $AS_HOME/bin/asadmin start-domain
  3. Download most recent Metro 2.1 standalone bundle from the Metro maven repository: http://download.java.net/maven/2/org/glassfish/metro/metro-standalone/
  4. Unzip the downloaded Metro 2.1 standalone bundle and set METRO_HOME environment variable to point to the unzipped metro/ directory
  5. Change to the custom-tubes sample directory, e.g. cd $METRO_HOME/samples/custom-tubes
  6. Follow the Readme.txt file located in the  custom-tubes sample directory to build and run the sample
Comments (2) Trackbacks (1)
  1. Hi I usig a Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01) I deploy custom_tubes example Its running so better in client side but in server side dosent write anything.

    Could you help me?

    Thanks David

  2. Hi David,
    please send your question to use...@metro.java.net .


Leave a comment

(required)