The XSD cannot be found in the classpath.
log wrote : 2008-03-27 15:36:04,375 TRACE
[org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main) Mapped
schemaLocation to filename: security-config_5_0.xsd
| 2008-03-27 15:36:04,375 TRACE
[org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver] (main) getInputSource,
nsURI=urn:jboss:security-config:5.0, baseURI=null,
schemaLocation=resource:schema/security-config_5_0.xsd
| 2008-03-27 15:36:04,375 TRACE [org.jboss.util.xml.JBossEntityResolver] (main)
resolvePublicID, publicId=urn:jboss:security-config:5.0
| 2008-03-27 15:36:04,375 TRACE [org.jboss.util.xml.JBossEntityResolver] (main) Found
entity from publicId=urn:jboss:security-config:5.0 fileName=security-config_5_0.xsd
| 2008-03-27 15:36:04,375 TRACE [org.jboss.util.xml.JBossEntityResolver] (main) Cannot
load publicId from classpath resource: security-config_5_0.xsd
The file is in the schema directory of the jboss-metadata.jar
Changing the schemaLocation in the XML to include "schema/" doesn't work. I
tried changing the mapping in the JBossEntityResolver to include the "schema/".
Didn't work.
log wrote : 2008-03-27 15:50:25,614 TRACE [org.jboss.util.xml.JBossEntityResolver] (main)
Found entity from publicId=urn:jboss:security-config:5.0
fileName=schema/security-config_5_0.xsd
| 2008-03-27 15:50:25,614 TRACE [org.jboss.util.xml.JBossEntityResolver] (main) Cannot
load publicId from classpath resource: schema/security-config_5_0.xsd
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139325#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...