Search:

Type: Posts; User: back2grave; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    1,555

    Issue with Spring Method interceptor

    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...
  2. Replies
    9
    Views
    2,531

    As far my understanding, there's no easy way to...

    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...
  3. Replies
    9
    Views
    2,531

    ak13, you'll see this exception if your bundle...

    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....
  4. Replies
    1
    Views
    1,210

    My bad, I declared it wrong in the spring config....

    My bad, I declared it wrong in the spring config.



    <jaxws:endpoint id="taxonomyquery"
    implementor="#taxonomyqueryImpl"
    address="/taxonomyquery" />

    <bean id="taxonomyqueryImpl"...
  5. My bad, I declared it wrong in the spring config....

    My bad, I declared it wrong in the spring config.



    <jaxws:endpoint id="taxonomyquery"
    implementor="#taxonomyqueryImpl"
    address="/taxonomyquery" />

    <bean id="taxonomyqueryImpl"...
  6. ApplicationContextAware not getting set

    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 :


    ...
  7. Replies
    1
    Views
    1,210

    ApplicationContextAware issue

    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...
  8. Replies
    9
    Views
    2,531

    Never mind, found the issue and resolved it...

    Never mind, found the issue and resolved it...
  9. Figured out the issue ... had to include aop...

    Figured out the issue ... had to include aop packages explicitely under import-package and exclude few dependent libraries at the sametime...
  10. Replies
    9
    Views
    2,531

    I'm facing the same exception, can you tell me...

    I'm facing the same exception, can you tell me what all dependencies caused the conflict for you ?
  11. SpringProx​y is not visible from class loader

    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'...
  12. Replies
    13
    Views
    3,254

    Thanks for all your help in getting this issue...

    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...
  13. Replies
    13
    Views
    3,254

    So what you are saying is a bug with the spring...

    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...
  14. Replies
    13
    Views
    3,254

    Not sure I understand clearly the debug...

    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.
  15. Replies
    13
    Views
    3,254

    Just curious, once you get the Resource object,...

    Just curious, once you get the Resource object, how are you loading the file? Are you using InputStream or File object.
  16. Replies
    13
    Views
    3,254

    The bundle does contains the test.db4o file. I...

    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|...
  17. Replies
    13
    Views
    3,254

    Here's the manifest file entry : ...

    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:...
  18. Replies
    13
    Views
    3,254

    I tried out all possible combinations, but...

    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.
  19. Replies
    13
    Views
    3,254

    Spring resource classpath issue

    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...
  20. I found the issue,the was...

    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...
  21. Problem with including jars using

    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...
  22. My bad, stupid mistake. Thanks for pointing it...

    My bad, stupid mistake. Thanks for pointing it out Marten, appreciate your help.
  23. Question on ScheduledTimerTask and ThreadPoolTaskExecutor issue

    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...
  24. Replies
    1
    Views
    2,935

    Db4o index problem

    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...
  25. Thanks for the reply , I meant value-ref , it was...

    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...
Results 1 to 25 of 27
Page 1 of 2 1 2