Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1028951

Summary: No artifacts are displayed in SRAMP after name change of the the local cache
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Stefan Bunciak <sbunciak>
Component: DT GovernanceAssignee: Brett Meyer <brmeyer>
Status: CLOSED NOTABUG QA Contact: Jiri Sedlacek <jsedlace>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, dlesage, oskutka, soa-p-jira, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Red Hat does not support changing the name of the local cache. If you attempt to do so, you will find that no artifacts will be displayed in the S-RAMP UI Repository Browser.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-29 17:38:41 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 Stefan Bunciak 2013-11-11 10:23:52 UTC
Description of problem:

* No artifacts are displayed in SRAMP after changing name of the local cache.

Version-Release number of selected component (if applicable):
* 6.0.0.ER6 (Beta)

How reproducible:
* 100%

Steps to Reproduce:

* Change current configuration

            <cache-container name="modeshape">
                <local-cache name="sramp">
                    <locking isolation="NONE"/>
                    <transaction mode="NON_XA"/>
                    <string-keyed-jdbc-store
datasource="java:jboss/datasources/srampDS" passivation="false"
purge="false">
                        <string-keyed-table prefix="ispn_bucket">
                            <id-column name="id" type="VARCHAR(500)"/>
                            <data-column name="datum"
type="VARBINARY(60000)"/>
                            <timestamp-column name="version" type="BIGINT"/>
                        </string-keyed-table>
                    </string-keyed-jdbc-store>
                </local-cache>
            </cache-container>

        <subsystem xmlns="urn:jboss:domain:modeshape:1.0">
            <repository name="sramp" cache-name="sramp"
cache-container="modeshape" security-domain="overlord-idp"
anonymous-roles="readonly"/>
        </subsystem>

to e.g.:

         <cache-container name="modeshape">
              <local-cache name="sramp_test">
                ...

         <subsystem xmlns="urn:jboss:domain:modeshape:1.0">
            <repository name="sramp" cache-name="sramp_test" ...
            

Actual results:
* No artifacts are displayed in SRAMP ui repository browser

Expected results:
* Name change of the local cache should not affect the displayed data since since the data store has not been changed (just renamed).

Additional info:

Comment 1 Anne-Louise Tangring 2013-11-11 20:10:52 UTC
We do not support changing the name of the local cache. We should consider doing a knowledgebase article.

Comment 2 Brett Meyer 2014-07-29 17:38:41 UTC
The local cache name cannot be changed between runs.  ModeShape bases IDs on the hashed cache-store name, so changing it will never show the existing artifacts.