i have two tomcats and IIS, i want two virtual hosts served by two tomcats.

i declared two wrokers, one for each tomcat, and thats fine. however i have
problem with mappings

uriworkermap.properties

/app1/*=worker1
/app1=worker1
/*=worker2

this is what i get from log
Attempting to map URI '/mysite.com/app1' from 3 maps
Attempting to map context URI '/app1/*'
Attempting to map context URI '/app1'
Attempting to map context URI '/*'
Found a wildchar match worker2 -> /*


so, even though there is closer match for worker1,  worker2 is selected.
when i remove "/*" mapping, it works. i need "/*" because it needs to serve
default context for virtaul host.

so everything is fine but i don't understand this mapping thing. can i set
priorities or anything?

any ideas? tahnk you for any help!

cheers,

dario






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to