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

Enabling authentication for Derby renders DB Viewer portlet unusable for all db's except SystemDatabase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1, 2.1.1, 2.1.3, 2.1.4, 2.2
    • 2.2
    • console
    • Security Level: public (Regular issues)
    • None
    • Win XP, G 2.1 Tomcat

    Description

      After enabling authentication for Derby, I am noticing that DB Viewer portlet is unable to work with any database other that SystemDatabase.

      listTables.jsp has the following code:

      <%-- Datasource --%>
      <c:if test="${ds == null}">
          <%-- Create the connection manually --%>
          <sql:setDataSource
            var="ds"
            driver="org.apache.derby.jdbc.EmbeddedDriver"
            url="jdbc:derby:${db};create=true"
            user=""
            password=""
          />
      </c:if>
      

      Attachments

        1. GERONIMO-3875.patch
          2 kB
          Vamsavardhana Reddy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vamsic Vamsavardhana Reddy
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: