Re: InstanceAlreadyExistsException when Redeploying in Websphere
Ok, no need for a JIRA -- it was operator failure that caused the problem (that would be me, BTW). The InstanceAlreadyExistsException was caused by having 2 copies of the wicket-jmx-1.3.5.jar file in the app's WEB-INF/lib directory. The 2nd copy was in a subdirectory -- I had put it there while experimenting with Wicket version 1.4. Solution: remove the 2nd copy. Now the issue with the "WicketRuntimeException: signin is already mounted for BookmarkablePageEncoder" issue I think may have something to with WebSphere. Once I removed the wicket.mbean.server.agentid=WebSphere JVM setting from the app server then the problem went away. -- View this message in context: http://www.nabble.com/InstanceAlreadyExistsException-when-Redeploying-in-Websphere-tp15617038p22310588.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: InstanceAlreadyExistsException when Redeploying in Websphere
Bump This issue still exits -- should I open a JIRA? -- View this message in context: http://www.nabble.com/InstanceAlreadyExistsException-when-Redeploying-in-Websphere-tp15617038p21982323.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: InstanceAlreadyExistsException when Redeploying in Websphere
Was a JIRA ever opened for this issue? I'm seeing the same problem in my WebSphere setup. Plus, it appears that my app then fails with WicketRuntimeException: signin is already mounted for BookmarkablePageEncoder -- View this message in context: http://www.nabble.com/InstanceAlreadyExistsException-when-Redeploying-in-Websphere-tp15617038p21195105.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: InstanceAlreadyExistsException when Redeploying in Websphere
thats pretty weird, please open a jira issue for it -igor On Thu, Feb 21, 2008 at 3:28 PM, nmarchalleck <[EMAIL PROTECTED]> wrote: > > Workaround... > > If I remove wicket-jmx-1.3.1.jar from the classpath I no longer get the > exception and the app works normally. > > > > > nmarchalleck wrote: > > > > Some additional info: > > > > During redeploy when the web app is being shutdown, I'm seeing this > > exception in the Websphere FFDC log... > > > > Exception = com.ibm.websphere.management.exception.AdminException > > Source = com.ibm.ws.management.PlatformMBeanServer.unregisterMbean > > probeid = 562 > > Stack Dump = com.ibm.websphere.management.exception.AdminException: > > javax.management.InstanceNotFoundException: > > org.apache.wicket.app.HelloWorldApplication:type=Application > > at > > > com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean(MBeanFactoryImpl.java:1040) > > at > > > com.ibm.ws.management.PlatformMBeanServer.unregisterMBean(PlatformMBeanServer.java:560) > > at org.apache.wicket.jmx.Initializer.destroy(Initializer.java:75) > > at org.apache.wicket.Application.callDestroyers(Application.java:773) > > at > org.apache.wicket.Application.internalDestroy(Application.java:890) > > at > > > org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:447) > > at > > org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:143) > > at > > > org.apache.wicket.protocol.http.WicketServlet.destroy(WicketServlet.java:201) > > at > > > com.ibm.ws.webcontainer.servlet.ServletWrapper.doDestroy(ServletWrapper.java:778) > > at > > > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.doDestroy(ServletWrapper.java:676) > > at > > > com.ibm.ws.webcontainer.servlet.ServletWrapper.destroy(ServletWrapper.java:857) > > at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:2507) > > at com.ibm.ws.wswebcontainer.webapp.WebApp.destroy(WebApp.java:1023) > > at > > > com.ibm.ws.webcontainer.webapp.WebGroup.removeWebApplication(WebGroup.java:208) > > at > > > com.ibm.ws.webcontainer.VirtualHost.removeWebApplication(VirtualHost.java:267) > > at > > > com.ibm.ws.wswebcontainer.VirtualHost.removeWebApplication(VirtualHost.java:181) > > at > > > com.ibm.ws.wswebcontainer.WebContainer.removeWebApplication(WebContainer.java:725) > > at > > > com.ibm.ws.webcontainer.component.WebContainerImpl.uninstall(WebContainerImpl.java:357) > > at > > > com.ibm.ws.webcontainer.component.WebContainerImpl.stop(WebContainerImpl.java:560) > > at > > > com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:1318) > > at > > > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop(DeployedApplicationImpl.java:1134) > > at > > > com.ibm.ws.runtime.component.DeployedModuleImpl.stop(DeployedModuleImpl.java:600) > > at > > > com.ibm.ws.runtime.component.ApplicationMgrImpl._stopModule(ApplicationMgrImpl.java:1847) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:615) > > at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62) > > at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:615) > > at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265) > > at > > > javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089) > > at > > > javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971) > > at > > > com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231) > > at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238) > > at > > > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833) > > at > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802) > > at > > com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1057) > > at > > > com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) > > at > > com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:950) > > at > > > com.ibm.ws.management.application.sync.StopDeploymentTask.stopDeployment(StopDeploymentTask.java:182) > > at > > > com.ibm.ws.management.application.sync.StopDeploymentTask.fineGrainUpdate(StopDeploymentTask.java:10
Re: InstanceAlreadyExistsException when Redeploying in Websphere
Workaround... If I remove wicket-jmx-1.3.1.jar from the classpath I no longer get the exception and the app works normally. nmarchalleck wrote: > > Some additional info: > > During redeploy when the web app is being shutdown, I'm seeing this > exception in the Websphere FFDC log... > > Exception = com.ibm.websphere.management.exception.AdminException > Source = com.ibm.ws.management.PlatformMBeanServer.unregisterMbean > probeid = 562 > Stack Dump = com.ibm.websphere.management.exception.AdminException: > javax.management.InstanceNotFoundException: > org.apache.wicket.app.HelloWorldApplication:type=Application > at > com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean(MBeanFactoryImpl.java:1040) > at > com.ibm.ws.management.PlatformMBeanServer.unregisterMBean(PlatformMBeanServer.java:560) > at org.apache.wicket.jmx.Initializer.destroy(Initializer.java:75) > at org.apache.wicket.Application.callDestroyers(Application.java:773) > at org.apache.wicket.Application.internalDestroy(Application.java:890) > at > org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:447) > at > org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:143) > at > org.apache.wicket.protocol.http.WicketServlet.destroy(WicketServlet.java:201) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.doDestroy(ServletWrapper.java:778) > at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.doDestroy(ServletWrapper.java:676) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.destroy(ServletWrapper.java:857) > at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:2507) > at com.ibm.ws.wswebcontainer.webapp.WebApp.destroy(WebApp.java:1023) > at > com.ibm.ws.webcontainer.webapp.WebGroup.removeWebApplication(WebGroup.java:208) > at > com.ibm.ws.webcontainer.VirtualHost.removeWebApplication(VirtualHost.java:267) > at > com.ibm.ws.wswebcontainer.VirtualHost.removeWebApplication(VirtualHost.java:181) > at > com.ibm.ws.wswebcontainer.WebContainer.removeWebApplication(WebContainer.java:725) > at > com.ibm.ws.webcontainer.component.WebContainerImpl.uninstall(WebContainerImpl.java:357) > at > com.ibm.ws.webcontainer.component.WebContainerImpl.stop(WebContainerImpl.java:560) > at > com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:1318) > at > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop(DeployedApplicationImpl.java:1134) > at > com.ibm.ws.runtime.component.DeployedModuleImpl.stop(DeployedModuleImpl.java:600) > at > com.ibm.ws.runtime.component.ApplicationMgrImpl._stopModule(ApplicationMgrImpl.java:1847) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62) > at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265) > at > javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089) > at > javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971) > at > com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231) > at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833) > at > com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802) > at > com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1057) > at > com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) > at > com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:950) > at > com.ibm.ws.management.application.sync.StopDeploymentTask.stopDeployment(StopDeploymentTask.java:182) > at > com.ibm.ws.management.application.sync.StopDeploymentTask.fineGrainUpdate(StopDeploymentTask.java:109) > at > com.ibm.ws.management.application.sync.StopDeploymentTask.performTask(StopDeploymentTask.java:69) > at > com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:820) > at > com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:590) > at > com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:400) > at > com.ibm.ws.ma
Re: InstanceAlreadyExistsException when Redeploying in Websphere
Some additional info: During redeploy when the web app is being shutdown, I'm seeing this exception in the Websphere FFDC log... Exception = com.ibm.websphere.management.exception.AdminException Source = com.ibm.ws.management.PlatformMBeanServer.unregisterMbean probeid = 562 Stack Dump = com.ibm.websphere.management.exception.AdminException: javax.management.InstanceNotFoundException: org.apache.wicket.app.HelloWorldApplication:type=Application at com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean(MBeanFactoryImpl.java:1040) at com.ibm.ws.management.PlatformMBeanServer.unregisterMBean(PlatformMBeanServer.java:560) at org.apache.wicket.jmx.Initializer.destroy(Initializer.java:75) at org.apache.wicket.Application.callDestroyers(Application.java:773) at org.apache.wicket.Application.internalDestroy(Application.java:890) at org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:447) at org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:143) at org.apache.wicket.protocol.http.WicketServlet.destroy(WicketServlet.java:201) at com.ibm.ws.webcontainer.servlet.ServletWrapper.doDestroy(ServletWrapper.java:778) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.doDestroy(ServletWrapper.java:676) at com.ibm.ws.webcontainer.servlet.ServletWrapper.destroy(ServletWrapper.java:857) at com.ibm.ws.webcontainer.webapp.WebApp.destroy(WebApp.java:2507) at com.ibm.ws.wswebcontainer.webapp.WebApp.destroy(WebApp.java:1023) at com.ibm.ws.webcontainer.webapp.WebGroup.removeWebApplication(WebGroup.java:208) at com.ibm.ws.webcontainer.VirtualHost.removeWebApplication(VirtualHost.java:267) at com.ibm.ws.wswebcontainer.VirtualHost.removeWebApplication(VirtualHost.java:181) at com.ibm.ws.wswebcontainer.WebContainer.removeWebApplication(WebContainer.java:725) at com.ibm.ws.webcontainer.component.WebContainerImpl.uninstall(WebContainerImpl.java:357) at com.ibm.ws.webcontainer.component.WebContainerImpl.stop(WebContainerImpl.java:560) at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:1318) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop(DeployedApplicationImpl.java:1134) at com.ibm.ws.runtime.component.DeployedModuleImpl.stop(DeployedModuleImpl.java:600) at com.ibm.ws.runtime.component.ApplicationMgrImpl._stopModule(ApplicationMgrImpl.java:1847) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62) at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802) at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1057) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:950) at com.ibm.ws.management.application.sync.StopDeploymentTask.stopDeployment(StopDeploymentTask.java:182) at com.ibm.ws.management.application.sync.StopDeploymentTask.fineGrainUpdate(StopDeploymentTask.java:109) at com.ibm.ws.management.application.sync.StopDeploymentTask.performTask(StopDeploymentTask.java:69) at com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:820) at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:590) at com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:400) at com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:372) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118) at com.ibm.ws.management.application.sync.AppBinaryProcessor.