As The Crow Flies

Main | Tomcat 5.5.20 issue »
Tuesday Feb 06, 2007

Install complete!

After doing some testing of Roller on my local box, i finally moved the app over to my hosting provider. i also copied over mail.jar and activiation.jar to ~tomcat/common/lib and restarted the server. Things went pretty well. The only gotcha i found during testing was that i was already using Hibernate 3.2GA for some other projects and thought this version would work for Roller. It did not. So i went back and downloaded version 3.1.2. All the support files were the same, only the hibernate3.jar file needed replacing. Not sure why, i was more interested in moving on with the install, but i should have known. Anytime the documentation gets specific about a version, there is usually a reason. Here's the current config:

  • JDK 1.5.08
  • Tomcat 5.5.20
  • MySQL 5.0.27 using Connector/J 5.0.3
  • Roller 3.0-incubating

Oh yeah, one other thing i did was rather than create the roller.xml in ~tomcat/conf/Catalina/localhost dir, i created a context.xml in a new folder called META-INF at the same level as the WEB-INF under the roller webapp. And since i deployed roller under ~tomcat/webapps, i also removed the docBase attribute from the Context element.

If you are curious, the error i received while trying to use Hibernate 3.2 was:
FATAL 2007-02-06 13:03:42,547 HibernateRollerImpl: - Error initializing Hibernate
java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider
at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:124)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:183)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1218)
at org.apache.roller.business.hibernate.HibernatePersistenceStrategy.(HibernatePersistenceStrategy.java:65)
at org.apache.roller.business.hibernate.HibernateRollerImpl.(HibernateRollerImpl.java:70)
at org.apache.roller.business.hibernate.HibernateRollerImpl.instantiate(HibernateRollerImpl.java:85)

Comments:

Post a Comment:
  • HTML Syntax: Allowed