[jboss-user] [JBoss Seam] - @Destroy annotated method on Application Scoped component

bytor99999 do-not-reply at jboss.com
Tue Jul 10 15:19:33 EDT 2007


When trying to put an @Destroy method on an Application Scoped Component we get a WARN stack trace


  | 17:10:26,843 WARN [Component] Exception calling component @Destroy method: pluginContainerBootstrap
  | java.lang.IllegalStateException: no event context active
  |         at org.jboss.seam.web.ServletContexts.instance(ServletContexts.java:40)
  |         at org.jboss.seam.web.Parameters.getRequestParameters(Parameters.java:39) 
  | 
  | 

Basically, we want a method that will get called when our App gets undeployed/closed. Is there a way to do this?

Thanks

If you need more of the stack trace, just let me know.

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

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



More information about the jboss-user mailing list