.ItisAboutTech.StreamOfLife.

Thursday, April 06, 2006

Tomcat 's Clustering vs Load Balance

Clustering involve Session Replication, ensure the session in TomcatA still works when TomcatA was die, and move to the same session to TomcatB for process.

Load Balance, can't work like Clustering, only ensure the load still able to process in TomcatB if TomcatA dies. Divides into JK Native connector, HTTP Server with mod_proxy, balancer webapps.

More details for Clustuering and Load Balance.

Wednesday, February 22, 2006

PHP in MQ series ..

Did a google on PHP + MQ.

Here are some useful result.

http://www.tjonahen.nl/mqseries/

http://pecl.php.net/package/mqseries

PHP Still can work with MQ. Just that IBM doesn't provide that.

Wednesday, February 15, 2006

Y2038 Bug

Found a Unix Bug that might give Y2K like of effect

Y2038 bugs in Chinese

Thursday, November 17, 2005

Apache + Tomcat

Found some mystery Error on the Apache Error Log

1)[DATE TIME][warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.

2)[DATE TIME][warn] (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.

3)[DATE TIME] [notice] Parent: Created child process 6420
[DATE TIME] [notice] Child 6420: Child process is running
[DATE TIME] [notice] Child 6420: Acquired the start mutex.
[DATE TIME] [notice] Child 6420: Starting 250 worker threads.

WTF?

Friday, September 09, 2005

Power PS command

ps -p -o vsz = to print out certain column in PS result

ps lU --forest = to see the user's processes.

Thursday, September 08, 2005

Tips to change the Tomcat's Log

<Logger className="org.apache.catalina.logger.FileLogger"
directory="D:/" prefix="localhost_examples_log." suffix=".txt"
timestamp="true"/>

In order to specify the Log file's location, specify the "directory" clause

Monday, August 29, 2005

Win XP to Mac OS

Well.. Found a site that can change the Win XP Theme to Mac OS ! without having the OS change ! Cool huh?

Emulation Manual - A complete guide on how to change your Windows XP to Mac OS X
By alang