0 Replies Latest reply on Nov 23, 2006 10:46 PM by sam shan

    java.lang.OutOfMemory error in jboss-portal-2.4.0.GA

    sam shan Newbie

      Hi,
      We are using jboss-portal-2.4.0.GA. Along with each portlet war we are packing tomahawk-1.1.3.jar which we use it for validating user input and for other purpose.
      Hot deploying the war for 6 to 7 times causes OutOfMemory error in jboss-portal.
      While deploying the war tomahawk gives the following message

      09:11:52,605 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Command rendererType = org.apache.myfaces.Button renderer class = org.apac
      he.myfaces.renderkit.html.ext.HtmlButtonRenderer
      09:11:52,605 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Command rendererType = org.apache.myfaces.Link renderer class = org.apache
      .myfaces.renderkit.html.ext.HtmlLinkRenderer
      09:11:52,605 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.Table renderer class = org.apache.m
      yfaces.renderkit.html.ext.HtmlTableRenderer
      09:11:52,620 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Panel rendererType = org.apache.myfaces.Grid renderer class = org.apache.m
      yfaces.renderkit.html.ext.HtmlGridRenderer
      09:11:52,620 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Panel rendererType = org.apache.myfaces.Group renderer class = org.apache.
      myfaces.renderkit.html.ext.HtmlGroupRenderer
      09:11:52,620 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Secret renderer class = org.apache
      .myfaces.renderkit.html.ext.HtmlSecretRenderer
      09:11:52,636 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Graphic rendererType = org.apache.myfaces.Image renderer class = org.apach
      e.myfaces.renderkit.html.ext.HtmlImageRenderer
      09:11:52,636 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Text renderer class = org.apache.m
      yfaces.renderkit.html.ext.HtmlTextRenderer
      09:11:52,636 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.TextHelp renderer class = org.apac
      he.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer
      09:11:52,651 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Textarea renderer class = org.apac
      he.myfaces.renderkit.html.ext.HtmlTextareaRenderer
      09:11:52,651 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Message rendererType = org.apache.myfaces.Message renderer class = org.apa
      che.myfaces.renderkit.html.ext.HtmlMessageRenderer
      09:11:52,651 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Messages rendererType = org.apache.myfaces.Messages renderer class = org.a
      pache.myfaces.renderkit.html.ext.HtmlMessagesRenderer
      09:11:52,667 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Output rendererType = org.apache.myfaces.Text renderer class = org.apache.
      myfaces.renderkit.html.ext.HtmlTextRenderer
      09:11:52,667 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.SelectBoolean rendererType = org.apache.myfaces.Checkbox renderer class =
      org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer
      09:11:52,667 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.SelectMany rendererType = org.apache.myfaces.Checkbox renderer class = org
      .apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer
      09:11:52,667 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.SelectOne rendererType = org.apache.myfaces.Menu renderer class = org.apac
      he.myfaces.renderkit.html.ext.HtmlMenuRenderer
      09:11:52,683 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.SelectMany rendererType = org.apache.myfaces.Menu renderer class = org.apa
      che.myfaces.renderkit.html.ext.HtmlMenuRenderer
      09:11:52,683 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.SelectOne rendererType = org.apache.myfaces.Listbox renderer class = org.a
      pache.myfaces.renderkit.html.ext.HtmlListboxRenderer
      09:11:52,683 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.SelectMany rendererType = org.apache.myfaces.Listbox renderer class = org.
      apache.myfaces.renderkit.html.ext.HtmlListboxRenderer
      09:11:52,698 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.SelectOne rendererType = org.apache.myfaces.Radio renderer class = org.apa
      che.myfaces.renderkit.html.ext.HtmlRadioRenderer
      09:11:52,698 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.AliasBean renderer class = org.apac
      he.myfaces.custom.aliasbean.AliasBeanRenderer
      09:11:52,698 INFO [HtmlRenderKitImpl] Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.AliasBeansScope renderer class = or
      g.apache.myfaces.custom.aliasbean.AliasBeansScopeRenderer


      Whether there is any workround to solve the problem like placing the jar in common place and refering to it.
      Please help us.

      Thanks.