Forums

Home » Liferay Portal » English » Liferay Legacy »

Combination View Flat View Tree View
Threads [ Previous | Next ]
Suresh Don
How to change the DataSource/jndi Name (jdbc/LiferayPool}
May 31, 2007 12:20 AM
Answer

Suresh Don

Rank: New Member

Posts: 6

Join Date: May 29, 2007

Recent Posts

Hi

I configured the Portal setup to view the Portlets that I have created. I have configured the Liferay portlets with Tomcat. Now I want to make another setup within that Tomcat. So I copied the old setup and try to change the JNDI/DataSource Name (jdbc/LiferayPool) to new name (jdbc/LiferayPool1). At this point I am getting the following error in the Tomcat Console.

com.liferay.portal.struts.ActionException: com.liferay.portal.struts.ActionException: com.liferay.portal.SystemException: org.
springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.service.spring.ReleaseL
ocalServiceFactory' defined in class path resource [META-INF/portal-spring-professional.xml]: Cannot resolve reference to bean
'com.liferay.portal.service.spring.ReleaseLocalService.transaction' while setting bean property 'service'; nested exception i
s org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.service.spring.Re
leaseLocalService.transaction' defined in class path resource [META-INF/portal-spring-professional.xml]: Cannot resolve refere
nce to bean 'liferayTransactionManager' while setting bean property 'transactionManager'; nested exception is org.springframew
ork.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resou
rce [META-INF/counter-spring-professional.xml]: Cannot resolve reference to bean 'liferaySessionFactory' while setting bean pr
operty 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'liferaySessionFactory' defined in class path resource [META-INF/counter-spring-professional.xml]: Initialization of bea
n failed; nested exception is org.hibernate.HibernateException: Could not instantiate dialect class

Is anybody is aware of the above error. If it so Please get back to me.

Regards,
Suresh.A