Showing posts with label web server. Show all posts
Showing posts with label web server. Show all posts

Thursday, November 11, 2010

message from server: "Host is not allowed to connect to this MySQL server"

Today I came across the problem for remotely connecting to MYSQL database from an application hosted on different machine.

Solution for this issue is to run the following query for granting privileges  to desired user:

GRANT ALL PRIVILEGES ON *.* TO '<USER_NAME>'@'%' IDENTIFIED BY '<PASSWORD>' WITH GRANT OPTION;

Enjoy!!!

Thursday, March 6, 2008

New version resin 3.1.3 pro is more stricter reagarding JSP/Servlet specification

I came to know about this while upgrading the resin server.
Resin is stricter regarding the specification of JSP & servlet as compared to other web-containers like Tomcat.
Most of the JSP pages were created using the custom tags, so those were throwing exceptions.
Resin is strict about the valid return values in Class file of Tags and the value which we mention in JSP.