You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2010/02/24 15:08:27 UTC
[jira] Updated: (OPENJPA-1351) java.lang.ClassCastException:
javax.naming.Reference incompatible with javax.sql.DataSource
[ https://issues.apache.org/jira/browse/OPENJPA-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated OPENJPA-1351:
----------------------------------
Affects Version/s: 2.0.0-M3
Fix Version/s: (was: 2.0.0)
2.0.0-beta
> java.lang.ClassCastException: javax.naming.Reference incompatible with javax.sql.DataSource
> -------------------------------------------------------------------------------------------
>
> Key: OPENJPA-1351
> URL: https://issues.apache.org/jira/browse/OPENJPA-1351
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 2.0.0-M3
> Reporter: Fay Wang
> Assignee: Fay Wang
> Fix For: 2.0.0-beta
>
> Attachments: OPENJPA-1351.patch
>
>
> The following exception is thrown when a downlevel jcc driver is used:
> java.lang.ClassCastException: javax.naming.Reference incompatible with javax.sql.DataSource
> at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory2(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(Unknown Source)
> at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(Unknown Source)
> at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(Unknown Source)
> at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(Unknown Source)
> at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(Unknown Source)
> at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.