After installing metro get exceptions when launching Tomcat

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

After installing metro get exceptions when launching Tomcat

by Tony Anecito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I installed Metro 2.0 on Tomcat 6.0.20 running on Windows that has jdk1.6.0_16. I have already installed JAXWS 2.1.4 using ant. I get the following exception when launching Tomcat.


SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.NoSuchMethodE
rror: com.sun.xml.ws.api.server.WSEndpoint.getPolicyMap()Lcom/sun/xml/ws/policy/
PolicyMap;

Anyone have any ideas why? I am using the ant to install latest Metro. If I uninstall Metro then Tomcat launches and works fine.

Thanks,
-Tony


     

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


Re: After installing metro get exceptions when launching Tomcat

by Tony Anecito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Looks like an incompatibility issue between Metro and the JDK 6.x. I found the source file for WSEndpoint and what I found is missing the method getPolicyMap(). Here is the link to the source file I found:

http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Modules/jax-ws-runtime/com/sun/xml/ws/api/server/WSEndpoint.java.htm


Regards,
-Tony

--- On Fri, 11/6/09, Tony Anecito <adanecito@...> wrote:

> From: Tony Anecito <adanecito@...>
> Subject: After installing metro get exceptions when launching Tomcat
> To: "Metro" <users@...>
> Cc: "JWSDP Dev" <dev@...>
> Date: Friday, November 6, 2009, 12:36 AM
> Hi All,
>
> I installed Metro 2.0 on Tomcat 6.0.20 running on Windows
> that has jdk1.6.0_16. I have already installed JAXWS 2.1.4
> using ant. I get the following exception when launching
> Tomcat.
>
>
> SEVERE: WSSERVLET11: failed to parse runtime descriptor:
> java.lang.NoSuchMethodE
> rror:
> com.sun.xml.ws.api.server.WSEndpoint.getPolicyMap()Lcom/sun/xml/ws/policy/
> PolicyMap;
>
> Anyone have any ideas why? I am using the ant to install
> latest Metro. If I uninstall Metro then Tomcat launches and
> works fine.
>
> Thanks,
> -Tony
>
>
>      
>
> ---------------------------------------------------------------------
> 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@...


Parent Message unknown Re: After installing metro get exceptions when launching Tomcat

by Tony Anecito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I found the source file that has the method in the "FishEye" project. It looks like it is for a future release of JAXWS 2.2? Where as the JAXWS site has only 2.1.4??

Here is the link I found to the file that has the link to a later version of the WSEndPoint.java with the missing method.

Now that I know better what version of JAXWS that Metro expects perhaps I can find the correct JAXWS download for 2.2 needed.

Any idea for the JAXWS team where I can download the build of JAXWS that has the updated WSEndPoint class?

Regards,
-Tony

--- On Fri, 11/6/09, Tony Anecito <adanecito@...> wrote:

> From: Tony Anecito <adanecito@...>
> Subject: Re: After installing metro get exceptions when launching Tomcat
> To: users@...
> Date: Friday, November 6, 2009, 8:48 AM
> Hi All,
>
> Looks like an incompatibility issue between Metro and the
> JDK 6.x. I found the source file for WSEndpoint and what I
> found is missing the method getPolicyMap(). Here is the link
> to the source file I found:
>
> http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Modules/jax-ws-runtime/com/sun/xml/ws/api/server/WSEndpoint.java.htm
>
>
> Regards,
> -Tony
>
> --- On Fri, 11/6/09, Tony Anecito <adanecito@...>
> wrote:
>
> > From: Tony Anecito <adanecito@...>
> > Subject: After installing metro get exceptions when
> launching Tomcat
> > To: "Metro" <users@...>
> > Cc: "JWSDP Dev" <dev@...>
> > Date: Friday, November 6, 2009, 12:36 AM
> > Hi All,
> >
> > I installed Metro 2.0 on Tomcat 6.0.20 running on
> Windows
> > that has jdk1.6.0_16. I have already installed JAXWS
> 2.1.4
> > using ant. I get the following exception when
> launching
> > Tomcat.
> >
> >
> > SEVERE: WSSERVLET11: failed to parse runtime
> descriptor:
> > java.lang.NoSuchMethodE
> > rror:
> >
> com.sun.xml.ws.api.server.WSEndpoint.getPolicyMap()Lcom/sun/xml/ws/policy/
> > PolicyMap;
> >
> > Anyone have any ideas why? I am using the ant to
> install
> > latest Metro. If I uninstall Metro then Tomcat
> launches and
> > works fine.
> >
> > Thanks,
> > -Tony
> >
> >
> >      
> >
> >
> ---------------------------------------------------------------------
> > 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@...


