Bug 799309

Summary: Inconsistency between Modeshape configuration and documentation (Guvnor)
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Sona Mala <smala>
Component: doc-BRMS_Administrator_GuideAssignee: lcarlon <lcarlon>
Status: CLOSED DUPLICATE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: brms-jira
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-05 01:26:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sona Mala 2012-03-02 13:00:10 UTC
Description of problem:
After instalation of Modeshape according to Administrator_Guide, Guvnor, that is oppenned by browser, failed with:
     HTTP Status 404 - /jboss-brms/org.drools.guvnor.Guvnor/Guvnor.jsp


Version-Release number of selected component (if applicable):
brms standalone 5.3.0.ER4

How reproducible:
Important for reproduction this error is set in jboss-brms.war/WEB-INF/components.xml 

<property name="properties">
...
<key>org.modeshape.jcr.URL</key>                 <value>jndi:jcr/local?repositoryName=brms</value>
...
</property> 

and go to http://localhost:8080/jboss-brms/
  
Actual results:

HTTP Status 404 - /jboss-brms/

Expected results:
login form


Additional info:
Everything is ok when I use repositoryName=jcrrepo, how is set in standalone/modeshape/resources/modeshape-config-brms.xml:

<mode:repositories>		
<!-- Specify the source that should be used for the repository -->
<mode:repository jcr:name="jcrrepo" >
...
</mode:repository>
</mode:repositories>

Comment 1 lcarlon 2012-03-05 01:26:15 UTC
Thanks Sona,

This is a recent update to modeshape, I'm in the process of update the doc, however the changes won't be visible on docs.redhat.com until we publish the 5.3 docs.

Thanks
lee

*** This bug has been marked as a duplicate of bug 781166 ***