tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pfingstl Gernot" <gernot.pfing...@stmk.gv.at>
Subject JK2
Date Thu, 12 Jun 2003 15:49:26 GMT
How can I configure 2 JK2 connectors on one server?
e.g.
<server>
 <service1>
  <jk2handler one>
  ...
 </service1>
 <service2>
  <jk2handler two>
  ...
 </service2>
<server>

If I have only "jk2handler one", its properties are fetchted from $CATALINABASE/conf/jk2.properties.

BUT what if I also have "jk2handler two"? Where can I assign a different properties file or
how can I arrange one property file in two sections?

Second question: On my apache server I have following workers.properties file:
	[shm]
	file=${serverRoot}/logs/shm.file
	size=1048576

	# Example socket channel, override port and host.
	[channel.socket:aegir:58606]

	# define the worker
	[ajp13:aegirt:58606]
	channel=channel.socket:aegir:58606

	# Uri mapping
	[uri:/test/*]
	worker=ajp13:aegir:58606

	# define the worker
	[status:status]

	# Uri mapping
	[uri:/jkstatus/*]
	worker=status:status
Where aegir is the name of the server where tomcat is running (its different from the server
wehre apache is running). The port number 58606 is ignored?! If I configure jk2.properies
(tomcat side) to the default port 8009 everything works correct (in workers.properties is
58606!!). It seems apache module (mod_jk2-2.0.43.dll) ignores this value; if I switch on tomcat
side to 58606 the request is blocked.
What I'm doing wrong??

Thanks, Gernot

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message