Hi Herve, As Rene mentioned, ODE uses OpenJPA by default since a few months now. The only reasons it would start with Hibernate is if you have the environment properties specified by Rene declared or if the source tree you build from is outdated. What's the output of a 'svn info' ?
Cheers, Matthieu On 4/22/07, René Bos <[EMAIL PROTECTED]> wrote:
Are you sure you don't have something like set JAVA_OPTS=%JAVA_OPTS% - Dode.persistence=hibernate in the startup.bat of Tomcat or %JAVA_OPTS% - Dode.persistence=hibernate under the environment setting in your OS? René -----Original Message----- From: RV [mailto:[EMAIL PROTECTED] Sent: zaterdag 21 april 2007 16:59 To: ode-user@incubator.apache.org Subject: ODE Deployment I'am always getting the following error when I try to start the tomcat server with the ODE war file: ============================================================================ =========== DEBUG - ODEServer.init(112) | Loading properties WARN - ODEServer.init(123) | Config file D:\apache- tomcat-5.5.23\webapps\ode-axis2-war-2.0-SNAPSHOT\WEB-INF\conf\ode- axis2.properties not found, default values will be used. DEBUG - ODEServer.init(137) | Initializing transaction manager DEBUG - ODEServer.initTxMgr(374) | Initializing transaction manager using org.apache.ode.il.EmbeddedGeronimoFactory DEBUG - ODEServer.init(140) | Creating data source. DEBUG - ODEServer.init(143) | Starting DAO. INFO - ODEServer.initDAO(408) | Using DAO Connection Factory class org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl. ERROR - BpelDAOConnectionFactoryImpl.init(110) | Unable to detect Hibernate dialect! WARN - SettingsFactory.buildSettings(103) | Could not obtain connection metadata SQL Exception: Database 'D:\apache-tomcat-5.5.23\webapps\ode-axis2-war-2.0-SNAPSHOT\WEB-INF/hibdb' not found. at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ============================================================================ =========== I never changed my configuration files, so I can't understand why it keeps using hibernate instead of openJPA:/ When I execute the "mvn install" command I notice the following warning: ============================================================================ =========== [INFO] Building ODE :: Hibernate DAO Database Generator [INFO] task-segment: [clean, install] (...............) schemaexport: [mkdir] Created dir: C:\ODE\dao-hibernate-db\target log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. [INFO] Executed tasks [INFO] [antrun:run {execution: db}] [INFO] Executing tasks depset: tarball: dbload: derby-shutdown: ij version 10.1 ij> connect 'jdbc:derby:;shutdown=true'; ERROR XJ015: Derby system shutdown. ij> [sql] Executing file: C:\ODE\dao-hibernate-db\target\derby.sql [sql] 91 of 91 SQL statements executed successfully derby-shutdown: ij version 10.1 ij> connect 'jdbc:derby:;shutdown=true'; ERROR XJ015: Derby system shutdown. ij> [copy] Copying 7 files to C:\ODE\dao-hibernate-db\target\derby\hibdb [tar] Building tar: C:\ODE\dao-hibernate-db\target\tarball.tar (...) ============================================================================ =========== Do you think this can be related? Thanks for all