You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "David Karam (JIRA)" <ji...@apache.org> on 2008/03/28 19:00:24 UTC
[jira] Created: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "David Karam (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee resolved DIRMINA-560.
---------------------------------
Resolution: Fixed
Please close this issue once you confirm the fix.
> 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: 1.0.9, 1.1.6, 2.0.0-M1
> Environment: Linux bash ... westhost.com 'business hosting'
> Reporter: David Karam
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.0.10, 1.1.7, 2.0.0-M2
>
>
> 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.
[jira] Closed: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Vermillard closed DIRMINA-560.
-------------------------------------
> 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: 1.0.9, 1.1.6, 2.0.0-M1
> Environment: Linux bash ... westhost.com 'business hosting'
> Reporter: David Karam
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.0.10, 1.1.7, 2.0.0-M2
>
>
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "David Karam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583740#action_12583740 ]
David Karam commented on DIRMINA-560:
-------------------------------------
I don't either. What you are doing looks perfectly fine to me. Thanks for the info. I really appreciate it.
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587597#action_12587597 ]
Trustin Lee commented on DIRMINA-560:
-------------------------------------
Let me remote the first two test address pairs if there's no objection.
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "David Karam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587994#action_12587994 ]
David Karam commented on DIRMINA-560:
-------------------------------------
Looks good! I haven't had a moment to test the fix on my server... I will shortly. Thanks so much for the quick resolution!
> 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: 1.0.9, 1.1.6, 2.0.0-M1
> Environment: Linux bash ... westhost.com 'business hosting'
> Reporter: David Karam
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.0.10, 1.1.7, 2.0.0-M2
>
>
> 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.
[jira] Issue Comment Edited: (DIRMINA-560) SocketSessionConfigImpl
IPv4 localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587597#action_12587597 ]
trustin edited comment on DIRMINA-560 at 4/10/08 4:20 AM:
--------------------------------------------------------------
Let me remove the first two test address pairs if there's no objection.
was (Author: trustin):
Let me remote the first two test address pairs if there's no objection.
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586255#action_12586255 ]
Trustin Lee commented on DIRMINA-560:
-------------------------------------
What about just removing the first two test address pairs? It should work in all platforms although it will always cause MINA to bind to eth0 for a very short moment.
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583730#action_12583730 ]
Trustin Lee commented on DIRMINA-560:
-------------------------------------
Thanks for the quick response. Can you try again after upgrading to the latest JDK 1.5 (i.e. 1.5.0.15)? Please let me know if it's not an option.
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "David Karam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588000#action_12588000 ]
David Karam commented on DIRMINA-560:
-------------------------------------
Hi Trustin,
Thanks so much for the fix. Where are you located? I am in San Francisco...
Best,
David
> 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: 1.0.9, 1.1.6, 2.0.0-M1
> Environment: Linux bash ... westhost.com 'business hosting'
> Reporter: David Karam
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.0.10, 1.1.7, 2.0.0-M2
>
>
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583712#action_12583712 ]
Trustin Lee commented on DIRMINA-560:
-------------------------------------
Could you provide me full thread dump when it hangs?
> 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.
[jira] Updated: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee updated DIRMINA-560:
--------------------------------
Affects Version/s: (was: 2.0.0-M2)
1.0.9
1.1.6
2.0.0-M1
Fix Version/s: 2.0.0-M2
1.1.7
1.0.10
Assignee: Trustin Lee
Resolved by commenting out the problematic cases.
> 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: 1.0.9, 1.1.6, 2.0.0-M1
> Environment: Linux bash ... westhost.com 'business hosting'
> Reporter: David Karam
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.0.10, 1.1.7, 2.0.0-M2
>
>
> 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "David Karam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583718#action_12583718 ]
David Karam commented on DIRMINA-560:
-------------------------------------
Full thread dump Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode, sharing):
"Low Memory Detector" daemon prio=1 tid=0x080a53b8 nid=0x399 runnable [0x00000000..0x00000000]
"CompilerThread0" daemon prio=1 tid=0x080a3ea8 nid=0x398 waiting on condition [0x00000000..0xb27b7818]
"Signal Dispatcher" daemon prio=1 tid=0x080a2f10 nid=0x397 waiting on condition [0x00000000..0x00000000]
"Finalizer" daemon prio=1 tid=0x0809dac0 nid=0x396 in Object.wait() [0xb28b9000..0xb28ba130]
at java.lang.Object.wait(Native Method)
- waiting on <0x894f8e98> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x894f8e98> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=1 tid=0x0809bc38 nid=0x395 in Object.wait() [0xb293a000..0xb293b0b0]
at java.lang.Object.wait(Native Method)
- waiting on <0x894f8f18> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0x894f8f18> (a java.lang.ref.Reference$Lock)
"main" prio=1 tid=0x0805caa0 nid=0x393 runnable [0xbfffc000..0xbfffd628]
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
- locked <0x890901e8> (a java.net.SocksSocketImpl)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketSessionConfigImpl.initiali zeDefaultSocketParameters(SocketSessionConfigImpl.java:145)
at org.apache.mina.transport.socket.nio.SocketSessionConfigImpl.<clinit> (SocketSessionConfigImpl.java:78)
at org.apache.mina.transport.socket.nio.SocketAcceptorConfig.<init>(Sock etAcceptorConfig.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=0x08099090 nid=0x394 runnable
"VM Periodic Task Thread" prio=1 tid=0x080a6980 nid=0x39a 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.
[jira] Commented: (DIRMINA-560) SocketSessionConfigImpl IPv4
localhost TEST_ADDRESS causes server to hang
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583738#action_12583738 ]
Trustin Lee commented on DIRMINA-560:
-------------------------------------
I simply don't understand why this happens, but I guess I'd just better to use a thread pool to deal with this case.
> 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.