-
1. Re: Problems with classpath in ServiceMix 4.3
ffang Feb 8, 2012 8:04 PM (in response to joatham.perezexposito)Hi,
SMX 4.x basically is an OSGi container, you shouldn't put customer interceptor into lib folder(lib folder generally is used for system level lib), you should put this interceptor class into your serviceunit bundle.
Freeman
-
2. Re: Problems with classpath in ServiceMix 4.3
joatham.perezexposito Feb 9, 2012 3:37 AM (in response to ffang)Ok, thanks for your answer.
Then, the information found in smx/lib/README does not it make sense?.
Is there any way to share a library between different elements osgi?
Readme information :
This directory is the standard java classpath directory.
Any jar in this folder will be part of the main classloader used to load Karaf.
However, in OSGi, classes defined in this jar won't be available to other bundles
unless one of the org.osgi.framework.system.packages.extra or
org.osgi.framework.bootdelegation property in the etc/config.properties file
is modified to export or delegate the packages.
Please refer to the OSGi Core Specification for more informations on those
properties and the OSGi classloading mechanism.
-
3. Re: Problems with classpath in ServiceMix 4.3
joatham.perezexposito Feb 9, 2012 9:54 AM (in response to joatham.perezexposito)Basically what I'm trying is to do this, but in ServiceMix 4.3:
http://fusesource.com/forums/thread.jspa?messageID=9521
Thanks for your time.
-
4. Re: Problems with classpath in ServiceMix 4.3
joatham.perezexposito Feb 9, 2012 11:58 AM (in response to joatham.perezexposito)Hello,
I need some example of a valid file for the property busCfg, as always I get the following message:
java.lang.RuntimeException: org.springframework.context.ApplicationContextException: Failed to load bundle-context.xml configuration.
I add my config file.
-
blunde-context.xml 967 bytes
-