You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/15 17:52:46 UTC

[jira] [Commented] (KARAF-3325) Karaf throws SocketTimeoutException and exits after 49 days

    [ https://issues.apache.org/jira/browse/KARAF-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15058308#comment-15058308 ] 

ASF GitHub Bot commented on KARAF-3325:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/karaf/pull/50


> Karaf throws SocketTimeoutException and exits after 49 days
> -----------------------------------------------------------
>
>                 Key: KARAF-3325
>                 URL: https://issues.apache.org/jira/browse/KARAF-3325
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.10
>         Environment: Java: OpenJDK 1.7.0_55 (64 Bit)
> OS: Linux 3.2.34-55.46.amzn1.x86_64
>            Reporter: Motoi Washida
>            Assignee: Guillaume Nodet
>             Fix For: 3.0.3, 2.4.1, 2.3.9, 4.0.0.M2, 4.0.0.M3
>
>
> When a Karaf instance is launched, it suddenly exited after about 50 days.
> This issue is very similar to that of Apache Tomcat
> https://issues.apache.org/bugzilla/show_bug.cgi?id=56684
> In my case, I launched an instance at 7/22 10:35, but it stopped at 9/10 3:40. Here is the log when I encountered this issue:
> 2014-09-10 03:40:05,800 INFO    NioProcessor-2          ServerSession                           24 - org.apache.sshd.core - 0.8.0       Session karaf@/127.0.0.1:41720 closed
> 2014-09-10 03:40:12,326 WARN    RMI TCP Accept-0        tcp                                      -  -   RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,localport=47123] throws
> java.net.SocketTimeoutException: Accept timed out
>         at java.net.PlainSocketImpl.socketAccept(Native Method)[:1.7.0_55]
>         at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)[:1.7.0_55]
>         at java.net.ServerSocket.implAccept(ServerSocket.java:530)[:1.7.0_55]
>         at java.net.ServerSocket.accept(ServerSocket.java:498)[:1.7.0_55]
>         at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:52)[:1.7.0_55]
>         at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:388)[:1.7.0_55]
>         at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:360)[:1.7.0_55]
>         at java.lang.Thread.run(Thread.java:744)[:1.7.0_55]
> 2014-09-10 03:40:14,806 ERROR   Thread-3                Main                                     -  -   Karaf shutdown socket: accept:
> java.net.SocketTimeoutException: Accept timed out
>         at java.net.PlainSocketImpl.socketAccept(Native Method)[:1.7.0_55]
>         at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)[:1.7.0_55]
>         at java.net.ServerSocket.implAccept(ServerSocket.java:530)[:1.7.0_55]
>         at java.net.ServerSocket.accept(ServerSocket.java:498)[:1.7.0_55]
>         at org.apache.karaf.main.Main$ShutdownSocketThread.run(Main.java:1430)[karaf.jar:2.2.10]
> Although its version is 2.2.10, I think maintained Karaf has this issues too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)