...
See Transport Options for details on the 2 last parameters. There is a also a link at bottom of this page if ever you need to escalate more smoothly dynamic setting of failover. But it would need more work in OFBiz...
Notes
If you get a "Too many open files" error. Edit /etc/security/limits.conf increase nofile for the users running ActiveMQ. like
Code Block |
---|
user - nofile 10000
root - nofile 10000
|
In Unix like systems, Network connections are actually backed by files descriptors... While at it, I recommend also to increse the max heap used by ActiveMQ. For instance we increased ActiveMQ max heap to 512MB and 1GB respectively on stagging and production servers from default 256MB, can't hurt...
We also increased the max number of files descriptors for root which runs ActiveMQ at startup (for now only on staging)
Some possible pitfalls
This section can be bypassed but might help in case of troubles
I first installed ActiveMQ 5.5.0 on my developement machine on XP. When I ran OFBiz I got this non blocking error
...