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

Upgrades on Sybase from 5.1.2 to 6.0.11 are throwing exceptions on loading the portal

    Details

    • Branch Version/s:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      Steps to reproduce:
      1. Configure 5.1.2 portal to connect to sybase
      2. Some specific properties that were set in portal-ext.properties for 5.1.2:

      permissions.user.check.algorithm=5

      dl.hook.impl=com.liferay.documentlibrary.util.FileSystemHook

      hibernate.dialect=org.hibernate.dialect.SybaseDialect

      custom.sql.function.isnull=ISNULL(?, '1') = '1'
      custom.sql.function.isnotnull=ISNULL(?, '1') = '0'

      3. Start portal
      4. Log into portal, add a blog portlet to the welcome page
      5. Add an entry to the blog portlet
      6. Shut down 5.1.2
      7. Configure 6.0.11 to connect to sybase
      8. Properties used in portal-ext.properties for 6.0.11:

      jdbc.default.driverClassName=net.sourceforge.jtds.jdbc.Driver
      jdbc.default.url=jdbc:jtds:sybase://192.168.95.242:5000/lportal
      jdbc.default.username=sa
      jdbc.default.password=

      hibernate.dialect=org.hibernate.dialect.SybaseDialect

      custom.sql.function.isnull=CONVERT(VARCHAR,?) IS NULL
      custom.sql.function.isnotnull=CONVERT(VARCHAR,?) IS NOT NULL

      resource.repositories.root=${user.home}/liferay

      theme.portlet.sharing.default=true

      organizations.country.required[regular]=true
      organizations.assignment.auto=true
      organizations.assignment.strict=false
      organizations.membership.strict=true

      lucene.dir=${resource.repositories.root}/lucene/

      jcr.jackrabbit.repository.root=${resource.repositories.root}/jackrabbit

      discussion.thread.view=combination

      dl.hook.impl=com.liferay.documentlibrary.util.JCRHook

      dl.hook.file.system.root.dir=${resource.repositories.root}/document_library

      9. On startup the upgrade completes fine, however once you load the first page exceptions will be thrown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                douglas.wong Douglas Wong
                Reporter:
                jr.houn JR Houn
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 43 weeks, 5 days ago

                  Packages

                  Version Package
                  --Sprint - SP
                  6.0.6 GA
                  6.1.0 CE RC1