"ttt jjj", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.
Be aware that accounts with invalid display names are removed.
Thanks for changing your name, but the JavaRanch naming policy indicates that you need both a first and a last name that are not initials and are not obviously fictitious.
Regarding your question: This error seems to indicate that your Mysql database server is not responding. Can you ping 10.175.100.175 from the system hosting your app server? Does the system with an IP address of 10.175.100.175 have an instance of Mysqld running on the default port of 3306?
The Ip address I have mentioned (10.175.100.175) is the ip of my machine only. I tried to give 'localhost' as well. I have not specifed the port number.
How can I confirm that on which port the MySql Instant is running??
Unless you've changed it in your config file (and you probably haven't), the default port number is 3306. Did you Start the MYSQL database listener on your computer by running the command mysqld from the c:/<mysql install dir>/bin directory?
Ok, I no longer believe it's a problem with your Mysql server.
If you're using Tomcat, you may want to try changing your DataSource type to Tomcat's basic DataSource, as described in this article.
Quite frankly, I recommend that you don't use the Struts DataSource utility at all. The best practice is to define your DataSource using whatever method your application server recommends, and then to connect to that DataSource with a JNDI lookup. This way you can find the DataSource from any Java Class, and are not dependent on the Action class to find it.