|
Replies:
2
-
Last Post:
Nov 6, 2009 3:58 PM
by: Tony Anecito
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
Metro/Tomcat6 Deployment issue...
Posted:
Nov 5, 2009 2:27 PM
|
|
|
Hi All,
I noticed that my web app needed to have the JAXWS jars put into the Tomcat 6.0.18 lib directory. I thought since I am using JDK 1.6.0_16 that Tomcat would find the jars needed for web services from the JDK but it did not do that.
Then I decided to update to the latest version of Metro and read the instructions for installation for Tomcat 6 and since I assumed metro had all the jars needed so I deleted the JAXWS jars from the Tomcat lib directory and followed the install directions mentioned by Mr. Gupta's blog and the web service did not work. I put back the jars for JAXWS into the Tomcat directory and the web service worked but not sure the jars for Metro are being used.
Anyone have ideas why Tomcat 6 is not picking up the jars for JAXWS that come with the JDK?
Anyone know how to verify the Metro product is being used?
Does Metro replace JAXWS?
Regards, -Tony
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net For additional commands, e-mail: users-help@metro.dev.java.net
|
|
|
|
|
|
|
Re: Metro/Tomcat6 Deployment issue...
Posted:
Nov 6, 2009 10:41 AM
in response to: Tony Anecito
|
|
|
JAX-WS runtime in JDK is little different from the standalone RI and Metro. You could use JAX-WS Runtime in JDK on client-side and server-side with Endpoint API (http://java.sun.com/javase/6/docs/api/javax/xml/ws/class-use/Endpoint.html) as long as you are not using WS-* features in Metro. JAX-WS runtime in JDK does not support the RI deployment model (sun-jaxws.xml) but supports only with Endpoint API using the light weight http server built in JDK 6. But, in JAX-WS 2.2 some API were added that can be used by containers to use JAX-WS runtime in JDK, but I don't know of any containers that made use of that API so far. When you install Metro, You don't need to install JAX-WS separately, Its all in one bundle.
|
|
|
|
|
|
|
|
Re: Metro/Tomcat6 Deployment issue...
Posted:
Nov 6, 2009 3:58 PM
in response to: ramapulavarthi
|
|
|
Thanks that fixed that error but I got a new one I will put into a different thread.
-Tony
--- On Fri, 11/6/09, metro@javadesktop.org <metro@javadesktop.org> wrote:
> From: metro@javadesktop.org <metro@javadesktop.org> > Subject: Re: Metro/Tomcat6 Deployment issue... > To: users@metro.dev.java.net > Date: Friday, November 6, 2009, 11:41 AM > JAX-WS runtime in JDK is little > different from the standalone RI and Metro. > You could use JAX-WS Runtime in JDK on client-side and > server-side with Endpoint API (http://java.sun.com/javase/6/docs/api/javax/xml/ws/class-use/Endpoint.html) > as long as you are not using WS-* features in Metro. JAX-WS > runtime in JDK does not support the RI deployment model > (sun-jaxws.xml) but supports only with Endpoint API using > the light weight http server built in JDK 6. But, in JAX-WS > 2.2 some API were added that can be used by containers to > use JAX-WS runtime in JDK, but I don't know of any > containers that made use of that API so far. > When you install Metro, You don't need to install JAX-WS > separately, Its all in one bundle. > [Message sent by forum member 'ramapulavarthi' (rama.pulavarthi@sun.com)] > > http://forums.java.net/jive/thread.jspa?messageID=370912 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net > For additional commands, e-mail: users-help@metro.dev.java.net > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net For additional commands, e-mail: users-help@metro.dev.java.net
|
|
|
|
|