Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Tomcat-IIS works with JK1 but not with JK2. Any hints?

Tomcat-IIS works with JK1 but not with JK2. Any hints?

2003-10-09       - By Thorsten Westmeier

 Back
Hi,

my Web-Server is behind a firewall-router, which blocks everything
different to Port 80 and redirects the incoming external host-name to the
local real host-name (IP-Adress) of the Server with IIS and Tomcat.
(example: http://xyz-e.de/webapp/  ==> http://xyz-prod.de/webapp)


I had connected the Tomcat 4.1.24 with IIS 5.0 with JK1
(isapi_redirector.dll) and it worked without any Problems under Win 2K.

After an upgrade to JK2 (isapi_redirector2.dll) it works only, if I
use the computers local Host-Name and I get an Error-Message if I use
the URL with external host name. After pressing the reload button of the
Browser, the source code of the html-page generated by tomcat from the
requested jsp-file is
shown, but it is not interpreted as a HTML - Web Page.

What may be the Problem (Tomcat, IIS or the firewall)?
If it is a Problem with the firewall, why does it work with JK1 without
problems?
You can see my JK configuration files at the end of the mail.


I must upgrade to JK2, because I want to use JBoss 3.2.1-Tomcat 4.1.24
instead of the standalone Tomcat. Or is it possible, to use the
JBoss-Tomcat with JK1, too.
If it is possible, what has to be changed in the Server.xml?


Thanks for your help,
Thorsten



My configuration files for JK and JK2:

JK1:
-- -----
- uriworkermap.proerties:

/pmhelp/*=Worker
/pmhelp/*.jsp=Worker


- workers.properties:

worker.list=Worker
worker.Worker.port=8009
worker.Worker.host=localhost
worker.Worker.type=ajp13



JK2:
-- -----
- k2.properties:

handler.list=channelSocket,request
channelSocket.port=8009
channelSocket.adress=localhost


- workers2.properties:

[logger]
level=DEBUG

[config:]
file=${serverRoot}/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
port=8009
host=localhost
tomcatId=localhost:8009
debug=0

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

[uri:/pmhelp/*]
worker=ajp13:localhost:8009

[uri:/pmhelp/*.jsp]
worker=ajp13:localhost:8009

[shm:]
info=Scoreboard. Required for reconfiguration and status with
multiprocessor servers
file=${serverRoot}/log/jk2.shm
size=1000000
debug=0
disabled=0


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.