0 Replies Latest reply on Oct 11, 2013 4:43 AM by mithira -

    Application works even the mismatch of context root from application.xml and jboss-web.xml

    mithira - Newbie

      Context root in application.xml

       

      <?xml version="1.0" encoding="UTF-8"?>

      <application version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">

        <display-name>Booking</display-name>

        <module>

          <ejb>BookingENEJB.jar</ejb>

        </module>

        <module>

          <web>

            <web-uri>BookingWeb.war</web-uri>

            <context-root>/BookingWeb</context-root>

          </web>

        </module>

      </application>

       

      jboss-web.xml:

      <?xml version="1.0" encoding="UTF-8"?>

      <jboss-web>

        <security-domain flushOnSessionInvalidation="false"/>

        <context-root>/Booking</context-root>

      </jboss-web>

       

      There is mismatch of context root.but it failed to show the exception in jboss6

      Kindly provide the solution..what may be the cause for this..?T

      Thnaks in advance