tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <leslie.hug...@rubus.com>
Subject RE: javax.naming.NamingException: Cannot create resource instance
Date Tue, 25 Jun 2002 13:11:20 GMT
Sorry that's what I meant. I had similar probs with DBCP and mm.mysql, using
URL and username worked fine. I thought we were talking about Oracle but if
(when) you get DB2 working, can you mail me as I'm writing up all this stuff
for a How-To and have nothing on DB2

Ta,

Les

> -----Original Message-----
> From: Fabio Mengue [mailto:fabio@ccuec.unicamp.br]
> Sent: 25 June 2002 13:35
> To: Tomcat Users List
> Subject: Re: javax.naming.NamingException: Cannot create resource
> instance
> 
> 
> Hi,
> 
> Les Hughes wrote:
> 
> >Also, I dont think you need both drivername and url - they 
> are synonyms for
> >the same thing. 
> >
> I think DBCP wants URL to be configured. At least with DB2, 
> if I don't 
> configure url on server.xml, I get
> 
> Cannot create JDBC driver of class 
> 'COM.ibm.db2.jdbc.net.DB2Driver' for 
> connect URL 'null'
> 
> on catalina.out.
> 
> >One last thing, the property "user" or "username" seems to be driver
> >specific maybe? Try both and let us know which one works :-)
> >
> I think that DBCP also wants username to be configured. I get
> 
> DBCP DataSource configured without a 'username'
> 
> on catalina.out
> 
> >IF either of you guys get a functioning DB2 and Oracle 
> setting, could you
> >mail me them? I'm updating the documentation to include 
> specific examples.
> >
> I still can't make DB2 work. I get
> 
> *java.lang.UnsupportedOperationException*
> 
> and no catalina.out entry for that.
> 
> Lack of documentation from IBM is always my problem :)
> 
> See ya,
> 
> Fabio.
> 
> - 
> Fabio Mengue - Centro de Computacao - Unicamp
> fabio@ccuec.unicamp.br       fabio@unicamp.br
> "Quem se mata de trabalhar merece mesmo morrer." - Millor
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message