Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2440

Exceptions due to missing non-supported connection and cache providers are not meaningful

    Details

    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      When a cache provider could not be found, a <errorname>NoClassDefFoundError</errorname>
              was thrown with the message: <literal>net/sf/ehcache/CacheException</literal>. When a connection provider could not be found, a
            <errorname>HibernateException</errorname> was thrown with the following
            message: <errortext>Could not instantiate connection provider: &quot; + providerClass</errortext>

      More informative messages are now thrown when these errors occur.
      Show
      When a cache provider could not be found, a <errorname>NoClassDefFoundError</errorname>         was thrown with the message: <literal>net/sf/ehcache/CacheException</literal>. When a connection provider could not be found, a       <errorname>HibernateException</errorname> was thrown with the following       message: <errortext>Could not instantiate connection provider: &quot; + providerClass</errortext> More informative messages are now thrown when these errors occur.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      ASSIGNED

      Description

      When a cache provider is not found, NoClassDefFoundError is thrown with the message:
      net/sf/ehcache/CacheException

      When a connection provider is not found, HibernateException is thrown with the message:
      Could not instantiate connection provider: " + providerClass

      In both cases a more meaningful exception should be thrown.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                stliu Strong Liu
                Reporter:
                gbadner Gail Badner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: