> From: [EMAIL PROTECTED]
> Date: Thu, 12 Jul 2007 13:38:41 -0700
> 
> "Incompatible argument to method" sounds like you have the wrong version of
> Hibernate somewhere. From just that little tidbit of information, I would
> say that you either:
> 
> a) Downloaded and installed the wrong version of Hibernate, or
> b) Have another, incompatible, version of hibernate somewhere on the server
> for some other purpose that the classloader is finding before it finds
> yours. (look in ${server_home}/lib or ${server_home}/lib/ext)
> 
> Did you download Hibernate yourself from their site, or did you get it from
> the Roller support site on java.net?

java.net.  Not sure it's Hibernate that's the problem, though, as the line 
that's throwing the exception is

                strategy = new HibernatePersistenceStrategy(
                    RollerConfig.getProperty("hibernate.configResource"),
                    RollerConfig.getProperty("hibernate.dialect"));

which of course is 
org.apache.roller.business.hibernate.HibernatePersistenceStrategy - not a 
Hibernate class nor even a subclass of one...

For the sake of thoroughness, though, I've run a "jar tvf *.jar | grep 
hibernate" in $WAS_HOME/lib, $WAS_HOME/java/jre/lib and 
$WAS_HOME/java/jre/lib/ext ($WAS_HOME/lib/ext is empty) but drew a blank in all 
cases.

Some further info - I tried deploying the same .war file into Tomcat, and it 
appears to start up fine.


Andrew.

_________________________________________________________________
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk/index.html

Reply via email to