-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ambrose,
Ambrose Krapacs wrote: > catch( Exception e ) > { > retVal = e.toString(); > } And this gives you "CommunicationLinkFailure" for every URL you are trying? A few things about the URLs: 1. Don't bother testing 127.0.0.1 /and/ "localhost". If your machine hasn't been misconfigured, "localhost" should point to 127.0.0.1. 2. You must specify the name of a database, so URLs like jdbc:mysql://localhost?foo=bar are malformed. 3. Consider picking a single username/password and sticking with it. If you can't open a connection, the use of multiple sets of credentials is just complicating your script and gathering excess (useless) data. 4. The default port is 3306, so you don't need to specify it in your URLs. Are you running Tomcat under a security manager? That would certainly prevent you from communicating. Can you use 'ps' to show us the command line that is being used to start Tomcat? That would help. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkkbtMACgkQ9CaO5/Lv0PAYHgCePuPp3zaFS5DzTWPZkWztE0f5 sx8An3YE1nwEsX3Sadmq4qBwsSPFS2Q1 =EI1G -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]