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

PortalHibernateConfiguration should configure javassist.util.proxy.ProxyFactory to fallback to PortalClassLoader

Details

    Description

      To create Hibernate Proxy,ProxyFactory needs portal classloader to access hibernate classes.

      Here is my replicate steps,
      1. Create BlobSamplePortlet in Liferay Developer Studio
      2. Copy service.xml to docroot/WEB-INF
      3. Build services using service.xml(attached), no error
      4. Right click build.xml and Run As -> Ant Build, no error
      5. Start liferay, deploy the BlobSamplePortlet, then get error

      Attachments

        1. error.log
          8 kB
        2. service.xml
          0.9 kB

        Issue Links

          Activity

            People

              mark.jin Mark Jin (Inactive)
              shuyang.zhou Shuyang Zhou
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  6.2.0 CE M3