"jimmycallaghan" wrote : 
  | Also, unfortunately I ran into trouble right off the bat with JBoss5 CR1. 
I'm getting lots of nasty stack traces when I deploy the previously mentioned 
EAR files to JBoss5 CR1.
  | 
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: 
Failed to resolve schema nsURI= location=persistence
  | 
  | 

I too got the same error when i ported my sample app from Beta4 to CR1. XML 
parsing has become stricter in CR1. You probably had not specified the schema 
declaration in the persistence.xml. You will have to change the persistence.xml 
to:

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <persistence xmlns="http://java.sun.com/xml/ns/persistence";
  |    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  |    version="1.0">
  |    
  | 
  |     <persistence-unit name="blah...."> 
  |             <jta-data-source>blah...</jta-data-source> 
  |             
  |     </persistence-unit> 
  | </persistence>

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161733#4161733

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161733
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to