[ https://issues.apache.org/jira/browse/ARIES-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14630962#comment-14630962 ]
Christian Schneider commented on ARIES-1153: -------------------------------------------- This should be fixed in aries jpa 2. > EntityManagerFactoryManager: No Exception logging during EMF creation > --------------------------------------------------------------------- > > Key: ARIES-1153 > URL: https://issues.apache.org/jira/browse/ARIES-1153 > Project: Aries > Issue Type: Bug > Components: JPA > Affects Versions: jpa-container-context-1.0.1 > Reporter: Alexander Grzesik > Fix For: jpa-2.0.0 > > > In EntityManagerFactoryManager.createEntityManagerFactories the loop to > create the EntityManagerFactories is surrounded by try block, but there is no > catch and log of an exception that occurs during creating the > EntityManagerFactory. Any exception is silently catched and the EMF is not > created. There is no trace in the log what went wrong. Adding a catch with > log of an exception that occured here would be very helpfull to track > problems with persistence configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)