Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Internal error: while parsing FoodMart.xml

  1. #1
    Join Date
    Mar 2002
    Posts
    1

    Default Internal error: while parsing FoodMart.xml

    Hello All,
    I run test-mysql on GNU/Linux system with locale thai. I found many error as below:
    This is result of testGrantDimensionNone
    Internal error: while parsing catalog
    file://usr/local/mondrian-0.6/demo/FoodMart.xml
    mondrian.resource.ChainableRuntimeException: Internal error: while parsing catalog
    file://usr/local/mondrian-0.6/demo/FoodMart.xml
    at mondrian.olap.MondrianResource.newInternal(MondrianResource.java:45)
    at mondrian.olap.Util.newError(Util.java:445)
    at mondrian.rolap.RolapSchema.<init>(RolapSchema.java:95)
    at mondrian.rolap.RolapSchema.<init>(RolapSchema.java:34)
    at mondrian.rolap.RolapSchema$Pool.get(RolapSchema.java:247)
    at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:125)
    at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:53)
    at mondrian.olap.DriverManager.getConnection(DriverManager.java:122)
    at mondrian.olap.DriverManager.getConnection(DriverManager.java:53)
    at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:146)
    at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:43)
    at mondrian.test.AccessControlTest.testGrantDimensionNone(AccessControlTest.java:30)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Caused by: mondrian.xom.XOMException: Document parse failed
    at mondrian.xom.wrappers.GenericDOMParser.parse(GenericDOMParser.java:118)
    at mondrian.rolap.RolapSchema.<init>(RolapSchema.java:88)
    ... 23 more
    Caused by: java.net.UnknownHostException: usr
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:143)
    at java.net.Socket.connect(Socket.java:425)
    at java.net.Socket.connect(Socket.java:375)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.NetworkClient.openServer(NetworkClient.java:118)
    at sun.net.ftp.FtpClient.openServer(FtpClient.java:387)
    at sun.net.ftp.FtpClient.<init>(FtpClient.java:651)
    at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:175)
    at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:257)
    at java.net.URL.openStream(URL.java:955)
    at mondrian.xom.wrappers.GenericDOMParser.parse(GenericDOMParser.java:116)
    ... 24 more
    caused by
    mondrian.xom.XOMException: Document parse failed
    Please advise me.
    Sorry for bad English.
    thank you
    thana

  2. #2
    Join Date
    Nov 1999
    Posts
    1,618

    Default RE: Internal error: while parsing FoodMart.xml

    Try removing a '/':
    file:/usr/local/mondrian-0.6/demo/FoodMart.xml

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.