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
est, but it still did not work. > Where did you put the jar containing the MySQL driver classes? Make sure you > don't have it in more than one place. > The JAR is in the [tomcat]/lib folder. The authentication/authorization works, but the application data does not. I would assume this

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://lo

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

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

2008-12-30 Thread Robert Blackburn
I am running Tomcat v6.0. I am developing and testing my app on my local Windows machine, then publishing it to a Linux on the server (not sure which distro). I have a real annoying issue, I've been struggling with it for days. I am using the same DB for my folder access control (JDBCRealm) as I a