com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for knowledge-base-portlet

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • starting thread using jboss5 thread pool
    via Stack Overflow by rich oates
    ,
  • Essentially, we're listening to the sessionDestroyed() event calling a Spring managed bean which uses Hibernate to write various recorded statistics to the database. This works fine w/o Terracotta. Just wanted to let you know. org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:599) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) at com.zdm.oneup.persistence.service.AuthManager$$EnhancerByCGLIB$$e6179ed3.updateUserNetworkStatusforLogout(<generated>) at com.zdm.oneup.myoneup.form.UserSessionBean.logout(UserSessionBean.java:618) at com.zdm.oneup.main.base.filter.SessionFilter.sessionDestroyed(SessionFilter.java:72) at com.terracotta.session.util.DefaultLifecycleEventMgr.fireSessionDestroyedEvent(DefaultLifecycleEventMgr.java:47) at com.terracotta.session.SessionData.invalidate(SessionData.java:115) at com.terracotta.session.SessionData.invalidateIfNecessary(SessionData.java:101) at com.terracotta.session.TerracottaSessionManager.expire(TerracottaSessionManager.java:424) at com.terracotta.session.TerracottaSessionManager.access$700(TerracottaSessionManager.java:31) at com.terracotta.session.TerracottaSessionManager$SessionInvalidator.evaluateSession(TerracottaSessionManager.java:560) at com.terracotta.session.TerracottaSessionManager$SessionInvalidator.invalidateSessions(TerracottaSessionManager.java:532) at com.terracotta.session.TerracottaSessionManager$SessionInvalidator.run(TerracottaSessionManager.java:499) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581) at org.hibernate.jdbc.BorrowedConnectionProxy.generateProxy(BorrowedConnectionProxy.java:67) at org.hibernate.jdbc.ConnectionManager.borrowConnection(ConnectionManager.java:163) at org.hibernate.jdbc.JDBCContext.borrowConnection(JDBCContext.java:111) at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:359) at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:510)
    via by Eric Ellis,
  • Essentially, we're listening to the sessionDestroyed() event calling a Spring managed bean which uses Hibernate to write various recorded statistics to the database. This works fine w/o Terracotta. Just wanted to let you know. org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:599) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) at com.zdm.oneup.persistence.service.AuthManager$$EnhancerByCGLIB$$e6179ed3.updateUserNetworkStatusforLogout(<generated>) at com.zdm.oneup.myoneup.form.UserSessionBean.logout(UserSessionBean.java:618) at com.zdm.oneup.main.base.filter.SessionFilter.sessionDestroyed(SessionFilter.java:72) at com.terracotta.session.util.DefaultLifecycleEventMgr.fireSessionDestroyedEvent(DefaultLifecycleEventMgr.java:47) at com.terracotta.session.SessionData.invalidate(SessionData.java:115) at com.terracotta.session.SessionData.invalidateIfNecessary(SessionData.java:101) at com.terracotta.session.TerracottaSessionManager.expire(TerracottaSessionManager.java:424) at com.terracotta.session.TerracottaSessionManager.access$700(TerracottaSessionManager.java:31) at com.terracotta.session.TerracottaSessionManager$SessionInvalidator.evaluateSession(TerracottaSessionManager.java:560) at com.terracotta.session.TerracottaSessionManager$SessionInvalidator.invalidateSessions(TerracottaSessionManager.java:532) at com.terracotta.session.TerracottaSessionManager$SessionInvalidator.run(TerracottaSessionManager.java:499) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581) at org.hibernate.jdbc.BorrowedConnectionProxy.generateProxy(BorrowedConnectionProxy.java:67) at org.hibernate.jdbc.ConnectionManager.borrowConnection(ConnectionManager.java:163) at org.hibernate.jdbc.JDBCContext.borrowConnection(JDBCContext.java:111) at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:359) at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:510)
    via by Eric Ellis,
    • com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for knowledge-base-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:54) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:170) Caused by: java.lang.IllegalArgumentException: interface org.hibernate.jdbc.ConnectionWrapper is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581) at org.hibernate.jdbc.BorrowedConnectionProxy.generateProxy(BorrowedConnectionProxy.java:91) at org.hibernate.jdbc.ConnectionManager.borrowConnection(ConnectionManager.java:186) at org.hibernate.jdbc.JDBCContext.borrowConnection(JDBCContext.java:134) at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:387)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    14 more bugmates