Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th April 2006, 19:46
fernandoch fernandoch is offline
Junior Member
 
Join Date: Apr 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Simple Apache 2 Tomcat 5 Integration with Debian 3.1

Hello all,

I have opened this thread to try to help those who find problems using the tutorial I have made at:

http://www.howtoforge.com/apache2_to...jk_integration

Please post in here your questions and we will all try to solve them.

Fernando

Last edited by fernandoch; 9th April 2006 at 19:53.
Reply With Quote
Sponsored Links
  #2  
Old 10th April 2006, 10:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

You might have noticed that I did a little formatting on your Howto so that it fits into these guidelines: http://www.howtoforge.com/howto_formatting_guide
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 10th April 2006, 11:03
fernandoch fernandoch is offline
Junior Member
 
Join Date: Apr 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes I have noticed,

I was supposed to do it today

Thank you anyways,
Fernando

Last edited by fernandoch; 10th April 2006 at 11:17.
Reply With Quote
  #4  
Old 3rd May 2006, 00:06
leorulez leorulez is offline
Junior Member
 
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with apache webserver and tomcat integration

Hi,

I followed the exact steps given by you in

http://www.howtoforge.com/apache2_to...jk_integration
trying to make tomcat and apache communicate.

However when I typed
http://host/jsp-examples, I got an Apache Tomcat error report, "HTTP status 404". I am not sure what I have done wrong. Any help on this would be appreciated.

My config is
Linux 3.2.3-53
Apache Web Server 2.0.46
Tomcat 4.1.29

Thanks
ambika
Reply With Quote
  #5  
Old 3rd May 2006, 16:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Anything in your error logs?
Have you also tried http://host/jsp-examples/ (with a trailing slash)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 4th May 2006, 21:35
leorulez leorulez is offline
Junior Member
 
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried with trailing slash, but still getting the same error. The mod_jk.log file is empty, mod_jk.log.1 has lines similar to this,

[Tue May 02 15:59:21 2006]worker1 host 0.020002


My workers.properties file is

workers.tomcat_home=/usr/local/tomcat/
workers.java_home=/usr/java/j2sdk1.4.2_06/
ps=/
worker.list=worker1
worker.default.port=8009
worker.default.host=hostname
worker.default.type=ajp13
worker.default.lbfactor=1

I replaced hostname with the real hostname.
Reply With Quote
  #7  
Old 11th May 2006, 17:50
devnet devnet is offline
Junior Member
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually, the examples are located http://localhost:8080/jsp-examples/ instead of http://localhost/jsp-examples/

There is a link to those examples on the front page of your default tomcat index http://localhost:8080/

So the how-to should be updated with this error fix. Not sure if it is because I used apache-tomcat-5.5.17.tar.gz versus apache-tomcat-5.5.16.tar.gz or not...but that's the fix.
Reply With Quote
  #8  
Old 26th May 2006, 18:51
fernandoch fernandoch is offline
Junior Member
 
Join Date: Apr 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi leorulez,

What happens when you point your browser to:

http://localhost ??? Does your apache respond to the request?

And when you point it to:

http://localhost:8080 ??? What does it give you?
Reply With Quote
  #9  
Old 29th June 2008, 13:15
nulix31 nulix31 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by leorulez View Post
Hi,

I followed the exact steps given by you in

http://www.howtoforge.com/apache2_to...jk_integration
trying to make tomcat and apache communicate.

However when I typed
http://host/jsp-examples, I got an Apache Tomcat error report, "HTTP status 404". I am not sure what I have done wrong. Any help on this would be appreciated.
Hi,

I had the same issue: apache and tomcat worked correctly respectively on ports 80 and 8080, but the redirection with mod_jk did not work.

I set JkLogLevel=debug instead of info in apache2.conf.
I obtained the following message in mod_jk.log:
"missing uri map for localhost.localdomain:/jsp-examples"

I corrected this when adding the following JkMount statement in Apache virtual hosts configuration file:
NameVirtualHost *
<VirtualHost *>
...
JkMount /jsp-examples/* worker1
</VirtualHost>

I hope this can help.
Ludo
Reply With Quote
The Following User Says Thank You to nulix31 For This Useful Post:
falko (30th June 2008)
  #10  
Old 12th March 2008, 15:14
diamondpearl diamondpearl is offline
Junior Member
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post Integrating Tomcat 5 and Apache 2in Unix Server

Hi Dudes,
I am having the following things installed in unix server.

Apache:HP-UX Apache-based Web Server A.2.0.58.01

Tomcat:Tomcat 5.5.20

How to integrate both of them?


For unix based server what confguration needs to be done?

Steps required to configure?


Where can i get the connector files?


Please help me to solve this...!


In Apache conf folder mod_jk and mod_jk.so both files are there?Which one i have to use it?


Thanks in Advance...!

regards
diamondpearl
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How would I upgrade php, mysql, and apache for debian phantomk Installation/Configuration 10 4th June 2007 19:01
Hell of asp debian apache ColdDoT Installation/Configuration 2 15th March 2006 15:15
Apache and Tomcat problem! Urgent maroonworks Server Operation 3 24th February 2006 16:14
asp and asp.net on apache debian ColdDoT Installation/Configuration 9 12th February 2006 23:17
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 01:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.