Bug 780017 (SOA-2378) - ModeShape federation connector should gracefully fail when improperly configured
Summary: ModeShape federation connector should gracefully fail when improperly configured
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2378
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0.ER3
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On: SOA-2295
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-06 10:10 UTC by Jiri Pechanec
Modified: 2011-01-06 10:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-06 10:23:46 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2378 0 None None None Never

Description Jiri Pechanec 2010-10-06 10:10:09 UTC
project_key: SOA

It is difficult to properly configure fedartion connector as it does not properly handle errors in configurations. Whenever there is an error in projection rules, missing sourc node etc. it just throws an exception
null
org.modeshape.graph.search.SearchEngineIndexer.indexSubgraph(SearchEngineIndexer.java:278) 
at org.modeshape.graph.search.SearchEngineIndexer.index(SearchEngineIndexer.java:229) 
at org.modeshape.graph.search.SearchEngineIndexer.index(SearchEngineIndexer.java:137) 
at org.modeshape.jcr.RepositoryQueryManager$SelfContained.reindexContent(RepositoryQueryManager.java:397) 
at org.modeshape.jcr.RepositoryQueryManager$SelfContained.<init>(RepositoryQueryManager.java:341) 
at org.modeshape.jcr.JcrRepository.<init>(JcrRepository.java:648) 
at org.modeshape.jcr.JcrEngine.doCreateJcrRepository(JcrEngine.java:305) 
at org.modeshape.jcr.JcrEngine.getRepository(JcrEngine.java:210) 
at org.jboss.soa.modeshape.jcr.client.RepositoryReferenceFactory.getStandaloneRepository(RepositoryReferenceFactory.java:54) 
at org.jboss.soa.modeshape.jcr.client.RepositoryReferenceFactory.getRepository(RepositoryReferenceFactory.java:32) 
at org.jboss.soa.modeshape.qa.tests.FederatedConnectorTest.createRecord(FederatedConnectorTest.java:48) 
23 lines not shown

The connector should validate the settings and report the error details.

Comment 1 Van Halbert 2010-10-06 14:57:54 UTC
This is the fix that went in on Sept 27 and didn't make it into ER2, but should be there in ER3.

Comment 2 Van Halbert 2010-10-06 14:57:54 UTC
Link: Added: This issue depends MODE-897


Comment 3 Van Halbert 2010-10-06 15:00:52 UTC
Link: Added: This issue depends SOA-2295


Comment 4 Van Halbert 2010-10-06 15:01:39 UTC
This fix was committed on Sept 27(see links) and didn't make it into ER2, but should be in ER3

Comment 5 Jiri Pechanec 2010-10-26 11:18:51 UTC
Will verify in ER4 due to bug when errors are reported only if both warning and errors are present

Comment 6 Jiri Pechanec 2011-01-06 10:21:49 UTC
Verified in ER6


Note You need to log in before you can comment on or make changes to this bug.