Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1395

LocalManagedConnectionFactory.isDriverLoadedForURL logs an insignificant error message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • JBossAS-4.0.0 Final
    • None
    • None

    Description

      The LocalManagedConnectionFactory.isDriverLoadedForURL method logs an insignificant error message. If you look on line 11 (below). I would log the exception and write a more significant message. At this point the driver has been successfully loaded. The acceptsURL method failure is more likely the cause of the problem.

      1> private boolean isDriverLoadedForURL(String url)
      2> {
      3> try
      4>

      { 5> driver = DriverManager.getDriver(url); 6> log.debug("Driver already registered for url: " + url); 7> return true; 8> }

      9> catch (Exception e)
      10>

      { 11> log.debug("Driver not yet registered for url: " + url); 12> return false; 13> }

      // end of try-catch
      14> }

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            cquezel Claude Quézel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified