[Mondrian] Re: MondrianServer - getting all connections

Paul Stoellberger p.stoellberger at gmail.com
Tue May 17 11:19:58 EDT 2011

Just a quick update

The problem was that Util.readVirtualFile() was called 3 times for a catalog
2 times the CatalogLocator replaced the "solution:" VFS prefix with the solution repository path (yeah thats in the biserver) .... so i get file:/user/tmp/file.xml
but the last time it didn't, and thats when i got the error ... the path still looks like : solution:biserver/steelwheels/asdf.xml

I've just simply hacked the contentfinder to replace "solution:" with the solution root path 

this is however a hack and i would like to fix this properly if possible

Any input on this?
Would really appreciate it


On May 17, 2011, at 6:09 , Paul Stoellberger wrote:

> Hi,
> I'm using a similar approach to the XmlServlet to load up mondrian/olap4j.
> Now my question is, once i created the MondrianServer, how can i retrieve all connections?
> i thought i could use the catalognames etc. as a wildcard but it seems like thats failing.
> (A loop until con is null)
> con = server.getConnection(null, null, null);
> ... (add it to the list of connections)
> -Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110517/ae8a5c69/attachment.html 

More information about the Mondrian mailing list