0 Replies Latest reply on Jun 14, 2006 9:53 AM by amitkumarsnikam

    Problem with jboss

    amitkumarsnikam

      I am getting following error when 20 users are trying to connect to jboss.

      ERROR [STDERR] java.lang.OutOfMemoryError
      ERROR [STDERR] <<no stack trace available>>

      I am using jboss3.2.1_tomcat-4.1.24. The machine where jboss is running is a P4 dual processor, 3 GB RAM machine with OS as win200. It is using jdk1.3.1_14. Although memory usage is not that high it gives this error. Previously it was giving error :

      "ERROR [ThreadPool] All threads are busy, waiting. Please increase maxThreads or check the servlet status10 10"

      SO I edited the file jboss-3.2.1_tomcat-4.1.24\server\default\deploy\jbossweb-tomcat.sar\META-INF\jboss-service.xml and modified the connector as

      Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
      port="8080" minProcessors="3" maxProcessors="60"
      enableLookups="true" acceptCount="10" debug="0"
      connectionTimeout="20000" useURIValidationHack="false" />

      i.e increased maxProcessors to 60.

      Any idea what could be reason?