mysql - GlassFish connection pool -


i put mysql driver glassfish/admin1/lib , error on trying make connection glassfish 3.1.2

ping connection pool failed simplecrud_connectionpool. class name wrong or classpath not set : com.mysql.jdbc.jdbc2.optional.mysqldatasource please check server.log more details.

hare configuration:

pool name: simplecrud_connectionpool resource type: javax.sql.datasource javax.sql.xadatasource datasource classname: com.mysql.jdbc.driver

has idea?

a driver , datasource not same. looks configuration you're setting driver class datasource classname?

do need xa? doing distributed transaction?

if so, set data source com.mysql.jdbc.jdbc2.optional.mysqlxadatasource

if not, select regular datasource type , set classname com.mysql.jdbc.jdbc2.optional.mysqldatasource


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -