Hi Mattias,
we use more than one martDBLocations all the time, and it should work.
Could you please set visible=1 in the following line,
<virtualSchema name="default" visible="0"> or better would be to
completely remove virtualSchema tags.
cheers
syed


On Fri, 2007-09-28 at 11:37 +0200, Matthias Hoys wrote:
> Hello,
> 
>  
> 
> I’m trying to configure BioMart 0.6 to work with two MartDBLocations
> (both connecting to a different Oracle schema), but I can’t get it to
> work.
> 
> During the configuration, it looks like datasets from the second
> schema are incorrectly looked up in the first schema (but of course
> nothing is found).
> 
> The configuration runs fine with only 1 MartDBLocation (I tried both
> individually and they work). Could there be a bug in the parsing of
> the MartRegistry code when there is more than 1 MartDBLocation ?
> 
>  
> 
> This is my registry xml file, I think the syntax is fine:
> 
>  
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <!DOCTYPE MartRegistry>
> 
> <MartRegistry>
> 
>         <virtualSchema name="default" visible="0">
> 
>                 <MartDBLocation name = "TAX_NCBI"
> 
>                     displayName         = "TAX_NCBI"
> 
>                     databaseType        = "oracle"
> 
>                    host                = "host1"
> 
>                     port                = "1521"
> 
>                     database            = "db1"
> 
>                    schema              = "tax_ncbi"
> 
>                     user                = "tax_ncbi"
> 
>                     password            = "xxx"
> 
>                     visible             = "1"
> 
>                     includeDatasets     = ""
> 
>                     martUser            = ""
> 
>                     default             = "0"
> 
>                  />
> 
>                 <MartDBLocation
> 
>                     name                = "MART"
> 
>                     displayName         = "MART"
> 
>                     databaseType        = "oracle"
> 
>                     host                = "host1"
> 
>                     port                = "1521"
> 
>                     database            = "db1"
> 
>                     schema              = "mart"
> 
>                     user                = "mart"
> 
>                     password            = "xxx"
> 
>                     visible             = "1"
> 
>                     includeDatasets     = ""
> 
>                     martUser            = ""
> 
>                     default             = "1"
> 
>                 />
> 
>         </virtualSchema>
> 
> </MartRegistry>
> 
>  
> 
>  
> 
> Thanks,
> 
> Matthias
> 
>  
> 
> 

Reply via email to