Posts

How to add MySQL component in the Tivoli Directory Intregator (TDI).

To support MySQL database in the TDI, You first need to add mysql driver into the TDI Here are the steps : Download and copy mysql (mysql-connector-java-5.1.23-bin.jar ) jar to the location "${IBM}\TDI\V7.1\jars\3rdparty\others" where IBM is your installation directory Restart TDI if it's running. Click on Add component under AssemblyLines and choose JDBC connector In JDBC URL,  add “ jdbc:mysql://<IP>:<PORT>/<DATABASE_NAME> ”. in JDBC Driver, add com.mysql.jdbc.Driver Provider correct Username and Password of your database. Select table Name from select button. Click Finish to connect to the MySQL Database.

org.hibernate.HibernateException: No Session found for current thread

I am working one Spring MVC project in which I have integrated Spring with hibernate and most of the time, I use to get this error message while performing database operation .. org.hibernate.HibernateException: No Session found for current thread Reason : This is happening because I have missed declaring the transaction in my Spring Application. sessionFacory needs transaction to work. Solution : Define transaction manager in your Spring configuration file. Here is my spring-config.xml file : < bean id = "dataSource" class = "com.mchange.v2.c3p0.ComboPooledDataSource" > < property name = "driverClass" value = "${db.driverClassName}" /> < property name = "jdbcUrl" value = "jdbc:mysql://${db.host}:${db.port}/${db.name}" /> < property name = "user" value = "${db.username}" /> < property name = "password" valu...

How to install SVN Client on CENT OS 6

It is quite easy to install SVN Client using YUM command line manage utility on CENT OS 6. Install : # yum clean all # yum install subversion Verify Subversion :  # svn --version Thanks..!!!