JBoss Community

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

created by Ravi Samavedula in JBoss Messaging - View the full discussion

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

Start a new discussion in JBoss Messaging at Community