Linux apache+tomcat 启动工程报错,Caused by: java.io.IOException: Operation not permitted
错误信息:
Sep 17, 2015 9:19:16 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Sep 17, 2015 9:19:16 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-7080 Sep 17, 2015 9:19:16 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 563 ms Sep 17, 2015 9:19:16 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Sep 17, 2015 9:19:16 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.44 Sep 17, 2015 9:19:16 AM org.apache.catalina.ha.tcp.SimpleTcpCluster start INFO: Cluster is about to start Sep 17, 2015 9:19:16 AM org.apache.catalina.tribes.transport.ReceiverBase bind INFO: Receiver Server Socket bound to:/127.0.0.1:4000 Sep 17, 2015 9:19:16 AM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket INFO: Setting cluster mcast soTimeout to 500 Sep 17, 2015 9:19:16 AM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:4 Sep 17, 2015 9:19:17 AM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers INFO: Done sleeping, membership established, start level:4 Sep 17, 2015 9:19:17 AM org.apache.catalina.ha.tcp.SimpleTcpCluster start SEVERE: Unable to start cluster. org.apache.catalina.tribes.ChannelException: java.io.IOException: Operation not permitted; No faulty members identified. at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:167) at org.apache.catalina.tribes.group.ChannelCoordinator.start(ChannelCoordinator.java:95) at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) at org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.start(MessageDispatchInterceptor.java:147) at org.apache.catalina.tribes.group.ChannelInterceptorBase.start(ChannelInterceptorBase.java:149) at org.apache.catalina.tribes.group.GroupChannel.start(GroupChannel.java:407) at org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:666) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1050) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:693) at org.apache.catalina.tribes.membership.McastServiceImpl.send(McastServiceImpl.java:385) at org.apache.catalina.tribes.membership.McastServiceImpl.start(McastServiceImpl.java:244) at org.apache.catalina.tribes.membership.McastService.start(McastService.java:319) at org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:156) ... 18 more Sep 17, 2015 9:19:17 AM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: org.apache.catalina.tribes.ChannelException: java.io.IOException: Operation not permitted; No faulty members identified. at org.apache.catalina.ha.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:673) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1050) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Sep 17, 2015 9:19:17 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 1083 ms
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题已经解决,但是就不知道是什么原因,之前一直是可以的,昨天晚上启动服务就出这个问题了。
org.apache.catalina.ha.tcp.SimpleTcpCluster start 在tomcat中注释掉
就可以了,因为之前做个集群,后来没用到所有没注释掉。