glassfish
  1. glassfish
  2. GLASSFISH-19451

Allow JDBC driver to be loaded from application archive

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jdbc
    • Labels:
      None

      Description

      As one of the few application servers, GlassFish does not allow a JDBC driver to be loaded from a .war or .ear (see http://henk53.wordpress.com/2012/06/30/the-state-of-datasourcedefinition-in-java-ee). Instead, the driver is required to be stored inside the GlassFish installation directory.

      Especially for applications that use an embedded database and an application scoped datasource (specifically those using @DataSourceDefinition), this is not convenient. Those applications can be coded to be almost portable, with the exception that for GlassFish a jar (the JDBC driver) has to be copied from the archive to the AS installation directory.

      I would like to ask for the ability to load said JDBC driver directly from an application archive such as .war and .ear.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Shalini
            Reporter:
            arjan tijms
          • Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: