开发者社区> 问答> 正文

Linux apache+tomcat 启动工程报错,Caused by: ja?报错

错误信息:

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



大家帮忙看一下啊,谢谢!

展开
收起
爱吃鱼的程序员 2020-06-12 11:11:49 790 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    问题已经解决,但是就不知道是什么原因,之前一直是可以的,昨天晚上启动服务就出这个问题了。

    org.apache.catalina.ha.tcp.SimpleTcpClusterstart 在tomcat中注释掉


    <clusterclassName="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>

    就可以了,因为之前做个集群,后来没用到所有没注释掉。 

    2020-06-12 11:12:07
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Flink技术进阶 立即下载
Apache Spark: Cloud and On-Prem 立即下载
Hybrid Cloud and Apache Spark 立即下载