[
http://jira.codehaus.org/browse/XFIRE-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_91095
]
Carlus Henry commented on XFIRE-821:
------------------------------------
Kevan,
I encountered the exact same error and beat my head up against the wall for a
long time, until I figured out what the problem was.
On Oracle 10g, when deploying an application, there is a part of the deployment
where you can configure the deployment plan. The last option is "Configure
Class Loading". If you click on the "Go to Task" option, it will bring you to
another screen that starts off with a checkbox. This checkbox is for "Inherit
parent application's shared library imports". You have to uncheck this box.
It is checked by default.
After that, deploy the application as you would normally. This fixed my error,
and I hope that it fixes yours as well....
> 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
> Assigned To: 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