This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 87371 - Hibernate EhCacheProvider problem with glassfish
Summary: Hibernate EhCacheProvider problem with glassfish
Status: RESOLVED DUPLICATE of bug 77232
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 22:17 UTC by rbuss
Modified: 2006-11-03 04:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rbuss 2006-10-17 22:17:15 UTC
Environment: Enterprise Application on glassfish (v1 ur1 b14) using Hibernate (3.2) for Postgres 
I generated entity beans from database with session bean access and tried access with application 
client.
Everything worked fine. 
Afterwards i tried to access the entity beans via web application. i generated a persistence unit in web 
application with the same data source as created for ejb application. Then I was able to generate
'JSF Pages from Entity Classes' from the entity classes generated formerly in ejb project.
Fine so far. Verification kit did not find errors.
But when deploying the enterprise application glassfish logged the following error:

Attempt to restart an already started EhCacheProvider. Use sessionFactory.close()  between repeated 
calls to buildSessionFactory. Consider using net.sf.ehcache.hibernate.SingletonEhCacheProvider. Error 
from  ehcache was: Cannot parseConfiguration CacheManager. Attempt to create a new instance of 
CacheManager using the diskStorePath "/tmp" which is already used by an existing CacheManager. The 
source of the configuration was classpath.
Comment 1 Vince Kraemer 2006-11-03 04:47:49 UTC

*** This issue has been marked as a duplicate of 77232 ***