Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.4.3
  • Fix Version/s: 1.4.4
  • Component/s: Build: (other)
  • Labels:
    None
  • Environment:

    Mule1.4.3
    Tomcat 5.0
    JDK 1.5

  • User impact:
    High
  • Configuration:
    Hide

    <web-app>

    <context-param>
    <param-name>org.mule.config</param-name>
    <param-value>/WEB-INF/axis-message-service.xml</param-value>
    </context-param>

    <listener>
    <listener-class>org.mule.config.builders.MuleXmlBuilderContextListener</listener-class>
    </listener>
    ....
    .....
    </web-app>

    Show
    <web-app> <context-param> <param-name>org.mule.config</param-name> <param-value>/WEB-INF/axis-message-service.xml</param-value> </context-param> <listener> <listener-class>org.mule.config.builders.MuleXmlBuilderContextListener</listener-class> </listener> .... ..... </web-app>
  • Log Output:
    Hide
    2007-09-20 12:50:51,480 DEBUG (MuleDtdResolver.java:<init>:86) [main] | Created Mule Dtd Resolver: dtd=mule-configuration.dtd, xsl=null, delegate resolver=null,
    2007-09-20 12:50:52,465 DEBUG (MuleXmlConfigurationBuilder.java:configure:200) [main] | There is/are 1 configuration resource(s): {/WEB-INF/axis-message-service.xml}
    2007-09-20 12:50:52,465 DEBUG (WebappMuleXmlConfigurationBuilder.java:loadResource:49) [main] | Searching for resource D:\WEB-INF\axis-message-service.xml in Servlet Context.
    2007-09-20 12:50:52,465 DEBUG (WebappMuleXmlConfigurationBuilder.java:loadResource:53) [main] | Resource D:\WEB-INF\axis-message-service.xml not found in Servlet Context, loading from classpath
    2007-09-20 12:50:52,480 DEBUG (IOUtils.java:getResourceAsUrl:160) [main] | Unable to load resource from the file system: D:\WEB-INF\axis-message-service.xml
    2007-09-20 12:50:52,496 DEBUG (IOUtils.java:getResourceAsUrl:184) [main] | Unable to load resource from the classpath
    2007-09-20 12:50:52,496 DEBUG (IOUtils.java:getResourceAsStream:101) [main] | Unable to load resource as a URL: /WEB-INF/axis-message-service.xml
    2007-09-20 12:50:52,511 DEBUG (MessageFactory.java:getBundle:197) [main] | Loading resource bundle: META-INF.services.org.mule.i18n.core-messages for locale en_US
    Show
    2007-09-20 12:50:51,480 DEBUG (MuleDtdResolver.java:<init>:86) [main] | Created Mule Dtd Resolver: dtd=mule-configuration.dtd, xsl=null, delegate resolver=null, 2007-09-20 12:50:52,465 DEBUG (MuleXmlConfigurationBuilder.java:configure:200) [main] | There is/are 1 configuration resource(s): {/WEB-INF/axis-message-service.xml} 2007-09-20 12:50:52,465 DEBUG (WebappMuleXmlConfigurationBuilder.java:loadResource:49) [main] | Searching for resource D:\WEB-INF\axis-message-service.xml in Servlet Context. 2007-09-20 12:50:52,465 DEBUG (WebappMuleXmlConfigurationBuilder.java:loadResource:53) [main] | Resource D:\WEB-INF\axis-message-service.xml not found in Servlet Context, loading from classpath 2007-09-20 12:50:52,480 DEBUG (IOUtils.java:getResourceAsUrl:160) [main] | Unable to load resource from the file system: D:\WEB-INF\axis-message-service.xml 2007-09-20 12:50:52,496 DEBUG (IOUtils.java:getResourceAsUrl:184) [main] | Unable to load resource from the classpath 2007-09-20 12:50:52,496 DEBUG (IOUtils.java:getResourceAsStream:101) [main] | Unable to load resource as a URL: /WEB-INF/axis-message-service.xml 2007-09-20 12:50:52,511 DEBUG (MessageFactory.java:getBundle:197) [main] | Loading resource bundle: META-INF.services.org.mule.i18n.core-messages for locale en_US
  • Similar Issues:
    None

Description

While embedding the mule in tomcat, it expects absolute path of mule configuration file on web.xml; when you give Relative path it failed to load that resource.

Note: This relative path configuration was working fine with Mule1.3.3.

Issue Links

Activity

Hide
David MAGNY added a comment -

FYI : the same issue occurs on JBoss 4.0.5

Show
David MAGNY added a comment - FYI : the same issue occurs on JBoss 4.0.5
Hide
Andrew Perepelytsya added a comment -

Sure, because JBoss uses tomcat by default. Please do a jira search before filing issues, this has been reported and fixed already.

Show
Andrew Perepelytsya added a comment - Sure, because JBoss uses tomcat by default. Please do a jira search before filing issues, this has been reported and fixed already.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: