[ 
https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583732#action_12583732
 ] 

David Karam commented on DIRMINA-560:
-------------------------------------

Hi - no problem! I love Mina!!!

The same occurs w/ 1.5.0.15...

Full thread dump Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing):

"Low Memory Detector" daemon prio=1 tid=0x080a5458 nid=0x2891 runnable 
[0x00000000..0x00000000]

"CompilerThread0" daemon prio=1 tid=0x080a3fa0 nid=0x288f waiting on condition 
[0x00000000..0xb21fea18]

"Signal Dispatcher" daemon prio=1 tid=0x080a3100 nid=0x288e waiting on 
condition [0x00000000..0x00000000]

"Finalizer" daemon prio=1 tid=0x0809dd20 nid=0x287c in Object.wait() 
[0xb247e000..0xb247ef30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x88f2d7b8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
        - locked <0x88f2d7b8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=1 tid=0x0809bef0 nid=0x287b in Object.wait() 
[0xb24ff000..0xb24ffeb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x88f2d840> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x88f2d840> (a java.lang.ref.Reference$Lock)

"main" prio=1 tid=0x0805cba8 nid=0x281f runnable [0xbfffc000..0xbfffd5e8]
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        - locked <0x88ac01e8> (a java.net.SocksSocketImpl)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:520)
        at 
org.apache.mina.transport.socket.nio.SocketSessionConfigImpl.initializeDefaultSocketParameters(SocketSessionConfigImpl.java:145)
        at 
org.apache.mina.transport.socket.nio.SocketSessionConfigImpl.<clinit>(SocketSessionConfigImpl.java:78)
        at 
org.apache.mina.transport.socket.nio.SocketAcceptorConfig.<init>(SocketAcceptorConfig.java:38)
        at com.pagesociety.web.server.Server.<init>(Server.java:23)
        at Main.<init>(Main.java:94)
        at Main.main(Main.java:34)

"VM Thread" prio=1 tid=0x0809aa78 nid=0x2873 runnable

"VM Periodic Task Thread" prio=1 tid=0x080a69c8 nid=0x2893 waiting on condition



> SocketSessionConfigImpl  IPv4 localhost TEST_ADDRESS causes server to hang
> --------------------------------------------------------------------------
>
>                 Key: DIRMINA-560
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-560
>             Project: MINA
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 2.0.0-M2
>         Environment: Linux bash ... westhost.com 'business hosting'
>            Reporter: David Karam
>            Priority: Minor
>
> Hi
> I had to remove the following test address from 
> SocketSessionConfigImpl.initializeTestAddresses
> It causes my cheap hosting agreement server to hang forever! Even with the 10 
> sec timeout!
>             // IPv4 localhost
>             TEST_ADDRESSES.put(new InetSocketAddress(InetAddress
>                     .getByAddress(new byte[] { 127, 0, 0, 1 }), 0), 
> InetAddress
>                     .getByAddress(new byte[] { 127, 0, 0, 1 }));
> Why?
> I am using Rev: 575240
> Thanks for your time!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to