Try to follow the following steps:

1. Do a 'svn up' on the repository, just making sure you really have the
latest things.
2. Go the your local Maven repository (usually somewhere in ~/.m2) and
remove the org/apache/ode directory.
3 Execute 'mvn clean'
4. Execute 'mvn install'

Good luck.

On 10/6/06, Ye Lu <[EMAIL PROTECTED]> wrote:

Hi Matthieu,

I have done what you suggested below, but I still get the same problem.
Is there any way I can manually update my current schema with the new one
and check to make sure that I have the correct schema?

Thanks.

Ye


On 10/5/06, Matthieu Riou <[EMAIL PROTECTED]> wrote:
>
> There's been a change in the schema and it seems that your build hasn't
> updated it. Try to clean and build the dao-hibernate-db-derby module
> separately and then rebuild everything.
>
> Matthieu
>
> On 10/5/06, Ye Lu <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I just updated the source code from svn and built ode.war from the new
> > source.  However, when I tried to deploy it in tomcat, I get a
> database
> > error and the ODE sever cannot be started.  I had no problems
> deploying
> > the
> > build from last week though.  The following is the stack trace I
> > got.  Does
> > anyone else have the same problem?
> >
> > Thanks.
> >
> > Ye
> >
> > ----------------
> >
> > DEBUG - ODEServer.init(124) | Hibernate started.
> > DEBUG - ODEServer.init (126) | Initializing BPEL server.
> > DEBUG - ODEServer.initBpelServer(425) | ODE initializing
> > ERROR - BpelServerImpl.findActive(240) | A database error prevented
> the
> > operatio
> > n from succeeding.
> > java.lang.RuntimeException: SQL Exception: Column 'THIS_.MLOCK' is
> either
> > not in
> > any table in the FROM list or appears within a join specification and
> is
> > outsid
> > e the scope of the join specification or appears in a HAVING clause
> and is
> > not i
> > n the GROUP BY list. If this is a CREATE or ALTER TABLE  statement
> then
> > 'THIS_.M
> > LOCK' is not a column in the target table.
> >         at
> > org.opentools.minerva.jdbc.PreparedStatementFactory.createObject
> > (Prep
> > aredStatementFactory.java:52)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.addObject
> > (LeastRec
> > entlyUsedCache.java:160)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.getObject
> > (LeastRec
> > entlyUsedCache.java:127)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.useObject
> > (LeastRec
> > entlyUsedCache.java:56)
> >         at
> org.opentools.minerva.jdbc.ConnectionInPool.prepareStatement
> > (Connecti
> > onInPool.java:312)
> >         at
> org.opentools.minerva.jdbc.ConnectionInPool.prepareStatement
> > (Connecti
> > onInPool.java:124)
> >         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement
> > (AbstractBatch
> > er.java:442)
> >         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement
> > (AbstractBatch
> > er.java:368)
> >         at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement
> > (AbstractBatc
> > her.java:105)
> >         at org.hibernate.loader.Loader.prepareQueryStatement(
> Loader.java
> > :1561)
> >         at org.hibernate.loader.Loader.doQuery(Loader.java:661)
> >         at
> > org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
> > ader.java:224)
> >         at org.hibernate.loader.Loader.doList(Loader.java:2145)
> >         at org.hibernate.loader.Loader.listIgnoreQueryCache (
> Loader.java
> > :2029)
> >         at org.hibernate.loader.Loader.list(Loader.java:2024)
> >         at org.hibernate.loader.criteria.CriteriaLoader.list(
> > CriteriaLoader.java
> > :94)
> >         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1552)
> >         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
> >         at
> org.apache.ode.daohib.bpel.BpelDAOConnectionImpl._processQuery
> > (BpelDA
> > OConnectionImpl.java:249)
> >         at
> org.apache.ode.daohib.bpel.BpelDAOConnectionImpl.processQuery
> > (BpelDAO
> > ConnectionImpl.java:159)
> >         at org.apache.ode.bpel.engine.BpelServerImpl$1.run (
> > BpelServerImpl.java:2
> > 30)
> >         at org.apache.ode.bpel.engine.BpelServerImpl$1.run(
> > BpelServerImpl.java:2
> > 29)
> >         at org.apache.ode.bpel.engine.BpelDatabase$1.call(
> > BpelDatabase.java
> > :76)
> >         at
> > org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.execTransact
> > ion(QuartzSchedulerImpl.java:216)
> >         at org.apache.ode.bpel.engine.BpelDatabase.exec (
> BpelDatabase.java
> > :74)
> >         at org.apache.ode.bpel.engine.BpelServerImpl.findActive(
> > BpelServerImpl.j
> > ava:228)
> >         at org.apache.ode.bpel.engine.BpelServerImpl.start(
> > BpelServerImpl.java:1
> > 42)
> >         at org.apache.ode.axis2.ODEServer.init(ODEServer.java:132)
> >         at org.apache.ode.axis2.hooks.ODEAxisServlet.init(
> > ODEAxisServlet.java:46
> > )
> >         at org.apache.catalina.core.StandardWrapper.loadServlet
> > (StandardWrapper.
> > java:1105)
> >         at org.apache.catalina.core.StandardWrapper.load(
> > StandardWrapper.java:93
> > 2)
> >         at org.apache.catalina.core.StandardContext.loadOnStartup
> > (StandardContex
> > t.java:3917)
> >         at org.apache.catalina.core.StandardContext.start(
> > StandardContext.java:4
> > 201)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal
> > (ContainerBase
> > .java:759)
> >         at org.apache.catalina.core.ContainerBase.addChild(
> > ContainerBase.java:73
> > 9)
> >         at org.apache.catalina.core.StandardHost.addChild(
> > StandardHost.java
> > :524)
> >
> >         at org.apache.catalina.startup.HostConfig.deployWAR(
> > HostConfig.java
> > :809)
> >
> >         at org.apache.catalina.startup.HostConfig.deployWARs(
> > HostConfig.java
> > :698
> > )
> >         at org.apache.catalina.startup.HostConfig.deployApps(
> > HostConfig.java
> > :472
> > )
> >         at org.apache.catalina.startup.HostConfig.start(
> HostConfig.java
> > :1122)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java
> > :310)
> >         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> > (Lifecycl
> > eSupport.java:119)
> >         at org.apache.catalina.core.ContainerBase.start(
> ContainerBase.java
> > :1021)
> >
> >         at org.apache.catalina.core.StandardHost.start(
> StandardHost.java
> > :718)
> >         at org.apache.catalina.core.ContainerBase.start(
> ContainerBase.java
> > :1013)
> >
> >         at org.apache.catalina.core.StandardEngine.start(
> > StandardEngine.java
> > :442
> > )
> >         at org.apache.catalina.core.StandardService.start(
> > StandardService.java:4
> > 50)
> >         at org.apache.catalina.core.StandardServer.start(
> > StandardServer.java
> > :709
> > )
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java
> :551)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke (Method.java:585)
> >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java
> :294)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java
> :432)
> > Caused by: SQL Exception: Column 'THIS_.MLOCK' is either not in any
> table
> > in
> > the
> > FROM list or appears within a join specification and is outside the
> scope
> > of th
> > e join specification or appears in a HAVING clause and is not in the
> GROUP
> > BY li
> > st. If this is a CREATE or ALTER TABLE  statement then 'THIS_.MLOCK'
> is
> > not
> > a co
> > lumn in the target table.
> >         at org.apache.derby.impl.jdbc.Util.generateCsSQLException
> (Unknown
> > Source
> > )
> >         at
> > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException
> > (Unknown Source)
> >         at
> > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Un
> > known Source)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.handleException
> > (Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.ConnectionChild.handleException
> > (Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement
> > .<init>(Unknown
> > Sour
> > ce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement20
> > .<init>(Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement30
> > .<init>(Unknown
> > So
> > urce)
> >         at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement
> > (Unknown
> > Sour
> > ce)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement
> > (Unknown
> > S
> > ource)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement
> > (Unknown
> > S
> > ource)
> >         at
> > org.opentools.minerva.jdbc.PreparedStatementFactory.createObject
> > (Prep
> > aredStatementFactory.java:50)
> >         ... 54 more
> > ERROR - ODEServer.init(135) | ODE BPEL Server failed to start.
> > org.apache.ode.bpel.iapi.BpelEngineException: A database error
> prevented
> > the
> > ope
> > ration from succeeding.
> >         at org.apache.ode.bpel.engine.BpelServerImpl.findActive(
> > BpelServerImpl.j
> > ava:241)
> >         at org.apache.ode.bpel.engine.BpelServerImpl.start (
> > BpelServerImpl.java:1
> > 42)
> >         at org.apache.ode.axis2.ODEServer.init(ODEServer.java:132)
> >         at org.apache.ode.axis2.hooks.ODEAxisServlet.init(
> > ODEAxisServlet.java:46
> > )
> >         at org.apache.catalina.core.StandardWrapper.loadServlet
> > (StandardWrapper.
> > java:1105)
> >         at org.apache.catalina.core.StandardWrapper.load(
> > StandardWrapper.java:93
> > 2)
> >         at org.apache.catalina.core.StandardContext.loadOnStartup
> > (StandardContex
> > t.java:3917)
> >         at org.apache.catalina.core.StandardContext.start(
> > StandardContext.java:4
> > 201)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal
> > (ContainerBase
> > .java:759)
> >         at org.apache.catalina.core.ContainerBase.addChild(
> > ContainerBase.java :73
> > 9)
> >         at org.apache.catalina.core.StandardHost.addChild(
> > StandardHost.java
> > :524)
> >
> >         at org.apache.catalina.startup.HostConfig.deployWAR(
> > HostConfig.java
> > :809)
> >
> >         at org.apache.catalina.startup.HostConfig.deployWARs(
> > HostConfig.java
> > :698
> > )
> >         at org.apache.catalina.startup.HostConfig.deployApps(
> > HostConfig.java
> > :472
> > )
> >         at org.apache.catalina.startup.HostConfig.start(
> HostConfig.java
> > :1122)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java
> > :310)
> >         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> > (Lifecycl
> > eSupport.java:119)
> >         at org.apache.catalina.core.ContainerBase.start(
> ContainerBase.java
> > :1021)
> >
> >         at org.apache.catalina.core.StandardHost.start(
> StandardHost.java
> > :718)
> >         at org.apache.catalina.core.ContainerBase.start(
> ContainerBase.java
> > :1013)
> >
> >         at org.apache.catalina.core.StandardEngine.start(
> > StandardEngine.java
> > :442
> > )
> >         at org.apache.catalina.core.StandardService.start(
> > StandardService.java:4
> > 50)
> >         at org.apache.catalina.core.StandardServer.start(
> > StandardServer.java
> > :709
> > )
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java
> :551)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native
> Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java
> :294)
> >         at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java
> :432)
> > Caused by: java.lang.RuntimeException: SQL Exception: Column
> 'THIS_.MLOCK'
> > is ei
> > ther not in any table in the FROM list or appears within a join
> > specification an
> > d is outside the scope of the join specification or appears in a
> HAVING
> > clause a
> > nd is not in the GROUP BY list. If this is a CREATE or ALTER TABLE
> > statement th
> > en 'THIS_.MLOCK' is not a column in the target table.
> >         at
> > org.opentools.minerva.jdbc.PreparedStatementFactory.createObject
> > (Prep
> > aredStatementFactory.java:52)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.addObject
> > (LeastRec
> > entlyUsedCache.java:160)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.getObject
> > (LeastRec
> > entlyUsedCache.java:127)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.useObject
> > (LeastRec
> > entlyUsedCache.java:56)
> >         at
> org.opentools.minerva.jdbc.ConnectionInPool.prepareStatement
> > (Connecti
> > onInPool.java:312)
> >         at
> org.opentools.minerva.jdbc.ConnectionInPool.prepareStatement
> > (Connecti
> > onInPool.java:124)
> >         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement
> > (AbstractBatch
> > er.java:442)
> >         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement
> > (AbstractBatch
> > er.java:368)
> >         at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement
> > (AbstractBatc
> > her.java:105)
> >         at org.hibernate.loader.Loader.prepareQueryStatement(
> Loader.java
> > :1561)
> >         at org.hibernate.loader.Loader.doQuery(Loader.java:661)
> >         at
> > org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
> > ader.java:224)
> >         at org.hibernate.loader.Loader.doList(Loader.java:2145)
> >         at org.hibernate.loader.Loader.listIgnoreQueryCache (
> Loader.java
> > :2029)
> >         at org.hibernate.loader.Loader.list(Loader.java:2024)
> >         at org.hibernate.loader.criteria.CriteriaLoader.list(
> > CriteriaLoader.java
> > :94)
> >         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1552)
> >         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
> >         at
> org.apache.ode.daohib.bpel.BpelDAOConnectionImpl._processQuery
> > (BpelDA
> > OConnectionImpl.java:249)
> >         at
> org.apache.ode.daohib.bpel.BpelDAOConnectionImpl.processQuery
> > (BpelDAO
> > ConnectionImpl.java:159)
> >         at org.apache.ode.bpel.engine.BpelServerImpl$1.run (
> > BpelServerImpl.java:2
> > 30)
> >         at org.apache.ode.bpel.engine.BpelServerImpl$1.run(
> > BpelServerImpl.java:2
> > 29)
> >         at org.apache.ode.bpel.engine.BpelDatabase$1.call(
> > BpelDatabase.java
> > :76)
> >         at
> > org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.execTransact
> > ion(QuartzSchedulerImpl.java:216)
> >         at org.apache.ode.bpel.engine.BpelDatabase.exec (
> BpelDatabase.java
> > :74)
> >         at org.apache.ode.bpel.engine.BpelServerImpl.findActive(
> > BpelServerImpl.j
> > ava:228)
> >         ... 29 more
> > Caused by: SQL Exception: Column 'THIS_.MLOCK' is either not in any
> table
> > in
> > the
> > FROM list or appears within a join specification and is outside the
> scope
> > of th
> > e join specification or appears in a HAVING clause and is not in the
> GROUP
> > BY li
> > st. If this is a CREATE or ALTER TABLE  statement then 'THIS_.MLOCK'
> is
> > not
> > a co
> > lumn in the target table.
> >         at org.apache.derby.impl.jdbc.Util.generateCsSQLException
> (Unknown
> > Source
> > )
> >         at
> > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException
> > (Unknown Source)
> >         at
> > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Un
> > known Source)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.handleException
> > (Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.ConnectionChild.handleException
> > (Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement
> > .<init>(Unknown
> > Sour
> > ce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement20
> > .<init>(Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement30
> > .<init>(Unknown
> > So
> > urce)
> >         at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement
> > (Unknown
> > Sour
> > ce)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement
> > (Unknown
> > S
> > ource)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement
> > (Unknown
> > S
> > ource)
> >         at
> > org.opentools.minerva.jdbc.PreparedStatementFactory.createObject
> > (Prep
> > aredStatementFactory.java:50)
> >         ... 54 more
> > ERROR - StandardContext.loadOnStartup(3919) | Servlet /ode threw
> load()
> > exceptio
> > n
> > org.apache.ode.bpel.iapi.BpelEngineException : A database error
> prevented
> > the
> > ope
> > ration from succeeding.
> >         at org.apache.ode.bpel.engine.BpelServerImpl.findActive(
> > BpelServerImpl.j
> > ava:241)
> >         at org.apache.ode.bpel.engine.BpelServerImpl.start (
> > BpelServerImpl.java:1
> > 42)
> >         at org.apache.ode.axis2.ODEServer.init(ODEServer.java:132)
> >         at org.apache.ode.axis2.hooks.ODEAxisServlet.init(
> > ODEAxisServlet.java:46
> > )
> >         at org.apache.catalina.core.StandardWrapper.loadServlet
> > (StandardWrapper.
> > java:1105)
> >         at org.apache.catalina.core.StandardWrapper.load(
> > StandardWrapper.java:93
> > 2)
> >         at org.apache.catalina.core.StandardContext.loadOnStartup
> > (StandardContex
> > t.java:3917)
> >         at org.apache.catalina.core.StandardContext.start(
> > StandardContext.java:4
> > 201)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal
> > (ContainerBase
> > .java:759)
> >         at org.apache.catalina.core.ContainerBase.addChild(
> > ContainerBase.java :73
> > 9)
> >         at org.apache.catalina.core.StandardHost.addChild(
> > StandardHost.java
> > :524)
> >
> >         at org.apache.catalina.startup.HostConfig.deployWAR(
> > HostConfig.java
> > :809)
> >
> >         at org.apache.catalina.startup.HostConfig.deployWARs(
> > HostConfig.java
> > :698
> > )
> >         at org.apache.catalina.startup.HostConfig.deployApps(
> > HostConfig.java
> > :472
> > )
> >         at org.apache.catalina.startup.HostConfig.start(
> HostConfig.java
> > :1122)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java
> > :310)
> >         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> > (Lifecycl
> > eSupport.java:119)
> >         at org.apache.catalina.core.ContainerBase.start(
> ContainerBase.java
> > :1021)
> >
> >         at org.apache.catalina.core.StandardHost.start(
> StandardHost.java
> > :718)
> >         at org.apache.catalina.core.ContainerBase.start(
> ContainerBase.java
> > :1013)
> >
> >         at org.apache.catalina.core.StandardEngine.start(
> > StandardEngine.java
> > :442
> > )
> >         at org.apache.catalina.core.StandardService.start(
> > StandardService.java:4
> > 50)
> >         at org.apache.catalina.core.StandardServer.start(
> > StandardServer.java
> > :709
> > )
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java
> :551)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native
> Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java
> :294)
> >         at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java
> :432)
> > Caused by: java.lang.RuntimeException: SQL Exception: Column
> 'THIS_.MLOCK'
> > is ei
> > ther not in any table in the FROM list or appears within a join
> > specification an
> > d is outside the scope of the join specification or appears in a
> HAVING
> > clause a
> > nd is not in the GROUP BY list. If this is a CREATE or ALTER TABLE
> > statement th
> > en 'THIS_.MLOCK' is not a column in the target table.
> >         at
> > org.opentools.minerva.jdbc.PreparedStatementFactory.createObject
> > (Prep
> > aredStatementFactory.java:52)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.addObject
> > (LeastRec
> > entlyUsedCache.java:160)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.getObject
> > (LeastRec
> > entlyUsedCache.java:127)
> >         at
> org.opentools.minerva.cache.LeastRecentlyUsedCache.useObject
> > (LeastRec
> > entlyUsedCache.java:56)
> >         at
> org.opentools.minerva.jdbc.ConnectionInPool.prepareStatement
> > (Connecti
> > onInPool.java:312)
> >         at
> org.opentools.minerva.jdbc.ConnectionInPool.prepareStatement
> > (Connecti
> > onInPool.java:124)
> >         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement
> > (AbstractBatch
> > er.java:442)
> >         at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement
> > (AbstractBatch
> > er.java:368)
> >         at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement
> > (AbstractBatc
> > her.java:105)
> >         at org.hibernate.loader.Loader.prepareQueryStatement(
> Loader.java
> > :1561)
> >         at org.hibernate.loader.Loader.doQuery(Loader.java:661)
> >         at
> > org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
> > ader.java:224)
> >         at org.hibernate.loader.Loader.doList(Loader.java:2145)
> >         at org.hibernate.loader.Loader.listIgnoreQueryCache (
> Loader.java
> > :2029)
> >         at org.hibernate.loader.Loader.list(Loader.java:2024)
> >         at org.hibernate.loader.criteria.CriteriaLoader.list(
> > CriteriaLoader.java
> > :94)
> >         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1552)
> >         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
> >         at
> org.apache.ode.daohib.bpel.BpelDAOConnectionImpl._processQuery
> > (BpelDA
> > OConnectionImpl.java:249)
> >         at
> org.apache.ode.daohib.bpel.BpelDAOConnectionImpl.processQuery
> > (BpelDAO
> > ConnectionImpl.java:159)
> >         at org.apache.ode.bpel.engine.BpelServerImpl$1.run (
> > BpelServerImpl.java:2
> > 30)
> >         at org.apache.ode.bpel.engine.BpelServerImpl$1.run(
> > BpelServerImpl.java:2
> > 29)
> >         at org.apache.ode.bpel.engine.BpelDatabase$1.call(
> > BpelDatabase.java
> > :76)
> >         at
> > org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.execTransact
> > ion(QuartzSchedulerImpl.java:216)
> >         at org.apache.ode.bpel.engine.BpelDatabase.exec (
> BpelDatabase.java
> > :74)
> >         at org.apache.ode.bpel.engine.BpelServerImpl.findActive(
> > BpelServerImpl.j
> > ava:228)
> >         ... 29 more
> > Caused by: SQL Exception: Column 'THIS_.MLOCK' is either not in any
> table
> > in
> > the
> > FROM list or appears within a join specification and is outside the
> scope
> > of th
> > e join specification or appears in a HAVING clause and is not in the
> GROUP
> > BY li
> > st. If this is a CREATE or ALTER TABLE  statement then 'THIS_.MLOCK'
> is
> > not
> > a co
> > lumn in the target table.
> >         at org.apache.derby.impl.jdbc.Util.generateCsSQLException
> (Unknown
> > Source
> > )
> >         at
> > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException
> > (Unknown Source)
> >         at
> > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Un
> > known Source)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.handleException
> > (Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.ConnectionChild.handleException
> > (Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement
> > .<init>(Unknown
> > Sour
> > ce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement20
> > .<init>(Unknown
> > So
> > urce)
> >         at org.apache.derby.impl.jdbc.EmbedPreparedStatement30
> > .<init>(Unknown
> > So
> > urce)
> >         at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement
> > (Unknown
> > Sour
> > ce)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement
> > (Unknown
> > S
> > ource)
> >         at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement
> > (Unknown
> > S
> > ource)
> >         at
> > org.opentools.minerva.jdbc.PreparedStatementFactory.createObject
> > (Prep
> > aredStatementFactory.java:50)
> >         ... 54 more
> > Oct 5, 2006 12:04:53 PM org.apache.coyote.http11.Http11BaseProtocolstart
> > INFO: Starting Coyote HTTP/1.1 on http-8080
> > Oct 5, 2006 12:04:54 PM org.apache.jk.common.ChannelSocket init
> > INFO: JK: ajp13 listening on /0.0.0.0:8009
> > Oct 5, 2006 12:04:54 PM org.apache.jk.server.JkMain start
> > INFO: Jk running ID=0 time=0/62  config=null
> > Oct 5, 2006 12:04:54 PM org.apache.catalina.storeconfig.StoreLoaderload
> > INFO: Find registry server-registry.xml at classpath resource
> > Oct 5, 2006 12:04:54 PM org.apache.catalina.startup.Catalina start
> > INFO: Server startup in 27016 ms
> >
> >
>
>

Reply via email to