karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3350) The log:display command fails with CNFE if the pax-logging-service bundle has been refreshed
Date Wed, 05 Nov 2014 19:15:36 GMT
Guillaume Nodet created KARAF-3350:
--------------------------------------

             Summary: The log:display command fails with CNFE if the pax-logging-service bundle
has been refreshed
                 Key: KARAF-3350
                 URL: https://issues.apache.org/jira/browse/KARAF-3350
             Project: Karaf
          Issue Type: Bug
            Reporter: Guillaume Nodet


{code}
JBossFuse:karaf@root> fabric:create --wait-for-provisioning 
Waiting for container: root
Waiting for container root to provision.
Error executing command: Unable to create zookeeper server configuration 
JBossFuse:karaf@root> log:display
Error executing command: org/ops4j/pax/logging/service/internal/PaxLevelImpl
JBossFuse:karaf@root> 
JBossFuse:karaf@root> log:display-exception 
java.lang.NoClassDefFoundError: org/ops4j/pax/logging/service/internal/PaxLevelImpl
at org.ops4j.pax.logging.service.internal.PaxLoggingEventImpl.getLevel(PaxLoggingEventImpl.java:92)[5:org.ops4j.pax.logging.pax-logging-service:1.8.0]
at org.apache.karaf.shell.log.DisplayLog.getColor(DisplayLog.java:171)
at org.apache.karaf.shell.log.DisplayLog.display(DisplayLog.java:143)
at org.apache.karaf.shell.log.DisplayLog.doExecute(DisplayLog.java:135)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_55]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_55]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_55]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_55]
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.$BlueprintCommand272358056.execute(Unknown Source)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:196)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[28:org.apache.karaf.shell.console:2.4.0.redhat-620042]
Caused by: java.lang.ClassNotFoundException: Unable to load class 'org.ops4j.pax.logging.service.internal.PaxLevelImpl'
because the bundle wiring for org.ops4j.pax.logging.pax-logging-service is no longer valid.
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1521)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_55]
... 22 more
{code}

This is caused by old events being kept in memory but the implementation classes aren't available
anymore.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message