Wednesday, July 20, 2005

Adding JDK Javadoc to NetBeans IDE

Download JDK documentation from
Unzip the zip file to the JDK directory
In NetBeans IDE
1. Choose Tools > Java Platform Manager from the main window.
2. Select the platform to which you want to add Javadoc in the left panel of the dialog box.
3. In the Javadoc tab, click Add ZIP/Folder and specify the location of the Javadoc files.
4. Click Close.

Adding CLASSPATH in NetBeans

In the Projects window, right-click the project node and choose Properties.
Click Libraries in the left panel of the Project Properties dialog box.
Adding library path in the right panel.

Wednesday, July 13, 2005

Setup Tomcat with Apache

Requires following steps
1. install JDK ,
j2se 5.0

2. install Apache http server
Apache 2.0

3. install Tomcat
Tomcat 5.x
Be sure to use j2se 5.0 for Tomcat 5. Otherwise a compatibility package needs to be installed.
Without compatibility package, tomcat 5 will not run with earlier version of j2se.

Compatibility package:
unzip it can copy to Tomcat directory

After installation, if everything is right, following pages can be viewed:

4. install a connector, in this case JK
copy to the ${apache_home}/modules, rename it to

5. configure and test

Add following line to ${tomcat_home}/conf/server.xml, in the <Engine> section,
<Listener className="org.apache.jk.config.ApacheConfig" modjk="C:/Program Files/Apache Group/Apache2/modules/" />

Create a file ${tomcat_home}/conf/jk/

Add a line to the end of ${apache_home}/conf/httpd.conf
Include "C:/Program Files/Apache Software Foundation/Tomcat 5.5/conf/auto/mod_jk.conf"

Using Apache HTTP with Apache Tomcat(

Server Configuration Reference

For application deployment (Application directory structure setup)

Jakarta Tomcat Connector - Apache HowTo

Jakarta Tomcat Connector - Workers HowTo