This one is solved switching to Equinox in place of Felix.
Change etc/custom.properties by adding:
karaf.framework=equinox
Regards
JB
On 02/24/2011 08:52 AM, Charles Moulliard wrote:
Installing camel-cxf generates the following error too -->
karaf@root> features:install camel-cxf
Refreshing bundles org.apache.servicemix.bundles.xmlbeans (112),
org.apache.servicemix.bundles.velocity (41), org.apache.cxf.bundle
(119), org.apache.servicemix.bundles.cglib (69)
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:403)
at java.util.zip.ZipFile.getEntry(ZipFile.java:148)
at java.util.jar.JarFile.getEntry(JarFile.java:208)
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:1738)
at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at
org.apache.cxf.bus.spring.BusApplicationListener.onApplicationEvent(BusApplicationListener.java:65)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
at
org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1007)
at
org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)
at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:379)
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)
at
org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:970)
at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener$1.run(ContextLoaderListener.java:524)
at
org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
at
org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:70)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
On Thu, Feb 24, 2011 at 7:59 AM, Jean-Baptiste Onofré<[email protected]> wrote:
Team,
I would like to promote the release but my latest tests on examples don't
look fine
- features:install examples-cxf-nmr
NoClassDefFoundError: javax.xml.namespace.QName not found from bundle
[cxf-nmr]
- features:install examples-camel-nmr
It works, but several
IllegalStateException: zip file closed (coming from Felix Framework util)
and a
ClassNotFoundException: org.apache.servicemix.nmr.api.service.ServiceHelper
The other examples features look good (including camel-nmr-blueprint).
Could somebody make some tries ?
Anyway, it's clear that the examples should be updated to use Blueprint in
place of Spring beans (I think it's more clear for the users) for ServiceMix
4.4.0.
I think that we can promote the release as it's but we should add an
appendix concerning examples.
Thanks
Regards
JB
On 02/20/2011 09:46 AM, Jean-Baptiste Onofré wrote:
Hi,
We solved 115 issues in this release:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311208&version=12315741
Staging repository:
https://repository.apache.org/content/repositories/orgapacheservicemix-026/
The RELEASE-NOTES file is included in the release and up to date.
Please vote to approve this release:
[ ] +1 Approve the release
[ ] -1 Veto the release (please provide specific comments)
This vote will be open for 72 hours.
Thanks,
Regards
JB