Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-581

Deployer unaware of org.tranql.ql.QueryException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M3
    • Fix Version/s: 1.0-M4
    • Component/s: deployment, OpenEJB
    • Labels:
      None

      Description

      When an EJB deployment throws a TranQL QueryException, the deployer just gets a big stack trace for a ClassNotFoundException, concealing the actual exception. We usually put exceptions of this nature in Geronimo/Common. It looks like in this case we wrap the TranQL exception in a Geronimo DeploymentException before throwing it, but the Geronimo exception uses the TranQL exception as a chained exception (enough to cause the CNFE) and does not itself contain the error message. So the DeploymentException should have no chained exception, and should itself contain the error message.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gianny Gianny Damour
                Reporter:
                ammulder Aaron Mulder
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: