Integration of Existing Spring-Weblogic application with Mule
posted 6 years ago
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:
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:
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.