Hi Paul,
I have a question.We are Upgrading the Websphere version from 6.1 to 8.0.
In my application i have used shared Libraries.But i am getting the below exception.
Exception:
[11/07/13 15:34:05:278 BST] 0000000f ContextLoader E org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0' defined in ServletContext resource [/WEB-INF/config/web-application-config.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.mchange.v2.c3p0.ComboPooledDataSource] for bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/config/repository.xml]; nested exception is java.lang.ClassNotFoundException:
com.mchange.v2.c3p0.ComboPooledDataSource
The above class is avilable in Jar file(The jar file is in shared Library).
The Jar file is c3p0-0.9.1.2.jar
Could you pleas help me how to resolve this exception and proceed further.
The repository.xml contains the below code.
${hibernate.c3p0.initialPoolSize}
${hibernate.c3p0.minPoolSize}
${hibernate.c3p0.maxPoolSize}
${hibernate.c3p0.acquireRetryAttempts}
${hibernate.c3p0.acquireIncrement}
${hibernate.c3p0.idleConnectionTestPeriod}
${hibernate.c3p0.maxIdleTime}
${hibernate.c3p0.maxConnectionAge}
${hibernate.c3p0.preferredTestQuery}
${hibernate.c3p0.testConnectionOnCheckin}
My Questions are
1).For Websphere8,could you please confirm me,i have to use any other jar file
to resolve this exception.
Why because the application is working successfully in Websphere6.1 with same jar as shared Library.
Could you please check it once and let me know if you need any more information.
Thanks for your time.
Thanks,
Samap.