Mantis - Resin
Viewing Issue Advanced Details
4882 minor always 11-28-11 18:26 12-02-11 14:15
cowan  
ferg  
normal  
closed  
fixed  
none    
none 4.0.25  
0004882: resin:import <cluster> merge failure: The first server must be static
local.d/database.xml:

<resin xmlns="http://caucho.com/ns/resin" [^]
       xmlns:resin="urn:java:com.caucho.resin">
       
  <cluster id="app_tier">
  
      <database jndi-name='jdbc/mysql'>
        <driver type="com.mysql.jdbc.Driver">
          <url>jdbc:mysql://192.168.1.1:3306/dbname</url> [^]
          <user>username</user>
          <password>secret</password>
        </driver>
      </database>
    
  </cluster>

</resin>


[11-11-28 21:14:54.877] {resin-51} java.lang.IllegalArgumentException: The first server must be static.
                                       at com.caucho.cloud.topology.CloudServer.<init>(CloudServer.java:103)
                                       at com.caucho.cloud.topology.TriadServer.<init>(TriadServer.java:48)
                                       at com.caucho.cloud.topology.CloudPod.createServer(CloudPod.java:359)
                                       at com.caucho.cloud.topology.CloudPod.createDynamicServer(CloudPod.java:299)
                                       at com.caucho.cloud.elastic.ScalingPod.addServer(ScalingPod.java:139)
                                       at com.caucho.cloud.elastic.ScalingPod.update(ScalingPod.java:103)
                                       at com.caucho.cloud.elastic.ScalingManager.updatePod(ScalingManager.java:246)
                                       at com.caucho.cloud.elastic.ScalingAlarm.handleAlarm(ScalingAlarm.java:57)
                                       at com.caucho.util.Alarm.handleAlarm(Alarm.java:505)
                                       at com.caucho.util.Alarm.run(Alarm.java:477)
                                       at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
                                       at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)

Notes
(0005651)
ferg   
12-02-11 14:15   
server/0741