Ravish Pandey

Greenhorn
+ Follow
since Feb 16, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ravish Pandey

Hi ,

I am getting following exception when starting websphere server in RAd .The problem is that this exception is not consistent ie
sometime after build and clean ,deployment works absolutely fine .but at times this doesn't work .I have no much exp with RAD..
so need permanent solution for the same..I could not resolve this with previous similar thread:-(

13 years ago
the beanRefContext.xml contains
<beans>
<bean id="parentApplicationContext" class="org.springframework.context.support.ClassPathXmlApplicationContext">
<constructor-arg>
<list>
<value>classpath:/applicationContext.xml</value>
<value>classpath:/transactionManager-websphere.xml</value>
<value>classpath:/spring-model.xml</value>
<value>classpath:/spring-filter-map.xml</value>
<value>classpath:/spring-swift.xml</value>
<value>classpath:/spring-reporting.xml</value>
<value>classpath:/spring-util.xml</value>
</list>
</constructor-arg>
</bean>
</beans>


public void setSessionContext(SessionContext arg0)
{
super.setSessionContext(arg0);
setBeanFactoryLocator(ContextSingletonBeanFactoryLocator.getInstance("classpath:/beanRefContext.xml"));
setBeanFactoryLocatorKey("parentApplicationContext");
}

as per my understanding i am sending the relaevant file ,can their be access conflict while accessing beanContext.xml ,as mentioned in application without package datails but their is other file(beanRefContext.xml) also in diff package.
do i need to send applicationContext.xml file also?
Thnx in adv
13 years ago
Hi,
I am fresher and currently working on a project that includes Struts ,Spring and Ejb with RAD as IDE.So after starting the server Webspere for home page , i am getting following exception. So can anybody help me regarding this as i ve tried my level best but not able to configure out. Also is that can be because of RAD installation problem?


Error Message: Filter [applicationContextMapFilter]: could not be initialized
Error Code: 500
Target Servlet: /index.jsp
Error Stack:
org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath:/beanRefContext.xml], factory key [parentApplicationContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditDetailListener' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'cainSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cainSessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org/objectweb/asm/ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [boolean]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.Class]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [org.springframework.context.ApplicationContext]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [boolean]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: Could not convert constructor argument value of type [java.util.ArrayList] to required type [java.lang.String]: Failed to convert value of type [java.util.ArrayList] to required type [java.lang.String]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [java.lang.String]: no matching editors or conversion strategy found
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.Class]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.ApplicationContext]: Could not convert constructor argument value of type [java.util.ArrayList] to required type [org.springframework.context.ApplicationContext]: Failed to convert value of type [java.util.ArrayList] to required type [org.springframework.context.ApplicationContext]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [org.springframework.context.ApplicationContext]: no matching editors or conversion strategy found
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: Could not convert constructor argument value of type [java.util.ArrayList] to required type [java.lang.String]: Failed to convert value of type [java.util.ArrayList] to required type [java.lang.String]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [java.lang.String]: no matching editors or conversion strategy found
.
.
.
./....
13 years ago
Hi,
I am struggling with following exception ,can anyone help me out. also is this becoz od RAD configuration prob or application one



Error Message: Filter [applicationContextMapFilter]: could not be initialized
Error Code: 500
Target Servlet: /index.jsp
Error Stack:
org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath:/beanRefContext.xml], factory key [parentApplicationContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditDetailListener' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'cainSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cainSessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org/objectweb/asm/ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [boolean]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.Class]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [org.springframework.context.ApplicationContext]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [boolean]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: Could not convert constructor argument value of type [java.util.ArrayList] to required type [java.lang.String]: Failed to convert value of type [java.util.ArrayList] to required type [java.lang.String]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [java.lang.String]: no matching editors or conversion strategy found
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [java.lang.Class]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.context.ApplicationContext]: Could not convert constructor argument value of type [java.util.ArrayList] to required type [org.springframework.context.ApplicationContext]: Failed to convert value of type [java.util.ArrayList] to required type [org.springframework.context.ApplicationContext]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [org.springframework.context.ApplicationContext]: no matching editors or conversion strategy found
Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'parentApplicationContext' defined in class path resource [beanRefContext.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: Could not convert constructor argument value of type [java.util.ArrayList] to required type [java.lang.String]: Failed to convert value of type [java.util.ArrayList] to required type [java.lang.String]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [java.lang.String]: no matching editors or conversion strategy found
.
.
.
./....
13 years ago