Hi,
I am new to ObjectDB I was trying your eclipse/jee6/glassfish tutorial. I am getting the following exception:
[#|2012-04-09T00:00:52.999-0400|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-1;|java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName GuestbookPU at com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:121) at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:162) at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createQuery(EntityManagerWrapper.java:456) at guest.GuestDao.getAllGuests(GuestDao.java:27)
Can someone help me ? The only change I did to the code was add the unit name to the DAO class: (if I remove it then the exception thrown is the same with null for the Unit Name)
Thanks,
Allen