1 Reply Latest reply: Mar 25, 2014 11:08 AM by Viktor.Jarolim-Oracle RSS

    Style rule condition throwing Errors while deployment of OOTB cartrdiges and restart of servers

    978041

      Hi all,

       

       

      I have a style rule, whose condition is set as "fn:string-length(.) < 20)"

      after deployment or restart of servers the below errors are encountered

       

      2014-03-19 07:37:31,022 [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR base.BaseMetaData - Error loading view rule: ruleType[style] expressionType[expression] rule[160334] expression[fn:string-length(.)&lt;20]

      org.jaxen.XPathSyntaxException: Unexpected '&lt;20'

        at org.jaxen.BaseXPath.<init>(BaseXPath.java:118)

        at org.jaxen.BaseXPath.<init>(BaseXPath.java:139)

        at oracle.communications.ordermanagement.rule.impl.NoNamespaceDOMXPath.<init>(Unknown Source)

        at oracle.communications.ordermanagement.rule.def.a.b.addExpression(Unknown Source)

        at com.mslv.oms.model.base.BaseMetaData.a(Unknown Source)

        at com.mslv.oms.model.base.BaseMetaData.p(Unknown Source)

        at com.mslv.oms.model.base.BaseMetaData.l(Unknown Source)

        at com.mslv.oms.model.base.BaseMetaData.<init>(Unknown Source)

        at com.mslv.oms.model.MetaDataManager.refresh(Unknown Source)

        at com.mslv.oms.security.HandlerFactory.refreshMetadata(Unknown Source)

        at oracle.communications.ordermanagement.cluster.BusinessRequestBalancer.p(Unknown Source)

        at com.mslv.oms.priviledgeoperations.PriviledgedOperationsEJB.refreshMetaData(Unknown Source)

        at com.mslv.oms.priviledgeoperations.PriviledgedOperations_helmzh_ELOImpl.__WL_invoke(Unknown Source)

        at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)

        at com.mslv.oms.priviledgeoperations.PriviledgedOperations_helmzh_ELOImpl.refreshMetaData(Unknown Source)

        at com.mslv.oms.eventengine.EventDispatcherEJB.refreshCache(Unknown Source)

        at com.mslv.oms.eventengine.EventDispatcher_86q3j1_EOImpl.__WL_invoke(Unknown Source)

        at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)

        at com.mslv.oms.eventengine.EventDispatcher_86q3j1_EOImpl.refreshCache(Unknown Source)

        at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.e(Unknown Source)

        at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.a(Unknown Source)

        at com.mslv.oms.cartridgemgmt.DeployCartridgeMDB.onMessage(Unknown Source)

        at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:583)

        at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:486)

        at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:388)

        at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)

        at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)

        at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)

        at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)

        at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)

        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused by: class org.jaxen.saxpath.XPathSyntaxException: fn:string-length(.)&lt;20: 19: Unexpected '&lt;20'

        at org.jaxen.saxpath.base.XPathReader.createSyntaxException(XPathReader.java:1084)

        at org.jaxen.saxpath.base.XPathReader.parse(XPathReader.java:106)

        at org.jaxen.BaseXPath.<init>(BaseXPath.java:113)

        ... 32 more

       

       

      Please suggest some answers.