[jboss-user] [Installation, Configuration & Deployment] - Virtual hosting with JSF problem

rohithadg do-not-reply at jboss.com
Mon Dec 18 22:44:37 EST 2006


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994872#3994872

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994872



More information about the jboss-user mailing list