This content has been marked as final.
Show 4 replies
-
1. Re: Could not accept connection : java.net.SocketException
jradecki Jul 7, 2011 11:53 AM (in response to pchandler)Check the handles associated w/ActiveMQ and your service...
-
2. Re: Could not accept connection : java.net.SocketException
pchandler Jul 7, 2011 3:32 PM (in response to jradecki)Sorry, not sure what handles to check?
The only thing I could come-up with is, maybe it's Linux resource limits (open files)
ActiveMQ process has 1161 FDs open?
hostname[apache-activemq-5.4.0/data] 113 ->lsof -p 7973 | wc -l 1162
Seem like alot?
-
3. Re: Could not accept connection : java.net.SocketException
davsclaus Jul 8, 2011 3:07 AM (in response to pchandler)What persistent storage do you use with ActiveMQ?
-
4. Re: Could not accept connection : java.net.SocketException
pchandler Jul 11, 2011 12:43 PM (in response to davsclaus)Answer: None. persistent="false" and we commented-out KahaDB. Is that bad?
<!-- Configure message persistence for the broker. The default persistence mechanism is the KahaDB store (identified by the kahaDB tag). For more information, see: http://activemq.apache.org/persistence.html --> <!-- <persistenceAdapter> <kahaDB directory="${activemq.base}/data/kahadb"></kahaDB> </persistenceAdapter> -->