Tuesday, March 10, 2009

Install metro 1.4 on tomcat 5

1. Download metro-1.4.jar 
2. java -jar metro-1_4.jar
3.
jars from extracted metro jar /lib
Jars What? Needed at runtime
webservices-api.jar
webservices-extra-api.jar
"javax.*" JCP APIs Yes
webservices-rt.jar
webservices-extra.jar
Runtime code that implements the API Yes
webservices-tools.jar Development time tools No

shared.loader property in /conf/catalina.properties

For Tomcat 5.0
-> copy webservices-api.jar, webservices-extra-api.jar, webservices-rt.jar,
webservices-extra.jar,webservices-tools.jar
to /shared/lib
->default: shared.loader=${catalina.base}/shared/classes,
${catalina.base}/shared/lib/*.jar

else if want to standardise w. tomcat 6
-> do not copy file to /shared/lib, extract into external folder
c://metro/lib/*.jar
->configure
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar,
file:///c:/metro/lib/*.jar


For Tomcat 6.0
-> copy webservices-api.jar, webservices-extra-api.jar, webservices-rt.jar,
webservices-extra.jar,webservices-tools.jar
to c:/metro/lib/
-> configure shared.loader=file:///c:/metro/lib/*.jar
if using java 6 w. tomcat 6-> copy webservices-api.jar into c:/jdk6/jre/lib/

-Userful link for tutorial
https://metro.dev.java.net/getting-started/basic.html


No comments:

Post a Comment