Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1181

Fineract does not start unless machine is connected to internet

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      If you try to start Fineract on a machine that is not connected to the internet, at least I get the following error:
       

      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [securityContext.xml]
       Offending resource: URL [file:/usr/local/Cellar/tomcat/9.0.38/libexec/webapps/fineract-provider/WEB-INF/classes/META-INF/spring/appContext.xml|file:///usr/local/Cellar/tomcat/9.0.38/libexec/webapps/fineract-provider/WEB-INF/classes/META-INF/spring/appContext.xml]; 
      
      nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 223 in XML document from URL [file:/usr/local/Cellar/tomcat/9.0.38/libexec/webapps/fineract-provider/WEB-INF/classes/META-INF/spring/securityContext.xml|file:///usr/local/Cellar/tomcat/9.0.38/libexec/webapps/fineract-provider/WEB-INF/classes/META-INF/spring/securityContext.xml] is invalid; 
      
      nested exception is org.xml.sax.SAXParseException; lineNumber: 223; columnNumber: 63; cvc-complex-type.2.4.c:
      
      The matching wildcard is strict, but no declaration can be found for element 'oauth:authorization-server’.

       
      It seems that our JAR/WAR does not include some XSDs needed to validate the XML config files. If the machine used is connected to the internet, these are downloaded automatically - but if not, Fineract does not start.
       
      Given these are related to Spring Security, I wonder if this will be fixed by upgrading the Spring Security JARs? 

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              vorburger Michael Vorburger
              Reporter:
              ptuomola Petri Tuomola

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment