Hi folks,
On my local machine I environment settings in my ColdBox config to set override different elements of the CB config. I don’t force the framework to reload which means that if I make a change to an interceptor or service I need to do an applicationStop() or fwreinit. This is mostly due to performance as I don’t want to be reloading all the DI on every request.
Question 1. If I wanted interceptors and services to be reloaded on every request would I set the configAutoReload to true? or is it another setting? Does this force the entire framework to reload?
Occassionally after two many fwreinits the app starts behaving really badly and sometimes fwreinits don’t even complete which leads me to ControlC and shutdown CF from terminal. When I do this I always see a whack load of errors printed to the terminal which say:
Java.net.SocketException: Socket closed at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:145) at java.net.DatagramSocket.receive(DatagramSocket.java:725) at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver$MulticastReceiverThread.run(MulticastKeepaliveHeartbeatReceiver.java:124) 07/26 15:34:50 [Multicast Heartbeat Receiver Thread] ERROR Error receiving heartbeat. Socket closed. Initial cause was Socket closed
Any idea what might be causing this and why the performance of the app basically crawls to a halt?
Thanks.
Nolan