You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Andik Yulianto <An...@vico.co.id> on 2003/06/20 15:28:58 UTC

Oracle JNDI

I put an OracleDataSource in JNDI using bind("jdbcparm",ds) in
initialization servlet.
My JSP page is contains:
<sql:setDataSource dataSource='jdbcparm'/>
I call ds.getConnection() in the servlet, and it's OK. 

But it showns an error in the JSP
javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "No suitable driver".

Anyone can help??

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Re: Oracle JNDI

Posted by Michael Duffy <du...@yahoo.com>.
Not again!  ;)

See Riaan's thread.  This just got hashed out over the
course of a week.  Are you using WebLogic?

--- Andik Yulianto <An...@vico.co.id> wrote:
> I put an OracleDataSource in JNDI using
> bind("jdbcparm",ds) in
> initialization servlet.
> My JSP page is contains:
> <sql:setDataSource dataSource='jdbcparm'/>
> I call ds.getConnection() in the servlet, and it's
> OK. 
> 
> But it showns an error in the JSP
> javax.servlet.ServletException: Unable to get
> connection, DataSource
> invalid: "No suitable driver".
> 
> Anyone can help??
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> taglibs-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org