Jonathan Albornoz [
https://community.jboss.org/people/betoflint] created the discussion
"Re: JDBC Driver class not found"
To view the discussion, visit:
https://community.jboss.org/message/788575#788575
--------------------------------------------------------------
UPDATE:
I resolve this problem, i add the oracle driver to my lib project but now i have the next
error. Any idea!
Exception in thread "main" javax.persistence.PersistenceException:
[PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
at com.sample.fefefefefe.main(fefefefefe.java:26)
Caused by: org.hibernate.HibernateException: Could not locate TransactionManager
at
org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:60)
at
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:367)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
... 4 more
Caused by: javax.naming.NameNotFoundException: unable to find a bound object at name
'java:/TransactionManager'
at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)
at javax.naming.InitialContext.lookup(Unknown Source)
at
org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:57)
... 8 more
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/788575#788575]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]