Dear all,
Please help me to fix my problem. I face problem in Exercise 2: Add
Life-cycle event handlers to the hello2 application.
When I add new Event Listener and run , I face a problem as below:
*Error listenerStart
Context startup failed due to previous errors
*WebModule[/hello2]contextDestroyed() method is invoked
WebModule[/hello2]*Exception sending context destroyed event to listener
instance of class mypackage.MyOwnEventListener
java.lang.UnsupportedOperationException: Not supported yet.
* * at
mypackage.MyOwnEventListener.contextDestroyed(MyOwnEventListener.java:26)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4051)
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4679)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4550)
* at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
at
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:646)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1331)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1040)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:246)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
My computer installed: netbeans 6.1, JDK 1.5, Sun Application Server 9.0
I strickly follow the instruction in the LAB-4005. Does anyone know how to
solve my problem?
Thank you very much!
I hope to receive your response soon!
Best regards,
Mrs.Nga
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---