Hi.
I upgraded to tomcat4.1.29. Apache version is 1.3.19.
I defined ajp13 connector is server.xml as follows:
<Service name="Tomcat-Apache">
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
I also defined http connector:
<Connector className="org.apache.catalina.connector.http.HttpConnector" port="10990" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
I'm using mod_jk.conf-local, located under apache conf directory ("Include" was added to httpd.conf ).
My contexts were defined as:
JkMount /examples ajp13_hpd301
JkMount /examples/* ajp13_hpd301
JkMount /amc_hpd301/servlet/AmcGateway ajp13_hpd301
where "examples" is tomcat example application(comes with installation) and "amc_hpd301" is my own application.
I created directory named "amc_hpd301" under webapps directory and put my jar file(which includes servlet classes) under WEB-INF/classes.
After starting apache and tomcat, it seems like servlets init method is called sucessfully. But, while trying to access through the browser( I'm getting apache 404 error.
Same error is appeared even if I'm trying to access directly to tomcat(
Anyway, I tried also to create test.jsp file and locate it under amc_hps301 directory.Here, access is successful.
(both and
Access to tomcat examples is successful too.
Do you have any idea why is this happened?
Is it because I'm using jar and not just classes files?
(jar location is passed by CLASSPATH to tomcat, and it seems like servlets are running in background).
Please help me. Its an urgent matter.
Thanks in advanced
Keren.
I upgraded to tomcat4.1.29. Apache version is 1.3.19.
I defined ajp13 connector is server.xml as follows:
<Service name="Tomcat-Apache">
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
I also defined http connector:
<Connector className="org.apache.catalina.connector.http.HttpConnector" port="10990" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
I'm using mod_jk.conf-local, located under apache conf directory ("Include" was added to httpd.conf ).
My contexts were defined as:
JkMount /examples ajp13_hpd301
JkMount /examples/* ajp13_hpd301
JkMount /amc_hpd301/servlet/AmcGateway ajp13_hpd301
where "examples" is tomcat example application(comes with installation) and "amc_hpd301" is my own application.
I created directory named "amc_hpd301" under webapps directory and put my jar file(which includes servlet classes) under WEB-INF/classes.
After starting apache and tomcat, it seems like servlets init method is called sucessfully. But, while trying to access through the browser( I'm getting apache 404 error.
Same error is appeared even if I'm trying to access directly to tomcat(
Anyway, I tried also to create test.jsp file and locate it under amc_hps301 directory.Here, access is successful.
(both and
Access to tomcat examples is successful too.
Do you have any idea why is this happened?
Is it because I'm using jar and not just classes files?
(jar location is passed by CLASSPATH to tomcat, and it seems like servlets are running in background).
Please help me. Its an urgent matter.
Thanks in advanced
Keren.