Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-40287

Setup Wizard - when using DataSource wizard never finishes without hsql.jar

    Details

      Description

      When using datasource, portal setup wizard never finishes.
      When user clicks on the "Finish Configuration", nothing happens.

      In reality, server responses with the message

      {"message":"Database driver (org.hsqldb.jdbcDriver) is not present. Please install it on your application server."}
      

      Which will be inserted into the HTML code, but it wont be showed to the user.

      So I think, there are two issues here:

      • UI issue :
        UI does not show the error
      • wizard issue
        Wizard needs hsql.jar

      Steps to reproduce

      • Create mysql database named "tomcatds", which accessed by user root, without password.
      • Install tomcat bundle
      • delete hsql.jar from tomcat-VERSION\lib\ext
      • Write this into tomcat-VERSION\conf\catalina\localhost\ROOT.xml:
          <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
                       maxActive="100" maxIdle="30" maxWait="10000"
                       username="root" password="" driverClassName="com.mysql.jdbc.Driver"
                       url="jdbc:mysql://localhost:3306/tomcatds"/>
        
        
      • create portal-ext.properties:
        jdbc.default.jndi.name=jdbc/TestDB
        
      • start portal
      • try to finish Setup wizard

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 22 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE RC2