WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Websphere 8 Issue

    Posted 07/15/13 11:45 AM

    Hi,

    We are upgrading the Websphere version from 6.1 to 8.0.0.0  for one application.



    We are getting an exception when we  try to deploy the application by using Websphere admin console. We are unable to deploy the application in DEV Environment. 


    We are suspecting the Jar Compatible issue from Websphere6.1  to Websphere 8.0.0.0.


     


    Because the jar file is available as Shared Library in WAS admin console, but we are getting the Class not found 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


    In Repository.xml,the below code was there.


     
      
       ${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}
      
     


    Could you please help us,to resolve this exception.

    Thanks,
    Samap.
     



  • 2.  Websphere 8 Issue

    Posted 07/15/13 12:59 PM
    Hi samap

      In version 6.1 where do you have linked the shared library at server level or at application level?
     
      Have you do the same in WAS 8?
     
      Hope this helps.  Tell us if you need more support.
     
    Regards


  • 3.  Websphere 8 Issue

    Posted 07/17/13 04:30 AM
    Hi,

      Thanks for the reply.I did the same in WAS 8.0.

      But still it's not working.Please find the attached screenshots for the reference.

      Could you please check it once and help me how to proceed further.


      Thanks for your time.



    Thanks,
    Samap


  • 4.  Websphere 8 Issue

    Posted 07/30/13 11:17 AM
    Hi All,

    I have resolved this exception by using the websphere 8.0.0.6 version instead of websphere 8.0.0.0 version.


    Thanks,
    Poorna