Download JDK documentation from http://java.sun.com/j2se/1.5.0/download.jsp
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.
Wednesday, July 20, 2005
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.
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 http://java.sun.com/j2se/1.5.0/index.jsp
2. install Apache http server
Apache 2.0 http://httpd.apache.org/download.cgi
3. install Tomcat
Tomcat 5.x http://jakarta.apache.org/tomcat/index.html
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:
http://ftp.wayne.edu/apache/jakarta/tomcat-5/v5.5.9/bin/jakarta-tomcat-5.5.9-compat.zip
unzip it can copy to Tomcat directory
After installation, if everything is right, following pages can be viewed:
http://localhost:8080/
http://localhost:8080/jsp-examples/
4. install a connector, in this case JK
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi
copy mod_jk-1.2.14-apache-2.0.54.so to the ${apache_home}/modules, rename it to mod_jk.so.
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/mod_jk.so" />
Create a file ${tomcat_home}/conf/jk/workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
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"
Reference:
Using Apache HTTP with Apache Tomcat(http://johnturner.com/howto/apache-tomcat-howto.html)
Server Configuration Reference
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html
For application deployment (Application directory structure setup)
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
Jakarta Tomcat Connector - Apache HowTo
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html
Jakarta Tomcat Connector - Workers HowTo
http://jakarta.apache.org/tomcat/connectors-doc/howto/workers.html
1. install JDK ,
j2se 5.0 http://java.sun.com/j2se/1.5.0/index.jsp
2. install Apache http server
Apache 2.0 http://httpd.apache.org/download.cgi
3. install Tomcat
Tomcat 5.x http://jakarta.apache.org/tomcat/index.html
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:
http://ftp.wayne.edu/apache/jakarta/tomcat-5/v5.5.9/bin/jakarta-tomcat-5.5.9-compat.zip
unzip it can copy to Tomcat directory
After installation, if everything is right, following pages can be viewed:
http://localhost:8080/
http://localhost:8080/jsp-examples/
4. install a connector, in this case JK
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi
copy mod_jk-1.2.14-apache-2.0.54.so to the ${apache_home}/modules, rename it to mod_jk.so.
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/mod_jk.so" />
Create a file ${tomcat_home}/conf/jk/workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
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"
Reference:
Using Apache HTTP with Apache Tomcat(http://johnturner.com/howto/apache-tomcat-howto.html)
Server Configuration Reference
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html
For application deployment (Application directory structure setup)
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
Jakarta Tomcat Connector - Apache HowTo
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html
Jakarta Tomcat Connector - Workers HowTo
http://jakarta.apache.org/tomcat/connectors-doc/howto/workers.html
Subscribe to:
Posts (Atom)