zhao-sun.com

December 12, 2004

jakarta-tomcat-connectors, Apache-Tomcat connector

Filed under: Computer — blogadmin @ 4:27 am


    The jakarta-tomcat-connectors binary download doesn’t work as expected.So, I download the src and build myself.

  • install jakarta-tomcat-4.1.24. download http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/bin/jakarta-tomcat-4.1.24.tar.gzand install it.

  • installi httpd-2.0.47.tar.gz. download http://www.apache.org/dist/httpd/httpd-2.0.47.tar.gz and install it.

  • go http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.24/src/, and download file jakarta-tomcat-connectors-4.1.24-src.tar.gz

  • untar jakarta-tomcat-connectors-4.1.24-src.tar.gz

  • go under jakarta-tomcat-connectors-4.1.24-src/util/, run “ant”

  • go under jakarta-tomcat-connectors-4.1.24-src/coyote/, run “ant”

  • go under jakarta-tomcat-connectors-4.1.24-src/http11/, run “ant”

  • go under jakarta-tomcat-connectors-4.1.24-src/jk/, run “export CLASSPATH=/usr/local/jakarta-tomcat/common/lib/servlet.jar” and “ant”

  • under jakarta-tomcat-connectors-4.1.24-src/jk/, edit build.xml, comment out the line ““, and run “ant native”. This will build .so files for apache2. (It mayfail, but all the necessary .so are built already.)

  • copy jakarta-tomcat-connectors-4.1.24-src/jk/conf/workers2.properties to /usr/local/apache2/conf/, and add the following at the end in workser2.properties file:

    [uri:/examples/jsp/*]
    info=Example webapp in the default context.
    context=/examples/jsp/*
    debug=0

    [uri:/examples/servlets/*]
    info=Example webapp in the default context.
    context=/examples/servlets/*
    debug=0

  • copy jakarta-tomcat-connectors-4.1.24-src/jk/build/jk2/apache2/mod_jk2.so to /usr/local/apache2.0.46/modules/

  • copy jakarta-tomcat-connectors-4.1.24-src/jk/build/jk2/jni/libjkjni.so to /usr/local/apache2.0.46/modules/

  • edit /usr/local/apache2/conf/httpd.conf, add the line:

    LoadModule jk2_module modules/mod_jk2.so

  • start Tomcat and Apache, “apachectl -k restart”

  • try with http://localhost/examples/, and make sure that jsp and servlet files are working

November 30, 2004

“The China Price”

Filed under: Business — blogadmin @ 11:18 am

They are the three scariest words in U.S. industry. Cut your price at least 30% or lose your customers. Nearly every manufacturer is vulnerable — from furniture to networking gear. The result: A massive shift in economic power is under way.
(more…)

November 25, 2004

赖斯传记:在婚礼门口徘徊+在苏联数窗户

Filed under: Entertainment — blogadmin @ 9:09 pm

她和未婚夫走进礼服店选订婚纱,但最终没有走进结婚礼堂,至今小姑独处。

.高中时,学校评估她「不具念大学的资格」,但她却成了美国「四大」之一史丹福大学的副校长。
.她曾打算进入著名的茱丽亚音乐学院,后来却成为政治学博士。
.企业不是她的本行,却有一艘巨型油轮曾以她的名字命名。
.戈巴契夫曾怀疑她真懂苏联,结果她以漂亮的俄语风靡莫斯科。
(more…)

November 21, 2004

Open-Source CRM Not Yet a Contender

Filed under: Computer — blogadmin @ 11:20 pm

Fri Nov 12, 3:23 PM ET
Add to My Yahoo! Business – NewsFactor

Erika Morphy, www.crm-daily.com

Commercial open source CRM providers have established their presence in the CRM market in relatively short order, with at least four companies — Sugar CRM, Ohioedge Anteil, Compiere — setting up shop over the last year.

Their sudden popularity is understandable. By building their own applications, users can customize a CRM application exactly as they would like, and at the same time they get to avoid the steep maintenance and fees associated with licensed software.

Sooner or later competing vendors — a group that includes hosted software providers and traditional on-premise software companies — will begin to feel the bite of the new competition. Gartner research analyst Wendy Close told CRM Daily, for example, that she believes the existence of open-source CRM vendors will keep the hosted CRM vendors’ subscription fees down over the next five years.

“Market awareness of open source CRM is definitely taking off, she tells NewsFactor.
(more…)

November 15, 2004

Reading the Nutrition Label

Filed under: Others — blogadmin @ 6:44 pm

What’s all that fine print mean to your workout
By: Gay Riley, M.S., R.D., C.C.N.

Who knows what a gram is? Europeans and cocaine dealers, that’s who. But not law-abiding Americans, unless they happen to be dietitians, like me. I know that 5 grams (g) is about a teaspoon. So whenever I pick up a frozen dinner with 10 g saturated fat listed on the Nutrition Facts label, I see 2 spoonfuls of pallid, artery-clogging fat staring back at me.

These labels started appearing on every item of packaged food in the United States in 1990. At first, the law required a listing of calories, fat, carbohydrates, protein, and sodium. In 1993, saturated fats and cholesterol were added. And in 2006, all labels will list food allergens and trans fats, the dangerous mutant gunk that’s formed when food manufacturers turn liquid oils into solid fats so they’ll stay stable on grocery-store shelves.

Like most legislation, the labeling law was meant to be helpful. And it has been, mostly. Yet, 14 years later, many people still don’t understand how to put the information into practice. This guide is your Cliffs Notes for your next supermarket test.
(more…)

September 8, 2004

Windows-to-Linux Migration Guide Published

Filed under: Computer — blogadmin @ 1:19 am

A comprehensiveWindows-to-Linux Migration Guide, exploring the technical, commercial and social costs of major migration projects, has been released by the German Ministry of Interior Affairs.

Based in part on the experiences of the City of Munich, and its announced plans to move away from Microsoft Windows to the Linux open source system, the guide describes the number and diversity of solutions encountered, defines important selection criteria, such as size, intensity of IT use and degree of “specialization” of public agencies, as well as product comparisons and TCO studies.

Linux Gazette has links to the document in English and German, which can also be found at:

Migration_Guide.pdf

August 13, 2004

30年来全球10大最佳软件评出Windows未入选

Filed under: Computer — blogadmin @ 12:00 pm

自1976年进入现代桌面计算时代以来,软件正逐步取代硬件成为现代计算的核心。在此期间,有无数款优秀的软件产品诞生,并从而改变了人们的计算方式和日常生活。本周,《PC Magazine》评出了近30年以来的10款最佳软件产品。他们其中或者是有过最辉煌的历史,或者是最具创新性。

第十名:Microsoft BASIC(1976推出)

这是微软公司开发的一款真正具有创新意义的软件程序。与竞争对手的同类产品不同,这是全世界第一款独立封装的程序语言(boxed programming languages),它刺激了现代编成时代的到来,并引入了¡°拆封授权(拆封授权条款是指软件开发商就其所出售的软件产品限制消费者仅能在一定的授权范围内使用)¡±这一语言概念。
(more…)

July 7, 2004

10 Books You Should (Re)Discover

Filed under: Entertainment — blogadmin @ 10:22 am

School just ain’t what it used to be. Or is it? Some books can take us back to our school days and teach us valuable lessons all over again. Here are some of our favorites.
1. Madeline by Ludwig Bemelmans
Ahh, adventures in Paris–what could be better? Madeline and 11 other little girls live “in an old house in Paris,” under the care and tutelage of Miss Clavel. This edition captures their exploits in three-dimensional pop-up spreads of selected scenes from the book based on Ludwig Bemelmans’s original illustrations.
(more…)

June 22, 2004

The pros and cons of four web development tools: mod_perl/Mason, J2EE, Zope and OpenACS

Filed under: Computer — blogadmin @ 1:31 am

If someone asked you to name the best car on the market, you’d probably tell them the answer depends on who will use the car. After all, a family of eight living in Manhattan probably needs a different type of vehicle from a single hacker living in rural North Dakota. The same is true for programming languages and development toolkits. Each has its place and is appropriate for solving different sorts of problems.

Although this might seem obvious, many programmers believe the language or toolkit they use is so good it should be used to solve all problems, all of the time. As the old saying goes, if your only tool is a hammer, every problem looks like a nail. No programming language is the best fit for all problems, which is why experienced programmers know and use a variety of languages and constantly are learning new ones.
(more…)

June 18, 2004

Resin with Apache on Unix

Filed under: Computer — blogadmin @ 2:13 pm

Resin is an application server that is in the process of completing J2EE certification. The reason I choose Resin is because of that a popular web hosting company LunarPages uses Resin to support jsp and servlet.

Following are the steps to make Resin work with Apache on Unix and Liuux:
(more…)

« Newer PostsOlder Posts »

Powered by WordPress