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:[EMAIL PROTECTED]] > 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 > [EMAIL PROTECTED] [EMAIL PROTECTED] > "Quem se mata de trabalhar merece mesmo morrer." - Millor > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
