geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jithesh <pm_jith...@yahoo.com>
Subject deploying in Geronimo 2.0
Date Thu, 24 Jan 2008 09:52:38 GMT

Hi,

       Thanks for all ur supports...
 I developed a web application using appfuse 1.9.4 which is deployed on
geronimo 1.1. Recently i planned to upgrade the server to geronimo 2.0. But
while deploying i am getting some errors. 

The following are the errors displayed on the log file. 

 14:52:30,093 INFO  [Configuration] processing foreign key constraints
14:52:30,421 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'securelistener' defined in ServletContext resource
[/WEB-INF/applicationContext-service.xml]: Can't resolve reference to bean
'userDAO' while setting property 'user'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'userDAO' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Can't resolve reference to bean
'sessionFactory' while setting property 'sessionFactory'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed;
nested exception is java.lang.ClassCastException: java.util.HashSet
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'userDAO' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Can't resolve reference to bean
'sessionFactory' while setting property 'sessionFactory'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed;
nested exception is java.lang.ClassCastException: java.util.HashSet
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed;
nested exception is java.lang.ClassCastException: java.util.HashSet
java.lang.ClassCastException: java.util.HashSet
	at
org.hibernate.util.PropertiesHelper.resolvePlaceHolders(PropertiesHelper.java:88)
	at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1151)
	at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)
	at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAuto


----------------------------------------


Can some one helps me out to resolve this issue.
Thanks and regards,
jithesh PM

-- 
View this message in context: http://www.nabble.com/deploying-in-Geronimo-2.0-tp15061695s134p15061695.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message