Mantis - Resin
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | |||||
474 | minor | always | 12-01-05 11:17 | 12-06-05 15:08 | ||||||
|
||||||||||
Reporter: | sam | Platform: | ||||||||
Assigned To: | OS: | |||||||||
Priority: | urgent | OS Version: | ||||||||
Status: | closed | Product Version: | 3.0.15 | |||||||
Product Build: | Resolution: | fixed | ||||||||
Projection: | none | |||||||||
ETA: | none | Fixed in Version: | 3.0.16 | |||||||
|
||||||||||
Summary: | 0000474: InstanceAlreadyExistsException with multiple virtual hosts | |||||||||
Description: |
(rep by L Geller) [10:33:11.319] javax.management.InstanceAlreadyExistsException: resin:type=Host,Server=default,name=lenchik.foo.hogwarts.com [10:33:11.319] at com.caucho.jmx.AbstractMBeanServer.registerMBean(AbstractMBeanServer.jav a:427) [10:33:11.319] at com.caucho.jmx.Jmx.register(Jmx.java:229) [10:33:11.319] at com.caucho.server.deploy.DeployController.init(DeployController.java:282) [10:33:11.319] at com.caucho.server.deploy.DeployContainer.init(DeployContainer.java:338) [10:33:11.319] at com.caucho.server.deploy.DeployContainer.generateController(DeployContainer.java:324) [10:33:11.319] at com.caucho.server.deploy.DeployContainer.startImpl(DeployContainer.java: 270) [10:33:11.319] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:151) [10:33:11.319] at com.caucho.server.host.HostContainer.start(HostContainer.java:467) [10:33:11.319] at com.caucho.server.resin.ServletServer.start(ServletServer.java:909) Subsequently, I cannot invoke any(!) URL/hostname. I get a 404 in the browser, and in the log I get the same error (slightly different stack trace): [10:44:41.374] javax.management.InstanceAlreadyExistsException: resin:type=Host,Server=default,name=lenchik.foo.hogwarts.com [10:44:41.374] at com.caucho.jmx.AbstractMBeanServer.registerMBean(AbstractMBeanServer.java:427) [10:44:41.374] at com.caucho.jmx.Jmx.register(Jmx.java:229) [10:44:41.374] at com.caucho.server.deploy.EnvironmentDeployController.initEnd(EnvironmentDeployController.java:256) [10:44:41.374] at com.caucho.server.deploy.DeployController.init(DeployController.java:282) [10:44:41.374] at com.caucho.server.deploy.DeployContainer.init(DeployContainer.java:338) [10:44:41.374] at com.caucho.server.deploy.DeployContainer.generateController(DeployContainer.java:324) I noticed that the error always mentions the host id of the last host included using resin:import construct. Also, this error repeats N times if I have N+1 hosts. For example, the tail of the main config is: <resin:import path='c:/resin/resin/conf/resin_slytherin.conf' /> <resin:import path='c:/resin/resin/conf/resin_gryffindor.conf' /> And resin_gryffindor.conf contains <server xmlns="http://caucho.com/ns/resin" [^] > <host id="lenchik.foo.hogwarts.com"> ... </host> </server> I tried swapping the order of my host config includes (I got 11 of them locally), and the error ALWAYS repeats 10 times, always mentioning the last host id. |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: | ||||||||||
Relationships |
| |||||||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|