deploy - Error querying database

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2011 09:03 AM
when deploying I get the follow error:
[deploy-bar] SCHWERWIEGEND: Error while closing command context
[deploy-bar] org.apache.ibatis.exceptions.PersistenceException:
[deploy-bar] ### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
[deploy-bar] ### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
[deploy-bar] ### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
Anybody an idea what could be the reason for that?
Thanks
Steffen
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2011 03:46 AM
How do you deploy?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2011 07:19 AM
Now I tried to deploy the bar-file in Activiti Probe and that works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2011 03:00 AM
Could you explain how exactly you are deploying?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2011 07:02 AM
As a result there occurs the error an BUILD FAILED but the bar is created an I could upload it with Activiti Probe. THis way it works, so it is not so fatal. But really mysterious.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2011 08:56 AM
I get the same error for activiti 5.1 and 5.2. When I start application on empty database with <property name="databaseSchemaUpdate" value="create-drop" /> schema is created and everything works ok, but if I restart application with <property name="databaseSchemaUpdate" value="true" /> I get the follow error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activitiUserServiceOsgi': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.activiti.engine.IdentityService com.beelaud.osgi.activiti.impl.UserServiceImpl.ident; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectProperty
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectProperty
and if I set <property name="databaseSchemaUpdate" value="false" /> I get:
SEVERE: Error while closing command context
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectDbSchemaVersion
Any idea ?
Bartek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2011 03:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2011 05:05 AM
### Error querying database. Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectTaskByQueryCriteria_mysql
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for selectTaskByQueryCriteria_mysql
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:77)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:69)
at org.activiti.engine.impl.db.DbSqlSession.selectList(DbSqlSession.java:154)
at org.activiti.engine.impl.db.DbTaskSession.findTasksByQueryCriteria(DbTaskSession.java:50)
at org.activiti.engine.impl.TaskQueryImpl.executeList(TaskQueryImpl.java:220)
at org.activiti.engine.impl.AbstractQuery.executeSingleResult(AbstractQuery.java:130)
at org.activiti.engine.impl.AbstractQuery.execute(AbstractQuery.java:113)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:22)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:37)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
at org.activiti.engine.impl.AbstractQuery.singleResult(AbstractQuery.java:87)
Maybe something wrong with bundles version or Import-Package/Export-Package?
reference:file:bundles/util/mybatis-3.0.4.jar@start,\
reference:file:bundles/util/drools-api-5.1.1.jar@start,\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2011 10:36 AM
Bartek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2011 03:46 PM
If I understand correctly, is there something wrong with the engine bundle's manifest we provide?
