0 Replies Latest reply: Jul 24, 2013 3:29 AM by chesplay RSS

    ERROR (hibernate.connection.ConnectionProviderFactory) Could not instantiate connection provider

    chesplay

      Hi i am trying to set up the SDK for FRamework 4.0 for CCB2.4 i am getting the below error when i run Artifact Generator . please advice: 

       

       

      Exception in thread "main"  java.lang.RuntimeException : Unable to configure session factory

       

      at com.splwg.tools.artifactgen.metadata.DatabaseRepository.initializeServer( DatabaseRepository.java:141)

       

      at com.splwg.tools.artifactgen.ArtifactGenerator.<init>(ArtifactGenerator.java:130)

       

      at com.splwg.tools.artifactgen.ArtifactGenerator.doGenerateFromCommandLine(ArtifactGenerator.java:1092)

       

       

       

       

      at com.splwg.tools.artifactgen.ArtifactGenerator.main(ArtifactGenerator.java:1043)

       

       

       

      Caused by: org.hibernate.HibernateException

      : Could not instantiate connection provider: com.splwg.shared.common.UCPConnectionProvider - 2013-07-23 15:11:59,227 [main]

      ERROR (hibernate.connection.ConnectionProviderFactory) Could not instantiate connection provider

       

       

      java.lang.ClassCastException: com.splwg.shared.common.UCPConnectionProvider cannot be cast to org.hibernate.connection.ConnectionProvider

       

      at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:73)

       

      at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)