-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul,
On 3/3/2009 11:49 AM, Paul Maxted wrote: > Good call P! I tried connecting to the database from the command line > and was not able to. I'm surprised that this was the error. Usually, you'll get a message like "SQLException: Cannot connect to database using password: NO" or something like that. Perhaps you fixed two problems at once. > Another difference between Windows and Linux it > seems as the user was defined the same in both cases. Now I have > copied the user to use host 'localhost' as well as '@' and it works. AFAIK, MySQL doesn't use "@" to mean anything. "%" is used to mean "any host", but localhost should also be defined. When in doubt, use the GRANT command. > I have to say that the exception thrown is just a little misleading > (typical British understatement there!) This exception message is so irritating because it provides absolutely no information at all. It suggests that the driver class name is null, but that's not the case. This issue comes up again and again on the list, and nobody is ever really sure what the ultimate "fix" is. In my case, simply re-entering the configuration from scratch seems to be the best thing to do (and check those JARs). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmtbMMACgkQ9CaO5/Lv0PA1XQCfSVKCLBwoBzDHH6NLxQJ8r6Ek Qf0An3J38gpf8vHQPxdOnt8PsNtZXRV7 =Yjrp -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org