cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <daniel.k...@iona.com>
Subject Re: Harmony jar compare tool....
Date Mon, 02 Oct 2006 20:47:38 GMT

On Monday October 02 2006 2:35 pm, Alexey Petrenko wrote:
> japize reports NPE if it can not initialize the class. It means that
> you should specify jar which has all the needed classes for yor jar.
> You should add rt.jar for example.

Oh, cool.   That worked better.   Thanks!

Why that info isn't on the page, I don't know.   Actually, why it cannot 
say "could not find class Java.lang.String" or similar instead of a NPE, I 
have no idea.


Anyway, thanks for that info.   Helped a bunch.   The good news is that it 
says the geronimo specs jsr181 equivalent is 100% compatible with the jsr181 
from Sun.

Thanks!
Dan



On Monday October 02 2006 2:35 pm, Alexey Petrenko wrote:
> japize reports NPE if it can not initialize the class. It means that
> you should specify jar which has all the needed classes for yor jar.
> You should add rt.jar for example.
>
> Something like
> ./japize as ws-metadata packages
> ~/working/geronimo-specs/geronimo-ws-metadata_2.0_spec/target/geronimo-ws-m
>etadata_2.0_spec-1.0.jar $JAVA_HOME/lib/rt.jar +javax
>
> SY, Alexey
>
> 2006/10/2, Daniel Kulp <daniel.kulp@iona.com>:
> > On Monday October 02 2006 1:16 pm, Alexey Petrenko wrote:
> > > I've used japitools: http://www.kaffe.org/~stuart/japi/
> > >
> > > If you will have any questions feel free to ask and I'll try to help.
> >
> > Hmm...   I don't think it likes Java 5 annotation or something.   I seems
> > to NullPointerException on everything.   I don't have time to track that
> > down right now.   I'll stick it on my todo list.    Thanks for the
> > pointer though.
> >
> > Dan
> >
> >
> > dkulp@dilbert ~/tmp/t2/japitools/bin $ ./japize as ws-metadata packages
> > ~/working/geronimo-specs/geronimo-ws-metadata_2.0_spec/target/geronimo-ws
> >-metadata_2.0_spec-1.0.jar +javax ...
> >
> > Processing package javax,:=
> > Processing package javax.jws,:=
> > Failed to Japize javax.jws.HandlerChain: java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.Oneway: java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.WebMethod: java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.WebParam: java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.WebParam$Mode: java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.WebResult: java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.WebService: java.lang.NullPointerException
> >
> > Processing package javax.jws.soap,:=
> > Failed to Japize javax.jws.soap.InitParam: java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.soap.SOAPBinding:
> > java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.soap.SOAPBinding$ParameterStyle:
> > java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.soap.SOAPBinding$Style:
> > java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.soap.SOAPBinding$Use:
> > java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.soap.SOAPMessageHandler:
> > java.lang.NullPointerException
> >
> > Failed to Japize javax.jws.soap.SOAPMessageHandlers:
> > java.lang.NullPointerException
> >
> > > SY, Alexey
> > >
> > > 2006/10/2, Daniel Kulp <daniel.kulp@iona.com>:
> > > > Alexey,
> > > >
> > > > I know for yoko, you ran some sort of tool to compare the yoko jars
> > > > with the Sun jars to generate a report of "what wasn't correct."  
> > > > Can I ask where that tool is and how to run it?
> > > >
> > > > I'd like to run the tool on the new jsr181 stuff that Dan Diephouse
> > > > submitted to geronimo-specs:
> > > > https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-ws-met
> > > >adat a_2.0_spec/
> > > >
> > > > Any help or information on this would be great.
> > > >
> > > > Thanks!
> > > > --
> > > > J. Daniel Kulp
> > > > Principal Engineer
> > > > IONA
> > > > P: 781-902-8727    C: 508-380-7194   F:781-902-8001
> > > > daniel.kulp@iona.com
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727    C: 508-380-7194   F:781-902-8001
> > daniel.kulp@iona.com

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194   F:781-902-8001
daniel.kulp@iona.com

Mime
View raw message