payara / Payara-Examples

Repository for Example Code to demonstrate Payara specific features
144 stars 177 forks source link

java.lang.RuntimeException: No pool by name #65

Closed sysmat closed 7 years ago

sysmat commented 7 years ago

I'm trying to deploy on 4.1.2.173 , 5.0.0.Alpha1 and get error

com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Failed to create MCF for SYSTEM/pools/datasource_definition/java:global/ExampleDataSource .... java.lang.RuntimeException: No pool by name [ SYSTEM/pools/datasource_definition/java:global/ExampleDataSource ] found

sysmat commented 7 years ago

My mistake because in web.xml I have CustomSQLTracer.

Important not to used the mysql-connector 6.0.6

Regards, Tomaž