[ 
https://issues.apache.org/activemq/browse/SMX4-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57580#action_57580
 ] 

Jean-Baptiste Onofré commented on SMX4-462:
-------------------------------------------

I built a SMX 4.1.0-SNAPSHOT using the same karaf version used in the previous 
test (karaf revision 910202) and made a new test:

ka...@root> features:install camel-cxf

This time, I got:

ka...@root> features:install camel-cxf
Refreshing bundles org.apache.servicemix.bundles.cglib (41), 
org.springframework.context.support (40)
ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip 
file closed)
java.lang.IllegalStateException: zip file closed
        at java.util.zip.ZipFile.ensureOpen(ZipFile.java:518)
        at java.util.zip.ZipFile.getEntry(ZipFile.java:251)
        at java.util.jar.JarFile.getEntry(JarFile.java:204)
        at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)
        at 
org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1746)
        at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:723)
        at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1698)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:639)
        at 
org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108)
        at 
org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1405)
        at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:718)
        at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1698)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:639)
        at 
org.apache.felix.framework.ServiceRegistrationImpl$ServiceReferenceImpl.isAssignableTo(ServiceRegistrationImpl.java:533)
        at 
org.apache.felix.framework.util.Util.isServiceAssignable(Util.java:224)
        at 
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:848)
        at 
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)
        at 
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
        at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3619)
        at org.apache.felix.framework.Felix.access$000(Felix.java:39)
        at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:667)
        at 
org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:124)
        at 
org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
        at 
org.apache.servicemix.jbi.deployer.impl.Deployer.unregisterServices(Deployer.java:784)
        at 
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStopping(Deployer.java:379)
        at 
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:287)
        at 
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
        at 
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
        at 
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3608)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2114)
        at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:4232)
        at org.apache.felix.framework.Felix.refreshPackages(Felix.java:3437)
        at 
org.apache.felix.framework.PackageAdminImpl.run(PackageAdminImpl.java:331)
        at java.lang.Thread.run(Thread.java:595)
ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip 
file closed)

and the console is frozen.

So the problem is still present using the latest karaf snapshot.

> Installing camel-cxf breaks the console
> ---------------------------------------
>
>                 Key: SMX4-462
>                 URL: https://issues.apache.org/activemq/browse/SMX4-462
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Vincent Girard-Reydet
>             Fix For: 4.2.0
>
>         Attachments: servicemix.log
>
>
> As soon as I install camel-cxf (which by the way won't install correctly, it 
> freezes SMX4), the console looses its refresh capacity. So I the display gets 
> messed when I:
> - use the delete key to edit a command
> - hit the up arrow to reuse previous commands
> - use the left/right arrow / home key to navigate in a command I am editing.
> Still present in SVN rev 900406.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to