-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Driver not found
PostPosted: Mon May 02, 2011 3:19 am 
Newbie

Joined: Mon May 02, 2011 3:10 am
Posts: 1
Hello everyone,

I don't understand why i have this fail when i start my serlvet using hibernate.
I work on websphere with RAD 8 (rationnal application developper).
Obviously i import the library com.ibm.as400.access.AS400JDBCDriver on my class path, but it doesn't work ?

If someone can help me, it will be a very pleasure !
Thanks a lot.

[02/05/11 09:07:51:525 CEST] 00000062 SystemErr R Initial SessionFactory creation failed.org.hibernate.HibernateException: JDBC Driver class not found: com.ibm.as400.access.AS400JDBCDriver
[02/05/11 09:07:51:525 CEST] 00000062 SystemErr R org.hibernate.HibernateException: JDBC Driver class not found: com.ibm.as400.access.AS400JDBCDriver

Log :
[02/05/11 09:07:49:650 CEST] 00000062 Environment I Hibernate 3.2.6
[02/05/11 09:07:49:697 CEST] 00000062 Environment I hibernate.properties not found
[02/05/11 09:07:49:807 CEST] 00000062 Environment I Bytecode provider name : cglib
[02/05/11 09:07:49:947 CEST] 00000062 Environment I using JDK 1.4 java.sql.Timestamp handling
[02/05/11 09:07:50:072 CEST] 00000062 Configuration I configuring from resource: /hibernate.cfg.xml
[02/05/11 09:07:50:197 CEST] 00000062 Configuration I Configuration resource: /hibernate.cfg.xml
[02/05/11 09:07:50:338 CEST] 00000062 Configuration I Reading mappings from resource : Agence.hbm.xml
[02/05/11 09:07:50:838 CEST] 00000062 HbmBinder I Mapping class: com.previfrance.framework.beans.AgenceBean -> BURAUXP
[02/05/11 09:07:50:900 CEST] 00000062 Configuration I Reading mappings from resource : CodePostal.hbm.xml
[02/05/11 09:07:50:947 CEST] 00000062 HbmBinder I Mapping class: com.previfrance.framework.beans.CodePostalBean -> CPBUROP
[02/05/11 09:07:50:978 CEST] 00000062 Configuration I Configured SessionFactory: null
[02/05/11 09:07:51:135 CEST] 00000062 DriverManager I Using Hibernate built-in connection pool (not for production use!)
[02/05/11 09:07:51:447 CEST] 00000062 DriverManager I Hibernate connection pool size: 20
[02/05/11 09:07:51:447 CEST] 00000062 DriverManager I autocommit mode: false
[02/05/11 09:07:51:463 CEST] 00000062 DriverManager F JDBC Driver class not found: com.ibm.as400.access.AS400JDBCDriver
[02/05/11 09:07:51:463 CEST] 00000062 DriverManager F TRAS0014I: L'exception suivante a été consignée : java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:103)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.forName1(Native Method)
.....


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.