You have to place the JDBC driver into the $CARBON_HOME/repository/components/extensions directory Hibernate is working with WSAS 3.1.0. Please check with the Chad sample, which uses Hibernate.
Azeez On Fri, Jul 24, 2009 at 8:02 AM, Erik Dannenberg < [email protected]> wrote: > Our .aar's using Hibernate dont work anymore since the update to 3.1.0, > same .aar works fine in 3.0.1. > > [2009-07-24 09:54:46,202] DEBUG - Preparing to build session factory with > filters : {} > [2009-07-24 09:54:46,202] DEBUG - processing extends queue > [2009-07-24 09:54:46,202] DEBUG - processing collection mappings > [2009-07-24 09:54:46,202] DEBUG - processing native query and > ResultSetMapping mappings > [2009-07-24 09:54:46,202] DEBUG - processing association property > references > [2009-07-24 09:54:46,202] DEBUG - processing foreign key constraints > [2009-07-24 09:54:46,236] INFO - Using Hibernate built-in connection pool > (not for production use!) > [2009-07-24 09:54:46,236] INFO - Hibernate connection pool size: 20 > [2009-07-24 09:54:46,236] INFO - autocommit mode: false > [2009-07-24 09:54:46,237] INFO - using driver: com.mysql.jdbc.Driver at > URL: jdbc:mysql://127.0.0.1:3306/axis2_test?autoReconnect=true > [2009-07-24 09:54:46,237] INFO - connection properties: {user=****, > password=****} > [2009-07-24 09:54:46,237] DEBUG - total checked-out connections: 0 > [2009-07-24 09:54:46,237] DEBUG - opening new JDBC connection > [2009-07-24 09:54:46,239] WARN - Could not obtain connection metadata > java.sql.SQLException: No suitable driver found for jdbc:mysql:// > 127.0.0.1:3306/axis2_test?autoReconnect=true > > The JDBC driver is definatly in the classpath as i checked it via > Class.forName("com.mysql.jdbc.Driver"). > Any hints would be appreciated. > > _______________________________________________ > Wsas-java-user mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user > -- -- Afkham Azeez [email protected] WSO2 Inc. http://wso2.com Blog: http://afkham.org
_______________________________________________ Wsas-java-user mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user
