• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reg.Exception while calling a method in ContextDestroyed JBOSS 5.0

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am developing a web application using jboss 5.0 with Db4o database.
I have opened a database connection from contextInitialized during server startup and ends the connection while server shutdown.
After that i have to replicate the db4o data to mysql. for that i have call a method from contextDestroyed to process.
But when i stop the server it calls the method and suddenly it throws the below mentioned exception.

[TomcatDeployment] undeploy, ctxPath=/invoker
18:36:01,641 INFO [TomcatDeployment] undeploy, ctxPath=/jbossws
18:36:01,657 INFO [TomcatDeployment] undeploy, ctxPath=/
18:36:01,657 INFO [TomcatDeployment] undeploy, ctxPath=/jmx-console

Exception sending context destroyed event to listener instance of class com.eventcube.portal.web.util.Db4oContextListener

suggest me to solve the error and move forward.
Expecting your valuable suggestions.

Regards,
Jude



Regards,
Jude
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please upgrade to JBoss AS 5.1.0 since 5.0 has numerous bugs. After upgrading, if you still see that issue then please post the entire exception stacktrace.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic