trying metro

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

trying metro

by Felipe Gaucho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am having problems trying the metro example:

ant server

BUILD FAILED
C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:220: The following error occurred
 while executing this line:
C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:151: You are running on JDK6 whic
h comes with JAX-WS 2.0 API, but this tool requires JAX-WS 2.1 API. Use the endo
rsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/g
uides/standards/), or set xendorsed="true" on <wsimport>.

any tip ?

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


RE: trying metro

by dhoffer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Since Java 1.6 shipped with JAXB 2.0 it is already in the classpath; if you use the later JAXB versions you have to override the versions that shipped with 1.6.  The way you do this is to install the jaxb 2.1 jars in the <Java\jdk1.6.0_03>\jre\lib\endorsed directory.

I.e. jaxb-api-2.1.5.jar & jaxb-impl-2.1.5.jar

-Dave

-----Original Message-----
From: Felipe Gaúcho [mailto:fgaucho@...]
Sent: Monday, December 31, 2007 7:34 AM
To: users@...
Subject: trying metro

I am having problems trying the metro example:

ant server

BUILD FAILED
C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:220: The following error occurred
 while executing this line:
C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:151: You are running on JDK6 whic
h comes with JAX-WS 2.0 API, but this tool requires JAX-WS 2.1 API. Use the endo
rsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/g
uides/standards/), or set xendorsed="true" on <wsimport>.

any tip ?

---------------------------------------------------------------------
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: trying metro

by Felipe Gaucho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, I will do that :) thanks...

IMHO: it is totally anti-marketing to publish a sample that simply
doesn't run :)

since the JDK1.6 is the oficial release of JDK, the required
modification to run the exaples should be highlighted in bold letters
in the sample page :)

On Jan 1, 2008 2:41 PM, Dave Hoffer <DHoffer@...> wrote:

> Since Java 1.6 shipped with JAXB 2.0 it is already in the classpath; if you use the later JAXB versions you have to override the versions that shipped with 1.6.  The way you do this is to install the jaxb 2.1 jars in the <Java\jdk1.6.0_03>\jre\lib\endorsed directory.
>
> I.e. jaxb-api-2.1.5.jar & jaxb-impl-2.1.5.jar
>
> -Dave
>
>
> -----Original Message-----
> From: Felipe Gaúcho [mailto:fgaucho@...]
> Sent: Monday, December 31, 2007 7:34 AM
> To: users@...
> Subject: trying metro
>
> I am having problems trying the metro example:
>
> ant server
>
> BUILD FAILED
> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:220: The following error occurred
>  while executing this line:
> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:151: You are running on JDK6 whic
> h comes with JAX-WS 2.0 API, but this tool requires JAX-WS 2.1 API. Use the endo
> rsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/g
> uides/standards/), or set xendorsed="true" on <wsimport>.
>
> any tip ?
>
> ---------------------------------------------------------------------
> 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: trying metro

by pczurak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am getting the same error.
C:\Program Files\NetBeans 6.7\NetBeansProjects\HelloClient\nbproject\jaxws-build.xml:19: You are running on JDK6 which comes with JAX-WS 2.1 API, but this tool requires JAX-WS 2.2 API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <wsimport>.


Where do I put the jaxb-api.jar & jaxb-impl.jar files, I do not have <Java\jdk1.6.0_03>\jre\lib\endorsed
directory, I created the endorsed directory, but it did not make any difference.  I also tried to put these files in  <Java\jdk1.6.0_03>\jre\lib\ext  but it did not work also.

So where do I put these files?


I've downloaded the Nightly build from
https://jax-ws.dev.java.net/servlets/ProjectDocumentList?folderID=11088&expandFolder=11088&folderID=5470


Thank you

Peter

