Friday, May 21, 2010

OSB thread dump on XQuery parser

 I am logging $body during this Thread Dump.... interesting stuff... OSB internally uses Apache XMLBeans and Apache Piccolo Sax Parser

Also interesting that whenever XQuery wants to read a variable it calls

com/bea/wli/sb/context/MessageContextImpl.getVariableValue(MessageContextImpl.java:202)


I have put in BOLD the focal points.



            "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=18 idx=0x48 tid=928 prio=5 alive, native_blocked, daemon
         
                at org/apache/xmlbeans/impl/piccolo/util/CharStringConverter.hashKey(CharStringConverter.java:168)
         
                at org/apache/xmlbeans/impl/piccolo/util/CharStringConverter.convert(CharStringConverter.java:97)
         
                at org/apache/xmlbeans/impl/piccolo/xml/PiccoloLexer.parseCdataLiteral(PiccoloLexer.java:3025)
         
                at org/apache/xmlbeans/impl/piccolo/xml/PiccoloLexer.parseQuotedTagValue(PiccoloLexer.java:2936)
         
                at org/apache/xmlbeans/impl/piccolo/xml/PiccoloLexer.parseAttributesNS(PiccoloLexer.java:1754)
         
                at org/apache/xmlbeans/impl/piccolo/xml/PiccoloLexer.parseOpenTagNS(PiccoloLexer.java:1521)
         
                at org/apache/xmlbeans/impl/piccolo/xml/PiccoloLexer.parseTagNS(PiccoloLexer.java:1362)
         
                at org/apache/xmlbeans/impl/piccolo/xml/PiccoloLexer.yylex(PiccoloLexer.java:4678)
         
                at org/apache/xmlbeans/impl/piccolo/xml/Piccolo.yylex(Piccolo.java:1290)
         
                at org/apache/xmlbeans/impl/piccolo/xml/Piccolo.yyparse(Piccolo.java:1400)
         
                at org/apache/xmlbeans/impl/piccolo/xml/Piccolo.parse(Piccolo.java:714)
         
                at org/apache/xmlbeans/impl/store/Locale$SaxLoader.load(Locale.java:3456)
         
                at org/apache/xmlbeans/impl/store/Locale.parseToXmlObject(Locale.java:1278)
         
                at org/apache/xmlbeans/impl/store/Locale.parseToXmlObject(Locale.java:1252)
         
                at org/apache/xmlbeans/impl/schema/SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
         
                at org/apache/xmlbeans/XmlObject$Factory.parse(XmlObject.java:747)
         
                at com/bea/wli/sb/sources/XmlObjectSource.getInstance(XmlObjectSource.java:203)
         
                at com/bea/wli/sb/sources/XmlObjectTransformer.getXmlObjectSource(XmlObjectTransformer.java:199)
         
                at com/bea/wli/sb/sources/XmlObjectTransformer.transform(XmlObjectTransformer.java:111)
         
                at com/bea/wli/sb/sources/MetaTransformer.doTransform(MetaTransformer.java:138)
         
                at com/bea/wli/sb/sources/MetaTransformer.transform(MetaTransformer.java:89)
         
                at com/bea/wli/sb/pipeline/PipelineContextImpl$LazyInitTransformer.transform(PipelineContextImpl.java:1426)
         
                at com/bea/wli/sb/context/SOAPMessageImpl.parseCheckEnvelope(SOAPMessageImpl.java:1143)
         
                at com/bea/wli/sb/context/SOAPMessageImpl.unpack(SOAPMessageImpl.java:705)
         
                at com/bea/wli/sb/context/SOAPMessageImpl.getBody(SOAPMessageImpl.java:248)
         
                at com/bea/wli/sb/context/BodyVariable.getTypedValue(BodyVariable.java:106)
         
                at com/bea/wli/sb/context/BodyVariable.getTypedValue(BodyVariable.java:25)
         
                at com/bea/wli/sb/context/SystemVariable.getValue(SystemVariable.java:49)
         
                at com/bea/wli/sb/context/MessageContextImpl.getVariableValue(MessageContextImpl.java:202)
         
                at com/bea/wli/sb/stages/expressions/xquery/XQueryExprExecutor.getVariables(XQueryExprExecutor.java:182)
         
                at com/bea/wli/sb/stages/expressions/xquery/XQueryExprExecutor.executeJavaObject(XQueryExprExecutor.java:129)
         
                at stages/logging/runtime/LogRuntimeStep.processMessage(LogRuntimeStep.java:109)
         
                at com/bea/wli/sb/pipeline/debug/DebuggerRuntimeStep.processMessage(DebuggerRuntimeStep.java:74)
         
                at com/bea/wli/sb/stages/StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
         
                at com/bea/wli/sb/pipeline/PipelineStage.processMessage(PipelineStage.java:84)
         
                at com/bea/wli/sb/pipeline/PipelineContextImpl.execute(PipelineContextImpl.java:922)
         
                at com/bea/wli/sb/pipeline/Pipeline.processMessage(Pipeline.java:141)
         
                at com/bea/wli/sb/pipeline/PipelineContextImpl.execute(PipelineContextImpl.java:922)
         
                at com/bea/wli/sb/pipeline/PipelineNode.doRequest(PipelineNode.java:55)
         
                at com/bea/wli/sb/pipeline/Node.processMessage(Node.java:67)
         
                at com/bea/wli/sb/pipeline/PipelineContextImpl.execute(PipelineContextImpl.java:922)
         
                at com/bea/wli/sb/pipeline/Router.processMessage(Router.java:214)
         
                at com/bea/wli/sb/pipeline/MessageProcessor.processRequest(MessageProcessor.java:99)
         
                at com/bea/wli/sb/pipeline/RouterManager$1.run(RouterManager.java:593)
         
                at com/bea/wli/sb/pipeline/RouterManager$1.run(RouterManager.java:591)
         
                at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         
                at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:147)
         
                at com/bea/wli/sb/security/WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
         
                at com/bea/wli/sb/pipeline/RouterManager.processMessage(RouterManager.java:590)
         
                at com/bea/wli/sb/transports/TransportManagerImpl.receiveMessage(TransportManagerImpl.java:375)
         
                at com/bea/wli/sb/transports/http/generic/RequestHelperBase$1.run(RequestHelperBase.java:154)
         
                at com/bea/wli/sb/transports/http/generic/RequestHelperBase$1.run(RequestHelperBase.java:152)
         
                at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         
                at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:147)
         
                at com/bea/wli/sb/transports/http/generic/RequestHelperBase.securedInvoke(RequestHelperBase.java:151)
         
                at com/bea/wli/sb/transports/http/generic/RequestHelperBase.service(RequestHelperBase.java:107)
         
                at com/bea/wli/sb/transports/http/wls/HttpTransportServlet.service(HttpTransportServlet.java:127)
         
                at weblogic/servlet/FutureResponseServlet.service(FutureResponseServlet.java:24)
         
                at javax/servlet/http/HttpServlet.service(HttpServlet.java:820)
         
                at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         
                at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         
                at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:300)
         
                at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:183)
         
                at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3686)
         
                at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         
                at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         
                at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:121)
         
                at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         
                at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:2174)
         
                at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1446)
         
                at weblogic/work/ExecuteThread.execute(ExecuteThread.java:201)
         
                at weblogic/work/ExecuteThread.run(ExecuteThread.java:173)
         
                at jrockit/vm/RNI.c2java(IIIII)V(Native Method)

No comments: