Hi, I was recently upgraded my websphere application server from 1.1 to 2.0. But while deploying i am getting the following error. I am using appfuse 1.9.4 for my web application. the log information is given below.
-------------------------------------------------------server.log 12:14:29,531 INFO [Log4jService] Build = 2.0.0.1-200711082042 12:14:29,546 INFO [JvmVendor] Sun JVM detected from Sun Microsystems Inc. 12:14:29,546 INFO [Log4jService] JVM in use = Sun Microsystems Inc. Java 1.5.0_07 12:14:29,546 INFO [Log4jService] Java Information: 12:14:29,546 INFO [Log4jService] System property [java.runtime.name] = Java(TM) 2 Runtime Environment, Standard Edition 12:14:29,546 INFO [Log4jService] System property [java.runtime.version] = 1.5.0_07-b03 12:14:29,546 INFO [Log4jService] System property [os.name] = Windows XP 12:14:29,546 INFO [Log4jService] System property [os.version] = 5.1 12:14:29,546 INFO [Log4jService] System property [sun.os.patch.level] = Service Pack 2 12:14:29,546 INFO [Log4jService] System property [os.arch] = x86 12:14:29,546 INFO [Log4jService] System property [java.class.version] = 49.0 12:14:29,546 INFO [Log4jService] System property [locale] = en_US 12:14:29,546 INFO [Log4jService] System property [unicode.encoding] = UnicodeLittle 12:14:29,546 INFO [Log4jService] System property [file.encoding] = Cp1252 12:14:29,546 INFO [Log4jService] System property [java.vm.name] = Java HotSpot(TM) Client VM 12:14:29,546 INFO [Log4jService] System property [java.vm.vendor] = Sun Microsystems Inc. 12:14:29,546 INFO [Log4jService] System property [java.vm.version] = 1.5.0_07-b03 12:14:29,546 INFO [Log4jService] System property [java.vm.info] = mixed mode 12:14:29,546 INFO [Log4jService] System property [java.home] = C:\Program Files\Java\jdk1.5.0_07\jre 12:14:29,546 INFO [Log4jService] System property [java.classpath] = null 12:14:29,546 INFO [Log4jService] System property [java.library.path] = C:\Program Files\Java\jdk1.5.0_07\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.5.0_07\bin;C:\TOOLS_HOME\Tomcat 5.0\bin;C:\TOOLS_HOME\Tomcat 5.0\lib;C:\TOOLS_HOME\apache-ant-1.6.5\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL 12:14:29,546 INFO [Log4jService] System property [java.endorsed.dirs] = D:\Program Files\IBM\WebSphere\AppServerCommunityEdition\lib\endorsed;C:\Program Files\Java\jdk1.5.0_07\jre\lib\endorsed 12:14:29,546 INFO [Log4jService] System property [java.ext.dirs] = D:\Program Files\IBM\WebSphere\AppServerCommunityEdition\lib\ext;C:\Program Files\Java\jdk1.5.0_07\jre\lib\ext 12:14:29,546 INFO [Log4jService] System property [sun.boot.class.path] = D:\Program Files\IBM\WebSphere\AppServerCommunityEdition\lib\endorsed\yoko-rmi-spec-1.0-incubating-r557035.jar;D:\Program Files\IBM\WebSphere\AppServerCommunityEdition\lib\endorsed\yoko-spec-corba-1.0-incubating-r557035.jar;C:\Program Files\Java\jdk1.5.0_07\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_07\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_07\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_07\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_07\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_07\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_07\jre\classes 12:14:29,546 INFO [Log4jService] ---------------------------------------------- 12:14:31,515 INFO [SystemProperties] Setting Property=java.net.preferIPv4Stack to Value=true 12:14:31,515 INFO [SystemProperties] Setting Property=javax.xml.soap.MessageFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoMessageFactory 12:14:31,515 INFO [SystemProperties] Setting Property=org.apache.cxf.jaxws.checkPublishEndpointPermission to Value=true 12:14:31,515 INFO [SystemProperties] Setting Property=javax.xml.soap.SOAPConnectionFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPConnectionFactory 12:14:31,515 INFO [SystemProperties] Setting Property=javax.xml.soap.SOAPFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPFactory 12:14:31,515 INFO [SystemProperties] Setting Property=javax.xml.soap.MetaFactory to Value=org.apache.geronimo.webservices.saaj.GeronimoMetaFactory 12:14:31,515 INFO [SystemProperties] Setting Property=java.security.Provider to Value=SUN 12:14:43,328 INFO [config] Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container) 12:14:43,468 INFO [config] Configuring Service(id=Default Stateful Container, type=Container, provider-id=Default Stateful Container) 12:14:43,515 INFO [OpenEJB] Using directory D:\Program Files\IBM\WebSphere\AppServerCommunityEdition\var\temp for stateful session passivation 12:14:43,515 INFO [config] Configuring Service(id=Default BMP Container, type=Container, provider-id=Default BMP Container) 12:14:43,562 INFO [config] Configuring Service(id=Default CMP Container, type=Container, provider-id=Default CMP Container) 12:14:47,000 INFO [config] Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container) 12:14:47,609 INFO [SystemProperties] Setting Property=org.apache.jasper.Constants.USE_INSTANCE_MANAGER_FOR_TAGS to Value=true 12:14:48,171 INFO [SystemProperties] Setting Property=org.apache.catalina.STRICT_SERVLET_COMPLIANCE to Value=true 12:14:56,671 INFO [MailGBean] JavaMail session bound to ger:/MailSession 12:15:03,265 INFO [startup] Assembling app: /home/wasce/.m2/repository/org/apache/geronimo/applications/geronimo-mejb/2.0.1/geronimo-mejb-2.0.1.jar 12:15:03,562 INFO [startup] Jndi(name=ejb/mgmt/MEJBRemoteHome) --> Ejb(deployment-id=mejb/ejb/mgmt/MEJB) 12:15:03,578 INFO [startup] Created Ejb(deployment-id=mejb/ejb/mgmt/MEJB, ejb-name=ejb/mgmt/MEJB, container=Default Stateless Container) 12:15:03,578 INFO [startup] Deployed Application(path=/home/wasce/.m2/repository/org/apache/geronimo/applications/geronimo-mejb/2.0.1/geronimo-mejb-2.0.1.jar) 13:05:39,578 INFO [Mapping] D:\Program Files\IBM\WebSphere\AppServerCommunityEdition\repository\org\apache\geronimo\configs\webconsole-tomcat\2.0.1\webconsole-tomcat-2.0.1.car\framework.war\WEB-INF\data\xml is not a URL, trying to convert it to a file URL 13:05:39,578 INFO [Mapping] Loading mapping descriptors from portletentitymapping.xml 13:05:39,750 INFO [Mapping] D:\Program Files\IBM\WebSphere\AppServerCommunityEdition\repository\org\apache\geronimo\configs\webconsole-tomcat\2.0.1\webconsole-tomcat-2.0.1.car\framework.war\WEB-INF\data\xml is not a URL, trying to convert it to a file URL 13:05:39,750 INFO [Mapping] Loading mapping descriptors from pageregistrymapping.xml 13:05:48,500 INFO [DirectoryMonitor] Hot deployer notified that an artifact was removed: default/securedmd/1201242819593/war 13:05:59,140 WARN [TomcatModuleBuilder] Web application . does not contain a WEB-INF/geronimo-web.xml deployment plan. This may or may not be a problem, depending on whether you have things like resource references that need to be resolved. You can also give the deployer a separate deployment plan file on the command line. 13:06:11,000 INFO [ContextLoader] Root WebApplicationContext: initialization started 13:06:11,125 INFO [CollectionFactory] JDK 1.4+ collections available 13:06:11,140 INFO [CollectionFactory] Commons Collections 3.x available 13:06:11,156 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-resources.xml] 13:06:11,265 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml] 13:06:11,765 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-hibernate.xml] 13:06:12,109 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-service.xml] 13:06:12,156 INFO [DefaultListableBeanFactory] Overriding bean definition for bean 'userManager': replacing [Child bean with parent 'txProxyTemplate': class [null]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in ServletContext resource [/WEB-INF/applicationContext-security.xml]] with [Child bean with parent 'txProxyTemplate': class [null]; abstract=false; singleton=true; lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null; destroyMethodName=null; factoryMethodName=null; factoryBeanName=null; defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]] 13:06:12,468 INFO [XmlWebApplicationContext] Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,dataSource,filterChainProxy,filterInvocationInterceptor,authenticationManager,loggerListener,daoAuthenticationProvider,passwordEncoder,userCache,anonymousAuthenticationProvider,roleVoter,accessDecisionManager,httpSessionContextIntegrationFilter,authenticationProcessingFilter,anonymousProcessingFilter,securityEnforcementFilter,remoteUserFilter,authenticationProcessingFilterEntryPoint,userManager,userManagerSecurity,rememberMeProcessingFilter,rememberMeServices,rememberMeAuthenticationProvider,channelProcessingFilter,channelDecisionManager,sessionFactory,transactionManager,dao,lookupDAO,userDAO,roleDAO,fileInfoDAO,auditlogDAO,securityGridDAO,documentTypeDAO,specialityTypeDAO,practiceTypeDAO,referalDAO,pageLandingDAO,documentReferralMstDAO,referralStatusChangeDAO,documentStatusMstDAO,practiceDAO,changesDAO,mstDAO,practiceInviteListDAO,myfavoriteDAO,statecodeDAO,parameterDAO,registeredaccessDAO,lookupManager,securelistener,txProxyTemplate,manager,userSecurityInterceptor,userSecurityAdvice,roleManager,mailEngine,mailSender,velocityEngine,mailMessage,fileManager,documentTypeManager,specialityTypeManager,practiceTypeManager,ReferalManager,auditlogManager,auditlogManagerTarget,securityGridManager,pageLandingManager,dummyJobDetail,dummyTrigger,org.springframework.scheduling.quartz.SchedulerFactoryBean,documentReferralMstManager,referralStatusChangeManager,documentStatusMstManager,practiceManager,statusChangeManager,practicestatusManager,practiceInviteListManager,myfavoritemanager,statecodemanager,systemparameterManager,registeredaccessManager]; root of BeanFactory hierarchy 13:06:12,484 INFO [XmlWebApplicationContext] 84 beans defined in application context [Root WebApplicationContext] 13:06:12,562 INFO [PropertyPlaceholderConfigurer] Loading properties file from class path resource [mail.properties] 13:06:12,593 INFO [XmlWebApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [EMAIL PROTECTED] 13:06:12,593 INFO [XmlWebApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [EMAIL PROTECTED] 13:06:12,609 INFO [UiApplicationContextUtils] Unable to locate ThemeSource with name 'themeSource': using default [EMAIL PROTECTED] 13:06:13,500 INFO [Environment] Hibernate 3.1 13:06:13,578 INFO [Environment] hibernate.properties not found 13:06:13,593 INFO [Environment] using CGLIB reflection optimizer 13:06:13,593 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 13:06:14,890 INFO [HbmBinder] Mapping class: org.securedmd.com.model.Role -> role 13:06:15,156 INFO [HbmBinder] Mapping class: org.securedmd.com.model.User -> app_user 13:06:15,187 INFO [HbmBinder] Mapping collection: org.securedmd.com.model.User.roles -> user_role 13:06:15,640 INFO [HbmBinder] Mapping class: org.securedmd.com.model.FileInfo -> FileInfo_Mst 13:06:15,718 INFO [HbmBinder] Mapping class: org.securedmd.com.model.LoginCheck -> SECURELOGON_MST 13:06:15,812 INFO [HbmBinder] Mapping class: org.securedmd.com.model.Auditlog -> Auditlog 13:06:15,890 INFO [HbmBinder] Mapping class: org.securedmd.com.model.DocumentType -> DocumentType 13:06:16,046 INFO [HbmBinder] Mapping class: org.securedmd.com.model.SpecialityType -> SpecialityType 13:06:16,140 INFO [HbmBinder] Mapping class: org.securedmd.com.model.Referal -> Referal 13:06:16,203 INFO [HbmBinder] Mapping class: org.securedmd.com.model.PracticeType -> PracticeType 13:06:16,281 INFO [HbmBinder] Mapping class: org.securedmd.com.model.PageLanding -> PageLanding 13:06:16,359 INFO [HbmBinder] Mapping class: org.securedmd.com.model.DocumentReferralMst -> Document_referral_mst 13:06:16,453 INFO [HbmBinder] Mapping class: org.securedmd.com.model.ReferralStatusChange -> referral_status_change 13:06:16,515 INFO [HbmBinder] Mapping class: org.securedmd.com.model.DocumentStatusMst -> Document_Status_Mst 13:06:16,578 INFO [HbmBinder] Mapping class: org.securedmd.com.model.PracticeMst -> Practice_MST 13:06:16,671 INFO [HbmBinder] Mapping class: org.securedmd.com.model.PracticeStatusChanges -> Practice_Status_Changes 13:06:16,734 INFO [HbmBinder] Mapping class: org.securedmd.com.model.PracticeStatusMst -> Practice_Status_MST 13:06:16,812 INFO [HbmBinder] Mapping class: org.securedmd.com.model.PracticeInviteList -> Practice_InviteList 13:06:16,890 INFO [HbmBinder] Mapping class: org.securedmd.com.model.MyFavorite -> MyFavorite 13:06:16,953 INFO [HbmBinder] Mapping class: org.securedmd.com.model.StatecodeMst -> StatecodeMst 13:06:17,015 INFO [HbmBinder] Mapping class: org.securedmd.com.model.SystemParameter -> System_Parameter 13:06:17,078 INFO [HbmBinder] Mapping class: org.securedmd.com.model.RegisteredAccessInfo_Mst -> RegisteredAccessInfo_Mst 13:06:17,078 INFO [LocalSessionFactoryBean] Building new Hibernate SessionFactory 13:06:17,078 INFO [Configuration] processing extends queue 13:06:17,078 INFO [Configuration] processing collection mappings 13:06:17,078 INFO [Configuration] processing association property references 13:06:17,078 INFO [Configuration] processing foreign key constraints 13:06:17,343 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(AbstractAutowireCapableBeanFactory.java:345) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147) will u please provide necessary information on this. Thanks and regards, Jithesh PM -- View this message in context: http://www.nabble.com/Hibernate-problem-tp15082589s2369p15082589.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]