0 Replies Latest reply on Nov 14, 2007 8:21 AM by Peter Brewer

    Seam 2 shutdown exception

    Peter Brewer Novice

      I'm using Seam 2.0.0.GA on JBoss 4.2.1.GA and have discovered that when I include seam-pdf.jar (with jfreechart.jar and jcommon.jar) in the ear's lib directory, and then press ctrl+c to shutdown JBoss I get the following error:

      13:16:45,817 ERROR [STDERR] Exception in thread "AWT-Windows"
      13:16:45,818 ERROR [STDERR] java.lang.IllegalStateException: Shutdown in progress
      13:16:45,819 ERROR [STDERR] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
      13:16:45,820 ERROR [STDERR] at java.lang.Runtime.addShutdownHook(Runtime.java:192)
      13:16:45,821 ERROR [STDERR] at sun.awt.windows.WToolkit.run(WToolkit.java:276)
      13:16:45,822 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)

      However, if I remove seam-pdf.jar, jfreechart.jar and jcommon.jar from the ear's lib dir, the JBoss shuts down correctly.

      Any ideas?

      Thanks in advance, Pete.