Metro/Tomcat6 Deployment issue...

View: New views
3 Messages — Rating Filter:   Alert me  

Metro/Tomcat6 Deployment issue...

by Tony Anecito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: users-help@...


Re: Metro/Tomcat6 Deployment issue...

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...)]

http://forums.java.net/jive/thread.jspa?messageID=370912

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Metro/Tomcat6 Deployment issue...

by Tony Anecito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... <metro@...> wrote:

> From: metro@... <metro@...>
> Subject: Re: Metro/Tomcat6 Deployment issue...
> To: users@...
> 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@...)]
>
> http://forums.java.net/jive/thread.jspa?messageID=370912
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>


     

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...