3 Replies Latest reply on Feb 21, 2010 9:24 PM by tony.herstell1

    Seam and APPLICATION scope on Windoze

    tony.herstell1

      given


      components.xml


           <factory name="basePath" scope="APPLICATION"
                value="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.request.contextPath}/" auto-create="true"/>
      
           <factory name="scheme" scope="APPLICATION" value="#{facesContext.externalContext.request.scheme}" auto-create="true"/>
           <factory name="servername" scope="APPLICATION" value="#{facesContext.externalContext.request.serverName}" auto-create="true"/>
           <factory name="serverport" scope="APPLICATION" value="#{facesContext.externalContext.request.serverPort}" auto-create="true"/>
               <factory name="contextPath" scope="APPLICATION" value="#{facesContext.externalContext.request.contextPath}" auto-create="true"/>
                


      and a class:



      @Factory(scope = ScopeType.APPLICATION, value = "allCountries")
          public List<String> findAllCountries() {



      ONLY contextPath appears when run up under jboss5 on Windoze but all appear with Jboss5 on Ubuntu.


      Any ideas (apart from don't use windoze for dev!) ;)