-
Bug
-
Resolution: Fixed
-
P2
-
1.0
-
b59
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2118804 | 5.0 | Shreyas Kaushik | P2 | Resolved | Fixed | rc |
RowSet rs = new CachedRowSetImpl();
rs.setDataSourceName("java:/comp/env/jdbc/ChemNetDB");
rs.setCommand("Select * from TBL_DISPLAY_FIELDS where DEFAULT_FIELD=1");
rs.execute();
It give this error:
java.sql.SQLException: The url cannot be null
java.sql.DriverManager.getConnection(DriverManager.java:489)
java.sql.DriverManager.getConnection(DriverManager.java:171)
com.sun.rowset.CachedRowSetImpl.execute(CachedRowSetImpl.java:735)
com.sun.rowset.CachedRowSetImpl.execute(CachedRowSetImpl.java:1360)
org.apache.jsp.Search_jsp._jspService(Search_jsp.java:98)
Is this a bug. I haven't seen anyone else have this problem. I'm using tomcat 5.
###@###.### 2004-07-01
###@###.### 2004-07-04
rs.setDataSourceName("java:/comp/env/jdbc/ChemNetDB");
rs.setCommand("Select * from TBL_DISPLAY_FIELDS where DEFAULT_FIELD=1");
rs.execute();
It give this error:
java.sql.SQLException: The url cannot be null
java.sql.DriverManager.getConnection(DriverManager.java:489)
java.sql.DriverManager.getConnection(DriverManager.java:171)
com.sun.rowset.CachedRowSetImpl.execute(CachedRowSetImpl.java:735)
com.sun.rowset.CachedRowSetImpl.execute(CachedRowSetImpl.java:1360)
org.apache.jsp.Search_jsp._jspService(Search_jsp.java:98)
Is this a bug. I haven't seen anyone else have this problem. I'm using tomcat 5.
###@###.### 2004-07-01
###@###.### 2004-07-04
- backported by
-
JDK-2118804 cachedrowset fails in Tomcat when datasource name is passed with "url canno
-
- Resolved
-