The problem is that you cannot map two scopes for the same store:

      <scope match="/files/testComWorkspaces" store="TESTCOM_WORKSPACES"/>
      <scope match="/history/testComWorkspaces" store="TESTCOM_WORKSPACES"/>

      <scope match="/files/testComProjects" store="TESTCOM_PROJECTS"/>
      <scope match="/history/testComProjects" store="TESTCOM_PROJECTS"/>

So, define a separate store HISTORY_TESTCOM_WORKSPACES for /history/testComWorkspaces 
... which of course can be configured to use the same DB as TESTCOM_WORKSPACES. Same 
for TESTCOM_PROJECTS.

Regards,
Peter 

> -----Original Message-----
> From: BaTien Duong [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 21, 2004 20:04
> To: Slide Users Mailing List; Nevermann, Dr., Peter
> Subject: Re: Domain.xml for different JDBC stores
> 
> 
> Greetings:
> 
> I read somewhere on this list from Dr. Peter Nevermann that Slide 2.0 
> will be able to store [/files/project1, /history/project1 on DB1] and 
> [/files/project2, /history/project2 on DB2]. I attempt to do 
> just that 
> but get a transaction dead lock at the servlet initialization 
> stage. The 
> servlet server is tomcat 5.0.14 Please help running on RedHat 9.
> 
> In the attached Domain.xml, i have 3 JDBC stores and a Tx store. Each 
> JDBC store is a database populated with the provided MySqlSchema.sql 
> using MySQL 4.1 with InnoDB enabled in a different data path than the 
> default mysql data path.
> 
>     -> a JDBC store MWS is matched to the root of the namespace /
>     -> a tx store TESTCOM_PORTLET is matched to /files/testCom
>     -> a JDBC store TESTCOM_WORKSPACES is matched to 
> /files/testComWorkspaces
>                                                               
>                                          
> /history/testComWorkspaces
>     -> a JDBC store TESTCOM_PROJECTS is matched to 
> /files/testComProjects
>                                                               
>                                          
> /history/testComProjects
> 
> Without TESTCOM_WORKSPACES abd TESTCOM_PROJECTS, it works fine.
> 
> Thanks.
> 
> BaTien
> DBGROUPS
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to