[
http://jira.codehaus.org/browse/XFIRE-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149062#action_149062
]
Gabor Lontay commented on XFIRE-821:
------------------------------------
I had exactly the same problem, but correct configuration of classloading
solved it.
During the deployment process, one can configure class loading. Just untick the
shared lib inheritance as described above, and (or if no parent) untick
webservice related shared libraries, like oracle.ws. ...., plus oracle.xml,
oracle.xml.security, and soap.
Probably not all of these need to be unchecked, but in my case and I guess in
most of yours, the uploaded war file supplies the necessary libraries, so
virtually none of these shared libs is needed.
> duplicate attribute 'xmlns:xsd' in <xsd:schema element under oc4j
> -----------------------------------------------------------------
>
> Key: XFIRE-821
> URL: http://jira.codehaus.org/browse/XFIRE-821
> Project: XFire
> Issue Type: Bug
> Affects Versions: 1.2.3
> Environment: xfire: 1.2.3
> oc4j - Oracle Containers for J2EE 10g (10.1.3.1)
> Tomcat - apache-tomcat-5.5.20
> Reporter: Michal Pavlasek
> Assignee: Dan Diephouse
>
> debugged using soap ui 1.6.
> using xfire: 1.2.3
> I have my application using xfire for web services and I found strange thing.
> Under Tomcat everything works fine and the same WAR under OC4J generates
> duplicate attribute 'xmlns:xsd' in <xsd:schema element.
> I had similar problem width Tomcat too but it was fixed in 1.2.1 or 1.2.2.
> error log message:
> Wed Jan 03 08:54:50 CET 2007:ERROR:Error importing wsdl:
> org.apache.xmlbeans.XmlException: error: duplicate attribute 'xmlns:xsd'
> oc4j - Oracle Containers for J2EE 10g (10.1.3.1)
> Wed Jan 03 08:54:50 CET 2007:DEBUG:<< "<xsd:schema
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://xxxx.axonpro.sk" elementFormDefault="qualified"
> attributeFormDefault="qualified"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">[\r][\n]"
> i have search-local-classes-first="true" in my deployment plan,
> <web-app-class-loader search-local-classes-first="true">
> I added xalan to my classpath to fix
> java.lang.ClassCastException: oracle.xml.jaxp.JXSAXTransformerFactory
> at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
> now it works widthout exception, but it generates duplicate attribute
> 'xmlns:xsd' in <xsd:schema element
> ---------------------
> Tomcat - apache-tomcat-5.5.20
> Wed Jan 03 09:29:58 CET 2007:DEBUG:<< "<xsd:schema
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified"
> elementFormDefault="qualified"
> targetNamespace="http://xxxx.axonpro.sk">[\r][\n]"
> everything works fine...
> ---------------------
> I'm really confused.
> thanx for any help
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email