Hi All, Am getting the following exception, but when i restart my server. It works fine. This happens very frequently, Any solution si appreciated.
May 9, 2011 2:29:53 PM EDT> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@128d900 - spec-version: 'null'] Root cause of ServletException. org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate session for transaction; nested exception is java.lang.ClassCastException: weblogic.jdbc.common.internal.RmiDataSource cannot be cast to weblogic.rmi.extensions.server.RemoteWrapper at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:452) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:234) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:217) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) Truncated. see log file for complete stacktrace java.lang.ClassCastException: weblogic.jdbc.common.internal.RmiDataSource cannot be cast to weblogic.rmi.extensions.server.RemoteWrapper at weblogic.rmi.cluster.BasicReplicaHandler.refreshReplicaList(BasicReplicaHandler.java:513) at weblogic.rmi.cluster.BasicReplicaHandler.failOver(BasicReplicaHandler.java:206) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:264) at weblogic.jdbc.common.internal.RmiDataSource_1030_WLStub.getConnection(Unknown Source) at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:80) Truncated. see log file for complete stacktrace
|