DeveloperSide.NET Forums
December 14, 2019, 11:39:04 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Apache2 mod_jk2 multiple instances JBoss/Tomcat  (Read 10612 times)
0 Members and 1 Guest are viewing this topic.
tzman
Member
*
Posts: 1


View Profile
« on: August 15, 2004, 11:17:18 AM »

I am currently having problems with a second instance of JBoss and mod_jk2 using ajp13. It appears as though the default group is hit on an initial request ( a login )and gets a session id. On subsequent requests a new session id is received and no requests can continue. I have tried many different configurations to noavail. If I copy the initial session id and send it manually on subsequent requests that all works. Also, I have had the first instance working properly and successfully performs load balancing. I am not in need of the second instance performing any type of load balancing, only that I can make requests to it as a separate application, as well as adding more instances in this style as needed. Any help would be greatly appreciated.

Thanks in advance!

Apache 2.0.4.6
JBoss 3.2.3
Tomcat 4.1
mod_jk2 Not sure ( latest version when downloaded Apache )

workers2.properties

### workers2.properties ###

### Start of workers2.properties ###

[logger]
level=DEBUG

[config:]
file=workers2.properties
debug=0
debugEnv=0

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

Alternate file logger
[logger.file:0]
level=DEBUG
file=/var/logs/httpd/jk2.log

[shm]
file=${serverRoot}/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=10

[lb:lb]
info=Default load balancer.
debug=10

[lb:lb_1]
info=A second load balancer.
debug=10

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=10
#tomcatId=localhost:8009
tomcatId=bt_01

[channel.socket:localhost:8209]
info=A second tomcat instance.
debug=10
tomcatId=localhost:8209
lb_factor=1
group=lb
group=lb_1
disabled=0
#tomcatId=sysTest_01

info=Map the whole webapp
[uri:securebeteltest:443/*.do]
info=Map the whole webapp

[uri:securebeteltest:443/*.asp]
info=Map the whole webapp

[uri:securebeteltest:443/*.mod]
info=Map the whole webapp

[uri:securebeteltest:443/cons]
info=Map the whole webapp

[uri:securebeteltest:443/email]
info=Map the whole webapp


[uri:securebeteltest_systest_01:443/*.do]
info=Map the whole webapp
group=lb_1

[uri:securebeteltest_systest_01:443/*.asp]
info=Map the whole webapp
group=lb_1

[uri:securebeteltest_systest_01:443/*.mod]
info=Map the whole webapp
group=lb_1

[uri:securebeteltest_systest_01:443/cons]
info=Map the whole webapp
group=lb_1

[uri:securebeteltest_systest_01:443/email]
info=Map the whole webapp
group=lb_1

[status:status]
# Uri mapping
[uri:/jkstatus/*]
worker=status:status

### End of workers2.properties ###


jk2.properties

#channelSocket.port=8209
# Set the desired handler list
handler.list=apr,request
#
# Override the default port for the socketChannel
channelSocket.port=8209
Default:
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: August 15, 2004, 08:08:34 PM »

You might want to ask that at one of their mailing lists...

http://jakarta.apache.org/site/mail.html

I'd help you, but my current knowledge of the subject is limited.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!