og:image could not be downloaded or is too small :-
og:image was not defined, could not be downloaded or was not big enough. Please define a chosen image using the og:image metatag, and use an image that's at least 200x200px and is accessible from Facebook. Image 'http://img.example.com/images/imagename.jpg' will be used instead.
This web page provides automatic distribution and updates for the Eclipse plugin for FindBugs.
Plugin requirements
This plugin has primarily been tested with Eclipse 3.3 and 3.4 It should work with 3.x releases, but let us know if you have any problems. The plugin is not compatible with versions of Eclipse preceding 3.3. The plugin runs under Java 1.5/5.0, or newer.
Plugin installation
If you have previously installed a version of the FindBugs plugin prior to mid-May, 2006, then you should remove it first. Simply remove the de.tobject.findbugs_0.0.n directory from Eclipse's pluginsdirectory.
To install the FindBugs plugin:
In Eclipse, click on Help -> Software Update -> Find and Install...
Choose the Search for new features to install option, and click Next.
Click New Remote Site.
Enter the following:
Name: FindBugs update site
URL: one of the following (note: no final slash on the url)
http://findbugs.cs.umd.edu/eclipse for official releases
http://findbugs.cs.umd.edu/eclipse-candidate for candidate releases and official releases
http://findbugs.cs.umd.edu/eclipse-daily for all releases, including developmental ones
and click OK.
"FindBugs update site" should appear under Sites to include in search. Click the checkbox next to it to select it, and click Finish.
You should see FindBugs Feature under Select features to install. (You may have to click on one or two triangles to make it visible in the tree.) Select the checkbox next to it and click next.
Select the I accept option to accept the license and click Next.
Make sure the location is correct where you're installing it. The default (your workspace) should be fine. Click Finish.
The plugin is not digitally signed. Go ahead and install it anyway.
How to Set Unicode (UTF-8) with Tomcat, Java, MySQL, JDBC, HAProxy ?
Set content-type:charset=UTF-8 :-
One example where we will create a simple page with form to enter Unicode strings and display them. The strings will be saved to MySQL database. We will create UTF-8 database and use JDBC to connect to it from our JSP code.
Step 1:-
Create a Unicode database and a database user using cPanel or command line:-
mysql> create database unicode character set utf8 COLLATE utf8_bin;
mysql> create user unicode@localhost IDENTIFIED BY 'mypass123';
mysql> grant all on unicode.* to unicode@localhost;
mysql> flush privileges;
mysql> use unicode;
mysql> create table person (name text);
mysql> \q
MySQL Connector/J driver connection string has the form of “jdbc:mysql://[hostname]:[port]/[db_name]“
Step 2:-
now following index.jsp to one of your Tomcat webapps. In our example we put it into ~/apache-tomcat-7.0.5/webapps/ROOT for easy access at root URL of our testing domain. There are a few places in the code where UTF-8 is referenced.
} catch( Exception ex ) { ex.printStackTrace( new java.io.PrintWriter(out)); }
%>
You can then access and try the form at your root URL e.g. http://username.jvmhost.net/ or http://username.jvmhost.net:HTTPPORTNUMBER/ if you have an account with JVM Host. By default request parameters and values are ISO-8859-1 encoded so you may need to decode them with
Step 3:-
name = new String(request.getParameter("name").getBytes("ISO-8859-1"), "UTF-8");
Step 4:-
Alternatively, you can tell Tomcat to to do the encoding/decoding for you using URIEncoding=”UTF-8″. Below this setting is activated for both HTTP and AJP connectors as both are used by default at JVM Host. You can add URIEncoding in server.xml.
This way you can have any international characters hardcoded in your pages display correctly. Also international characters sent to database via the form are read back and displayed correctly.
Set content-type:charset=UTF-8 in HAProxy:-
pls set below line in backend section just before load balancer servers.