hello, i am
i have a problem with virtual host with iis and
tomcat
i have created tow sites abc.com and
xyz.com
abc.com 100.100.100.101
root of abc in iis c:\webs\abc\iis
xyz.com 100.100.100.102
root of xyz in iis c:\webs\xyz\iis
the real ip of the computer is
100.100.100.100
both sites are created on iis
just i want that the request of
abc(100.100.100.101) of jsp and servlet is handled by tomcat
as well as with xyz(100.100.100.101)
so i have created two context with <host>
tag
my last lines of server.xml is
<Host name="192.168.100.21"
>
<Context path=""
docBase="C:/webs/abc/tomcat"
crossContext="false"
debug="0"
reloadable="true" />
</Host>
<Host name="192.168.100.22"
>
<Context path=""
docBase="C:\webs\xyz\tomcat"
crossContext="false"
bug="0"
loadable="true" />
</Host>
due to less speed and mem. usage of java i want only one
instance of tomcat
i also want that the request of xyz(100.100.100.102) is must
not received by abc
same thing i want to update in my real server
in tomcat home directory of abc and xyz contains two folders
1. jsp
2. web-inf
my problem is that request is handeled by tomcat using port like http://100.100.100.101:8080/jsp
for both xyz and abc
but there is 404 error with http://100.100.100.101/jsp
as given in docs i check my registry,
jakarta virtual directory and rights
arrow of isapi filter allt these are ok
so what is the problem?
|