Following the unsuccessful production rollout for WBIA for Kenan on December 2008, the client has put a more business knowledge rich human resource to verify the screwed-up production data. Also she has informed me what to change and what not to change. I have also fixed the problem where a 'dynamic' database connection is not 'cached'.
This morning we reached office before 6am. I packed for McDonald's big breakfast. So far no bad news. I think this time the production rollout will go very well.
Tuesday, January 20, 2009
Thursday, January 15, 2009
Something funny has happened!
I am not sure why. Somehow the XML message that was passed to my request queue contains response tag which is not supposed to be attached to it.
What annoyed me was my WBI adapter for Kenan kept processing the same XML message over and over again! Thank to this and only i found out that there was one database connection remained opened thus causing more and more database sessions created!!! This could be a serious issue and luckily i tackled the problem before the system goes for production! However, i still need to find out why sometimes the XML message is redirected to the request queue even tough it has been processed by the adapter without encountering any Tuxedo connection error! The only clue i know now is this kind of 'problematic' XML message contains response tag! Could it be an error from the portal side? Could it be they acquired the processed XML message from response queue and then sent to request queue again? Well, it is doubtful.
Scratching head... continue tomorrow....
What annoyed me was my WBI adapter for Kenan kept processing the same XML message over and over again! Thank to this and only i found out that there was one database connection remained opened thus causing more and more database sessions created!!! This could be a serious issue and luckily i tackled the problem before the system goes for production! However, i still need to find out why sometimes the XML message is redirected to the request queue even tough it has been processed by the adapter without encountering any Tuxedo connection error! The only clue i know now is this kind of 'problematic' XML message contains response tag! Could it be an error from the portal side? Could it be they acquired the processed XML message from response queue and then sent to request queue again? Well, it is doubtful.
Scratching head... continue tomorrow....
Thursday, January 1, 2009
跨年佛学讲座
我在2008年的最后两天参与了一个佛学讲座。主讲人是来自台湾的慧律法师。法师演讲时还真七情上面,表情丰富,让观众们都不至于闷了睡去。
开场都有一段的唱经。平时有唱经的我也自然而然能随之起哼。
法师主要是说什么是正信佛教。华人社会活在儒、释、道的文化太多年了,导致个宗教都变质了。法师该是想尽力协助大众了解何谓真正的佛教。
法师也强调佛教各派该团结一致,不因些微分歧而闹内讧。
法师的演讲大多时候都简易有趣,可惜有几段因应用经文用语而让佛学初学者如我脑袋转不过来。
有些美中不足的是,以我所了解,佛陀已经涅磐了,那么法师怎么可以说“愿佛陀保佑你”和“愿佛陀保佑我们伟大的祖国-马来西亚”呢?而且第二句让人感到有些怪,但又说不出来其怪在何处。
大会还请来了马来西亚的口琴高手以呈献高水准的演出,我只能说,很棒!
大会负责人上台演讲时也几乎掉泪,主办过程想必艰辛。
在接近2009年的时候,法师们也为大众祈福,观众们全都亮起了手上的莲花灯,场面庄严壮观。
不虚此行。
开场都有一段的唱经。平时有唱经的我也自然而然能随之起哼。
法师主要是说什么是正信佛教。华人社会活在儒、释、道的文化太多年了,导致个宗教都变质了。法师该是想尽力协助大众了解何谓真正的佛教。
法师也强调佛教各派该团结一致,不因些微分歧而闹内讧。
法师的演讲大多时候都简易有趣,可惜有几段因应用经文用语而让佛学初学者如我脑袋转不过来。
有些美中不足的是,以我所了解,佛陀已经涅磐了,那么法师怎么可以说“愿佛陀保佑你”和“愿佛陀保佑我们伟大的祖国-马来西亚”呢?而且第二句让人感到有些怪,但又说不出来其怪在何处。
大会还请来了马来西亚的口琴高手以呈献高水准的演出,我只能说,很棒!
大会负责人上台演讲时也几乎掉泪,主办过程想必艰辛。
在接近2009年的时候,法师们也为大众祈福,观众们全都亮起了手上的莲花灯,场面庄严壮观。
不虚此行。
Wednesday, December 31, 2008
The end of year 2008! 2008年结束了!
2008 is a year full of sorrows. A lot of people are suffering from the Economic Tsunami caused by the losing credibility of the financial system in the U.S due to the sub-prime crisis. The negative effect of this man made disaster is likely to continue in the coming few years. Fortunately many countries are showing positive attitude to work among all of them together to overcome this problem as soon as possible. I hope the level of confidence will restore next year, which is year 2009. I wish everyone a good year of 2009!
2008年,对于人类,尤其中国人来说,是蛮多灾多难的。最重要的世界大事莫过于起源于美国次贷危机的金融海啸了!至今各国的对金融海啸的反应都非常的积极,我觉得主要是信心崩塌的问题。相信当每个人的信心渐渐恢复了之后,全球将重新迅速迈入了又一个欣欣向荣的阶段。最重要的是各国都能把这次的事件当作反面教材,牢牢记得,如此错误千万莫重犯!最后,期待经济能于2009年复苏!人人皆能分得糖果!
2008年,对于人类,尤其中国人来说,是蛮多灾多难的。最重要的世界大事莫过于起源于美国次贷危机的金融海啸了!至今各国的对金融海啸的反应都非常的积极,我觉得主要是信心崩塌的问题。相信当每个人的信心渐渐恢复了之后,全球将重新迅速迈入了又一个欣欣向荣的阶段。最重要的是各国都能把这次的事件当作反面教材,牢牢记得,如此错误千万莫重犯!最后,期待经济能于2009年复苏!人人皆能分得糖果!
Tuesday, December 23, 2008
Production
Finally my WBI adapter for Kenan (a finance system built by Accenture) has gone for PRODUCTION last week. I thought after that everything will be fine. However...
I hit the Tuxedo connection error again. The murderer is the Tuxedo client library again! This time i migrated the jar version that i edited and put to the one at production server. It did not work! I was panicked!
Luckily i deployed the system earlier than the agreed time and i discovered the problem earlier. I still had the whole night trying to fix the problem. I went back and worked from home until 1 something in the morning. Finally i got the solution which is i have to set TUXEDO relevant environment variables at either my startup script or my user's profile (.profile). (It's AIX machine)
I went to bed after that. 4am in the morning i was awakened by a call from maxis staff to stand by for testing before production. What frustrated me most is a lot of tables and database objects are not granted with enough privileges. This problem has been troubling me till the morning.
Also, a lot of late requirements came out only after the users found out some data integrity issue. That even worsened the problem.
The fight continued until 5 something in the late afternoon next day. The client decided to switch to a backup plan. Thus the production was announced failed.
I hit the Tuxedo connection error again. The murderer is the Tuxedo client library again! This time i migrated the jar version that i edited and put to the one at production server. It did not work! I was panicked!
Luckily i deployed the system earlier than the agreed time and i discovered the problem earlier. I still had the whole night trying to fix the problem. I went back and worked from home until 1 something in the morning. Finally i got the solution which is i have to set TUXEDO relevant environment variables at either my startup script or my user's profile (.profile). (It's AIX machine)
I went to bed after that. 4am in the morning i was awakened by a call from maxis staff to stand by for testing before production. What frustrated me most is a lot of tables and database objects are not granted with enough privileges. This problem has been troubling me till the morning.
Also, a lot of late requirements came out only after the users found out some data integrity issue. That even worsened the problem.
The fight continued until 5 something in the late afternoon next day. The client decided to switch to a backup plan. Thus the production was announced failed.
Wednesday, November 26, 2008
The Jar Manifest
Today i learned something about the Manifest file inside JAR file.
I found out that path for the Class-Path property starts from the path where the jar is located.
For example, if you place your JAR file at C:/myApp/service/myJar.jar, and you want to add a library (C:/myApp/lib/A.jar) to your manifest file, you will NOT be able to achieve that! Remember this!
The root path for the Class-Path property in the manifest.mf file starts with the path where the jar file installed.
In this case, if you want to put your classes into manifest.mf, you have to move the C:/myApp/lib/ to C:/myApp/service/lib
Correct me if i am wrong.
I found out that path for the Class-Path property starts from the path where the jar is located.
For example, if you place your JAR file at C:/myApp/service/myJar.jar, and you want to add a library (C:/myApp/lib/A.jar) to your manifest file, you will NOT be able to achieve that! Remember this!
The root path for the Class-Path property in the manifest.mf file starts with the path where the jar file installed.
In this case, if you want to put your classes into manifest.mf, you have to move the C:/myApp/lib/ to C:/myApp/service/lib
Correct me if i am wrong.
Thursday, November 20, 2008
Hectic weeks
I had a tricky problem with the Wepshere Business Integration(WBI) Adaptor. There was a error message saying that the jar file in my customized adaptor (tuxedo.jar) failed to load a 'so' file. It uses loadFile method from java.lang.System and somehow that particular file could not be found. I double checked the LIB_PATH(AIX machine) and java.lib.property and they are correct.
In the end i decompiled the particular class from the tuxedo.jar, modified the source code by using load method in java.lang.System instead of loadFile method. The load method will require us to specify the absolute file path. It works!!!
In the end i decompiled the particular class from the tuxedo.jar, modified the source code by using load method in java.lang.System instead of loadFile method. The load method will require us to specify the absolute file path. It works!!!
Subscribe to:
Posts (Atom)