geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Łukasz Budnik" <lukasz.bud...@gmail.com>
Subject Re: Unable to obtain physical connection to DB2XA
Date Tue, 12 Feb 2008 14:20:53 GMT
I see now:

http://issues.apache.org/jira/browse/GERONIMO-3440

It's a bug and still is open. Fix Version is 2.1.1.

so I'm waiting for the official release of new G.

best regards
Łukasz

On 12/02/2008, Łukasz Budnik <lukasz.budnik@gmail.com> wrote:
> Hi All!
>
> There are many IBM employees among commiters, so I hope they can help
> with this problem ;)
>
> I'm migrating from G2.0.0 to G2.0.2.
>
> As a data source I'm using DB2 v9.
> Data source is deployed as application-scope.
>
> In Geronimo 2.0.0 I was using JDBC API, in Geronimo 2.0.2 I'm using JPA.
>
> Everything looks good: application is deployed, application-scoped
> pool is created, entity manager is injected:
>
> @PostConstruct
> void initialize() {
>         System.out.println("Injected? " + (em != null));
> }
>
> displays:
>
> Injected? true
>
> But when running application I get:
>
> 13:43:36,109 ERROR [MCFConnectionInterceptor] Error occurred creating
> ManagedConnection for
> org.apache.geronimo.connector.outbound.ConnectionInfo@16622e1
> javax.resource.spi.ResourceAdapterInternalException: Unable to obtain
> physical connection to com.ibm.db2.jcc.DB2XADataSource@34a988
>         at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnection(AbstractXADataSourceMCF.java:76)
>         at org.tranql.connector.db2.XAMCF.createManagedConnection(XAMCF.java:59)
>         at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48)
>         at org.apache.geronimo.connector.outbound.LocalXAResourceInsertionInterceptor.getConnection(LocalXAResourceInsertionInterceptor.java:41)
>         at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:67)
>         at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:78)
>         at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:46)
>         at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:88)
>         at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
>         at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
>         at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
>         at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:87)
>         at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
>         at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:106)
>
> ...
> ...
> some more lines
> ...
> ...
>
>         at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnection(AbstractXADataSourceMCF.java:74)
>         ... 105 more
>
> 13:43:36,156 ERROR [OpenEJB] The bean instances business method
> encountered a system exception: [ibm][db2][jcc][10257][10960] Nie
> można otworzyć pliku .
> <openjpa-1.0.0-r420667:568756 fatal general error>
> org.apache.openjpa.persistence.PersistenceException:
> [ibm][db2][jcc][10257][10960] Nie można otworzyć pliku .
>         at org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:101)
>         at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:569)
>         at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1221)
>         at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:467)
>
>
> It uses Polish locale, but the message: "Nie można otworzyć pliku ." says:
> "Cannot open file ."
>
> Which file?
>
> There has to be some kind of error. But where Tranql? Geronimo? OpenJPA? ;)
>
> any ideas?
>
> best regards
> Łukasz
>
Mime
View raw message