3 Replies Latest reply on Aug 24, 2010 12:51 AM by prakashmvc

    Jboss 4.2.3 GA Hardware Requirements on Windows

    prakashmvc

      Hello,

      When I am running the jboss 4.2.3 GA server with jdk 1.6 am getting the following error.

      Caused by: java.lang.reflect.UndeclaredThrowableException
          at org.jboss.invocation.InvokerInterceptor.invokeLocalMarshalled(InvokerInterceptor.java:306)
          at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:61)
          at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
          at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
          at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
          at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
          at $Proxy148.invoke(Unknown Source)
          at uk.co.firstchoice.cyrus.framework.cache.JBossTreeCacheFacade.invoke(JBossTreeCacheFacade.java:205)
          ... 35 more
      Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

       

      System opertaing system is Microsoft windows server 2003 and 2GB RAM.

      Earlier we were using JDK 1.5 and we were not getting this exception, following was the configuartion parameters used

       

      export JAVA_OPTS="-Xms256m -Xmx512m -XX:ThreadStackSize=128 -XX:+UseParallelGC -XX:MaxPermSize=256m -XX:NewRatio=1"

       

      With JDK 1.6, we are using the following parameters

      export JAVA_OPTS="-Xms512m -Xmx512m -XX:ThreadStackSize=128 -XX:+UseParallelGC -XX:MaxPermSize=256m -XX:NewRatio=1"

       

      Could you please anyone suggest on, any changes required in configuration parameters or we have to increase the system RAM.

       

      Thanks in Advance.

       

      Regards,

      Prakash

        • 1. Re: Jboss 4.2.3 GA Hardware Requirements on Windows
          istvan.benedek

          Hi,

           

          when did you get that exception, right after server start? do you get the same exception with the original parameters?

           

          Istvan

          • 2. Re: Jboss 4.2.3 GA Hardware Requirements on Windows
            peterj

            Remove the NewRatio - first because a ratio of 1 is about the worst thing you can do - it almost guarantees that all GCs will be full GCs. Second, JDK 6 is much more adept at adjusting the young gen size to fit your actual usage (earlier versions of the JVM were really bad at that) - for JDK 6 I recommend letting the JVM determine the young gen size.

             

            If that does not solve the problem, then set -XX:+PrintHeapAtGC and post the console output (you will want to redirect to a file).

            • 3. Re: Jboss 4.2.3 GA Hardware Requirements on Windows
              prakashmvc

              Hi Istvan,

              This exception occurs after sometime, not imediate restart of the server. In our application after one/two days.

              With original parameters alos we use to get the same exception, however frequency of occurance was once in a 15 days or Month.

               

              Regards,

              Prakash