why does passthru sservlet work with apache

hi all,
I would like to know why i must use in the url a reference staring with localhost instead of localhost:8080 (Tomcat reference) for example if use a htttp get request :

http://localhost/TaminoFilter/tamino/databaseName/CollectionName?_xql=Query&_xslsrc=stylesheet


Thanks

Hi,
The original installation instructions for the Passthru servlet included a section on configuring the Apache/Tomcat link module, mod_jk. The documentation said:

First, add the following line to httpd.conf in the /conf/ directory of the web server installation (for example, c:\Program Files\Apache Group\Apache\conf):

Include c:\TOMCAT\conf\apache-connector.conf</pre> <BR>Now create the file c:\TOMCAT\conf\apache-connector.conf with contents such as the following: <BR><pre class="ip-ubbcode-code-pre">
LoadModule    jk_module  "C:\Program Files\Apache Group\Apache\modules\mod_jk.dll"
AddModule     mod_jk.c
JkWorkersFile c:\TOMCAT\conf\workers.properties
JkLogFile     c:\TOMCAT\logs\mod_jk.log
JkLogLevel    info
JkMount       /examples/* ajp13
JkMount       /examples/servlet/* ajp13


I think if you look at your configuration files for Apache and mod_jk you will find the answer.

HTH

hi bill,
i’ don’t understand. I work regulary with the passthru servlet , but i wonder why i can’t use localhost:8080 to reference the TaminoFilter class. I’ve read the mod_jk.conf but i can’t solve my doubt.

thanks

Hi,
You should be able to reference the servlet directly but you need to use the right URL. To see if the servlet is accessible via Tomcat you can try:
http://localhost:8080/examples/servlet/com.softwareag.tamino.passthru.TaminoTest
If this gives a 404 Not Found error, try to correct the URL using the location where you find the servlet under Tomcat instead of “examples”.