问题描述
tomcat 6服务启动后,浏览器访问页面报以下错误,baidu一下没有结果,不知道是否跟AIX设置有关。请老鸟指点下,应该不是端口被占满了。我从其他主机ssh到这台主机都没有问题。java.lang.IllegalArgumentException: Could not acquire a free port number.net.sf.ehcache.distribution.RMICacheManagerPeerListener.getFreePort(RMICacheManagerPeerListener.java:174)net.sf.ehcache.distribution.RMICacheManagerPeerListener.assignFreePort(RMICacheManagerPeerListener.java:143)net.sf.ehcache.distribution.RMICacheManagerPeerListener.<init>(RMICacheManagerPeerListener.java:122)net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCachePeerListener(RMICacheManagerPeerListenerFactory.java:85)net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.createCachePeerListener(RMICacheManagerPeerListenerFactory.java:71)net.sf.ehcache.config.ConfigurationHelper.createCachePeerListener(ConfigurationHelper.java:189)
解决方案
http://grepcode.com/file/repo1.maven.org/maven2/net.sf.ehcache/ehcache-core/1.7.2/net/sf/ehcache/distribution/RMICacheManagerPeerListener.java看看