Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-1429

Fail to deploy com.liferay.content.targeting.analytics on Weblogic 12.2.1

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.1, 2.1.2
    • Fix Version/s: None
    • Component/s: Content Targeting
    • Labels:
    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Deploy Audience Targeting
      2. Start Weblogic

      Actual result:
      Error while deploying.

         [exec] Feb 01, 2018 4:02:54 AM com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener _log
           [exec] INFO: ServiceEvent REGISTERED {com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.content.targeting.analytics.service.AnalyticsEventLocalService}={origin.bundle.symbolic.name=com.liferay.content.targeting.analytics.service, service.id=4862, service.bundleid=545, service.scope=singleton}
           [exec] 04:02:54,183 ERROR [liferay/scheduler_dispatch-4][VerifySessionFactoryWrapper:116] Failed session factory verification
           [exec] java.lang.IllegalStateException: Wrong current transaction manager, current session factory classes metadata: {com.liferay.content.targeting.analytics.model.impl.AnalyticsEventImpl=SingleTableEntityPersister(com.liferay.content.targeting.analytics.model.impl.AnalyticsEventImpl), com.liferay.content.targeting.analytics.model.impl.AnalyticsReferrerImpl=SingleTableEntityPersister(com.liferay.content.targeting.analytics.model.impl.AnalyticsReferrerImpl)}, target session factory classes metadata: {com.liferay.content.targeting.analytics.model.impl.AnalyticsEventImpl=SingleTableEntityPersister(com.liferay.content.targeting.analytics.model.impl.AnalyticsEventImpl), com.liferay.content.targeting.analytics.model.impl.AnalyticsReferrerImpl=SingleTableEntityPersister(com.liferay.content.targeting.analytics.model.impl.AnalyticsReferrerImpl)}
           [exec] 	at com.liferay.portal.dao.orm.hibernate.VerifySessionFactoryWrapper._logFailure(VerifySessionFactoryWrapper.java:118)
           [exec] 	at com.liferay.portal.dao.orm.hibernate.VerifySessionFactoryWrapper._verify(VerifySessionFactoryWrapper.java:169)
           [exec] 	at com.liferay.portal.dao.orm.hibernate.VerifySessionFactoryWrapper.openSession(VerifySessionFactoryWrapper.java:93)
           [exec] 	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.openSession(BasePersistenceImpl.java:252)
           [exec] 	at com.liferay.content.targeting.analytics.service.persistence.impl.AnalyticsEventPersistenceImpl.findByC_LtD(AnalyticsEventPersistenceImpl.java:1324)
           [exec] 	at com.liferay.content.targeting.analytics.service.persistence.impl.AnalyticsEventPersistenceImpl.findByC_LtD(AnalyticsEventPersistenceImpl.java:1230)
           [exec] 	at com.liferay.content.targeting.analytics.service.persistence.impl.AnalyticsEventPersistenceImpl.findByC_LtD(AnalyticsEventPersistenceImpl.java:1190)
           [exec] 	at com.liferay.content.targeting.analytics.service.impl.AnalyticsEventLocalServiceImpl.deleteAnalyticsEvents(AnalyticsEventLocalServiceImpl.java:184)
           [exec] 	at com.liferay.content.targeting.analytics.service.impl.AnalyticsEventLocalServiceImpl$1.performAction(AnalyticsEventLocalServiceImpl.java:153)
           [exec] 	at com.liferay.content.targeting.analytics.service.impl.AnalyticsEventLocalServiceImpl$1.performAction(AnalyticsEventLocalServiceImpl.java:147)
           [exec] 	at com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery.performAction(DefaultActionableDynamicQuery.java:404)
           [exec] 	at com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery$1.call(DefaultActionableDynamicQuery.java:314)
           [exec] 	at com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery$1.call(DefaultActionableDynamicQuery.java:276)
           [exec] 	at com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery.doPerformActions(DefaultActionableDynamicQuery.java:334)
           [exec] 	at com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery.performActions(DefaultActionableDynamicQuery.java:85)
           [exec] 	at com.liferay.content.targeting.analytics.service.impl.AnalyticsEventLocalServiceImpl.checkAnalyticsEvents(AnalyticsEventLocalServiceImpl.java:158)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
           [exec] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
           [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:39)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.cache.thread.local.ThreadLocalCacheAdvice.invoke(ThreadLocalCacheAdvice.java:48)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
           [exec] 	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
           [exec] 	at com.sun.proxy.$Proxy667.checkAnalyticsEvents(Unknown Source)
           [exec] 	at com.liferay.content.targeting.analytics.internal.messaging.CheckEventsMessageListener.doReceive(CheckEventsMessageListener.java:67)
           [exec] 	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
           [exec] 	at com.liferay.portal.kernel.scheduler.messaging.SchedulerEventMessageListenerWrapper.receive(SchedulerEventMessageListenerWrapper.java:65)
           [exec] 	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
           [exec] 	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
           [exec] 	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
           [exec] 	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] Feb 01, 2018 4:02:54 AM com.liferay.portal.equinox.log.bridge.internal.PortalSynchronousLogListener _log
           [exec] INFO: ServiceEvent REGISTERED {com.liferay.content.targeting.analytics.service.AnalyticsEventService}={json.web.service.context.name=ct_analytics, origin.bundle.symbolic.name=com.liferay.content.targeting.analytics.service, json.web.service.context.path=AnalyticsEvent, service.id=4868, service.bundleid=545, service.scope=singleton}
      

      Expected result:
      No error.

        Attachments

          Activity

            People

            • Assignee:
              liferay-wcm Liferay WCM
              Reporter:
              lu.liu Lu Liu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: