Hi, I am new with EJB3 and I am having some problems in my SessionBean, when 
trying to use the EntityManager it throws a NullPointerException. 

I am using the Firebird driver, and the persistence.xml file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
  | <entity-manager>
  |     <name>sem</name>
  |     <jta-data-source>java:/FIrebirdDS</jta-data-source>
  |     <properties>
  |         <property name="hibernate.dialect"  
  |                   value="org.hibernate.dialect.FirebirdDialect" />
  |         <property name="hibernate.cache.provider_class"
  |                   value="org.jboss.ejb3.entity.TreeCacheProviderHook"/>
  |         <property name="hibernate.treecache.mbean.object_name"
  |                   value="jboss.cache:service=EJB3EntityTreeCache"/>
  |     </properties>
  | </entity-manager>
The JBoss log shows the following when running:

15:38:47,673 INFO  [Ejb3Deployment] Create EntityManager with JNDI name: sem

Any ideas about what could be wrong? Thanks!!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920105


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to