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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.1.1, 2.1.3, 2.1.4, 2.2
    • Fix Version/s: 2.2
    • Component/s: console
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: