Monday, July 26, 2004

Quick and Dirty Apache 2.0.48 –Jk2-Tomcat 4.1.29X

• Install Tomcat, do not start tomcat
• Download compiled Jk2 Connector from Apache site which has jk2 dll/shm files also.
• Before installing Apache make sure system is not running any Web server on Port 80, like Microsoft IIS, if yes stop the web server and then Install Apache. Once Apache is installed it starts the web server on port 80
• Go and Stop Apache web server
• Go to /conf/jk2.properties
• Add following ; text in < shouldn’t be added>
o handler.list=channelSocket,request
o channelSocket.port=8009
o channelSocket.address=127.0.0.1
• Go to /conf
• Open httpd.conf and add following
o LoadModule jk2_module tomcat-connector/mod_jk2-2.0.43.dll
(We will create tomcat-connector directory in next step)
• Create file called workers2.properties in /conf and following should be the content
o [shm:]
o file=C:\Program Files\Apache Group\Apache2\logs\jk2.shm
o size=1000000
o [channel.socket:localhost:8009]
o [uri:/examples/*]
o [uri:/myworld/*]
o [uri:/tomcat-docs/*]
• Copy jk2.shm to /logs directory
• Create tomcat-connector directory under and copy mod_jk2-2.0.43.dll file in there
• Start Tomcat first and then Apache
• Go to http://localhost/myworld , you should be able to get into your application without Application server port now.
• You are all set.

5 comments:

trucos nokia 32204b said...

Terrific blog. I search the internet everytime I
get a moment to find blogs. Its better than cold iced
tea and I have to visit it one more time!
My cash advance detroit blog, is something you need to peep out!

job opportunitya said...

Fine blog. I found your site suitable for another
visit! And when I'm able to surf the web, I look for
blogs as great as your work.
Want to see top notch work, peep my plastic surgery cost blog site for the bomb work!

job opportunitya said...

Inspiring blog. I love finding blogs this good on
the internet, when I have the time. I'm going to go
back to it!
Jump into my plastic surgery colorado blog.

payday loan online said...

where i get more info?

zom-bie said...

Terrific blog. I search the internet everytime I
get a moment to find blogs. Its better than cold iced
tea and I have to visit it one more time!
Please discover my national cash advance blog.