Bug 780747 (SOA-3200)

Summary: Server startup is blocked when two repositories shares the same source
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Pechanec <jpechane>
Component: EDSAssignee: Default User <jbpapp-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0 ER1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3200
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
PostgreSQL
Last Closed: 2011-07-21 07:33:21 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:
Attachments:
Description Flags
modeshape-config.xml
none
hang.log none

Description Jiri Pechanec 2011-07-21 07:20:23 UTC
project_key: SOA

Please see attached log file, with the attached configuration there is a 6 minute block during server startup during ModeShape initialization

2011-07-21 09:11:10,340 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (modeshape-start-repo-2-thread-1) schema update complete
2011-07-21 09:17:45,778 INFO  [org.modeshape.repository.ModeShapeEngine] (modeshape-start-repo-2-thread-2) Completed starting the "eds" repository

Comment 1 Jiri Pechanec 2011-07-21 07:21:40 UTC
Attachment: Added: modeshape-config.xml
Attachment: Added: hang.log


Comment 2 Jiri Pechanec 2011-07-21 07:33:21 UTC
From: Randall Hauch <rhauch>
Date: July 20, 2011 2:36:33 PM CDT
To: Van Halbert <vhalbert>
Subject: Re: Questions


On Jul 20, 2011, at 2:31 PM, Van Halbert wrote:

Is supported a configuration when two (or more) repositories shares the same JPA sources? 

No. Two repositories can use the same DB only when those repositories are clustered, but it makes no sense to cluster 2 repositories in the same engine.

And second is supported the configuration when two JPA sources uses the same db schema?

No, each JPA source has to have it's own DB schema (tables).