Bug 990567
Summary: | ClassCastException when storing http session to PostgreSql | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Tomas Remes <tremes> |
Component: | Clustering | Assignee: | Radoslav Husar <rhusar> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jitka Kozana <jkudrnac> |
Severity: | medium | Docs Contact: | Russell Dickenson <rdickens> |
Priority: | unspecified | ||
Version: | 6.1.1 | CC: | jkudrnac, myarboro, rhusar, smumford, tremes |
Target Milestone: | DR4 | ||
Target Release: | EAP 6.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
An issue was found which affected the storage of the HTTP session with Postgresql. With the following `jdbc-store` configuration, a `ClassCastException` error occurred, like the sample error message shown here. The HTTP session's values would be persisted but the application would fail to redeploy with the same error message.
----
<binary-keyed-jdbc-store datasource="java:jboss/datasources/testDS" preload="true" passivation="false" purge="false">
<binary-keyed-table prefix="b">
<id-column name="id" type="VARCHAR(255)"/>
<data-column name="datum" type="BYTEA"/>
<timestamp-column name="ver" type="BIGINT"/>
</binary-keyed-table>
</binary-keyed-jdbc-store>
----
----
14:24:21,262 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (http-/127.0.0.1:8080-1) ISPN000136: Execution error: java.lang.ClassCastException: java.lang.Class cannot be cast to org.infinispan.loaders.bucket.Bucket...
----
This issue was resolved with a component upgrade and HTTP session data can be successfully persisted in a Postgresql database.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-06 14:34:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tomas Remes
2013-07-31 13:21:09 UTC
Tomas, could you retest this for 6.2 please? At least we will get an up to date stack trace. Rado, please find the latest (620 GA) server.log here: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-failover-db-session-shutdown-repl-sync-postgresql/8/console-perf19/ Yes the latest stack trace is a bit different, so please check the one provided by Jitka. I have retested with 6.3.0.DR4 (and the new infinispan 5.2.8) and it works. The ClassCastException is gone. Forgotten status update of this bugzilla? Moving on QA then so this can be closed. Works with 6.3.0.DR4. Attention: Tomas I have draft a Release Notes entry for this BZ ticket but as there is no indication as to what change resolved this issue, the entry is rather vague. Please review the entry and add any additional information you may have. AFAIK this issue was resolved with upgrade of Infinispan version. Otherwise the RN seems sufficient to me. |