Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Instance in cluster will not restart

$
0
0

CF11 w/update 6 cluster on Windows Server 2012 R2.  Secure profile.  The cluster includes two instances, one on a remote VM, and one a "home" instance (on same VM as IIS website and cfusion instance in which I create the cluster), and I think I set it up more or less in a standard way.  Everything works fine after I set it up.  Restarting the remote instance works fine.  Restarting the "home" instance--even after no changes to anything--results in the instance hanging during startup and may not be shut down except via Task Manager.  Any help from cluster experts out there would be greatly appreciated.  I'm happy to provide additional setup or diagnostic info.

 

Setup details

Nothing unusual about the configuration, except maybe that the home directory for the website is in an alternate directory per lockdown recommendations.  I also add maxThreads and connectionTimeout attributes to the Connector node for AJP/1.3 in server.xml.  When registering the remote instance I specify https.  I create the cluster to use sticky sessions and no session replication.  Restart both after creating the cluster.  Run the connector in the cfusion\runtime\bin folder and select advanced options to set the connection pool timeout to 60 seconds.  Works fine after that, as I get responses from both instances when requesting the website from two different browsers, as expected.  If I restart the remote instance, also no problems.

 

Details about restarting the "home" instance

Shutdown results in a few errors but the instance shuts down and I can attempt a restart.  (Two types of errors: many thrown by org.apache.catalina.loader.WebAppClassLoader, checkThreadLocalMapForLeaks, something about dates and creating a ThreadLocal with key of type coldfusion.util.dateUtils, failed to remove it when the web application was stopped.  The remote instance did this also when shutting down but it started ok.  The home instance also threw an error Illegal access: this web application instance has been stopped already.  Could not load java.util.concurrent.ScheduledFuture.  But it stops anyway.)

 

When I attempt to restart, the instance always hangs after this is logged to coldfusion-error.log:

Nov 17, 2015 10:46:51 AM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket

INFO: Setting cluster mcast soTimeout to 500

Nov 17, 2015 10:46:51 AM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers

INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:4

Nov 17, 2015 10:46:52 AM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers

INFO: Done sleeping, membership established, start level:4

Nov 17, 2015 10:46:52 AM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers

INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:8

Nov 17, 2015 10:46:53 AM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers

INFO: Done sleeping, membership established, start level:8

 

Nothing gets logged to any CF logs, the isapi_redirect.log, or Windows event logs during startup.

 

After this I cannot browse to the cfusion Instance Manager nor can I shut down using a command line.  I have to kill the process in Task Manager.

 

Thanks in advance for any help you can provide!


Chris


Viewing all articles
Browse latest Browse all 5794

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>