Bug 780747 (SOA-3200) - Server startup is blocked when two repositories shares the same source
Summary: Server startup is blocked when two repositories shares the same source
Keywords:
Status: CLOSED NOTABUG
Alias: SOA-3200
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.2.0 ER1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-21 07:20 UTC by Jiri Pechanec
Modified: 2011-07-21 07:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
PostgreSQL
Last Closed: 2011-07-21 07:33:21 UTC
Type: Bug


Attachments (Terms of Use)
modeshape-config.xml (22.82 KB, text/xml)
2011-07-21 07:21 UTC, Jiri Pechanec
no flags Details
hang.log (267.97 KB, text/plain)
2011-07-21 07:21 UTC, Jiri Pechanec
no flags Details


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

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).


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