I'm having an issue with using Spring interceptor in OSGI. I've a CXF service endpoint method which I'm trying a wrap with an interceptor to do some initialization. For some reason, the interceptor...
Type: Posts; User: back2grave; Keyword(s):
I'm having an issue with using Spring interceptor in OSGI. I've a CXF service endpoint method which I'm trying a wrap with an interceptor to do some initialization. For some reason, the interceptor...
As far my understanding, there's no easy way to deal with these issues. I'm using servicemix for couple of weeks and this is one of those pain points you've to face. Which OSGI container are you...
ak13, you'll see this exception if your bundle contains any spring implementation with a different version than your osgi container.
In my case, I removed them in the maven embed-dependency....
My bad, I declared it wrong in the spring config.
<jaxws:endpoint id="taxonomyquery"
implementor="#taxonomyqueryImpl"
address="/taxonomyquery" />
<bean id="taxonomyqueryImpl"...
My bad, I declared it wrong in the spring config.
<jaxws:endpoint id="taxonomyquery"
implementor="#taxonomyqueryImpl"
address="/taxonomyquery" />
<bean id="taxonomyqueryImpl"...
Hi,
I'm trying to access ApplicationContext in my spring bean by implementing ApplicationContextAware interface. The spring bean is a cxf soap endpoint impl. Here's the spring entry :
...
Hi,
I'm using spring ApplicationContextAware to set the Application context to my web services endpoint. There's no exception when I install and start the bundle. When I'm trying to call the...
Never mind, found the issue and resolved it...
Figured out the issue ... had to include aop packages explicitely under import-package and exclude few dependent libraries at the sametime...
I'm facing the same exception, can you tell me what all dependencies caused the conflict for you ?
I've run into the following exception when I try to start the bundle.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taxonomyDaoLoadImpl'...
Thanks for all your help in getting this issue resolved. I followed your clue and tried couple of approaches which worked.
1. Externalizing the file and use file:///absolute_file_path
2. I...
So what you are saying is a bug with the spring ResourceUtils ? I guessthe value of URI getting passed is "bundle://258.0:1/repo/test.db4o".
In ResourceUtils.getFile(),
if...
Not sure I understand clearly the debug information about the databaseFile ? Can you please rephrase ? My idea about getSearchType value should be "classpath" as specified in the spring config.
Just curious, once you get the Resource object, how are you loading the file? Are you using InputStream or File object.
The bundle does contains the test.db4o file. I looked into the stacktrace and here's what I see.
"caused by: java.io.FileNotFoundException: OSGi
resource[classpath:taxonomy.db4o|...
Here's the manifest file entry :
Manifest-Version: 1.0
Export-Package: com.test.taxonomy.dao.api;uses:="com.test.taxo
nomy.message,com.test.taxonomy.model";version="1.0.0"
Bundle-ClassPath:...
I tried out all possible combinations, but doesn't seem to work. I even tried <property name="databaseFile" value="classpath*:repo/test.db4o" /> w/o any luck.
Hi,
I'm trying to deploy a spring based bundle in osgi (fuse esb).In
spring context, I'm referring to a db4o file which is inside resources
folder. As per my understanding, a maven project will...
I found the issue,the <Embed-Dependency> was outside the scope of <Instructions>.
But,using <Embed-Dependency> doesn't seem to have resolved the issue. While doing a maven install, it complained...
I'm trying to embed third party libs and application jar in a OSGI bundle.I read the felix maven plugin document and tried using Embed-Dependency. But it doesn't seem to have any effect. Here's my...
My bad, stupid mistake. Thanks for pointing it out Marten, appreciate your help.
Hi,
I'm facing an issue while try to use ScheduledTimerTask and ThreadPoolTaskExecutor in conjunction. My objective is to have a timer thread which will wake up in a specific interval of time...
Hi,
I'm trying to create index on several fields but didn't find a way to do so using the spring integration. The configuration class doesn't seem to have a way to set the indexes.
Any...
Thanks for the reply , I meant value-ref , it was a typo. I've found solution i was looking for. Here's what I wanted.
<util:map id="someSourceMap" map-class="java.util.HashMap">
<entry...