0 Replies Latest reply on Mar 9, 2006 4:29 AM by bullmccabe

    illegal constant pool index

    bullmccabe Newbie

      Hi Guys,
      We are experiencing a strange problem with some of our jps's running under jboss-3.0.6_tomcat-4.1.18. The larger jsps (ie the ones which compile to around 60k) start off working fine but over time start's giving the following message in the log:

      method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal constant pool index.

      My first course of action was to go through the jsp pear it down to a more reasonable size as the file in question was getting dangerously close to 64k max method size. This would work for a day or two but inevitably the problem would happen again. It would keep happening, eventually spreading to other slightly smaller pages and finally manifesting as an out of memory exception. The only solution is to re-start the app server, whereupon things start working normally again for a while.

      By virtue of the fact that the problem always affects jsps with a compile size of around 60k it looks likely that this is some kind of memory issue. What I can't understand is why the probems only appears sporadiacally.

      Any comments/thoughts/suggestions/abuse greatly appreciated