If you encounter the following error when deploying under JBoss AS6:
“Failed to resolve schema nsURI= location=persistence”
The chances are that you are missing the name-space for the persistence.xml file. So examine your persistence.xml file and replace the
<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">
And this should help you get rid of the above error.
cheers.
