You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (Commented) (JIRA)" <ji...@apache.org> on 2011/12/21 10:19:30 UTC

[jira] [Commented] (GERONIMO-6185) SchemaFactory.newInstance() fails on IBM JDK

    [ https://issues.apache.org/jira/browse/GERONIMO-6185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173964#comment-13173964 ] 

Forrest Xia commented on GERONIMO-6185:
---------------------------------------

Hi Jarek, any more potential issues you may expect?

Since you gave the workaround, can we think this jira is resolved?

Thanks!
Forrest
                
> SchemaFactory.newInstance() fails on IBM JDK
> --------------------------------------------
>
>                 Key: GERONIMO-6185
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6185
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 3.0
>            Reporter: Jarek Gawor
>
> On IBM JDK call to SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI) will fail with the following exception if the TCCL is set to some other classloader besides the system classloader (e.g. in calling this function in a web or wab application):
> java.lang.IllegalArgumentException: Provider org.apache.xerces.jaxp.validation.XMLSchemaFactory not found
> 	at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira