[infinispan-issues] [JBoss JIRA] (ISPN-4815) Broken connection in server JDBC tests
Thomas Becker (JIRA)
issues at jboss.org
Thu Nov 20 04:21:39 EST 2014
[ https://issues.jboss.org/browse/ISPN-4815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021449#comment-13021449 ]
Thomas Becker commented on ISPN-4815:
-------------------------------------
The reason is most probably that your're using different versions for the H2 server and client side. I'm facing the same issue atm and simply replacing the h2 jar on jboss seems to break weld as it can't load the h2 driver anymore.
However overwriting the existing jar in:
modules/system/layers/base/com/h2database/h2/main/
with the new version, but keeping the same filename works fine for me. No idea why though as the fixed filename doesn't seem to be configured anywhere?! What's the proper way of upgrading the existing jar. Or even better how to get my app using the jar it contains instead of using the one from the server classpath?
> Broken connection in server JDBC tests
> --------------------------------------
>
> Key: ISPN-4815
> URL: https://issues.jboss.org/browse/ISPN-4815
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 7.0.0.CR1
> Environment: All tested platforms
> Reporter: Roman Macor
> Assignee: Mircea Markus
> Labels: jdbc
>
> All server related JDBC tests are experience problem with broken connection.
> The main error extracted from test logs is this:
> Caused by: org.h2.jdbc.JdbcSQLException: Connection is broken: "unexpected status 16777216" [90067-168]
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
> at org.h2.message.DbException.get(DbException.java:169)
> at org.h2.message.DbException.get(DbException.java:146)
> at org.h2.engine.SessionRemote.done(SessionRemote.java:582)
> at org.h2.command.CommandRemote.prepare(CommandRemote.java:67)
> at org.h2.command.CommandRemote.<init>(CommandRemote.java:46)
> at org.h2.engine.SessionRemote.prepareCommand(SessionRemote.java:439)
> at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1113)
> at org.h2.jdbc.JdbcConnection.getTransactionIsolation(JdbcConnection.java:732)
> at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.<init>(BaseWrapperManagedConnection.java:195)
> at org.jboss.jca.adapters.jdbc.local.LocalManagedConnection.<init>(LocalManagedConnection.java:61)
> at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:309)
> ... 42 more
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the infinispan-issues
mailing list