This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | java.lang.UnsupportedOperationException | ||
---|---|---|---|
Product: | obsolete | Reporter: | rgsacchetti <rgsacchetti> |
Component: | visualweb | Assignee: | John Baker <jbaker> |
Status: | REOPENED --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=432 | ||
Issue Type: | DEFECT | Exception Reporter: | 432 |
Description
rgsacchetti
2008-11-09 16:06:40 UTC
Hi, In a Web Appliation I open from Services window a connection JDBC-ODBC Bridge with a db sqlserver. Next bind a table to a component jsf. All this is OK, but when start the browser in the log server print the follow exeption: Caused by: java.sql.SQLException: Error in allocating a connection. Cause: sun.jdbc.odbc.JdbcOdbcDriver cannot be cast to javax.sql.DataSource at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115) at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:378) at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:160) at com.sun.sql.rowset.CachedRowSetXImpl5.execute(CachedRowSetXImpl5.java:865) at com.sun.sql.rowset.CachedRowSetXImpl5.execute(CachedRowSetXImpl5.java:1325) at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1351) at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:402) ... 59 more Can you help me. Thanks Hi, In a Web Appliation I open from Services window a connection JDBC-ODBC Bridge with a db sqlserver. Next bind a table to a component jsf. All this is OK, but when start the browser in the log server print the follow exeption: Caused by: java.sql.SQLException: Error in allocating a connection. Cause: sun.jdbc.odbc.JdbcOdbcDriver cannot be cast to javax.sql.DataSource at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115) at com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:378) at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:160) at com.sun.sql.rowset.CachedRowSetXImpl5.execute(CachedRowSetXImpl5.java:865) at com.sun.sql.rowset.CachedRowSetXImpl5.execute(CachedRowSetXImpl5.java:1325) at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1351) at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:402) ... 59 more Can you help me. Thanks This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=432 |