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

Deployer unaware of org.tranql.ql.QueryException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-M3
    • 1.0-M4
    • deployment, OpenEJB
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: