0 Replies Latest reply on Dec 18, 2006 10:44 PM by rohithadg

    Virtual hosting with JSF problem

    rohithadg

      Hi All,

      I developed a web project with jsf.
      when I'm test it on jboss it is work
      on that time:

      my WAR file(testProj.war) is on deploy derectory.

      when I'm access it as http://192.168.2.61/testProj/ its work.

      then I have configured virtual hosting as follows.

      <Host name="testProj" autoDeploy="false"
       deployOnStartup="false"
       deployXML="false">
      
       <Context path="/" appBase=""
       docBase="C:\testProj"
       debug="0" reloadable="true">
       </Context>
      
       <!-- Add all your aliases here -->
       <Alias>192.168.2.61</Alias>
      
      
       <!-- Set up logging
       <Valve className="org.apache.catalina.valves.AccessLogValue" prefix="test" suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log"/>-->
       <DefaultContext cookies="true" crossContext="true" override="true"/>
       </Host>
      
      



      I extract war file to C:\testProj

      Then I'm access it as http://192.168.2.61/

      my index.jsp page redirtect (<jsp:forward page="/faces/login/login.jsp"></jsp:forward>) to login page

      it also ok. Login page is displaying.

      But when submitting login page it is not navigating to next form.
      Address bar is display as http://faces/login/login.jsp
      here /192.168.2.61/ is missing.



      please help me

      thanks

      Rohitha