2 Replies Latest reply on Jun 11, 2013 5:51 AM by Lucky Modiba

    JBoss Startup Error

    Lucky Modiba Newbie

      HI

       

      Could someone please help me, I'm getting a Jboss Startup error after I have modified my login module to check for a password count, I have not been able to find how to use an escape character in my login code here is the code that fails:

      <module-option name="principalsQuery" value="SELECT PASSWORD FROM CMF_USER_ACCESSES WHERE USER_ID = ? AND LOGIN_ATTEMPT_COUNT < 3 AND ACTIVE = 1"/>

       

      The <3 is causing :

      16:09:10,259 ERROR [org.jboss.as.server] JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Fa

      iled to parse configuration

              at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

      Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected '<'  in attribute value

      at [row,col {unknown-source}]: [255,156]

       

      Is there an escape character that I can use?

       

      Thanks.