You are here
Thom - Tue, 2010/04/06 - 15:23
Hi Everyone!
I have started using Tomcat on Apache Appliance. I deploy apps with success but I can't run them. When I try to open app from tomcat manager I get apache information "The requested URL /app10 was not found on this server. Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 mod_ssl/2.2.8 OpenSSL/0.9.8g Server at 192.168.95.135 Port 443". Default installed apps like admin and host-manager work well.
Thanks for any help
Forum:
This might be a bug...
Meanwhile I've filed a new bug report and we'll be taking a closer look at this for the next release batch: https://bugs.launchpad.net/turnkeylinux/+bug/611104
This is probably the result of a bad Apache configuration directive. If anyone figures it out, post the fix here.
Not a bug, just requires configuration
Sorry for the late response, I just found this thread from the bug report Liraz posted (I'm cleaning house for the Lucid release).
The tomcat-apache appliance is a little different to the standalone tomcat appliance. It uses apache to proxy back requests to tomcat using Mod JK. Therefore, each application/war that you want apache to know about, needs to be configured in /etc/tomcat5.5/mod_jk.conf
I provided an example in this thread.
Note to self: update the appliance page / documentation with this information.
Tomcat on Apache instructions (v12.0)
Great appliance. And this old forum reply did just the trick getting the proxy working. A quick reference to this on the the appliance page might save some confusion for those of us still learning.
Thanks guys. Love your work!
Richard
Added link to doc page
You're absolutely right. I added a link from the appliance page to the doc page. It still needs to be fleshed out [ hint hint :) ] but at least includes links to the relevant threads at the moment.
Please start a new thread...
Things to include in your new thread:
My guess is that you haven't read the rest of this thread...
Please do that first. If you still have an issue, please open a new thread.
Add new comment