Oracle Service Bus 11g - XQuery Stops Processing under Load in Cluster with "com.bea.wli.sb.stages.StageException: The configured XQuery resource cannot be found" Error (Doc ID 1679044.1)

Last updated on JULY 03, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

In a clustered environment, OSB stops processing messages and logs the following error. A restart of the server(s) resolves the error.

ERROR
-----------------------
com.bea.wli.sb.management.BrokerManagementException: java.lang.RuntimeException: com.bea.wli.sb.management.BrokerManagementException: com.bea.wli.sb.stages.StageException: The configured XQuery resource cannot be found.
at com.bea.wli.sb.pipeline.RouterManager.getRouterRuntime(RouterManager.java:642)
at com.bea.wli.sb.pipeline.RouterContext.getInstance(RouterContext.java:172)
at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:579)
at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:383)
at com.bea.wli.sb.transports.local.LocalMessageContext$1.run(LocalMessageContext.java:179)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at com.bea.wli.sb.transports.local.LocalMessageContext.send(LocalMessageContext.java:174)
.
. {TRUNCATED FOR READABILITY}
.
at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:484)
at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:121)
at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:408)
at oracle.tip.adapter.file.inbound.ProcessorDelegate.doPipeline(ProcessorDelegate.java:320)
at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:173)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)
at weblogic.work.ContextWrap.run(ContextWrap.java:41)
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: weblogic.xml.query.exceptions.XQueryTypeException: line 14, column 8: {err}XP0004: Invalid static type: (anyAttribute|text)
at weblogic.xml.query.compiler.TypeMatchExpression.typeCheckNoCache(TypeMatchExpression.java:144)
at weblogic.xml.query.compiler.Expression.typeCheck(Expression.java:330)
at weblogic.xml.query.compiler.FirstOrderExpression.typeCheckNoCache(FirstOrderExpression.java:269)
at weblogic.xml.query.compiler.Expression.typeCheck(Expression.java:330)
at weblogic.xml.query.compiler.IfThenElseExpression.typeCheckNoCache(IfThenElseExpression.java:112)
at weblogic.xml.query.compiler.Expression.typeCheck(Expression.java:330)
at weblogic.xml.query.compiler.GeneralFLWGDORExpression.typeCheckNoCache(GeneralFLWGDORExpression.java:404)
at weblogic.xml.query.compiler.Expression.typeCheck(Expression.java:330)
at weblogic.xml.query.compiler.NodeConstructor.typeCheckNoCache(NodeConstructor.java:278)
at weblogic.xml.query.compiler.Expression.typeCheck(Expression.java:330).
.
. {TRUNCATED FOR READABILITY}
.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms