0 Replies Latest reply on Sep 14, 2015 5:16 AM by Pramod Kase

    Unable to build EntityManagerFactory in persitence.xml

    Pramod Kase Newbie

      i am running it on jboss 7.5

      my persistence.xml is :

       

       

      <?xml version="1.0" encoding="ISO-8859-1"?>

      <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_2_0.xsd"

              version="2.0">

       

          <persistence-unit name="CasPersistence" transaction-type="RESOURCE_LOCAL">

          

          <non-jta-data-source>java:/jboss/InformixDS</non-jta-data-source>

              <class>org.jasig.cas.services.RegisteredServiceImpl</class>

              <class>org.jasig.cas.ticket.TicketGrantingTicketImpl</class>

              <class>org.jasig.cas.ticket.ServiceTicketImpl</class>

              <properties>

                  <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>

                </properties>

             

          </persistence-unit>

         

      </persistence>