Thursday, October 3, 2013

java.sql.SQLException: No suitable driver found for jdbc:mysql on Hibernate

No comments:
java.sql.SQLException: No suitable driver found for jdbc:mysql To fix this issue add property <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> in hibernate.cfg.xml file...
Read More

Monday, August 12, 2013

Confluence Publisher Plugin with Jenkins

No comments:
Confluence Publisher Plugin with Jenkins 1) First I installed the confluence publisher plugin in jenkins. 2) Created a account in confluence (on demand service). 3) Get the Server Base Url, Wiki Url will be like, 4) Configure this Confluence Url in jenkins global...
Read More

Tuesday, August 6, 2013

Error extracting plugin descriptor: 'Goal: * already exists in the plugin descriptor for prefix: *

1 comment:
Do you face this issue ? Error extracting plugin descriptor: 'Goal: * already exists in the plugin descriptor for prefix: * [ERROR] Existing implementation is: *.*Mojo [ERROR] Conflicting implementation is: *.*Mojo' [ERROR] -> [Help 1] Solution : You may encounter...
Read More

Monday, June 17, 2013

Jquery combine two objects values into a single object

No comments:
Jquery is having inbuilt function called extend,  which can be used to merge two objects values in a single object.   var data1 = { duration: 100 }; var data2 = { duration: 110 }; console.log("Before Data1 " + JSON.stringify(data1)); console.log("Before Data2...
Read More

Tuesday, May 7, 2013

W3C DOM Parser

No comments:
W3C DOM Parser We can use both jdom as well as w3c dom. In this I am going to explain about w3c dom. Getting the document on w3c dom. Some common function for Dom processing We can specify the xpath value to get the specific tag/ Node. From other resource example...
Read More

Saturday, May 4, 2013

Struts2 Application developemnt with Jquery

No comments:
Struts2 Application developemnt with JqueryIt is very easy to integrate Struts2 applicaiton with Jqery. There are many existing solution that can be used to solve it. No need to start from scratch. http://struts.jgeppert.com/struts2-jquery-showcaseWhich is popular among the jquery plugin. This site is having nice tutorial.Other Sites : http://malsup.com/jquery/form/#fieldshttp://struts.jgeppert.com...
Read More

Thursday, April 18, 2013

Send JSON data to struts2

No comments:
Send JSON data to struts2 I found a nice article which points out how the struts2 receives json data from UI and returns the json data as response. The links is: http://anton-solovyev.livejournal.com/172056.html We need to add a dependency in pom.xml        ...
Read More

Wednesday, April 17, 2013

Confluence Publisher Plugin with Jenkins

2 comments:
Confluence Publisher Plugin with Jenkins I integrated confluence publisher plugin with Jenkins. Here are the steps, it may be helpful to some one. I followed the doxumentation at https://wiki.jenkins-ci.org/display/JENKINS/Confluence+Publisher+Plugin 1) First I installed the...
Read More

Tuesday, April 16, 2013

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure on Mysql, MAMP and MAC OS

No comments:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure on Mysql, MAMP and MAC OS I just created the a new user in phpmyadmin with all the privileges to all the databases. and I used the dependency     <!-- MySQL database...
Read More

Wednesday, April 10, 2013

package javax.servlet does not exist

No comments:
package javax.servlet does not exist Add a dependency         <dependency>            <groupId>javax.servlet</groupId>            <artifactId>servlet-api</artifactId>            ...
Read More

html5 chart library

No comments:
HTML5 chart library HTML5 and JS library rocks on graphs. Earlier it was little difficult to implement. Now it is very easy. Highcharts http://www.highcharts.com/demo/line-time-series/grid Rgraph I have used the RGraph, it is very easy to implement. Refer the doc. There...
Read More

Tuesday, April 9, 2013

JSON generator on JAVA

No comments:
JSON generator on JAVA, http://java.dzone.com/articles/java-api-json-processing-jsr -- Thank you. Regards, Kaleeswaran...
Read More

Interact with Jenkins through Jenkins.jar

No comments:
Interact with Jenkins through Jenkins.jar To get the help commands from Jenkins, java -jar /Users/users/Downloads/jenkins-cli.jar -s http://localhost:8080/jenkins/ help Results will be like Ref :         https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI...
Read More

Monday, April 8, 2013

Online Free Jenkins

No comments:
Online Free Jenkins Available @ https://grandcentral.cloudbees.com/services/plans/dev-at-cloudUse it and Enjoy. Happy coding.-- Thank you.Regards,Kaleeswaran.S ...
Read More

Wednesday, March 27, 2013

Maven Options

No comments:
There are many options that can be passes as parameter to maven, those useful options are, usage: mvn [options] [<goal(s)>] [<phase(s)>] Options:  -am,--also-make                       ...
Read More

Jenkins Environment variables

No comments:
Jenkins is having many environment variables, Each environment variable is very important one or other way. Lets see how can we use these variables efficiently  in jenkins. E.g : BUILD_NUMBER While archiving each build on a job. We can name the build such as MyJob_1. Goal:...
Read More

Eclipse Remote Debugging

No comments:
Eclipse Remote Debugging In earlier posts, I wrote about remote debugging with eclipse. Today i found some interesting eclipse debugging blogs, http://javarevisited.blogspot.in/2011/02/how-to-setup-remote-debugging-in.htmlhttp://javarevisited.blogspot.in/2011/07/java-debugging-tutorial-example-tips.html ...
Read More

Wednesday, March 13, 2013

Jenkins CLI commands

No comments:
Jenkins CLI commands    build: Builds a job, and optionally waits until its completion. cancel-quiet-down: Cancel the effect of the "quiet-down" command. clear-queue: Clears the build queue connect-node: Reconnect to a node copy-job: Copies a job. create-job: Creates a...
Read More

Monday, March 11, 2013

XMLPropertyListConfiguration / Plist Parser example

No comments:
XMLPropertyListConfiguration / Plist Parser example XMLPropertyListConfiguration is having a fantastic API to work with plist files. But there is no much example for this library. After some googling and library analysis, it came to know that it is very very easy to parse the files...
Read More

Wednesday, January 23, 2013

How to print base64 image in jasper report pdf ?

1 comment:
How to print base64 image in jasper report pdf ?1) import base64 class in jrxml file <import value="org.apache.commons.codec.binary.Base64"/> 2) Create two parameters logo and base64Img in jasper report.3) logo parameter class as String (java.lang.String) and 4) base64Img parameter class as InputStream (java.io.InputStream) and 5) base64Img parameter Default Value...
Read More

How to apply dynamic colors to jasper report ?

No comments:
How to apply dynamic colors to jasper report ?After some googling, i found the way to apply colors dynamically to jasper report. My working code is,We can access all the jasper files styles and everything with the help of JasperDesign class. Just create some styles like header, body and footer and set colors for those style from java file. The code "styleList[j].setBackcolor(userBackGRDColor);"...
Read More

How to image stream to jasper report ?

6 comments:
How to image stream to jasper report ?It is very easy to pass image stream to jasper report pdf.Steps are, 1) Convert the image to stream and set it in parameter ("logo") 2) In jrxml file , create a parameter with parameter class as "java.io.InputStream"3) Place a image on the jrxml design, set "Image Expression" to $P{logo} and "Expression class" to java.lang.String ...
Read More