3 Replies Latest reply on Apr 6, 2009 12:19 PM by Stuart Douglas

    How to configure seam in production, one question?

    Gregory Nikle Apprentice

      I want to show in production server my app in Seam.

      My app stands on jboss 4.2.1, seam 2.0.1GA,

      App was tested by uri: http://localhost:8080/myApp

      now I want to use it on


      What I've done:
      1. changed port on jboss from 8080-80 in connector
      2. added virtual host to

      <Host name="myApp"
      autoDeploy="true" deployOnStartup="true" deployXML="false"
      <Valve className="org.jboss.web.tomcat.service.jca.CachedConnectionValve"
          transactionManagerObjectName="jboss:service=TransactionManager" />
          <DefaultContext cookies="true" crossContext="true" override="true"/>

      3. In windows system32/drivers/hosts I've changed localhost in to www.myApp.com
      to be this host

      4. I've added jboss-web.xml file in my ear project.

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

      5. And my application.xml was also changed from


      to root uri


      so for me this should work and WORKS, but for address


      If i go to my page via


      my page is directly redirected to old address



      and I see white page...and I don't know how to tell jboss/seam app to not use old address myApp

      Can anybody tell me where should I check, why jboss try to hits /myApp and white page is redirected?

      my index.html file redirect all users to mainpage.seam page on each visit, so this can't be that file.

      Please for help