You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2010/07/12 09:12:49 UTC
[jira] Created: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Update Pax Url Wrap to version 1.1.3
------------------------------------
Key: KARAF-118
URL: https://issues.apache.org/jira/browse/KARAF-118
Project: Karaf
Issue Type: Improvement
Affects Versions: 2.0.0
Reporter: Charles Moulliard
Fix For: 2.0.0
A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
http://issues.ops4j.org/browse/PAXSB-33
If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887403#action_12887403 ]
Charles Moulliard commented on KARAF-118:
-----------------------------------------
I'm not quite sure that this is a good idea to use this new version.
Why : When I try to deploy on Apache Felix Karaf camel-cxf I get this exception now :
{code}
karaf@root> features:install camel-cxf
Refreshing bundles org.apache.servicemix.bundles.cglib (48), org.apache.camel.camel-core (47), org.springframework.aop (35), org.springframework.context.support (40), org
.apache.servicemix.bundles.jaxb-impl (45), org.springframework.context (39)
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:1733)
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:1685)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:634)
at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)
at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345)
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:711)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1685)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.springframework.osgi.extender.internal.support.NamespaceManager.unregisterResolverService(NamespaceManager.java:188)
at org.springframework.osgi.extender.internal.support.NamespaceManager.destroy(NamespaceManager.java:216)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener.shutdown(ContextLoaderListener.java:549)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener.stop(ContextLoaderListener.java:433)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:655)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2235)
at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:4443)
at org.apache.felix.framework.Felix.refreshPackages(Felix.java:3563)
at org.apache.felix.framework.PackageAdminImpl.run(PackageAdminImpl.java:336)
at java.lang.Thread.run(Thread.java:619)
ERROR: Error stopping bundle. (java.lang.NoClassDefFoundError: org/springframework/osgi/util/OsgiServiceUtils)
java.lang.NoClassDefFoundError: org/springframework/osgi/util/OsgiServiceUtils
at org.springframework.osgi.extender.internal.support.NamespaceManager.unregisterResolverService(NamespaceManager.java:188)
at org.springframework.osgi.extender.internal.support.NamespaceManager.destroy(NamespaceManager.java:216)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener.shutdown(ContextLoaderListener.java:549)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener.stop(ContextLoaderListener.java:433)
at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:655)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2235)
at org.apache.felix.framework.Felix$RefreshHelper.stop(Felix.java:4443)
at org.apache.felix.framework.Felix.refreshPackages(Felix.java:3563)
at org.apache.felix.framework.PackageAdminImpl.run(PackageAdminImpl.java:336)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: org.springframework.osgi.util.OsgiServiceUtils
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1685)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:634)
at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)
at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345)
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:711)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1685)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 10 more
{code}
Maybe this is not at all related or due to slow internet connection to install all the bundles required by CXF
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889171#action_12889171 ]
Guillaume Nodet commented on KARAF-118:
---------------------------------------
Looks like a spring-dm problem, but not sure how it could handle spring removal nicely ...
One thing we could do is warn if you uninstall a feature which is a dependency of another installed feature, similar to the --force flag we have on osgi commands. That would be a nice improvement I think.
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889137#action_12889137 ]
Guillaume Nodet commented on KARAF-118:
---------------------------------------
Did you investigate this issue more ?
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard reassigned KARAF-118:
---------------------------------------
Assignee: Charles Moulliard
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887684#action_12887684 ]
Charles Moulliard commented on KARAF-118:
-----------------------------------------
I have made a test with Pax Url Wrap and mvn version 1.1.2 and this error does not happen. So a decision must be taken ?
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889147#action_12889147 ]
Charles Moulliard commented on KARAF-118:
-----------------------------------------
Not for the moment but will this afternoon.
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887292#action_12887292 ]
Charles Moulliard commented on KARAF-118:
-----------------------------------------
Class has been corrected --> org.ops4j.pax.swissbox.bnd.BndUtils
{code}
private static PipedInputStream createInputStream(Jar jar)
throws IOException
{
PipedInputStream pin = new PipedInputStream();
PipedOutputStream pout = new PipedOutputStream(pin);
new Thread(jar, pout)
{
public void run()
{
try
{
this.val$jar.write(this.val$pout);
}
catch (IOException e)
{
}
finally
{
try
{
this.val$jar.close();
this.val$pout.close();
}
catch (IOException ignore)
{
BndUtils.LOG.error("Bundle cannot be generated", ignore);
}
}
}
}
.start();
return pin;
}
{code}
So we can install PAx Url Wrap 1.1.3
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889165#action_12889165 ]
Charles Moulliard commented on KARAF-118:
-----------------------------------------
I have found how to generate this exception on the console. This is not at all related to PAX url
Here is the step to reproduce :
1) install on a fresh karaf instance the feature 'spring' and after 'spring-dm'
2) Next, uninstall the feature 'spring'
3) You will see the error.
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (KARAF-118) Update Pax Url Wrap to version 1.1.3
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-118.
-----------------------------------
Resolution: Fixed
Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
M pom.xml
Committed r964783
I haven't seen any problem, so I think what you seen isn't related to pax-url
> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
> Key: KARAF-118
> URL: https://issues.apache.org/jira/browse/KARAF-118
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.