Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2003, 02:21 AM
Authorized User
 
Join Date: Jul 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache + JK Connector + Tomcat problem !

Hi,

   I was following the instruction on http://www.johnturner.com/howto/winxp-howto.html to make Apache (apache_2.0.47-win32-x86-no_ssl.msi) able to talk to Tomcat 4.1.24. I installed them under Windows 2K Advanced Server.
   It's successful that I m able to view http://localhost/examples/jsp/index.html using port 80 for which u need to include 8080 (http://localhost:8080/examples/jsp/index.html) in order to view JSP page usually.
   The problem here is that when I accessed the site using the other client computer, the page can't be view without adding 8080, that's mean I need to enter http://192.1.3.2:8080/examples/jsp/index.html to view the page.
   Perhaps the site joker forgot to include something !
   Pls.............help...........Thx !

Wireblock
 
Old August 5th, 2003, 04:05 AM
Authorized User
 
Join Date: Jul 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi pls help !!
 
Old August 7th, 2003, 01:28 AM
Authorized User
 
Join Date: Jul 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to yuji_chen
Default

if u really cant work it out, try this trick... Configure ur tomcat listen to port 80 it should solve ur problem.....:D
 
Old August 13th, 2003, 11:13 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check out
http://www.greenfieldresearch.ca/tec...k2_config.html
Hope it helps.
(ps:the example is using jk2 to connect between apache2 and tomcat4.1 )

 
Old December 3rd, 2003, 10:27 PM
Registered User
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mowoski
Default

Quote:
quote:Originally posted by wireblock
 Hi pls help !!
Hello You need to add an Alias in you httpd.conf file The apache webserver needs to be able to find the static resources in the examples directory.

Alias /examples/ "/var/www/jakarta-tomcat-4.1.29/webapps/examples/"

<Directory "/var/www/jakarta-tomcat-4.1.29/webapps/examples/">
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all

Hope this helps
</Directory>


 
Old March 23rd, 2005, 06:10 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by wireblock
 Hi,

I was following the instruction on http://www.johnturner.com/howto/winxp-howto.html to make Apache (apache_2.0.47-win32-x86-no_ssl.msi) able to talk to Tomcat 4.1.24. I installed them under Windows 2K Advanced Server.
It's successful that I m able to view http://localhost/examples/jsp/index.html using port 80 for which u need to include 8080 (http://localhost:8080/examples/jsp/index.html) in order to view JSP page usually.
The problem here is that when I accessed the site using the other client computer, the page can't be view without adding 8080, that's mean I need to enter http://192.1.3.2:8080/examples/jsp/index.html to view the page.
Perhaps the site joker forgot to include something !
Pls.............help...........Thx !

Wireblock
 
Old March 23rd, 2005, 06:17 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Change you workers2.properties
In this file change the [uri:localhost...] to you ip address as

[uri:localhost/jkstatus/*]
group=status:status

change it to

[uri:10.0.12.155/jkstatus/*]
group=status:status

Do this for all your context
[shm]
file=C:/www/Apache2/logs/shm.file
size=1048576

[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[status:status]

[uri:localhost/jkstatus/*]
group=status:status

[uri:localhost/jsp-examples/*]
worker=ajp13:localhost:8009

[uri:localhost/servlets-examples/*]
worker=ajp13:localhost:8009








Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache tomcat problem... joshi.sujit Apache Tomcat 0 April 15th, 2008 09:34 AM
jk connector URGENT ISSUE supreet Apache Tomcat 1 March 31st, 2007 11:56 AM
apache tomcat manager problem u01jmg3 Apache Tomcat 0 March 17th, 2007 07:21 AM
Problem with Servlet from Tomcat to Apache holdmykidney Servlets 0 April 28th, 2005 07:38 AM
Apache + Tomcat Problem rammy Apache Tomcat 1 January 2nd, 2004 12:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.