Friday, October 15, 2004

Deploying tomcat and SQL 2000 on Windows Server 2003

This afternoon I deployed tomcat 5.0.28 and SQL 2000 SP3 on a Windows Server 2003. It took a while to download all of them via slow link. Fortunately, j2sdk is already available. WS 2003 consumes about 300 MB RAM at steady state.

Note that in order to run tomcat as a NT service, it provides service.bat in bin directory to install the service automatically. To install, just run:

service install

And, to uninstall:

service remove


After that, I am able to start it by running "net start Tomcat".

Solution for remotely building distribution for btqueue

Eventually, I use cvsnt combining with openssh for windows as I mentioned earlier. Usually, I use TortoiseCVS but in this case, Tortoise doesn't work at all because it needs to interact via GUI. However, openssh is used as the ssh client for cvsnt only. Actual ssh server is WinSSHD which is much more easier to make it work on winxp sp2.

OpenSSH for Windows is incompatible with SP2

After installing 3.8.1p1-1 downloaded today, everything seems to work perfectly. Unfortunately, I can't find opensshd service in service list. I also tried to "net start opensshd" at prompt but no luck at all. It's the time to find another solution.

OpenSSH for Windows

Since I am having to release BTQueue 0.0.16 very soon, I am looking for a way to remotely create distribution on windows machine at office from my home. OpenSSH for Windows could be used here. It promises to allow running as a service at startup. However, this version, 3.8p1-1 20040709, was compiled on cygwin. It must be slow comparing to linux version.

SSHWebProxy - SSH via HTML

SSHWebProxy is a very interesting project aimed to enable users to access SSH shell and SSH file transfer using a web browser. It runs on JBoss.

SpeedswitchXP 1.4


SpeedswitchXP is a battery optimized applet for winxp. It provides customizable policies to slow down processor speed for saving notebook run longer than normal policy controlled by winxp itself.

Testing hello


My Photo?Posted by Hello
This is a test posting instant image using Hello. It is so easy but I don't know how to remove it. At this time, I know why hello should be used, it allows me to upload screenshot of current window or even the whole screen with single click! I love it.

QEMU CPU Emulator

QEMU CPU Emulator is a fast processor emulator. It claims to run winxp on linux host. I will try it very soon to make a win32 build machine for BTQueue.

SSH clients review

PuTTY was my most favorite ssh client for windows. However, it was unusable for a week without any error messages while other clients work fine. I noticed that the problem should be router setting at border gateway in my university. That's why I have to find a new client. PuTTY comes with sftp support but only text version available right now.

SSH Client has been widely used in my office because of its free license for educational use and its rich functionalities. Unfortunately, it seems so slow comparing to PuTTY. The biggest problem is that it does not support font encoding other than default one (ISO-8859-1 or latin-1). Another problem is HOME and END button do not work at all because it supports only a few terminal (no xterm and Linux). The best thing of ssh is that it cached passphrase for another concurrent session and also sftp.

SecureCRT is my current ssh client. It is fast and fully support publickey authentication based on key pair generated by openssh. SecureFX could be used as a sftp client sharing cached passphrase with SecureCRT. This feature looks like one available in SSH client but it is more powerful with synchronize button.

Thursday, October 14, 2004

Day of Debugging

BTQueue 0.0.16 is going to be ready very soon. It is being tested by developer teams to download bittorrents from various trackers automatically. Today, BTQueue allows user to define aliases with unlimited substitution in each group. In additional, user-defined tracker allows user to dynamicly define pattern of tracker for automatic crawling via cron. For bandwidth shapping, it introduces new algorithm, I called it fair-share, to distribute transfer rate to all session in balance fashion. This action applies to both upload and download. Furthermore, seed rate is activated. In contrast, global upload rate = seed rate + upload rate.
SCMSWeb has been modified to announce resource manager contact string of each queue to its xml. This feature will be used in SQMS to replace MDS. Current, MDS is implemented by OpenLDAP which is very unstable for WAN and especially grid. The most problems are inadequate bandwidth and too high latency that lead to missing information due to timeout error.