tomcat 7.0.0 and JDK 6.0_21
I am very happy with the performance
but I do need it running on tomcat6 with jre1.5, so...
according to the documentation JAX-WS 2.2. should work on java 5 update 2
0) precondition
metro 2.0.1 is installed
1) compilation
. javax.annotation.PostConstruct and javax.annotation.PreDestroy for java5 may be found in jsr250-api.jar from Sun JWSDP 2.0 (--> \jaxws\lib );
. @Override for interfaces implementation is not supported? -> annotations are commented
-> compilation of the web service with JDK 1.5.0_07 is successful
2) deployment
under tomcat 6.0.18, JRE 1.5.0_07
as written in readme of metro2.0.1 use metro-on-tomcat.xml
just run
ant -Dtomcat.home=
(which just copy:
. webservices-api.jar and jsr173_api.jar to
. webservices-extra.jar, webservices-extra-api.jar, webservices-rt.jar and webservices-tools.jar to
. )
it is working, I am impressed
No comments:
Post a Comment