Peter Mačkay created JBJCA-1387:
-----------------------------------
Summary: IllegalStateException when getting a connection from a removed
DataSource
Key: JBJCA-1387
URL:
https://issues.jboss.org/browse/JBJCA-1387
Project: IronJacamar
Issue Type: Bug
Reporter: Peter Mačkay
Trying to get a connection from a removed datasource used to result in
{code}
java.sql.SQLException: javax.resource.ResourceException: IJ000470: You are trying to use a
connection factory that has been shut down: java:jboss/datasources/NoRestartDatasource
{code}
But after the changes introduced in JBJCA-1386 an IllegalStateException is thrown
{code}
09:58:56,204 ERROR [stderr] (pool-8-thread-1) java.lang.IllegalStateException
09:58:56,206 ERROR [stderr] (pool-8-thread-1) at
org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:50)
09:58:56,206 ERROR [stderr] (pool-8-thread-1) at
org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.driverClassLoader(AbstractDataSourceService.java:335)
09:58:56,207 ERROR [stderr] (pool-8-thread-1) at
org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.access$000(AbstractDataSourceService.java:111)
09:58:56,207 ERROR [stderr] (pool-8-thread-1) at
org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer$2.getClassLoader(AbstractDataSourceService.java:537)
09:58:56,208 ERROR [stderr] (pool-8-thread-1) at
org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:140)
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)