[jboss-user] [JBoss Messaging] - WARNING [sun.rmi.transport.tcp] (RMI TCP Accept-0) RMI TCP Accept-0: accept loop for

Ravi Samavedula do-not-reply at jboss.com
Fri Sep 21 14:26:47 EDT 2012


Ravi Samavedula [https://community.jboss.org/people/samavedulark] created the discussion

"WARNING [sun.rmi.transport.tcp] (RMI TCP Accept-0) RMI TCP Accept-0: accept loop for"

To view the discussion, visit: https://community.jboss.org/message/760890#760890

--------------------------------------------------------------
Hi,

I am using Jboss 5.1.0 on a 64 bit Windows R2 machine. We have JCA implementation and JMS also. It gets messages on TCP endpoint and post it to topic.
messages to the TCP port comes at a pace of 20/sec. So JCA handles it using Threads. But we are facing an issues, below is the error it logs.

2012-09-21 20:06:44,182 WARNING [sun.rmi.transport.tcp] (RMI TCP Accept-0) RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=3420] throws
java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:597)
    at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)
    at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:384)
    at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:341)
    at java.lang.Thread.run(Thread.java:619)

Is JCA is unable to handle or manage threads?
1 gb Xmx is allocated and 256m for permsize. Machine has total of 4 gb.

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/760890#760890]

Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120921/f813b812/attachment.html 


More information about the jboss-user mailing list