Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Integration of Existing Spring-Weblogic application with Mule  RSS feed

Yel Legaspi
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!