PDA

View Full Version : Internal error: while parsing FoodMart.xml



thana
08-17-2003, 09:18 PM
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

jhyde
08-17-2003, 10:33 PM
Try removing a '/':
file:/usr/local/mondrian-0.6/demo/FoodMart.xml