Current Status

Actively playing with all possible backend services

27 December, 2010

New application to read FIX protocol

I just started an application to read data feed of The Financial Information eXchange ("FIX") Protocol.
FIX is the industry-driven messaging standard that is changing the face of the global financial services sector...

In Automated Trading System(ATS) of the Colombo Stock Exchange(CSE),ensures the validity of the incoming orders from broker systems and uses the Financial Information eXchange (FIX) Protocol to communicate with any third party software. The interface provides the mechanism for brokers to interface their internet order processing module and their broker back office systems to the Trading System.

Serial Data Feed
The data vendors obtain market updates from two serial data feeds that are available in the system


Just start learning abt FIX and looking for 'better' JAVA libry to read FIX protocol.. if you guys know anything pls giv me a sup!

15 December, 2010

sql Query to Group By Year, Month, Week, Day

I tried to make a report to see a list of total records, grouped by month:


Which i found from articles:

SELECT Sum(someValues) 
FROM Table 
GROUP BY Year(date_feild), Month(date_feild), Day(date_feild) 


what i wrote first:

select count(*),Year(entered_on) ,Month(entered_on)
 from receipt_table
group by 2,3


I end up with:

select Year(entered_on) as Year,Month(entered_on) as Month,count(*)
 from receipt_table
group by 1,2
order by 1,2


any comments guys?

29 September, 2010

27 July, 2010

Good lesson for life

Hi readers,

I got this from a email.. I learned smthing from it and like if read and do the same..


There was a man who had four sons. He wanted his sons to learn not to judge 
things too quickly. So he sent them each on a quest, in turn, to go and look at a pear tree that was a great distance away. 

The first son went in the winter, the second in the spring, the third in summer, and the youngest son in the fall. 

When they had all gone and come back, he called them together to describe what they had seen 

The first son said that the tree was ugly, bent, and twisted. The second son said no it was covered with green buds and full of  promise. 

The third son disagreed; he said it was laden with blossoms that smelled so sweet and looked so beautiful, it was the most graceful thing he had ever seen. 

The last son disagreed with all of them; he said it was ripe and drooping with fruit, full of life and fulfillment. 

The man then explained to his sons that they were all right, because they had each seen but only one season in the tree's life.. 

He told them that you cannot judge a tree, or a person, by only one season, and that the essence of who they are and the pleasure, joy, and love that come from that life can only be measured at the end, when all the seasons  are up. 

If you give up when it's winter, you will miss the promise of your spring, the beauty of your summer, fulfillment of your fall. 


Moral: 

Don't let the pain of one season destroy the joy of all the rest. 
Don't  judge life by one difficult season. 
Persevere through the difficult patches 
and better times are sure to come some time or later……

04 February, 2010

Birthday wishes

For this year birthday I got hundreds of FB wishes , Emails , sms and calls! Thank you all for all wishes.. thought to share three of them with my blog readers...




Happy birthday brother

My dearest brother
Today is your birthday
Knowing that you will be turning another year old

May you enjoy this blissful day
And many happiness that will come your way
Because today is your birthday

Bright

Remarkable

Outstanding

Terrific

Helpful

Exceptional

Reliable

*******Who has everything*******

HAPPY BIRTHDAY GAYAN AYIA.
******Wishes from Amali Nangi******


25 January, 2010

Log4j in Weblogic - ClassNotFoundException

Helo my friends/readers
I need a hint to solve problem developed in JDeveloper 11g/ WebLogic Server 10.3.0.0.

Application - Struts, JSP , Java)

But when I install and start the web application using weblogic console it gives an error,

java.lang.ClassNotFoundException: org.apache.log4j.Category

My libries in WEB-INF/lib as follows,
antlr.jar commons-beanutils.jar commons-digester.jar commons-fileupload-1.0.jar commons-validator.jar dom4j-1.6.1.jar dwr.jar jakarta-oro.jar struts.jar log4j-1.2.15.jar

Do you have any idea? i post in Javaranch forum, not cleared yet.

Thank you very much for any hint.

Update 1:

Created a new file call "weblogic.xml" in WEB-INF


<?xml version="1.0" encoding="ISO-8859-1"?>

<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">

<container-descriptor>

<prefer-web-inf-classes>true</prefer-web-inf-classes>

</container-descriptor>


</weblogic-web-app>


working fine now!

Some Popular Posts