dynamobi/dynamobi — Issue #178: [LDB-143] VJDBC exception slicing problem for errors during connect
Author: dynamobi-build
Created: 2011-12-30 02:19:07+00:00
State: open
Labels: LDB

[reporter="jvs", created="Thu, 21 Sep 2006 14:03:19 -0500 (GMT-05:00)"]
Example below (underlying cause was wrong user name for login). I fixed the generic slicing problem when I integrated VJDBC, but connect must be going through a different path.

122614 [main] ERROR de.simplicit.vjdbc.VirtualDriver - java.sql.SQLException: java.lang.ClassNotFoundException: net.sf.farrago.jdbc.FarragoJdbcUtil$FarragoSqlException (no security manager: RMI class loader disabled)

at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)

at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)

at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)

at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)

at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)

at de.simplicit.vjdbc.server.rmi.CommandSinkRmiImpl_Stub.connect(Unknown Source)

at de.simplicit.vjdbc.rmi.CommandSinkRmiProxy.connect(CommandSinkRmiProxy.java:26)

at de.simplicit.vjdbc.VirtualDriver.connect(VirtualDriver.java:124)

at net.sf.farrago.jdbc.client.FarragoUnregisteredVjdbcClientDriver.connect(FarragoUnregisteredVjdbcClientDriver.java:100)

at java.sql.DriverManager.getConnection(DriverManager.java:525)

at java.sql.DriverManager.getConnection(DriverManager.java:140)

at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:97)

at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:300)

at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)

at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)

at mondrian.rolap.RolapSchema.getDialect(RolapSchema.java:268)

at mondrian.rolap.RolapStar.(RolapStar.java:125)

at mondrian.rolap.RolapSchema.makeRolapStar(RolapSchema.java:1380)

at mondrian.rolap.RolapSchema.access$5(RolapSchema.java:1378)

at mondrian.rolap.RolapSchema$RolapStarRegistry.getOrCreateStar(RolapSchema.java:1402)

at mondrian.rolap.RolapCube.(RolapCube.java:102)

at mondrian.rolap.RolapCube.(RolapCube.java:163)

at mondrian.rolap.RolapSchema.load(RolapSchema.java:343)

at mondrian.rolap.RolapSchema.load(RolapSchema.java:234)

at mondrian.rolap.RolapSchema.(RolapSchema.java:174)

at mondrian.rolap.RolapSchema.(RolapSchema.java:167)

at mondrian.rolap.RolapSchema$Pool.get(RolapSchema.java:781)

at mondrian.rolap.RolapSchema$Pool.get(RolapSchema.java:606)

at mondrian.rolap.RolapConnection.(RolapConnection.java:141)

at mondrian.rolap.RolapConnection.(RolapConnection.java:76)

at mondrian.olap.DriverManager.getConnection(DriverManager.java:120)

at mondrian.olap.DriverManager.getConnection(DriverManager.java:87)

at mondrian.olap.DriverManager.getConnection(DriverManager.java:55)

at mondrian.tui.CmdRunner.getConnection(CmdRunner.java:693)

at mondrian.tui.CmdRunner.getConnection(CmdRunner.java:679)

at mondrian.tui.CmdRunner.runQuery(CmdRunner.java:572)

at mondrian.tui.CmdRunner.execute(CmdRunner.java:556)

at mondrian.tui.CmdRunner.executeMdxCmd(CmdRunner.java:2236)

at mondrian.tui.CmdRunner.commandLoop(CmdRunner.java:901)

at mondrian.tui.CmdRunner.commandLoop(CmdRunner.java:753)

at mondrian.tui.CmdRunner.main(CmdRunner.java:2410)