• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

spring app released in OSGi container classloading woes

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a spring application that deploys successfully in a servlet container. When I try to deploy it in a OSGi container (ServiceMix 4) I have trouble loading the application context.

Here is the error I am getting:



And here is my context XML:



So I am trying to use the LocalContainerEntityManagerFactoryBean to dynamically create instances of a JPA EntityManagerFactory. I thought I was specifying aspectJ weaving relative to the bundle classloader with:



But perhaps this is not the case?

Any ideas, what I am doing wrong?

Thanks folks.
Kato
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic