Re: “java.lang.NullPointerException” with JDBC connection from InitialContext

2009-01-03 Thread Robert Blackburn
> Just some suggestions that come to mind: > > Have you considered googling for "StringUtils indexOfIgnoreCaseRespectQuotes"? > E.g. it may be Connector/J bug #25047 fixed in v. 5.0.5 > Check, what version of MySQL Connector/J you are using. > OK, problem solved. For the record I did search on tha

Re: "java.lang.NullPointerException" with JDBC connection from InitialContext

2009-01-03 Thread Robert Blackburn
Hi Chuck, Thanks for responding – here are the answer to your questions... >> > connectionName="username" connectionPassword="password" >> connectionURL="jdbc:mysql://localhost:3306/db_name? >> autoReconnect=true&useUnicode=true&characterEncoding=UTF8" >> driverName="com.mysql.jdbc.Driver" r

Re: “java.lang.NullPointerException” with JDBC connection from InitialContext

2008-12-31 Thread Konstantin Kolinko
2008/12/31 Robert Blackburn : > (..) > > Any help or suggestions would be appreciated > Just some suggestions that come to mind: Have you considered googling for "StringUtils indexOfIgnoreCaseRespectQuotes"? E.g. it may be Connector/J bug #25047 fixed in v. 5.0.5 Check, what version of MySQL Conn

RE: "java.lang.NullPointerException" with JDBC connection from InitialContext

2008-12-30 Thread Caldarale, Charles R
> From: Robert Blackburn [mailto:rwblackb...@gmail.com] > Subject: "java.lang.NullPointerException" with JDBC > connection from InitialContext > >connectionName="username" connectionPassword="password" > connectionURL="jdbc:mysql://localhost:3306/db_name? > autoReconnect=true&useUnicode=tru

Re: ?java.lang.NullPointerException? with JDBC connection from InitialContext

2008-12-30 Thread Robert Blackburn
Thanks for the quick response David. Yes, I forgot to mention, I have connected to the DB using MySQL client using the same credentials as defined in the realm. Also keep in mind the JDBCRealm for folder access control work, so a connection is possible. For some reason its the connection obtained