2 Replies Latest reply on Dec 13, 2004 3:57 AM by Sumesh

    java.lang.OutOfMemoryError while Jboss deploy's my applicati

    Jakeer Hussain Newbie

      Hi,

      I build a sample web application and deployed on JBOss 4.0.0.
      It worked fine.

      But, Quite often , I see java.lang.OutOfMemoryError. When this occurs I could not see the web-console or jmx-console. I simply restart the JBoss Server everytime I encounter this error.

      The Error messages are:
      -------------------------------
      12:54:11,861 WARN [ServiceController] Problem starting service jboss.web.deployment:id=553180001,wa
      r=Coach.war
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (RuntimeErrorExce
      ption: Error invoking method init Cause: java.lang.OutOfMemoryError)


      12:54:12,111 ERROR [MainDeployer] could not start deployment:
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (RuntimeErrorExce
      ption: Error invoking method init Cause: java.lang.OutOfMemoryError)


      12:54:39,610 INFO [STDOUT] java.lang.OutOfMemoryError

      12:54:39,610 INFO [STDOUT] java.lang.OutOfMemoryError

      12:56:05,013 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception

      java.lang.OutOfMemoryError

      12:56:09,169 ERROR [CoyoteAdapter] An exception or error occurred in the container during the reques
      t processing
      java.lang.OutOfMemoryError
      12:56:18,106 ERROR [Engine] StandardWrapperValve[HTTP Invocation]: Servlet.service() for servlet HTT
      P Invocation threw exception
      12:56:19,262 ERROR [CoyoteAdapter] An exception or error occurred in the container during the reques
      t processing
      java.lang.OutOfMemoryError
      ------------------------------

      Someone would let me know the reason and probable solution of this error.

      Thanks in advance.



        • 1. Re: Images in JSP
          Sumesh Newbie

          Sorry, missed this from my previous post, this was the example code I saw!

          <!-- ADD static benchmark DIRECTORY -->



          which should go in the server.xml directory???

          Chris

          • 2. Re: java.lang.OutOfMemoryError while Jboss deploy's my appli
            Jakeer Hussain Newbie

             

            "jakeer_hussain" wrote:
            Hi,

            I build a sample web application and deployed on JBOss 4.0.0.
            It worked fine.

            But, Quite often , I see java.lang.OutOfMemoryError. When this occurs I could not see the web-console or jmx-console. I simply restart the JBoss Server everytime I encounter this error.

            The Error messages are:
            -------------------------------
            12:54:11,861 WARN [ServiceController] Problem starting service jboss.web.deployment:id=553180001,wa
            r=Coach.war
            org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (RuntimeErrorExce
            ption: Error invoking method init Cause: java.lang.OutOfMemoryError)


            12:54:12,111 ERROR [MainDeployer] could not start deployment:
            org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (RuntimeErrorExce
            ption: Error invoking method init Cause: java.lang.OutOfMemoryError)


            12:54:39,610 INFO [STDOUT] java.lang.OutOfMemoryError

            12:54:39,610 INFO [STDOUT] java.lang.OutOfMemoryError

            12:56:05,013 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception

            java.lang.OutOfMemoryError

            12:56:09,169 ERROR [CoyoteAdapter] An exception or error occurred in the container during the reques
            t processing
            java.lang.OutOfMemoryError
            12:56:18,106 ERROR [Engine] StandardWrapperValve[HTTP Invocation]: Servlet.service() for servlet HTT
            P Invocation threw exception
            12:56:19,262 ERROR [CoyoteAdapter] An exception or error occurred in the container during the reques
            t processing
            java.lang.OutOfMemoryError
            ------------------------------

            Someone would let me know the reason and probable solution of this error.

            Thanks in advance.