I'm using Mule in a dynamic web project. Now, using RC3, I get this error:
GRAVE: /conf/mule-config.xml (java.io.FileNotFoundException)
org.mule.api.config.ConfigurationException: /conf/mule-config.xml
(java.io.FileNotFoundException)
at
org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:96)
at
org.mule.config.builders.AbstractResourceConfigurationBuilder.<init>(AbstractResourceConfigurationBuilder.java:46)
at
org.mule.config.spring.SpringXmlConfigurationBuilder.<init>(SpringXmlConfigurationBuilder.java:35)
at
org.mule.config.spring.SpringXmlConfigurationBuilder.<init>(SpringXmlConfigurationBuilder.java:52)
at
org.mule.config.builders.WebappMuleXmlConfigurationBuilder.<init>(WebappMuleXmlConfigurationBuilder.java:61)
at
org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:106)
at
org.mule.config.builders.MuleXmlBuilderContextListener.initialize(MuleXmlBuilderContextListener.java:74)
at
org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:56)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.io.FileNotFoundException: /conf/mule-config.xml
at org.mule.config.ConfigResource.<init>(ConfigResource.java:35)
at
org.mule.config.builders.AbstractResourceConfigurationBuilder.loadConfigResources(AbstractResourceConfigurationBuilder.java:90)
... 22 more
If i used RC2 jars it works fine. The file really is in that route.
Thanks in advance
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p16304174.html
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p16304544.html
If i used RC2's jars it works fine, but when I try RC3's jar it doesn´t
work.
Thanks
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p16304692.html
Thanks
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p16325941.html
Thanks,
Travis
The path you are using "/conf/mule-config.xml" is valid given the
current implementation, it looks like a bug may have crept in
somewhere, so I'll file a JIRA issue for this. (http://mule.mulesource.org/jira/browse/MULE-3173
)
The other alternative is as Andrew says.. to put the configuration
file within the classpath by placing it within WEB-INF/classes/ and
then using a classpath relative path (which should not start with a /).
JavaDoc:
<code>WebappMuleXmlConfigurationBuilder</code> will first try and load
config resources using the
ServletContext and if this fails then it will attempt to load config
resource from the classpath.
<li> ServletContext resources should be relative to the webapp root
directory and start with '/'.
<li> Classpath resources should be in the webapp classpath and should
not start with '/'.
Dan
Now I´m interested in CXF with JMS, so I think I ´ll be back soon.
Bye
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p16394592.html
Sent from the Mule - User mailing list archive at Nabble.com.
I want a help to run mule in Webproject.I want to use Mule in my web
application to call the deployed service, which is developed in
Spring.Please help me on this.I am totally confused in the mule
configuration.
I read this topic and finally u told its working for u.Please help me on
this so that i can do it.
Regards
Debapriya
-----
Mr. Debapriya Patra
Sr. Software Engg.
NIIT Technologies Ltd,
Bangalore-68
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p17505154.html
You have to configure your web.xml loading your xml services and configure
the mule listener.
bye
debapriya wrote:
>
> Hi,
>
> I want a help to run mule in Webproject.I want to use Mule in my web
> application to call the deployed service, which is developed in
> Spring.Please help me on this.I am totally confused in the mule
> configuration.
>
> I read this topic and finally u told its working for u.Please help me on
> this so that i can do it.
>
>
> Regards
> Debapriya
>
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p17506901.html
can u please send me ?????
Regards
Deba
-----
Mr. Debapriya Patra
Sr. Software Engg.
NIIT Technologies Ltd,
Bangalore-68
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p17509575.html
can u please send me ?????
i have uploaded my web.xml file and spring file
Regards
Deba http://www.nabble.com/file/p17509575/web.xml web.xml
http://www.nabble.com/file/p17509575/IFS-Service.xml IFS-Service.xml
http://www.mule.mulesource.org/display/MULE2INTRO/Mule+Examples+Webapp
debapriya wrote:
>
> thnx for ur reply..anyway can u please give me a sample Web.xml file and a
> mule config with spring config file so that i can proceed accordingly.
>
> can u please send me ?????
>
> i have uploaded my web.xml file and spring file
>
> Regards
> Deba http://www.nabble.com/file/p17509575/web.xml web.xml
> http://www.nabble.com/file/p17509575/IFS-Service.xml IFS-Service.xml
>
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p17509619.html
anyway thnx for ur reply and ur time also..
bye...
-----
Mr. Debapriya Patra
Sr. Software Engg.
NIIT Technologies Ltd,
Bangalore-68
--
View this message in context: http://www.nabble.com/Upgrade-from-Mule-2-RC2-to-RC3-tp16304174p17526937.html