1 2 Previous Next 16 Replies Latest reply on Mar 15, 2010 4:28 PM by tony.herstell1

    Failed to load source for:

    cbensemann

      Hi,

       

      I am using Seam 2.2.0.GA and RichFaces 3.3.3.CR1 and have a problem where some components (FileUpload, SuggestionBox, Editor) dont render properly on the first view sometimes (often hitting refesh will fix the problem). I know there have been a number of other threads on this forum and in jira relating to similar issues but I have not had any luck with the suggested solutions.

       

      I AM using ssl (scheme=https in pages.xml) This has caused problems for some people in the past. I am NOT using a wildcard to set the scheme it is set on each page that I require it. I need to use SSL for this project.

       

      So here is what I know:

       

      In firebug when the components dont render properly you can see the resource has the message "failed to load source for: https://localhost//site/a4j/s/3_3_3.CR1css/editor.xcss/DATB/eAELXT5DOhSIAQ!sA18_

       

      In the net tab of firebug you can see two requests the first for https://localhost//site/a4j/s/3_3_3.CR1css/editor.xcss/DATB/eAELXT5DOhSIAQ!sA18_ returns an http code 302 (moved temporarily) and then the second http://localhost/site/css/editor.xcss?cid=79 which returns 404 Not found.

       

      This is not isolated to version 3.3.3CR1 as it happens in 3.3.2 as well.

       

      I have tried adding org.richfaces.LoadStyleStrategy=ALL in web.xml just to see if it would help but it doesn't

       

      I have also tried adjusting the caching settings in components.xml for <web:ajax4jsf-filter> with no luck.

       

      I wont post examples of usages of each component here unless someone thinks it will help as the usages of the components are based off the demo site and most of my templates are quite large.

       

      Thanks,

      Craig

        • 1. Re: Failed to load source for:
          nbelaevski

          Hi,

           

          Can you please copy-paste here request details for failed resources from Firebug?

          • 2. Re: Failed to load source for:
            cbensemann

            For a particular page containing a calendar, file upload, scrollable data table, editor, modal panel, pick list, the following return 404

             

            http://localhost/site/scripts/tiny_mce/themes/advanced/skins/richfaces/content.xcss?cid=137

            http://localhost/site/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss?cid=136

            http://localhost/site/scripts/tiny_mce/themes/advanced/skins/richfaces/ui.xcss?cid=135

            http://localhost/site/org/richfaces/renderkit/html/css/progressBar.xcss?cid=134

            http://localhost/site/css/panel.xcss?cid=133

            http://localhost/site/org/richfaces/renderkit/html/css/fileUpload.xcss?cid=132

            http://localhost/site/css/picklist.xcss?cid=131

            http://localhost/site/org/richfaces/renderkit/html/css/calendar.xcss?cid=126

            http://localhost/site/org/richfaces/renderkit/html/css/scrollable-data-table.xcss?cid=125

            http://localhost/site/css/editor.xcss?cid=124

             

            These requests return 302 which I guess are the redirects to the links above which then return 404

             

            https://localhost/site/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/calendar.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/fileUpload.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/progressBar.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/s/3_3_3.CR1css/panel.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/scrollable-data-table.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/s/3_3_3.CR1css/picklist.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/g/3_3_3.CR1scripts/tiny_mce/themes/advanced/skins/richfaces/ui.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/g/3_3_3.CR1scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss/DATB/eAELXT5DOhSIAQ!sA18_

            https://localhost/site/a4j/g/3_3_3.CR1scripts/tiny_mce/themes/advanced/skins/richfaces/content.xcss/DATB/eAELXT5DOhSIAQ!sA18_

             

            all 404 requests contain the following request and response headers:

            Host: localhost
            User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;  rv:1.9.2) Gecko/20100115 Firefox/3.6
            Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
            Accept-Language: en-us,en;q=0.5
            Accept-Encoding: gzip,deflate
            Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
            Keep-Alive: 115
            Connection: keep-alive
            Cookie: JSESSIONID=D28CA56F5A52296F17EDBD4D9C2483FA;  org.jboss.seam.core.Locale=en; symfony=glbuehjh87t8hahjffii4h9ln3

             

            Date:  Sat, 27 Feb 2010 00:54:52 GMT
            X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
            Content-Type: text/html;charset=utf-8
            Content-Length: 1149
            Keep-Alive: timeout=5, max=100
            Connection: Keep-Alive

             

             

            After hitting refresh all requests return successfully (200)

            for example:

            https://localhost/site/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/fileUpload.xcss/DATB/eAELXT5DOhSIAQ!sA18_ now returns 200 (was a 302 before)

             

            I hope that was what you were looking for.

             

            Craig

            • 3. Re: Failed to load source for:
              cbensemann

              Just wondering if there has been any updates on this?

               

              Thanks for your help

              Craig

              • 4. Re: Failed to load source for:
                ilya_shaikovsky
                please post web.xml also.
                • 5. Re: Failed to load source for:
                  cbensemann
                  <?xml version="1.0" encoding="UTF-8"?>
                  <web-app version="2.5"
                      xmlns="http://java.sun.com/xml/ns/javaee"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                     
                      <display-name>Development App</display-name>

                      <!-- Seam -->
                      <listener>
                          <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
                      </listener>
                     
                      <servlet>
                          <servlet-name>Seam Resource Servlet</servlet-name>
                          <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
                      </servlet>
                     
                      <servlet-mapping>
                          <servlet-name>Seam Resource Servlet</servlet-name>
                          <url-pattern>/seam/resource/*</url-pattern>
                      </servlet-mapping>
                     
                      <filter>
                          <filter-name>Seam Filter</filter-name>
                          <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
                          <init-param>
                              <param-name>createTempFiles</param-name>
                              <param-value>false</param-value>
                          </init-param>
                          <init-param>
                              <param-name>maxRequestSize</param-name>
                              <param-value>500000</param-value>
                          </init-param>
                      </filter>

                      <filter-mapping>
                          <filter-name>Seam Filter</filter-name>
                          <url-pattern>/*</url-pattern>
                      </filter-mapping>
                     
                      <!-- JSF -->
                     
                      <context-param>
                          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
                          <param-value>.xhtml</param-value>
                      </context-param>
                     
                      <context-param>
                          <param-name>facelets.DEVELOPMENT</param-name>
                          <param-value>true</param-value>
                      </context-param>
                     
                      <context-param>
                          <param-name>facelets.SKIP_COMMENTS</param-name>
                          <param-value>true</param-value>
                      </context-param>
                     
                      <context-param>
                          <param-name>facelets.LIBRARIES</param-name>
                          <param-value>/META-INF/elfunctions.taglib.xml</param-value>
                      </context-param>
                         
                      <servlet>
                          <servlet-name>Faces Servlet</servlet-name>
                          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                          <load-on-startup>1</load-on-startup>
                      </servlet>
                     
                      <servlet-mapping>
                          <servlet-name>Faces Servlet</servlet-name>
                          <url-pattern>*.seam</url-pattern>
                      </servlet-mapping>

                      <session-config>
                          <session-timeout>30</session-timeout>
                      </session-config> 
                     
                  </web-app>
                  • 6. Re: Failed to load source for:
                    nbelaevski
                    Can you please post components.xml & pages.xml also?
                    • 7. Re: Failed to load source for:
                      cbensemann
                      <?xml version="1.0" encoding="UTF-8"?>
                      <components xmlns="http://jboss.com/products/seam/components"
                          xmlns:core="http://jboss.com/products/seam/core" xmlns:security="http://jboss.com/products/seam/security"
                          xmlns:transaction="http://jboss.com/products/seam/transaction"
                          xmlns:persistence="http://jboss.com/products/seam/persistence"
                          xmlns:mail="http://jboss.com/products/seam/mail" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xmlns:drools="http://jboss.com/products/seam/drools"
                          xmlns:international="http://jboss.com/products/seam/international"
                          xmlns:bpm="http://jboss.com/products/seam/bpm"
                          xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.org/products/seam/core-2.2.xsd
                                       http://jboss.com/products/seam/transaction http://jboss.org/products/seam/transaction-2.2.xsd
                                       http://jboss.com/products/seam/security http://jboss.org/products/seam/security-2.2.xsd
                                       http://jboss.com/products/seam/components http://jboss.org/products/seam/components-2.2.xsd
                                       http://jboss.com/products/seam/persistence http://jboss.org/products/seam/persistence-2.2.xsd
                                       http://jboss.com/products/seam/mail http://jboss.org/products/seam/mail-2.2.xsd
                                       http://jboss.com/products/seam/drools http://jboss.org/products/seam/drools-2.2.xsd
                                       http://jboss.com/products/seam/international http://jboss.org/products/seam/international-2.2.xsd
                                       http://jboss.com/products/seam/bpm http://jboss.org/products/seam/bpm-2.2.xsd">

                          <import>risingstars</import>

                          <core:init jndi-pattern="RisingStars/#{ejbName}/local" debug="false" />

                          <core:manager conversation-timeout="360000"
                              concurrent-request-timeout="500" conversation-id-parameter="cid" />

                          <persistence:managed-persistence-context
                              name="unrestrictedEntityManager" auto-create="true"
                              persistence-unit-jndi-name="java:/risingstarsEntityManagerFactories" />

                          <persistence:managed-persistence-context
                              name="entityManager" auto-create="true"
                              persistence-unit-jndi-name="java:/risingstarsEntityManagerFactories">
                              <persistence:filters>
                                  <value>#{organizationFilter}</value>
                              </persistence:filters>
                          </persistence:managed-persistence-context>

                          <persistence:filter name="organizationFilter"
                              enabled="#{identity.loggedIn and !(empty credentials.organization)}">
                              <persistence:name>organization_filter</persistence:name>
                              <persistence:parameters>
                                  <key>org_id</key>
                                  <value>#{credentials.organization.id}</value>
                              </persistence:parameters>
                          </persistence:filter>

                          <transaction:ejb-transaction/>
                         
                          <component class="org.jboss.seam.web.MultipartFilter">
                              <property name="createTempFiles">true</property>
                              <property name="maxRequestSize">500000</property>
                          </component>

                          <factory name="contextPath" scope="APPLICATION" value="#{facesContext.externalContext.request.contextPath}" auto-create="true"/>
                          
                          <factory name="basePath" scope="APPLICATION"
                              value="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{contextPath}/" auto-create="true"/>
                             
                          <factory name="cachedTaskInstanceListForType" value="#{taskInstanceListForType}"/>
                          <factory name="cachedTaskInstanceList" value="#{taskInstanceList}"/>
                          <factory name="cachedPooledTaskInstanceList" value="#{pooledTaskInstanceList}"/>
                         
                          <factory name="allOccurrences" value="#{occurrenceRegisterController.findAllOccurrences()}" />

                          <international:locale-config
                              default-locale="en" supported-locales="en de" /> <!-- en_GB for GB english etc. -->

                          <!-- Remember the locale selected -->
                          <international:locale-selector
                              cookie-enabled="true" />

                          <security:jpa-identity-store
                              entity-manager="#{unrestrictedEntityManager}"
                              class="nz.co.softwarefactory.risingstars.seam.JpaIdentityStore"
                              user-class="nz.co.softwarefactory.risingstars.model.User" role-class="nz.co.softwarefactory.risingstars.model.Role" />

                          <drools:rule-base name="securityRules">
                              <drools:rule-files>
                                  <value>/META-INF/security-rules.drl</value>
                              </drools:rule-files>
                          </drools:rule-base>

                          <security:rule-based-permission-resolver
                              security-rules="#{securityRules}" />

                          <security:jpa-permission-store
                              entity-manager="#{unrestrictedEntityManager}"
                              class="nz.co.softwarefactory.risingstars.seam.JpaPermissionStore"
                              user-permission-class="nz.co.softwarefactory.risingstars.model.AccountPermission" />

                          <!-- HACK to trick seam into thinking JBPM is installed so the BusinessProcessInterceptor gets installed -->
                          <bpm:jbpm name="notused"></bpm:jbpm>

                          <component name="org.jboss.seam.bpm.jbpm" class="nz.co.softwarefactory.risingstars.seam.Jbpm">
                              <property name="pageflow-definitions">
                                  <value>create_registration_details.jpdl.xml</value>
                                  <value>update_registration_details.jpdl.xml</value>
                              </property>
                              <property name="process-definitions">
                                  <value>processes/injury-reporting.jpdl.xml</value>
                                  <value>processes/hazard-reporting.jpdl.xml</value>
                              </property>
                              <property name="schedulerEnabled">true</property>
                          </component>

                          <!-- DEV SETTINGS -->
                          <mail:mail-session host="smtp.gmail.com" username="xxxxx@gmail.com"
                              password="XXXX" ssl="true" port="465" />

                          <!-- PRODUCTION SETTINGS
                          <mail:mail-session host="smarthost.XXXXXX.net.nz" tls="false" /> -->
                         
                          <event type="org.jboss.seam.security.notLoggedIn">
                              <action execute="#{redirect.captureCurrentView}" />
                          </event>

                          <event type="org.jboss.seam.security.loginSuccessful">
                              <action execute="#{redirect.returnToCapturedView}" />
                          </event>
                      </components>
                      • 8. Re: Failed to load source for:
                        cbensemann
                        <?xml version="1.0" encoding="UTF-8"?>
                        <pages xmlns="http://jboss.com/products/seam/pages"
                            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                            xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.org/products/seam/pages-2.2.xsd"
                            no-conversation-view-id="/home.xhtml"
                            login-view-id="/pages/user/login.xhtml">

                            <page view-id="*" scheme="http">
                                <navigation from-action="#{identity.logout}">
                                    <redirect view-id="/home.xhtml" />
                                </navigation>
                            </page>
                           
                            <page view-id="/home.xhtml" login-required="false">
                                <description>Home Page</description>
                            </page>
                           
                            <!-- User Pages -->
                            <page view-id="/pages/user/createUserDetails.xhtml" scheme="https"/>

                            <page view-id="/pages/user/updateUserDetails.xhtml" login-required="true" scheme="https"/>

                            <page view-id="/pages/user/reviewCreateUserDetails.xhtml" scheme="https"/>

                            <page view-id="/pages/user/reviewUpdateUserDetails.xhtml" login-required="true" scheme="https"/>

                            <page view-id="/pages/user/login.xhtml" scheme="https">
                                <description>Logging in of new User</description>
                                <navigation>
                                    <rule if-outcome="loggedIn">
                                        <redirect view-id="/home.xhtml" />
                                    </rule>
                                    <rule if-outcome="cancel">
                                        <redirect view-id="/home.xhtml" />
                                    </rule>
                                    <rule if-outcome="new_password_emailed_successfully">
                                        <redirect view-id="/home.xhtml" />
                                    </rule>
                                </navigation>
                            </page>
                           
                            <!-- Hazard Pages -->
                            <page view-id="/pages/hazard/createHazard.xhtml" login-required="true" scheme="https" action="#{hazardRegisterController.init('Hazard')}">
                               <begin-conversation if="#{not conversation.longRunning}" />
                               <navigation>
                                   <rule if-outcome="success">
                                       <create-process definition="HazardReporting"/>
                                       <redirect view-id="/pages/hazard/viewHazards.xhtml" />
                                   </rule>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>
                              
                            <page view-id="/pages/hazard/addReviewOutcomes.xhtml" login-required="true" scheme="https" action="#{reviewOutcomesController.enter}">
                               <navigation from-action="#{reviewOutcomesController.save}">
                                   <rule if-outcome="success">
                                       <end-task before-redirect="true"/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="cancel">
                                   <end-conversation/>
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/hazard/viewHazard.xhtml" login-required="true" scheme="https" />
                           
                           <page view-id="/pages/hazard/viewHazards.xhtml" login-required="true" scheme="https" action="#{hazardRegisterController.init('Hazard')}">
                               <begin-conversation join="true"/>
                               <navigation>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/incident/createEditIncident.xhtml" login-required="true" scheme="https" action="#{incidentRegisterController.init('Injury')}">
                               <begin-conversation if="#{not conversation.longRunning}" />
                               <navigation>
                                   <rule if-outcome="success">
                                       <create-process definition="InjuryReporting" />
                                       <redirect view-id="/pages/incident/viewIncidents.xhtml" />
                                   </rule>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/hazard/reviewHazard.xhtml" action="#{reviewController.enter}" login-required="true" scheme="https">
                               <navigation from-action="#{reviewController.approve}">
                                   <rule if-outcome="success">
                                       <end-task transition="approve or reject"/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="#{reviewController.initiateReview}">
                                   <rule if-outcome="success">
                                       <end-task transition="initiate_review"/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="rejected">
                                   <end-task transition="approve or reject"/>
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                               <navigation from-action="cancel">
                                   <end-conversation />
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/hazard/completeCorrectiveAction.xhtml" login-required="true" scheme="https" action="#{correctiveActionController.enter}">
                               <navigation from-action="#{correctiveActionController.save}">
                                   <rule if-outcome="success">
                                       <end-task/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="cancel">
                                   <end-conversation/>
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/hazard/finalSignoff.xhtml" login-required="true" scheme="https" action="#{finalSignoffController.enter}">
                               <navigation from-action="#{finalSignoffController.save}">
                                   <rule if-outcome="success">
                                       <end-task/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="cancel">
                                    <end-conversation/>
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                               <navigation from-action="reject_review">
                                    <end-task transition="reject_review" />
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                               <navigation>
                                    <rule if-outcome="rejectCorrectiveAction">
                                       <end-task transition="reject_action" />
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                    </rule>
                               </navigation>
                            </page>
                           
                            <!-- Incident Pages -->
                            <page view-id="/pages/incident/viewIncident.xhtml" login-required="true" scheme="https" action="#{incidentRegisterController.viewInit('/pages/incident/viewIncident.xhtml')}"/>
                           
                            <page view-id="/pages/incident/viewIncidents.xhtml" login-required="true" scheme="https" action="#{incidentRegisterController.init('Injury')}">
                               <begin-conversation if="#{not conversation.longRunning}" />
                               <navigation>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>

                            <page view-id="/pages/incident/reviewIncident.xhtml" action="#{reviewController.enter}" login-required="true" scheme="https">
                               <navigation from-action="#{reviewController.approve}">
                                   <rule if-outcome="success">
                                       <end-task transition="approve or reject"/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="#{reviewController.initiateReview}">
                                   <rule if-outcome="success">
                                       <end-task transition="initiate_review"/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="#{reviewController.reject}">
                                   <rule if-outcome="rejected">
                                       <end-task transition="approve or reject"/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="cancel">
                                   <end-conversation />
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/incident/addReviewOutcomes.xhtml" login-required="true" scheme="https" action="#{reviewOutcomesController.enter}">
                               <navigation from-action="#{reviewOutcomesController.save}">
                                   <rule if-outcome="success">
                                       <end-task/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="cancel">
                                   <end-conversation/>
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/incident/approveReview.xhtml" login-required="true" scheme="https" action="#{approveReviewController.enter}">
                               <navigation from-action="#{approveReviewController.save}">
                                   <rule if-outcome="success">
                                       <end-task/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/incident/completeCorrectiveAction.xhtml" login-required="true" scheme="https" action="#{correctiveActionController.enter}">
                               <navigation from-action="#{correctiveActionController.save}">
                                   <rule if-outcome="success">
                                       <end-task/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="cancel">
                                   <end-conversation/>
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/incident/finalSignoff.xhtml" login-required="true" scheme="https" action="#{finalSignoffController.enter}">
                               <navigation from-action="#{finalSignoffController.save}">
                                   <rule if-outcome="success">
                                       <end-task/>
                                       <redirect view-id="/pages/user/manageTasks.xhtml" />
                                   </rule>
                               </navigation>
                               <navigation from-action="cancel">
                                   <end-conversation/>
                                   <redirect view-id="/pages/user/manageTasks.xhtml" />
                               </navigation>
                            </page>
                           
                            <!-- Management and Configuration Pages -->
                            <page view-id="/pages/rolesandpermissions/manageRoles.xhtml" login-required="true" scheme="https">
                               <begin-conversation if="#{not conversation.longRunning}" />
                            </page>
                           
                            <page view-id="/pages/rolesandpermissions/managePermissions.xhtml" login-required="true" scheme="https">
                               <begin-conversation if="#{not conversation.longRunning}" />
                            </page>
                           
                            <page view-id="/pages/user/manageUsers.xhtml" login-required="true" scheme="https">
                               <begin-conversation if="#{not conversation.longRunning}" />
                            </page>
                           
                            <page view-id="/pages/organization/manageOrganizations.xhtml" login-required="true" scheme="https">
                               <begin-conversation if="#{not conversation.longRunning}" />
                               <navigation>
                                   <rule if-outcome="editOrganization">
                                       <redirect view-id="/pages/organization/manageOrganization.xhtml" />
                                   </rule>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/organization/manageOrganization.xhtml" login-required="true" scheme="https">
                               <begin-conversation join="true" flush-mode="manual" />
                               <navigation from-action="#{manageOrganizationsController.save}">
                                   <redirect view-id="/pages/organization/manageOrganizations.xhtml" />
                               </navigation>
                               <navigation from-action="#{manageOrganizationsController.cancel}">
                                   <redirect view-id="/pages/organization/manageOrganizations.xhtml" />
                               </navigation>
                            </page>
                           
                            <page view-id="/pages/user/manageTasks.xhtml" login-required="true" scheme="https" />

                            <page view-id="/pages/template/editTemplate.xhtml" login-required="true" scheme="https">
                               <begin-conversation if="#{not conversation.longRunning}"/>
                               <navigation from-action="#{editTemplateController.save}">
                                   <end-conversation/>
                                   <redirect view-id="/home.xhtml" />
                               </navigation>
                               <navigation>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>
                           
                            <!-- Audit -->
                            <page view-id="/pages/audit/customAudit.xhtml" scheme="https" login-required="true" action="#{auditController.init}">
                               <begin-conversation if="#{not conversation.longRunning}"/>
                               <param name="aid" value="#{auditController.auditConfigurationId}" />
                               <navigation from-action="#{auditController.save}">
                                   <end-conversation/>
                                   <redirect view-id="/home.xhtml" />
                               </navigation>
                               <navigation>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>

                            <page view-id="/pages/audit/viewCustomAudit.xhtml" scheme="https" login-required="true" action="#{auditController.viewInit}">
                               <begin-conversation if="#{not conversation.longRunning}"/>
                               <param name="aid" value="#{auditController.auditId}" />
                               <navigation>
                                   <rule if-outcome="back">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>

                            <page view-id="/pages/audit/createCustomAudit.xhtml" scheme="https" login-required="true" action="#{auditTemplateController.init}">
                               <begin-conversation if="#{not conversation.longRunning}"/>
                               <navigation from-action="#{auditTemplateController.save}">
                                   <end-conversation/>
                                   <redirect view-id="/home.xhtml"/>
                               </navigation>
                               <navigation>
                                   <rule if-outcome="cancel">
                                       <end-conversation/>
                                       <redirect view-id="/home.xhtml" />
                                   </rule>
                               </navigation>
                            </page>

                            <!-- Exceptions -->   
                            <exception class="org.jboss.seam.security.NotLoggedInException">
                                <redirect view-id="/home.xhtml">
                                    <message severity="ERROR">
                                        #{messages.security_permission}
                                    </message>
                                </redirect>
                            </exception>

                            <exception class="org.jboss.seam.security.AuthorizationException">
                                <end-conversation/>
                                <redirect view-id="/home.xhtml">
                                    <message severity="ERROR">
                                        #{messages.security_not_logged_in}
                                    </message>
                                </redirect>
                            </exception>

                            <exception class="javax.faces.application.ViewExpiredException">
                                <end-conversation/>
                                <redirect view-id="/home.xhtml">
                                    <message severity="INFO">
                                        #{messages.session_timeout}
                                    </message>
                                </redirect>
                            </exception>
                           
                            <exception>
                                <end-conversation/>
                                <redirect view-id="/home.xhtml">
                                    <message severity="WARN">Unexpected Error #{org.jboss.seam.handledException.message}</message>
                                </redirect>
                            </exception>
                        </pages>
                        • 9. Re: Failed to load source for:
                          tony.herstell1

                          This is a blocker.

                          Please can we progress this in any way?

                          • 10. Re: Failed to load source for:
                            nbelaevski

                            Tony,

                             

                            I cannot reproduce the problem at my side. Is there any pattern when it reproduces (e.g. redirects from login page etc.)?

                            • 11. Re: Failed to load source for:
                              tony.herstell1

                              No special conditions that I can see.

                              Please email me for access to the dev site.

                              Have spent a LONG time trying to figure out this problem.

                              • 12. Re: Failed to load source for:
                                nbelaevski

                                Tony,

                                 

                                Please send me or Ilya .war file with steps to reproduce the problem. We'll take a look.

                                • 13. Re: Failed to load source for:
                                  nbelaevski
                                  I've received test file. After removal of scheme="http" from the default page declaration the problem disappeared.
                                  • 14. Re: Failed to load source for:
                                    cbensemann

                                    Hi Nick,

                                     

                                    Thanks very much for looking into that for us. I knew that specifying https on the default page caused the problem but did not even think to remove the http as it is the default anyway so I didn't think specifying it explicitly would cause a problem. Its great to have this bug out of the way though.

                                     

                                    thanks again

                                    Craig

                                    1 2 Previous Next