Results 1 to 4 of 4
  1. #1
    sandeepsai39 is offline Member
    Join Date
    Feb 2009
    Posts
    96
    Rep Power
    0

    Default dbcp connection problem

    hi to all

    i am getting dbcp connection problem when using provider class
    in hibernate properties file.

    the exception is

    FATAL [main] org.hibernate.connection.ConnectionProviderFactory - Could
    > not instantiate connection provider
    > java.lang.ClassNotFoundException:
    > org.hibernate.connection.DBCPConnectionProvider
    > at java.net.URLClassLoader$1.run(URLClassLoader.java: 199)
    > at java.security.AccessController.doPrivileged(Native Method)
    > at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
    > at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
    > at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
    > at java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Class.java:141)
    > at
    > org.hibernate.util.ReflectHelper.classForName(Refl ectHelper.java:103)
    > at


    thanks is advance

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    Is the jar file containing the class "org.hibernate.connection.DBCPConnectionProvid er" on your runtime classpath?

  3. #3
    sandeepsai39 is offline Member
    Join Date
    Feb 2009
    Posts
    96
    Rep Power
    0

    Default

    i am unable to download the jar file

    can u please help me

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

Similar Threads

  1. Socket connection Problem
    By ighor10 in forum Networking
    Replies: 3
    Last Post: 06-23-2010, 04:10 AM
  2. URL connection problem
    By rajeshgubba in forum New To Java
    Replies: 8
    Last Post: 04-23-2009, 06:22 PM
  3. Too many Connection Problem Plz Help
    By shuvra_pan in forum Advanced Java
    Replies: 3
    Last Post: 03-17-2009, 01:42 PM
  4. jdbc connection problem
    By Assaf A in forum JDBC
    Replies: 0
    Last Post: 12-01-2008, 05:08 PM
  5. connection problem
    By subash in forum JDBC
    Replies: 5
    Last Post: 04-22-2008, 09:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •