I tried a few things, and I can't seem to et WebSphere 5.1.x to use the QName 
from the stax-api-1.0.1.jar.

Set Parent Last for the class loader.
Unjarred stax-api-1.0.1.jar into my WEB-INF/classes.
Copied stax-api-1.0.1.jar into the WebSphere lib dir.

None of that seemed to help.  Any ideas what I can do to get WebSphere to work?

Thanks in advance.



----- Original Message ----
From: Davanum Srinivas <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org; Jesse Vitrone <[EMAIL PROTECTED]>
Sent: Monday, September 18, 2006 9:53:45 AM
Subject: Re: [Axis2] jar conflicts

Please set the class loader mode to "Parent Last"

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/ctrb_classload_jcl_conf.html
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/crun_classload.html

-- dims

On 9/18/06, Jesse Vitrone <[EMAIL PROTECTED]> wrote:
> When I decompile the .class files, it looks like they're all fine, I think 
> I'm picking up an old QName from WebSphere :(
>
> Thanks anyway.
>
> Jesse
>
>
> ----- Original Message ----
> From: Davanum Srinivas <[EMAIL PROTECTED]>
> To: axis-user@ws.apache.org; Jesse Vitrone <[EMAIL PROTECTED]>
> Sent: Friday, September 15, 2006 3:12:53 PM
> Subject: Re: [Axis2] jar conflicts
>
> Please run javap to look at the signatures and let us know which jar
> has the bad QName.
>
> javap -classpath woden-SNAPSHOT.jar -public javax.xml.namespace.QName
>
> thanks,
> dims
>
> On 9/14/06, Jesse Vitrone <[EMAIL PROTECTED]> wrote:
> > I'm getting the following error when I run -
> >
> > java.lang.NoSuchMethodError: 
> > javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
> >         at 
> > com.starwood.valhalla.booking.BookingServiceStub$CreateBooking.<clinit>(BookingServiceStub.java:19569)
> >
> >
> > From what I see online, this happens when there are conflicts in the jars 
> > and it's loading the wrong javax.xml.namespace.QName .
> >
> > I looked in the jars in our app (a lot of them) and I see QName in all 
> > these jars:
> >     jaxrpc.jar
> >     jaxb-api.jar
> >     woden-SNAPSHOT.jar
> >     stax-api-1.0.1.jar
> >
> > If we use jaxb for other stuff in our app, does this mean I'm going to get 
> > screwed and not be able to use Axis2?
> >
> > Is there a way, even programatically, to for this instance of this class to 
> > use the right jar?
> >
> > Thanks in advance.
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to