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.
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.
*** This issue has been marked as a duplicate of 77232 ***