Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-89

StackOverflowError on osgi:shutdown after installing activemq-web-console feature and restarting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-esb-7.0.0
    • 7.0.0.fuse-037
    • None
    • None
    • % %

      Note this is also seen in Fuse MQ and FMC but without the restart. Basically if you do the following steps:

      1) Start up clean Fuse ESB
      2) features:install activemq-web-console
      3) osgi:shutdown (enter yes)
      4) Restart Fuse ESB
      5) osgi:shutdown (fails with StackOverflowError

      log:display shows:

      19 - org.apache.karaf.shell.console - 2.2.5.fuse-7-037 | Exception caught while executing command
      java.lang.StackOverflowError
      	at org.apache.jasper.util.SystemLogHandler.write(SystemLogHandler.java:173)
      	at java.io.FilterOutputStream.write(FilterOutputStream.java:60)[:1.6.0_29]
      	at java.io.PrintStream.write(PrintStream.java:399)[:1.6.0_29]
      	at org.apache.felix.gogo.runtime.threadio.ThreadPrintStream.write(ThreadPrintStream.java:105)
      	at org.apache.jasper.util.SystemLogHandler.write(SystemLogHandler.java:173)
      	at java.io.FilterOutputStream.write(FilterOutputStream.java:60)[:1.6.0_29]
      	at java.io.PrintStream.write(PrintStream.java:399)[:1.6.0_29]
      	at org.apache.felix.gogo.runtime.threadio.ThreadPrintStream.write(ThreadPrintStream.java:105)
      	at org.apache.jasper.util.SystemLogHandler.write(SystemLogHandler.java:173)
      	at java.io.FilterOutputStream.write(FilterOutputStream.java:60)[:1.6.0_29]
      	at java.io.PrintStream.write(PrintStream.java:399)[:1.6.0_29]
      	at org.apache.felix.gogo.runtime.threadio.ThreadPrintStream.write(ThreadPrintStream.java:105)
      

      and so on... Did a little digging and it looks like Pax Web 1.1.2 doesn't use Jasper as it's JSP engine, so we could maybe consider upgrading from 1.0.8 to 1.1.2 to get around this, as far as I can tell 1.0.8 uses a 2 year old version of Jasper going by the Tomcat SVN repo, 'cause I can't find SystemLogHandler in the source tree for tomcat 6.x and 7.x, only 5.x.

            gertv_jira Gert Vanthienen (Inactive)
            stlewis_2 Stan Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: