using camel jpa component for polling a database table instead of quartz and sql

Have been using camel quartz timer and sql component together to poll a database table and ran into thread issues. Though used a threadpool executor for the splitter after fetching records, the quartz component also had to be thread safe and which was bit asking more. For example


<camel:endpoint id="something"

            uri="quartz://sometimer?cron=${polling.cron.expression}" />

<camel:endpoint id="retrieveSql"

            uri="sql:${sql.query}?dataSourceRef=dataSource" />

Posted in Submitted by rizwan on Fri, 2011-03-11 04:38.

Famous IT Quotes


UNIX is simple.

WebSphere portlet factory

Recently having the chance of working with websphere portlet factory, which was called bowstreet portlet factory before, to develop and deploy portlets on websphere portal server.

Its kind of amusing, as i have been grown up doing the portlet (j2ee) development doing the maven, spring, hibernate and jsf way and the idea of builders and RAD tools overwhelm me and my question was how to use the standard mvc patterns and hibernate into the portlet factory.

Let me see how it goes as this is the tool i have to use it with my current employer and let see    

Posted in Submitted by rizwan on Mon, 2008-12-29 09:00.

Configuring GlassFish App Server with Apache httpd

Here are the step by step instructions to configure GlassFish App server with apache web server.

Install & configure mod_jk:

Install apache web server and install the corresponding mod_jk. For instance if you have installed apache web server 2.2.4, go to the connectors web site of apache and download from the binaries mod_jk of the corresponding version of your installed web server. Then simply remove the version and place it in the modules directory according to your OS (I use windows OS and place it in C:/apacheroot/modules/ )

Create Workers File:

Create workers properties file inside the conf directory. If there is no sample then create it.Here is one sample you can put

Posted in Submitted by rizwan on Sat, 2007-10-20 16:37.

IBM Websphere commerce demo

Saw this good youtube video about IBM websphere commerce presentation.

Posted in Submitted by rizwan on Wed, 2007-08-29 17:06.

javax /servlet /jsp /el / ELException in websphere 5.x

As you know that websphere application server 5.1 is a 2.3 container and you will have to deploy jstl 1.0 jars and when you sometimes use jstl it throws this class not found error javax/servlet/jsp/el/ELException. Actually this class has been moved to the new jsp api specifications and you will not be finding in the jstl 1.0 jars either in the jakarta standard implementation or from the sun download site. You will have to download the jsp-ap2.0.jar from this link

Adding the above to your classpath will solve your problem in websphere however if you are developing in tomcat 5.x, you will have remove the jsp-api.jar from your classpath otherwise you will start to get another strange error (Failed to load or instantiate TagExtraInfo class error).

Posted in Submitted by rizwan on Thu, 2007-07-26 13:03.


Posted in Submitted by rizwan on Sun, 2007-07-22 08:23.


xplanner is the one if you have java hosting, it needs bit of hibernate knowledge to install, its not as easy as xpweb though, but once you do a proper hibernate configuration then xplanner installs smoothly. Xplanner is simple to use, has simple interface and does the basic stuff like iterations and stories and tasks very well.


Posted in Submitted by rizwan on Sun, 2007-07-22 08:17.

hibernate with iSeries and myEclipse IDE

I was using myEclipse and reverse engineering a file on iSeries for hibernate and was using myEclipse hibernate jars. An application which was tested and working with 'identity' generator was not working now and I was digging hard to fix it. I tried the unstable 'increment' and sequence generators. For some reason I was not able to make sequence generators to work although iSeries supports it.

It kept on giving me that the driver (jt400) is not supporting this function (identity generator) .After long struggle I downloaded the hibernate latest 3.2.4 and replaced the hibernate.jar and yep that fixed the problem. So if you are using myEclipse IDE and using iSeries (especially hibernate reverse engineering) then better to replace the hibernate.jar from myeclipse jars with the latest. Also in the .hbm mapping file make sure that you are not specifying the schema attribute as well as full schema in the table attribute in class element.

Posted in Submitted by rizwan on Sat, 2007-07-21 17:44.


XPWeb could be your choice if you have a php environment and the best one in my opinion. Installing is a breeze as usual and the product is mature and reliable. It is more flexible in user management and creating profiles. It comes default with many roles like developer, admin, coach and so on and has the flexibility of creating your own profile if you wish and the access control also works great.

The project planning is perfectly done and creating iterations and stories is a breeze and less painful. You will enjoy creating itertaions for a week and adding the stories and tasks absolutley with less pain and it will make you great to follow the iterations and complete your iterations and thus feeling great abt your methodology and programming. 

Posted in Submitted by rizwan on Thu, 2007-07-19 12:20.
Syndicate content