• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic