Hide Forgot
project_key: SOA If somebody makes an error in Modeshape configuration file then it is very difficult to detect the problem. I created a repository that was referencing to undefined source (typo) 1) Modeshape service is deployed without any issues reported 2) When I tried to access the repo I got exception without any information 10:10:24,411 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.modeshape.graph.connector.RepositorySourceException) 3) And when I tried too look at Modeshape using console, then the log is filled with 10:12:37,006 ERROR [modeshape] Exception invoking getRepositoryVersion java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'getRepositoryVersion' on component 'ModeShapeEngine' with parameters [SimpleMetaType:java.lang.String:repository-test]. and there is no repository shown in the console - even those properly configured and accessible are missing. The system should detect incorrect situation preferably during the deployment and report details about the problem so administrator can fix it.
Link: Added: This issue depends MODE-897
ModeShape has added logic to check for and report incorrectly configured repository. This will be available to the ER3 build.
Link: Added: This issue is a dependency of SOA-2378