3 Replies Latest reply on Sep 11, 2012 3:55 AM by gkalabin

    JcrConfiguration: loadFrom can't parse storeTo result

    gkalabin

      Hi everybody!

       

      I'm using ModeShape 2.8.3 and JBoss 7.1.1.

       

      I have to load ModeShape's configuration on startup, be able to change it in runtime and overwrite the file with the new configuration on shutdown. To load file I'm using JcrConfiguration.loadFrom() method, and for store - JcrConfiguration.storeTo(). Result of storeTo method attached.

       

      I get following exception:

      Unable to load configuration from file: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName.
      

       

      Thank you for any help.