[jboss-user] [JBoss Seam] - Seam 2 shutdown exception

pbrewer_uk do-not-reply at jboss.com
Wed Nov 14 08:21:56 EST 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104550#4104550

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104550



More information about the jboss-user mailing list