On Jan 1, 2008 2:41 PM, Dave Hoffer <DHoffer@xrite.com> wrote:
> Since Java 1.6 shipped with JAXB 2.0 it is already in the classpath; if you use the later JAXB versions you have to override the versions that shipped with 1.6.  The way you do this is to install the jaxb 2.1 jars in the <Java\jdk1.6.0_03>\jre\lib\endorsed directory.
>
> I.e. jaxb-api-2.1.5.jar & jaxb-impl-2.1.5.jar
>
> -Dave
>
>
> -----Original Message-----
> From: Felipe Gaúcho [mailto:fgaucho@gmail.com]
> Sent: Monday, December 31, 2007 7:34 AM
> To: users@jaxb.dev.java.net
> Subject: trying metro
>
> I am having problems trying the metro example:
>
> ant server
>
> BUILD FAILED
> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:220: The following error occurred
>  while executing this line:
> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:151: You are running on JDK6 whic
> h comes with JAX-WS 2.0 API, but this tool requires JAX-WS 2.1 API. Use the endo
> rsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/g
> uides/standards/), or set xendorsed="true" on <wsimport>.
>
> any tip ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@jaxb.dev.java.net
> For additional commands, e-mail: users-help@jaxb.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@jaxb.dev.java.net
> For additional commands, e-mail: users-help@jaxb.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@jaxb.dev.java.net
For additional commands, e-mail: users-help@jaxb.dev.java.net




Re: trying metro

by Martin Grebac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

you're most likely using jdk when running netbeans, so put the api file
into $JDK_HOME/lib/endorsed
 MartiNG

pczurak wrote:

> I am getting the same error.
> C:\Program Files\NetBeans
> 6.7\NetBeansProjects\HelloClient\nbproject\jaxws-build.xml:19: You are
> running on JDK6 which comes with JAX-WS 2.1 API, but this tool requires
> JAX-WS 2.2 API. Use the endorsed standards override mechanism
> (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set
> xendorsed="true" on <wsimport>.
>
>
> Where do I put the jaxb-api.jar & jaxb-impl.jar files, I do not have
> <Java\jdk1.6.0_03>\jre\lib\endorsed
> directory, I created the endorsed directory, but it did not make any
> difference.  I also tried to put these files in
> <Java\jdk1.6.0_03>\jre\lib\ext  but it did not work also.
>
> So where do I put these files?
>
>
> I've downloaded the Nightly build from
> https://jax-ws.dev.java.net/servlets/ProjectDocumentList?folderID=11088&expandFolder=11088&folderID=5470
>
>
> Thank you
>
> Peter
>
> On Jan 1, 2008 2:41 PM, Dave Hoffer <DHoffer@...> wrote:
>  
>> Since Java 1.6 shipped with JAXB 2.0 it is already in the classpath; if
>> you use the later JAXB versions you have to override the versions that
>> shipped with 1.6.  The way you do this is to install the jaxb 2.1 jars in
>> the <Java\jdk1.6.0_03>\jre\lib\endorsed directory.
>>
>> I.e. jaxb-api-2.1.5.jar & jaxb-impl-2.1.5.jar
>>
>> -Dave
>>
>>
>> -----Original Message-----
>> From: Felipe Gaúcho [mailto:fgaucho@...]
>> Sent: Monday, December 31, 2007 7:34 AM
>> To: users@...
>> Subject: trying metro
>>
>> I am having problems trying the metro example:
>>
>> ant server
>>
>> BUILD FAILED
>> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:220: The following error
>> occurred
>>  while executing this line:
>> C:\felipe\apagar\wsit-jaxws-fromwsdl\build.xml:151: You are running on
>> JDK6 whic
>> h comes with JAX-WS 2.0 API, but this tool requires JAX-WS 2.1 API. Use
>> the endo
>> rsed standards override mechanism
>> (http://java.sun.com/javase/6/docs/technotes/g
>> uides/standards/), or set xendorsed="true" on <wsimport>.
>>
>> any tip ?
>>
>> ---------------------------------------------------------------------
>> 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@...
>
>
>
>
>  

--
Martin Grebac, http://blogs.sun.com/mgrebac

Web Technologies & Standards
Sun Microsystems Czech

ICQ: 93478885


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