[ 
https://issues.apache.org/jira/browse/KARAF-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved KARAF-3325.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.9
                   2.4.1
                   3.0.3
                   4.0.0

> 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: 4.0.0, 3.0.3, 2.4.1, 2.3.9
>
>
> 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)

Reply via email to