Binary version of Roller 3.1
I'm getting the following error (this is from the JBoss server.log file) 2007-05-22 22:52:40,275 INFO [org.hibernate.cfg.SettingsFactory] Query language substitutions: {} 2007-05-22 22:52:40,275 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled 2007-05-22 22:52:40,275 INFO [org.hibernate.cfg.SettingsFactory] Query cache: disabled 2007-05-22 22:52:40,275 INFO [org.hibernate.cfg.SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider 2007-05-22 22:52:40,275 FATAL [org.apache.roller.business.hibernate.HibernateRollerImpl] Error initializing Hibernate java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590) at java.lang.Class.getConstructor0(Class.java:1762) at java.lang.Class.newInstance0(Class.java:276) at java.lang.Class.newInstance(Class.java:259) at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:346) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:220) I saw where someone else suggested changing from ehcache-1.1 to ehcache-1.2.x, and I tried that, with the same results. Could this have anything to do with Hibernate being part of JBoss? How about these settings in jbossweb-tomcat55.sar\META-INF\java-service.xml? <attribute name="Java2ClassLoadingCompliance">true</attribute> <attribute name="UseJBossWebLoader">false</attribute> <attribute name="FilteredPackages">javax.servlet,org.apache.commons.logging</attribute> Thanks in advance, Gary -- http://blog.photeus.com/ The penalty that good men pay for not being interested in politics is to be governed by men worse than themselves - Plato, philosopher (427-347 BCE) |
- Installation issue: Roller 3.1 on JBoss 4.0.4 Gary Kephart
