This is the first time I'm seeing this exception when i uninstall bundle or
halt system. Please provide more info as to why this may be happening and
how to fix. I modified the WAB code to use slf4j instead of log4j and util
logging. thx.
admin@NextGate> uninstall 245
ERROR: Bundle org.ops4j.pax.web.pax-web-runtime [88]
ServiceRegistrationImpl: Error ungetting service.
(java.lang.IllegalStateException: !STOPPED)
java.lang.IllegalStateException: !STOPPED
at
org.eclipse.jetty.server.handler.HandlerWrapper.destroy(HandlerWrapper.java:172)
at
org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper.removeContext(JettyServerWrapper.java:230)
at
org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.removeContext(JettyServerImpl.java:351)
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.removeContext(ServerControllerImpl.java:293)
at
org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.removeContext(ServerControllerImpl.java:138)
at
org.ops4j.pax.web.service.internal.HttpServiceStarted.stop(HttpServiceStarted.java:159)
at
org.ops4j.pax.web.service.internal.HttpServiceProxy.stop(HttpServiceProxy.java:94)
at
org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl.ungetService(HttpServiceFactoryImpl.java:44)
at
org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl.ungetService(HttpServiceFactoryImpl.java:26)
at
org.apache.felix.framework.ServiceRegistrationImpl.ungetFactoryUnchecked(ServiceRegistrationImpl.java:349)
at
org.apache.felix.framework.ServiceRegistrationImpl.ungetService(ServiceRegistrationImpl.java:258)
at
org.apache.felix.framework.ServiceRegistry.ungetService(ServiceRegistry.java:399)
at
org.apache.felix.framework.ServiceRegistry.ungetServices(ServiceRegistry.java:462)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2558)
at org.apache.felix.framework.Felix.uninstallBundle(Felix.java:2632)
at org.apache.felix.framework.BundleImpl.uninstall(BundleImpl.java:1022)
at
org.apache.karaf.bundle.command.Uninstall.executeOnBundle(Uninstall.java:31)
at
org.apache.karaf.bundle.command.BundlesCommandWithConfirmation.doExecute(BundlesCommandWithConfirmation.java:53)
at
org.apache.karaf.bundle.command.BundlesCommand.doExecute(BundlesCommand.java:50)
at
org.apache.karaf.bundle.command.BundlesCommandWithConfirmation.doExecute(BundlesCommandWithConfirmation.java:41)
at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at
org.apache.karaf.shell.console.commands.$BlueprintCommand1770948135.execute(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at
org.apache.karaf.shell.console.commands.$BlueprintCommand1770948135.execute(Unknown
Source)
at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at
org.apache.karaf.shell.console.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:497)
at
org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:198)
at java.lang.Thread.run(Thread.java:744)
at
org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:118)
at
org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:109)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)
at
org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:107)
--
View this message in context:
http://karaf.922171.n3.nabble.com/error-ungetting-service-in-karaf-3-0-0-tp4032806.html
Sent from the Karaf - User mailing list archive at Nabble.com.