Hi All,
When i run the my application on jboss 7.0.2 after the some time jboss7.0.2 throws the following exception
08:58:39,089 ERROR [org.apache.tomcat.util.net.JIoEndpoint] (http--0.0.0.0-8080-Acceptor-0) Error allocating socket processor: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) [:1.6.0_29]
at java.lang.Thread.start(Thread.java:640) [:1.6.0_29]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.start(JIoEndpoint.java:972) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint.newWorkerThread(JIoEndpoint.java:1202) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint.createWorkerThread(JIoEndpoint.java:1181) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint.getWorkerThread(JIoEndpoint.java:1213) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:1250) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:346) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
Anyone know how to resolve such exception.
Thanks
Best Regards