4 Replies Latest reply on Aug 22, 2006 5:55 AM by Harry Co

    crossContext does not work on jboss4.02-rc1-tomcat-5.5.8

    Swarn Dhaliwal Newbie

      We are using jboss4.0.2-rc1 and want to be able to dispatch to jsps in different web application. Our configuration is as follows :
      jbossweb-tomcat55.sar/server.xml file has the following attributes set

      jbossweb-tomcat55.sar/context.xml is as follows

      <!-- The contents of this file will be loaded for each web application -->

      In a servlet, we do the following :

      ServletContext servletContext = getServletContext();
      ServletContext otherContext = servletContext.getContext("/http-bridge");

      The otherContext above is always null. The same code works fine on

      This creates a problem when we try to deploy jbossportal-2.0 beta on this version of jboss as the portal does the exact same call in the
      CoreServlet and throws a null pointer exception.

      It is highly desirable for us to use the above versions of jboss and jbossprotal but can't make a decision because the portal does not even come. Any suggestions/advice will be greatly appreciated