You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Barry Fitzgerald <ba...@gmail.com> on 2008/02/01 12:54:28 UTC

Re: CXF on WebLogic 9.2

Hello,

I've had a similar problem before and I think you can fix it with a
prefer-web-inf-classes
element in your weblogic.xml. See here:
http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html

To set this on a server wide basis see here:
http://e-docs.bea.com/wls/docs92/programming/classloading.html

Hope this helps,

Barry


On Jan 31, 2008 9:07 PM, Daniel Kulp <dk...@apache.org> wrote:

>
> FYI:  for 2.0.4, we specifically switched to the geronimo version as it
> does NOT have the QName class in it like the stax-api version that we
> used in 2.0.3 does.     Thus, the problem should be reduced.
>
> Dan
>
>
> On Thursday 31 January 2008, William Zhu wrote:
> > on CXF2.0.4, it's "geronimo-stax-api_1.0_spec-1.0.jar".
> >
> >
> >
> > chengas123 <be...@gmail.com> wrote:
> >
> > Haha. I would have realized that was the same .jar
> > The only one included in 2.0.4 is stax-utils-20060502.jar
> >
> > YI (William) ZHU wrote:
> > > actually, it's "stax-api-1.0.1.jar".
> > > (on CXF 2.0.2 and CXF 2.0.3)
> > >
> > >
> > >
> > > chengas123 wrote:
> > >
> > > I downloaded apache-cxf-2.0.4-incubator.tar.gz and could not find
> > > any file name stax-api.jar in the lib directory.
> > >
> > > YI (William) ZHU wrote:
> > >> stax-api jar file is in \{CXF-home}\lib
> > >>
> > >> unpackage it, you will find the javax.xml.namespace.QName class.
> > >>
> > >> delete it, and re-package the file.
> > >>
> > >> try it.
>
>
>
> --
> J. Daniel Kulp
> Principal Engineer, IONA
> dkulp@apache.org
> http://www.dankulp.com/blog
>

Re: CXF on WebLogic 9.2

Posted by chengas123 <be...@gmail.com>.
Thanks for your suggestions.  I tracked down the problem and it turns out
that geronimo-ws-metadeta_2.0_spec-1.1.1.jar was being put on the WebLogic
classpath twice, which was causing the error.  

Thanks again,
Ben



dkulp wrote:
> 
> 
> It may be the xml-apis.jar.   I'm not sure why we have it in lib.  It 
> shouldn't be needed.   I'll try excluding it and seeing if things still 
> build.
> 
> Dan
> 
> 
> On Thursday 07 February 2008, chengas123 wrote:
>> Hi,
>> I'm afraid I'm getting the QName issue again.  I have no idea as to
>> what was different in the very short span of time I was not getting
>> the error.  I do have the prefer-web-inf-classes set in my
>> weblogic.xml file and I am using 2.0.4.  Any other ideas on how I
>> could track down the source of the issues?
>>
>> Thanks,
>> Ben
>>
>> Barry Fitzgerald wrote:
>> > Hello,
>> >
>> > I've had a similar problem before and I think you can fix it with a
>> > prefer-web-inf-classes
>> > element in your weblogic.xml. See here:
>> > http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html
>> >
>> > To set this on a server wide basis see here:
>> > http://e-docs.bea.com/wls/docs92/programming/classloading.html
>> >
>> > Hope this helps,
>> >
>> > Barry
>>
>> Daniel Kulp wrote:
>> > On Jan 31, 2008 9:07 PM, Daniel Kulp <dk...@apache.org> wrote:
>> >> FYI:  for 2.0.4, we specifically switched to the geronimo version
>> >> as it does NOT have the QName class in it like the stax-api version
>> >> that we used in 2.0.3 does.     Thus, the problem should be
>> >> reduced.
>> >>
>> >> Dan
> 
> 
> 
> -- 
> J. Daniel Kulp
> Principal Engineer, IONA
> dkulp@apache.org
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: http://www.nabble.com/CXF-on-WebLogic-9.2-tp15193763p15362446.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: CXF on WebLogic 9.2

Posted by Daniel Kulp <dk...@apache.org>.
It may be the xml-apis.jar.   I'm not sure why we have it in lib.  It 
shouldn't be needed.   I'll try excluding it and seeing if things still 
build.

Dan


On Thursday 07 February 2008, chengas123 wrote:
> Hi,
> I'm afraid I'm getting the QName issue again.  I have no idea as to
> what was different in the very short span of time I was not getting
> the error.  I do have the prefer-web-inf-classes set in my
> weblogic.xml file and I am using 2.0.4.  Any other ideas on how I
> could track down the source of the issues?
>
> Thanks,
> Ben
>
> Barry Fitzgerald wrote:
> > Hello,
> >
> > I've had a similar problem before and I think you can fix it with a
> > prefer-web-inf-classes
> > element in your weblogic.xml. See here:
> > http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html
> >
> > To set this on a server wide basis see here:
> > http://e-docs.bea.com/wls/docs92/programming/classloading.html
> >
> > Hope this helps,
> >
> > Barry
>
> Daniel Kulp wrote:
> > On Jan 31, 2008 9:07 PM, Daniel Kulp <dk...@apache.org> wrote:
> >> FYI:  for 2.0.4, we specifically switched to the geronimo version
> >> as it does NOT have the QName class in it like the stax-api version
> >> that we used in 2.0.3 does.     Thus, the problem should be
> >> reduced.
> >>
> >> Dan



-- 
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog

Re: CXF on WebLogic 9.2

Posted by chengas123 <be...@gmail.com>.
Hi,
I'm afraid I'm getting the QName issue again.  I have no idea as to what was
different in the very short span of time I was not getting the error.  I do
have the prefer-web-inf-classes set in my weblogic.xml file and I am using
2.0.4.  Any other ideas on how I could track down the source of the issues?

Thanks,
Ben



Barry Fitzgerald wrote:
> 
> Hello,
> 
> I've had a similar problem before and I think you can fix it with a
> prefer-web-inf-classes
> element in your weblogic.xml. See here:
> http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html
> 
> To set this on a server wide basis see here:
> http://e-docs.bea.com/wls/docs92/programming/classloading.html
> 
> Hope this helps,
> 
> Barry
> 


Daniel Kulp wrote:
> 
> 
> 
> On Jan 31, 2008 9:07 PM, Daniel Kulp <dk...@apache.org> wrote:
> 
>>
>> FYI:  for 2.0.4, we specifically switched to the geronimo version as it
>> does NOT have the QName class in it like the stax-api version that we
>> used in 2.0.3 does.     Thus, the problem should be reduced.
>>
>> Dan
> 
> 

-- 
View this message in context: http://www.nabble.com/CXF-on-WebLogic-9.2-tp15193763p15344877.html
Sent from the cxf-user mailing list archive at Nabble.com.