Doh!, This is my fault... I tried to set the dataSource earlier by doing a :
<%= ds %>
Once I realized that this was going to cause the objects toString()
method to be called, I changed the code to do:
request.setAttribute("ds", ds);
Well, I forgot to remove the which was stomping on
HI, Mike.
> Well, I tried that just now and I had the same result.
>
> I just tried getting the DataSource manually and feeding it to the tag
> and got a little more descriptive error:
>
> <%
>javax.naming.InitialContext ctx = new javax.naming.InitialContext();
> javax.sql.
I'm browsing through the source of DataSourceUtil.java and the
Exception is generated here:
if (rawDataSource instanceof String) {
try {
Context ctx = new InitialContext();
// relative to standard JNDI root for J2EE app
Context
Well, I tried that just now and I had the same result.
I just tried getting the DataSource manually and feeding it to the tag
and got a little more descriptive error:
<%
javax.naming.InitialContext ctx = new javax.naming.InitialContext();
javax.sql.DataSource ds = (javax.sql.
Hi, Mike.
Did you try to look up dataSource "jdbc/dev" in tag ???
--
Kan Ogawa
[EMAIL PROTECTED]
> I'm trying to use the sql JSTL tags on JRun 4.0 and I'm not having any
> luck with their pooled dataSources. I get the following error:
>
> javax.servlet.jsp.JspException: Unable to get co