You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2008/10/08 09:13:52 UTC
[jira] Created: (CAMEL-967) Get Table not found error when running
the IBatisRouteTest on the slower box
Get Table not found error when running the IBatisRouteTest on the slower box
----------------------------------------------------------------------------
Key: CAMEL-967
URL: https://issues.apache.org/activemq/browse/CAMEL-967
Project: Apache Camel
Issue Type: Bug
Components: camel-ibatis
Reporter: Willem Jiang
Assignee: Willem Jiang
Fix For: 1.5.0
org.apache.camel.RuntimeCamelException: Failed to poll: Endpoint[ibatis:selectAllAccounts]. Reason: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in org/apache/camel/component/ibatis/Account.xml.
--- The error occurred while executing query.
--- Check the select * from ACCOUNT .
--- Check the SQL Statement (preparation failed).
--- Cause: java.sql.SQLException: Table not found in statement [ select * from ACCOUNT ]
at org.apache.camel.component.ibatis.IBatisPollingConsumer.receiveNoWait
(IBatisPollingConsumer.java:50)
at org.apache.camel.impl.DefaultScheduledPollConsumer.poll(DefaultScheduledPollConsumer.java:46)
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:66)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-967) Get Table not found error when running
the IBatisRouteTest on the slower box
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-967.
--------------------------------
Resolution: Fixed
> Get Table not found error when running the IBatisRouteTest on the slower box
> ----------------------------------------------------------------------------
>
> Key: CAMEL-967
> URL: https://issues.apache.org/activemq/browse/CAMEL-967
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ibatis
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.5.0
>
>
> org.apache.camel.RuntimeCamelException: Failed to poll: Endpoint[ibatis:selectAllAccounts]. Reason: com.ibatis.common.jdbc.exception.NestedSQLException:
> --- The error occurred in org/apache/camel/component/ibatis/Account.xml.
> --- The error occurred while executing query.
> --- Check the select * from ACCOUNT .
> --- Check the SQL Statement (preparation failed).
> --- Cause: java.sql.SQLException: Table not found in statement [ select * from ACCOUNT ]
> at org.apache.camel.component.ibatis.IBatisPollingConsumer.receiveNoWait
> (IBatisPollingConsumer.java:50)
> at org.apache.camel.impl.DefaultScheduledPollConsumer.poll(DefaultScheduledPollConsumer.java:46)
> at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:66)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-967) Get Table not found error when
running the IBatisRouteTest on the slower box
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46252#action_46252 ]
Claus Ibsen commented on CAMEL-967:
-----------------------------------
William see:
http://activemq.apache.org/camel/ibatis.html
Use a timer to delay. We are planning for a much better scheduling i camel 2.0 to move this responsibility out of each component but into a common feature that is much more flexible and supporting fluent builders.
See the camel-dev topic where we have a discussion about this.
> Get Table not found error when running the IBatisRouteTest on the slower box
> ----------------------------------------------------------------------------
>
> Key: CAMEL-967
> URL: https://issues.apache.org/activemq/browse/CAMEL-967
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ibatis
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.5.0
>
>
> org.apache.camel.RuntimeCamelException: Failed to poll: Endpoint[ibatis:selectAllAccounts]. Reason: com.ibatis.common.jdbc.exception.NestedSQLException:
> --- The error occurred in org/apache/camel/component/ibatis/Account.xml.
> --- The error occurred while executing query.
> --- Check the select * from ACCOUNT .
> --- Check the SQL Statement (preparation failed).
> --- Cause: java.sql.SQLException: Table not found in statement [ select * from ACCOUNT ]
> at org.apache.camel.component.ibatis.IBatisPollingConsumer.receiveNoWait
> (IBatisPollingConsumer.java:50)
> at org.apache.camel.impl.DefaultScheduledPollConsumer.poll(DefaultScheduledPollConsumer.java:46)
> at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:66)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-967) Get Table not found error when
running the IBatisRouteTest on the slower box
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46251#action_46251 ]
Willem Jiang commented on CAMEL-967:
------------------------------------
the polling Consumer should support delay parameter.
> Get Table not found error when running the IBatisRouteTest on the slower box
> ----------------------------------------------------------------------------
>
> Key: CAMEL-967
> URL: https://issues.apache.org/activemq/browse/CAMEL-967
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ibatis
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.5.0
>
>
> org.apache.camel.RuntimeCamelException: Failed to poll: Endpoint[ibatis:selectAllAccounts]. Reason: com.ibatis.common.jdbc.exception.NestedSQLException:
> --- The error occurred in org/apache/camel/component/ibatis/Account.xml.
> --- The error occurred while executing query.
> --- Check the select * from ACCOUNT .
> --- Check the SQL Statement (preparation failed).
> --- Cause: java.sql.SQLException: Table not found in statement [ select * from ACCOUNT ]
> at org.apache.camel.component.ibatis.IBatisPollingConsumer.receiveNoWait
> (IBatisPollingConsumer.java:50)
> at org.apache.camel.impl.DefaultScheduledPollConsumer.poll(DefaultScheduledPollConsumer.java:46)
> at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:66)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.