Anonymous | Login | Signup for a new account | 12-17-2024 08:37 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000319 | [Resin] | minor | always | 07-18-05 00:00 | 11-30-05 14:42 | ||||
Reporter | sam | View Status | public | ||||||
Assigned To | |||||||||
Priority | high | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.14 | ||||||
Summary | 0000319: multiple instances of FastCGIServlet connecting to php | ||||||||
Description |
RSN-363 (rep by A Achuthan) With two FastCGIServlet instances, each in a separate virtual host, a request to host1 works but a request to host2 fails. For testing purposes, I added two domain names test1.com and test2.com in /etc/hosts of my local machine and added the it's IP so that both of them resolves to my local server. Then I added the following to my resin.conf : ---------------------------------------------------------------------- <host id='test1.com'> <root-directory>/usr/local/web/test1/</root-directory> <web-app id="/"> <document-directory>webapps/ROOT</document-directory> </web-app> </host> <host id='test2.com'> <root-directory>/usr/local/web/test2/</root-directory> <web-app id="/"> <document-directory>webapps/ROOT</document-directory> </web-app> </host> -------------------------------------------------------------------------- I added the following entries in web.xml for using fastCGI servlet. -------------------------------------------------------------------- <servlet servlet-name="php-fastcgi" servlet-class="com.caucho.servlets.FastCGIServlet"> <init> <server-address>localhost:6666</server-address> </init> </servlet> <servlet-mapping url-pattern="*.php" servlet-name="php-fastcgi"/> ---------------------------------------------------------------------- After setting up everything, I accessed the url of the first domain (test1.com) and it worked fine. But when I accessed the second domain, the server didn't seem responding to the request. The browser just waits forever for the response. Initially I thought there was some configuration problem with the second virtual host. But when I restarted resin and started accessing the second domain first, it worked ! For confirming that the problem is not with the php script, I performed the same tests with simple <?php phpinfo(); ?> script. But it yielded the same results. |
||||||||
Additional Information | RedHat 9 | ||||||||
Attached Files | |||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
07-18-05 00:00 | sam | New Issue | |
11-30-05 00:00 | administrator | Fixed in Version | => 3.0.15 |
11-30-05 14:42 | ferg | Status | resolved => closed |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 28 unique queries executed. |