0

JAX-WS RI クライアントがあります。これはステートレス Bean で初期化され、再利用されます。これを呼び出すと、サービスに対して内部的に多くの重複した http 要求が作成されることがあります。

これは、ログの関連セクションの概要です。

[#|2013-07-29T16:50:15.030-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 386 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:15.031-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Request message processed in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 385 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:15.032-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Request message processed in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 383 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:15.032-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 384 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:15.033-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 382 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:15.034-0400||com.sun.xml.ws.transport.DeferredTransportPipe|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.ws.transport.DeferredTransportPipe ] Instance [ 380 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:15.034-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Request message processed in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 381 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.314-0400||com.sun.xml.ws.transport.DeferredTransportPipe|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.ws.transport.DeferredTransportPipe ] Instance [ 380 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.315-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Response message received in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 381 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.316-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 382 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.317-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Response message received in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 383 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.318-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 384 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.319-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Response message received in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 385 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.320-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 386 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.323-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Request message processed in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 385 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.323-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 386 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.324-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 384 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.325-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Request message processed in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 383 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.326-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 382 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.327-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Request message processed in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 381 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.328-0400||com.sun.xml.ws.transport.DeferredTransportPipe|_ThreadID=120;_ThreadName=Thread-2;|Request message received in Tube [ com.sun.xml.ws.transport.DeferredTransportPipe ] Instance [ 380 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.412-0400||com.sun.xml.ws.transport.DeferredTransportPipe|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.ws.transport.DeferredTransportPipe ] Instance [ 380 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.413-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Response message received in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 381 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.414-0400||com.sun.xml.xwss.XWSSClientTube|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.xwss.XWSSClientTube ] Instance [ 382 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.415-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Response message received in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 383 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.416-0400||com.sun.xml.ws.protocol.soap.ClientMUTube|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.ws.protocol.soap.ClientMUTube ] Instance [ 384 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.417-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Response message received in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 385 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:
[#|2013-07-29T16:50:22.418-0400||com.sun.xml.ws.handler.ClientLogicalHandlerTube|_ThreadID=120;_ThreadName=Thread-2;|Response message processed in Tube [ com.sun.xml.ws.handler.ClientLogicalHandlerTube ] Instance [ 386 ] Engine [ Metro/2.1.1-b09 (branches/2.1-6834; 2011-07-16T17:14:48+0000) JAXWS-RI/2.2.5-promoted-b04 JAXWS/2.2: Stub for https://www.mywebservice.com/blahblah ] Thread [ http-thread-pool-9680(4) ]:

これの原因は何ですか?

SOAP クライアントの再利用がこの影響の原因になる可能性はありますか?

これを行わないようにこのライブラリを構成する方法はありますか (それが予期される動作であると仮定して)?

4

0 に答える 0