Re: After installing metro get exceptions when launching Tomcat

by Tony Anecito-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Looks like JAXWS 2.2 is included with Metro 2.0EA and there may be an issue with the deployment script with regards to the webservices-api.jar (has JAXWS 2.2) not be detected by the jdk.
I may have to copy that file to a lib where it can be detected since the script copys it to the endorsed directory for the jdk and it is not being picked up.

Regards,
-Tony

--- On Fri, 11/6/09, Tony Anecito <adanecito@...> wrote:

> From: Tony Anecito <adanecito@...>
> Subject: Re: After installing metro get exceptions when launching Tomcat
> To: users@..., "JWSDP Dev" <dev@...>
> Date: Friday, November 6, 2009, 8:56 AM
> Hi All,
>
> I found the source file that has the method in the
> "FishEye" project. It looks like it is for a future release
> of JAXWS 2.2? Where as the JAXWS site has only 2.1.4??
>
> Here is the link I found to the file that has the link to a
> later version of the WSEndPoint.java with the missing
> method.
>
> Now that I know better what version of JAXWS that Metro
> expects perhaps I can find the correct JAXWS download for
> 2.2 needed.
>
> Any idea for the JAXWS team where I can download the build
> of JAXWS that has the updated WSEndPoint class?
>
> Regards,
> -Tony
>
> --- On Fri, 11/6/09, Tony Anecito <adanecito@...>
> wrote:
>
> > From: Tony Anecito <adanecito@...>
> > Subject: Re: After installing metro get exceptions
> when launching Tomcat
> > To: users@...
> > Date: Friday, November 6, 2009, 8:48 AM
> > Hi All,
> >
> > Looks like an incompatibility issue between Metro and
> the
> > JDK 6.x. I found the source file for WSEndpoint and
> what I
> > found is missing the method getPolicyMap(). Here is
> the link
> > to the source file I found:
> >
> > http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Modules/jax-ws-runtime/com/sun/xml/ws/api/server/WSEndpoint.java.htm
> >
> >
> > Regards,
> > -Tony
> >
> > --- On Fri, 11/6/09, Tony Anecito <adanecito@...>
> > wrote:
> >
> > > From: Tony Anecito <adanecito@...>
> > > Subject: After installing metro get exceptions
> when
> > launching Tomcat
> > > To: "Metro" <users@...>
> > > Cc: "JWSDP Dev" <dev@...>
> > > Date: Friday, November 6, 2009, 12:36 AM
> > > Hi All,
> > >
> > > I installed Metro 2.0 on Tomcat 6.0.20 running
> on
> > Windows
> > > that has jdk1.6.0_16. I have already installed
> JAXWS
> > 2.1.4
> > > using ant. I get the following exception when
> > launching
> > > Tomcat.
> > >
> > >
> > > SEVERE: WSSERVLET11: failed to parse runtime
> > descriptor:
> > > java.lang.NoSuchMethodE
> > > rror:
> > >
> >
> com.sun.xml.ws.api.server.WSEndpoint.getPolicyMap()Lcom/sun/xml/ws/policy/
> > > PolicyMap;
> > >
> > > Anyone have any ideas why? I am using the ant to
> > install
> > > latest Metro. If I uninstall Metro then Tomcat
> > launches and
> > > works fine.
> > >
> > > Thanks,
> > > -Tony
> > >
> > >
> > >      
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > 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@...
>
>




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


Re: After installing metro get exceptions when launching Tomcat

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, you are correct. JAX-WS 2.2 and JAXB 2.2 are part of Metro 2.0. You just need to install one bundle, i.e Metro.
Metro uses JAX-WS as core and there are some changes in JAX-WS 2.2 to work in Metro 2.0 while the old JAX-WS 2.1.4 in your classpath is causing the conflicts. You should uninstall JAX-WS 2.1.4 from Tomcat for it to work correctly.
[Message sent by forum member 'ramapulavarthi' (rama.pulavarthi@...)]

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

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