• 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

Integration of Existing Spring-Weblogic application with Mule

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

I'm begining to integrate a standalone mule service into our existing Spring-Weblogic application. Now, I can import my existing springs beans to mule using the



. The problem I am encountering is that our current application uses weblogic to instantiate our datasource and when I start Mule, the below exception occurs:

A Fatal error has occurred while the server was running:
Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file:
java.naming.factory.initial (javax.naming.NoInitialContextException)

The error is fatal, the system must shutdown

Tracing the error, I see that the problems comes from this entry in our spring config, saying that the datasource can not be found.



Now I have some idea why this occurs. Is it because Weblogic has it's own JNDI which Mule can't get. How do I do this? Or the property file can not be loaded. Also, looking at the available tags for mule config I see the following:

<weblogic-transaction-manager> and
<jndi-transaction-manager>

Can I use the following tags to get the context(?) of the Weblogic so that I would get the same context of my existing application. I am quite confused on how I would approach this problem.

Thanks and Regards,
Yel Legaspi
 
Quick! Before anybody notices! Cover it up with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic