Why the bundles reinstall needed after query syntax error ?

Solution Unverified - Updated -

Issue

  • We are having an issue when a bundle stops working for whatever reason and keeps giving the following message in the logs:
Failed to execute query "select * from USER where USERNAME = ?". Check the query syntax for correctness. See nested exception for details.

OR

DEBUG (qtp1704258817-201298 - /services/test/subscriber/profile/v1) [org.apache.camel.processor.Pipeline]  test-subscriber:get-user-profile-request-handler-route Message exchange has failed: so breaking out of pipeline for exchange: Exchange[Message: <ws:fault xmlns:ws="http://www.example.com/service/example/v1" xmlns:testcm="http://www.example.com/services/common/messaging/v1"><testcm:code><testcm:value>11111</testcm:value></testcm:code><testcm:message>Failed to execute query "select * from USER where USERNAME = ?". Check the query syntax for correctness. See nested exception for details.</testcm:message><testcm:role>SERVER</testcm:role><testcm:description>Failed to execute query "select * from USER where USERNAME = ?". Check the query syntax for correctness. See nested exception for details.</testcm:description></ws:fault>] Handled by the error handler.
  • A reinstall of the bundle works fine. Is this a known issue of some sort with OpenJPA ?

Environment

  • Red Hat JBoss Fuse
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.