PDA

View Full Version : tipo de dato 'gometry' en mondria



alegg
03-20-2013, 10:37 AM
Necesito usar mondrian para tipos de datos geometricos,cuando lo pruebo me da el siguiente error:

mondrian.olap.MondrianException: Mondrian Error:Internal error: while parsing catalog http://localhost:8082/mondrian/esquemas/xml.xml
at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:978)
at mondrian.olap.Util.newInternal(Util.java:1466)
at mondrian.olap.Util.newError(Util.java:1482)
at mondrian.rolap.RolapSchema.load(RolapSchema.java:329)
at mondrian.rolap.RolapSchema.<init>(RolapSchema.java:238)
at mondrian.rolap.RolapSchema.<init>(RolapSchema.java:73)
at mondrian.rolap.RolapSchema$Pool.get(RolapSchema.java:980)
at mondrian.rolap.RolapSchema$Pool.get(RolapSchema.java:777)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:166)
at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:93)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:110)
at mondrian.olap.DriverManager.getConnection(DriverManager.java:74)
at mondrian.olap4j.MondrianOlap4jConnection.<init>(MondrianOlap4jConnection.java:115)
at mondrian.olap4j.FactoryJdbc4Impl$MondrianOlap4jConnectionJdbc4.<init>(FactoryJdbc4Impl.java:370)
at mondrian.olap4j.FactoryJdbc4Impl.newConnection(FactoryJdbc4Impl.java:39)
at mondrian.olap4j.MondrianOlap4jDriver.connect(MondrianOlap4jDriver.java:118)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at ca.ulaval.scg.geosoa.spatialytics.OLAPConnection.<init>(OLAPConnection.java:57)
at ca.ulaval.scg.geosoa.spatialytics.SpatialyticsServlet.initConection(SpatialyticsServlet.java:116)
at ca.ulaval.scg.geosoa.spatialytics.SpatialyticsServlet.doPost(SpatialyticsServlet.java:134)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at mondrian.seguridad.AuthenticationFilter.doFilter(AuthenticationFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.eigenbase.xom.XOMException: In Schema: In Dimension: In Hierarchy: In Level: In Property: Value 'Geometry' of attribute 'type' has illegal value 'Geometry'. Legal values: {String, Numeric, Integer, Boolean, Date, Time, Timestamp}
at mondrian.olap.MondrianDef$Schema.<init>(MondrianDef.java:139)
at mondrian.rolap.RolapSchema.load(RolapSchema.java:316)