I ended up just pushing the server back to 1.4.2 but I
will give it a try and perhaps move back to 1.5 when I
have time again.

Of course, by then Axis may very well support 1.5.

Thanks everyone for your help.

--- ANDREW MICONE <[EMAIL PROTECTED]> wrote:

> I am enlightened, thank you Sir.
> 
> I still think just using JDK 1.42 is easier. ;)
> 
> -- Andy
> 
> >>> [EMAIL PROTECTED] 12/13/04 11:34AM >>>
> and use the -Djava.endorsed.dir switch as mentioned
> in jdk1.5 docs.
> 
> -- dims
> 
> 
> On Mon, 13 Dec 2004 13:30:45 -0500, Davanum Srinivas
> <[EMAIL PROTECTED]> wrote:
> > Hey!!! You can compile Axis using JDK1.5...all you
> need to do is drop
> > xercesImpl-2_6_2.jar
> > xmlParserAPIs-2_6_2.jar
> > 
> > into the ws-axis/java/lib/endorsed directory.
> > 
> > -- dim
> > 
> > 
> > On Mon, 13 Dec 2004 11:25:48 -0700, ANDREW MICONE
> <[EMAIL PROTECTED]> wrote:
> > > Well, you can't compile Axis itself under
> JDK1.5, it doesn't work. Since the Axis engine
> doesn't appear to take advantage of any 1.5
> features, it doesn't buy you anything either. You
> can compile the nightly with 1.42 and then run it
> under JDK 1.5 (with Tomcat 5.5.x). That's one of my
> test environments and it works fine. That way, if
> you need JDK 1.5 features you can use them in your
> Axis clients. You need Axis 1.2RC2 to actually write
> services, however. Personally, the only advantage
> I've gotten out of JDK1.5 is the improved error
> messages at compile time and the improved stack
> trace printing.  -- Andy
> > >
> > > >>> [EMAIL PROTECTED] 12/13/04 11:17AM
> >>>
> > > I think people are missing his point. He's
> trying to build Axis from the
> > > source and it won't build under JDK 1.5 because
> of the differences. Isn't
> > > there some commandline parameter to compile
> using 1.4 compatibility. But
> > > that would lose any benefits that 1.5 gives.
> > >
> > > I guess there should be a branch of the apache
> projects for 1.5 vs 1.4 jdk.
> > > In all honesty, 1.5 deserves to be called 2.0
> it's that different!
> > >
> > > -----Original Message-----
> > > From: Bouche Paul
> [mailto:[EMAIL PROTECTED] 
> > > Sent: Monday, December 13, 2004 6:50 AM
> > > To: [EMAIL PROTECTED] 
> > > Subject: RE: Axis and Java 1.5
> > >
> > > Hi,
> > >
> > > > Upon further review, I discovered that the
> org.w3c.com.Node interface
> > > > has the new method "getUserData(String key)"
> in Java 1.5.  I'm sure
> > > > this is the reason for all the errors -
> interfaces not fully
> > > > implemented.
> > > I also got these errors when trying to build
> axis with Java 1.5. Yet this is
> > > not needed.
> > > The code that wsdl2java from Axis 1.2rc2
> generates is compatible with Java
> > > 1.5.
> > > So what you need to do is run the following with
> axis.jar in classpath
> > >
> > > java org.apache.axis.wsdl.WSDL2Java <wsdl.uri>
> <any other options>
> > >
> > > this will generate you all the needed classes to
> run axis as client against
> > > the service specified in the wsdl.
> > > This is what is meant by rebuilding or
> regenerating the files. You need to
> > > run wsdl2java with the wsdl again.
> > > Also if you are using ant you need to run the
> axis wsdl2java ant task
> > > appropriately (I don't know much about this
> since I don't use ant).
> > > >
> > > > There are 16 of these errors so I suppose I
> could go through each one
> > > > and add the missing methods.
> > > >
> > > > Now I am really wondering how it is that
> others have been able to
> > > > compile under 1.5?
> > > You should not have to rebuild axis under 1.5.
> Since has you can see that is
> > > a lot of work and some things in deeper
> underlying structures have changed
> > > to get it compiling again.
> > >
> > > Concering tomcat, at least in a windows
> environment, it somehow if you
> > > install java 1.5 after you installed tomcat
> under java 1.4 still gets a java
> > > 1.4 jvm even though you have installed java 1.5.
> So what I did was install a
> > > clean tomcat merge this with the old one and
> then I added the new axis
> > > 1.2rc2 web app into tomcat. All works now.
> > >
> > > -- Paul
> > >
> > > >
> > > > --- footh <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Thanks everyone for you help.
> > > > >
> > > > > Here's an update:  I confess I don't quite
> understand what
> > > > > "re-generating java files from the WSDL"
> means.
> > > see above.
> > > > >
> > > > > I'm guessing that means turning the axis
> services back into java
> > > > > source?  All I am trying to do is just use
> the ant file in the Axis
> > > > > install home and type "ant compile".
> > > > >
> > > > > So, I took Davanum's suggestion of changing
> all the references.  The
> > > > > problem is, the classes in the "constants"
> package are pretty much
> > > > > empty.  So, after doing a global
> find/replace, I just deleted the
> > > > > constants directory and renamed the enum
> directory to constants.
> > > > > (On a quick side note, there is also a file
> in the "tools" source
> > > > > that needs the reference change).  This
> again didn't build under 1.5
> > > > > but I got different errors.
> > > > >
> > > > > To make sure the changes I made were OK, I
> attempted a build under
> > > > > 1.4.2 and it worked fine.  Here is an
> example an error I'm getting
> > > > > under 1.5 (they are all
> > > > > similar):
> > > > >
> > > > > [javac]
> > > > >
> > > >
>
C:\axis\src\org\apache\axis\message\NodeImpl.java:45:
> > > > > org.apache.axis.message.NodeImpl is not
> abstract and does not
> > > > > override abstract method
> > > > > getUserData(java.lang.String) in
> org.w3c.dom.Node [javac] public
> > > > > class NodeImpl implements org.w3c.dom.Node,
> javax.xml.soap.Node,
> > > > > [javac]        ^
> > > > >
> > > > > This looks to me that the wrong base class
> > > > > (org.w3c.dom.Node) is being used in the
> inheritance chain.  Anyway,
> > > > > I am going to keep plugging away at it, but
> any advice would be
> > > > > appreciated.
> > > > >
> > > > > I know I should probably just go back to
> 1.4.2, but now it is
> > > > > becoming a pride thing.  After spending all
> this time, I must figure
> > > > > this out!!!
> > > > >
> > > > > -JF
> > > > >
> > > > > --- Davanum Srinivas <[EMAIL PROTECTED]>
> wrote:
> > > > >
> > > > > > or replace all references of
> > > > > org.apache.axis.enum.*
> > > > > > to
> > > > > > org.apache.axis.constants.*
> > > > > >
> > > > > > -- dims
> > > > > >
> > > > > >
> > > > > > On Fri, 10 Dec 2004 12:34:57 -0700, ANDREW
> MICONE
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > Re-gen your java classes from the WSDL
> (making
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to