Wednesday, September 9, 2009

Classloading in Websphere Administrative Console


I have this web service server application which has been running fine at a Websphere Process Server. One day, my application's log was writing to another application B's log. That is really weird. I checked and found out that this B was recently deployed to the server only. The cause for my application to write to B's log is due to B's log4j jar file was put in the server's common directory ! If we do not change the classloading policy, which is default to PARENT_FIRST, then Wepshere's classloader will load that common directory first only will load the jars in our application's WEB-INF/lib directory.

Hence i logged on to Websphere Administrative Console, went to my application's war file and changed the classloader policy to PARENT_LAST. By doing this Websphere will find and load the neccessary classes from your web module's WEB-INF/lib(web module classloader) first, also you must ensure that the jars you put under your application's WEB-INF/lib folder do not clash with the one at server's common directory, else you will get a java.lang.LinkageError exception due to classloader is trying to load duplicate class.

Tuesday, September 8, 2009

中华文化何时能影响其他文化?

中国曾几何时差点成了一个基督教王国,假如太平天国成功推翻满清的话。

虽然天国梦碎,却是革命运动之始。之后中国民众在一个受各国文化熏陶而又是基督徒的孙文先生的带领下终结了满清的生命。

接下来,五四运动后,一群接触德国大哲马克思思想的中国青年登上舞台,他们的特点是坚守马克思主义思想,不辞劳苦的在国民党与众军阀间勉强求存,过程险象环生,的确不容易。他们付出的努力不是白费的,最终凭着坚定的信念成立了中华人民共和国,实现了马克思主义治国之梦。

只是,以上种种民众运动的主导思想皆是外来之物,非中华文化思想的一部分。也难怪五四时期要打到孔家店、消灭汉字、消灭文言文等等。

由是观之,近百年来中国深深的受到西方文明的影响。反观中华文化呢,则面临逐渐变质的命运,不断的受强势英语文化侵蚀领土。单是要坚守汉文教育已不容易,原因是许多青年喜欢参杂英语词汇字母,如任由着此现象持续下去,要想全球推广华文,难啊!

全球华人的使命是:从中华文化找出符合现代的进步思想,成为治国齐家平天下的主义,成为榜样,让其他文明的人看到中华文明优势进而学习之!

Thursday, September 3, 2009

More about year 2012

Besides the Maya Calendar that says that year 2012 is the end of the 5th Sun Century , there are some other evidences about the 2012 tragedy year.

According to Chinese calendar, year 2012 is Tian Luo Di Wang 天罗地网 year, which also means there will be great disaster.

Anyway, Isaac Newton predicted that year 2060 is the end of the world.

Some Tibetan monks who own "long vision" capability see Nuclear War in year 2012 and see a supernatural force will stop this war.

In year 2006, there was a Russian boy, 7 years old then, claimed himself from MARS, predicted that:

1) In year 2009, there will be a great disaster related to water in one continent.
2) In year 2009, there will be a great plague
3) In the beginning of year 2012, there will be a Nuclear War which takes away lots of human life. However a 'supernatural force' will come to earth and stop it. After that human will find the 'higher self' and human race will no longer be the same human race we are today.

Apart of the above, Mars boy also said that:
1) Crop Circle found everywhere on the earth are actually created by MARS people as a sign to the disaster in year 2012.
2) There is a creature living on MARS, known as Sand Worm. While MARS people are basically living underneath the ground.

Human, please start appreciating peace now, please start appreciating everything around us now.