[infinispan-issues] [JBoss JIRA] (ISPN-4799) RHQ server plugin: JDBC store columns (3) were NOT applied from RHQ console
Tomas Sykora (JIRA)
issues at jboss.org
Thu Oct 2 11:22:07 EDT 2014
Tomas Sykora created ISPN-4799:
----------------------------------
Summary: RHQ server plugin: JDBC store columns (3) were NOT applied from RHQ console
Key: ISPN-4799
URL: https://issues.jboss.org/browse/ISPN-4799
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 7.0.0.Beta2
Reporter: Tomas Sykora
Assignee: Mircea Markus
Recent changes in RHQ server plugin added a possibility to configure JDBC stores (3 types - string, binary and mixed one) as a new child resource for a cache running inside of server. Those stores stand along other stores/loader possibilities.
When a new resource is configured and set to finished (invoke creation operation), the standalone.xml file is changed respectively.
However, we miss enlisted properties somewhere on the way and those are NOT included in modified configuration XML file.
Data Column
Id Column
Timestamp Column
are NOT set correctly and even a template is NOT included in server config either.
Other properties are propagated and set accordingly.
Expected result:
{code:xml}
<string-keyed-jdbc-store datasource="java:jboss/datasources/JdbcDS" passivation="true" preload="false" purge="false" shared="false">
<!-- property name="databaseType">H2</property -->
<string-keyed-table prefix="ISPN_MC_SK">
<id-column name="id" type="VARCHAR"/>
<data-column name="datum" type="BINARY"/>
<timestamp-column name="version" type="BIGINT"/>
</string-keyed-table>
<write-behind flush-lock-timeout="1" modification-queue-size="1024" shutdown-timeout="25000" thread-pool-size="1"/>
</string-keyed-jdbc-store>
{code}
Current result (wrong, missing stuff):
{code:xml}
<string-keyed-jdbc-store name="string-keyed-store" datasource="java:jboss/datasources/JdbcDS" shared="false" preload="true" passivation="false" purge="false">
<string-keyed-table/>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list