1 Reply Latest reply on Nov 26, 2008 2:19 AM by jaikiran

    ERROR deployment.scanner.AbstractDeploymentScanner$ScannerTh

    venugopalp

      Thanks for help in advance,

      The application(ear) is deployed successfully in jboss, when we do load test(on sockets and threads used in the application) on the application we are getting the following exception

      Oct-17-2008 08:30:24 ERROR jboss.naming.NamingService run.428 - Naming accept handler stopping

      java.net.SocketException: Too many open files
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
      at java.net.ServerSocket.implAccept(ServerSocket.java:448)
      at java.net.ServerSocket.accept(ServerSocket.java:419)
      at org.jnp.server.Main$AcceptHandler.run(Main.java:417)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:134)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:534)

      Oct-17-2008 08:30:24 ERROR jboss.naming.NamingService run.428 - Naming accept handler stopping
      java.net.SocketException: Too many open files
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
      at java.net.ServerSocket.implAccept(ServerSocket.java:448)
      at java.net.ServerSocket.accept(ServerSocket.java:419)
      at org.jnp.server.Main$AcceptHandler.run(Main.java:417)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:134)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:534)

      Oct-17-2008 08:30:24 ERROR jboss.naming.NamingService run.428 - Naming accept handler stopping
      java.net.SocketException: Too many open files
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
      at java.net.ServerSocket.implAccept(ServerSocket.java:448)
      at java.net.ServerSocket.accept(ServerSocket.java:419)
      at org.jnp.server.Main$AcceptHandler.run(Main.java:417)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:134)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:534)

      Oct-17-2008 08:30:26 ERROR deployment.scanner.AbstractDeploymentScanner$ScannerThread doScan.207 - Scanning failed; continuing
      java.lang.NullPointerException
      Oct-17-2008 08:30:28 ERROR jboss.naming.NamingService run.428 - Naming accept handler stopping
      java.net.SocketException: Too many open files
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
      at java.net.ServerSocket.implAccept(ServerSocket.java:448)
      at java.net.ServerSocket.accept(ServerSocket.java:419)
      at org.jnp.server.Main$AcceptHandler.run(Main.java:417)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:134)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:534)

      Oct-17-2008 08:30:31 ERROR deployment.scanner.AbstractDeploymentScanner$ScannerThread doScan.207 - Scanning failed; continuing
      java.lang.NullPointerException

        • 1. Re: ERROR deployment.scanner.AbstractDeploymentScanner$Scann
          jaikiran

          venugopalp,

          The best place to discuss such questions is the "Installation & Deployment" forum here http://www.jboss.com/index.html?module=bb&op=viewforum&f=61. Please open a new thread there with more details about your application, the JBoss and Java version you are using and the operating system.

          when we do load test(on sockets and threads used in the application) on the application we are getting the following exception

          java.net.SocketException: Too many open files
          at java.net.PlainSocketImpl.socketAccept(Native Method)


          Just a guess - you may not be closing the opened sockets in your application. If you more related question open a new thread as mentioned above.