Erro na tela:
Erro: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
Erro informado no log: "Catalina"
13/12/2010 11:43:57 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: The web application [/sgf] registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
13/12/2010 11:43:57 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/sgf] appears to have started a thread named [Scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
13/12/2010 11:43:57 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/sgf] appears to have started a thread named [Scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
13/12/2010 11:43:57 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/sgf] appears to have started a thread named [Scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
13/12/2010 11:43:57 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/sgf] appears to have started a thread named [Scheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.
Autor: Uenderson Ferrari
77 comentários
WEB-INF/lib/poi-3.5.jar
WEB-INF/lib/postgis.jar
WEB-INF/lib/postgresql-8.4-701.jdbc3.jar Vc pode ter mais de uma versão do driver jdbc no classpath. A melhor alternativa é verificar a existência de outro driver e removê-lo. Gilberto
Alias, seria interessante rever este manual de instalação pois tem algumas coisas erradas ou faltando no manual. Fiz o que você falou no pdadmin e resolveu. Coloquei a senha sgf no role sgf e ja abriu. Muito obrigado. Abraço!