Bug 1028044

Summary: Hard-coded modeshape repository name for SRAMP
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Stefan Bunciak <sbunciak>
Component: DT GovernanceAssignee: Eric Wittmann <eric.wittmann>
Status: CLOSED CURRENTRELEASE QA Contact: Stefan Bunciak <sbunciak>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: eric.wittmann, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Stefan Bunciak 2013-11-07 14:33:43 UTC
Description of problem:

This name can be actually changed in standalone.xml: 

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

but it's hard-coded in ModeshapeRepository.java so sramp should provide some way (e.g. property) to specify a different name.

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

15:27:08,315 ERROR [org.overlord.sramp.server.atom.services.AbstractFeedResource] (http-localhost.localdomain/127.0.0.1:8080-2) !!Error trying to create an Artifact Feed.!!: org.overlord.sramp.repository.query.QueryExecutionException: javax.jcr.RepositoryException: jcr

Comment 2 Eric Wittmann 2013-11-07 16:02:53 UTC
Done.  There is now a property that controls this:

  sramp.config.jcr.repository.jndi-path

This property has a default value of:

  jcr/sramp

The property can be set in this file:

  standalone/configuration/sramp.properties

Comment 3 Stefan Bunciak 2013-12-12 14:51:02 UTC
Verified in FSW 6.0.0.ER7