java.lang.IllegalStateException

Unable to retrieve > EntityManagerFactory for unitName Geovia > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:138) > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.doTxRequiredCheck(EntityManagerWrapper.java:158) > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.doTransactionScopedTxCheck(EntityManagerWrapper.java:151) > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.persist(EntityManagerWrapper.java:281) > at > > com.dassault.geovia.common.AbstractRepository.create(AbstractRepository.java:38) > at > > com.dassault.geovia.common.AbstractRepository.create(AbstractRepository.java:21) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Solutions on the web20011

  • via db-derby-user by Myrna van Lunteren, 9 months ago
    Unable to retrieve > EntityManagerFactory for unitName Geovia > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:138) > at
  • Unable to retrieve EntityManagerFactory for unitName null at com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:132) at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:173) at com.sun.enterprise.container.common.impl.EntityManagerWrapper.getCriteriaBuilder(EntityManagerWrapper.java:895)
  • Unable to retrieve EntityManagerFactory for unitName Geovia
  • Stack trace

    • java.lang.IllegalStateException: Unable to retrieve > EntityManagerFactory for unitName Geovia > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.init(EntityManagerWrapper.java:138) > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.doTxRequiredCheck(EntityManagerWrapper.java:158) > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.doTransactionScopedTxCheck(EntityManagerWrapper.java:151) > at > > com.sun.enterprise.container.common.impl.EntityManagerWrapper.persist(EntityManagerWrapper.java:281) > at > > com.dassault.geovia.common.AbstractRepository.create(AbstractRepository.java:38) > at > > com.dassault.geovia.common.AbstractRepository.create(AbstractRepository.java:21) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:606)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago