Hi,I am a new user of Tamino 4.1.4.1 and I want to retrieve data from tamino database using Tomcat and pass thru servlet. And I notice there is a instruction named ?Installing the Tamino Passthru Servlet? and I have followed the instruction(I have installed Apache2 and Tomcat 4.1 to C:\Program Files) but I fond there is some difficulties for me. They are : 1. The instruction says :
Then I add
to the end of the httpd.conf. The question is am I right to add the line to the end of the file?
2. The instruction says :
So I creat a file c:\ Program Files \ Tomcat 4.1\conf\apache-connector.conf with contents such as the following: LoadModule jk_module “C:\Program Files\Apache Group\Apache2\modules\mod_jk.dll” AddModule mod_jk.c JkWorkersFile c:\ Program Files \ Tomcat 4.1\conf\workers.properties JkLogFile c:\ Program Files \ Tomcat 4.1\logs\mod_jk.log JkLogLevel info JkMount /examples/* ajp13 JkMount /examples/servlet/* ajp13 The question is : At this time I fond there is no mod_jk.dll in the C:\Program Files\Apache Group\Apache2\modules so I downloaded jakarta-tomcat-connectors-1.2.8-src .But I still cannot find mod_jk.dll . Another question is I also cannot find mod_jk.c and c:\ Program Files \ Tomcat 4.1\logs\mod_jk.log.
So these make me cannot succeed in checking Apache and Tomcat Working Together. Please if any one can help me it would be much appreciated.
Hi, It’s fine to add the “Include…” to the bottom of httpd.conf. You need to download the mod_jk.dll binary. The one I use for Tomcat5.5 and Apache2 came from: >here<. I downloaded “mod_jk_1.2.6_2.0.50.dll” and renamed it to mod_jk.dll as described on the download page. You don’t need to worry about missing mod_jk.log - this is an output log file which mod_jk produces when it executes. On windows it is normal for mod_jk.c to be missing so the “apache-connector.conf” file looks like this:
Hi Firstly I would like to thank to Bill for helping me in Tomcat and Apache configuration. And gladely, I already success in it .But, there is other problem, i don’t konw how to install the Xerces on the windows xp professional.I have downloaded the “Xerces-J-bin.2.6.2.tar.gz” and copoied the “xercesImpl.jar, xmlParserAPIs.jar and xml-apis.jar " to my “C:\Program Files\Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\lib” . I added the element as a child of the top-level element in my “C:\Program Files\Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\web.xml” as below(I have installed the JDK 1.4):
If this doesn’t work, then you can be pretty sure that you have a system configuration problem and not a stylesheet problem. Conversely, if it does work, it will show you exactly what the source XML document looks like, so you can write a customised transformation for it.
At first I would like to say thanks to you, I do as you told me, and it does work. I have some questions about retrieving data from Tamino database with a stylesheet designed by myself.
My software configuration is as below:
Windows XP professional with sp2
Tanmio XML server 4.1.4.1
Apache HTTP Server 2.0.48
Apache Tomcat 4.1
JSDK 1.4
Internet Explorer 6.0
When I use a URL without simple Chinese as below:
I can get a correct result. But if I use a URL which contains some simple Chinese words as below:
I got the error message like this:
So I think maybe the problem lies in supporting simple Chinese, if not could you give me some suggestion to solve the problem?
Hi,
The original question here was about connecting Tomcat and Apache, and later we moved on to the PassThru Servlet.
Now all of that is working, but the issue has changed to Tamino support for Chinese characters. I think you should raise this question with your local Software AG Support Centre.
Thanks and Best regards
Bill
Hello Jo,
By default, the invoker servlet is disabled in later versions of Tomcat, and the easiest way to make the passthru servlet work (assuming that this is your problem) is to re-enable Tomcat’s invoker servlet. To do this, edit the “web.xml” file in Tomcat’s “conf” directory, find the “servlet” section for the invoker and uncomment it, then find the “servlet-mapping” section and uncomment it. Finally, restart Tomcat. If everything works, great. If not, please start a new topic and give us a bit more detail on the error you receive.
Thanks.