JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-2410

Problem while embedding Mule in tomcat

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

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

duplicates

Bug - A problem which impairs or prevents the functions of the product. MULE-2419 IOUtils class does not preserve org.mule.webapp.classpath

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
No work has yet been logged on this issue.

People

  • Assignee:
    Andrew Perepelytsya
    Reporter:
    Prem vmvrajan
Vote (1)
Watch (0)

Dates

  • Created:
    20/Sep/07 02:33 AM
    Updated:
    03/Oct/07 07:29 AM
    Resolved:
    03/Oct/07 07:29 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.