Install Glassfish Metro

Install Tomcat 5.x
Download Tomcat 5.x and install it
Set CATALINA_HOME to Tomcat installation

Download and Unpack Metro
Download metro from JAX-WS site.
Unpack downloaded jar file:
– with command “java -jar metro-xxx.jar”.
– in windows, double click the jar file.
Accept agreement
Content unpacked into a folder called jaxws-ri

Install Metro on Tomcat
Go to metro installation

JAXWS-1.3.1

c:\jaxws-ri\ant -f metro-on-tomcat.xml install
Buildfile: metro-on-tomcat.xml

uninstall:

update-catalina-props:

install:
 [echo] Installing WSIT 1.3 FCS for apache-tomcat-5.5.27 ...
 [copy] Copying 4 files to apache-tomcat-5.5.27\shared\lib
    webservices-rt.jar
    webservices-tools.jar
    webservices-extra.jar
    webservices-extra-api.jar

 [copy] Copying 1 file to apache-tomcat-5.5.27\common\endorsed
    webservices-api.jar

install-api-jdk5:
 [copy] Copying 1 file to apache-tomcat-5.5.27\shared\lib
    webservices-api.jar

install-api-jdk6:

install-api:
 [echo] ... installation complete.

BUILD SUCCESSFUL
Total time: 2 seconds

Summary:
Copy to shared/lib:
webservices-api.jar
webservices-extra.jar
webservices-extra-api.jar
webservices-rt.jar
webservices-tools.jar

Copy to common/endorsed:
webservices-api.jar

JAXWS-RI 2.1.5

C:\jaxws-ri>ant -f tomcat.xml install
Buildfile: tomcat.xml
 
update-catalina-props:
     [echo] Backing up Z:\Program Files\apache-tomcat-5.5.27/conf/catalina.prope
rties...
     [copy] Copying 1 file to Z:\Program Files\apache-tomcat-5.5.27\conf
     [echo] Adding JAX-WS RI jars to shared.loader property in Z:\Program Files\
apache-tomcat-5.5.27/conf/catalina.properties...
 
install:
     [echo] Installing JAX-WS RI 2.1.5  for Z:\Program Files\apache-tomcat-5.5.2
7 ...
     [copy] Copying 19 files to Z:\Program Files\apache-tomcat-5.5.27\shared\lib
 
 
jdk6-message:
 
BUILD SUCCESSFUL
Total time: 1 minute 9 seconds
This entry was posted in jax-ws, soa. Bookmark the permalink.