This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

SOAP based service using HTTPS in WebLogic - Request Body Size Issue

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Team,

I seem to have a problem with SOAP based service using HTTPS in WebLogic,
The HTTPS Request works with small request size but with request about 20kb or more fails to respond with socket timeout.
On checking with fiddler .. we found the request content expected and received mismatch.
Not sure where the issue is ?

checked serverside request buffer size is max

Please find below setup:
WebLogic 10.3.4
java- JROCKIT 6
saaj.impl
JSSE Enabled in weblogic

Error in log:
30-05-2019 16:35:50 [SEVERE] ASyncDocumentMgmtInterface reindexDocs() Line: 218 class javax.xml.ws.WebServiceException java.net.SocketException: Connection reset SERVICE_NOT_REACHABLE Unable to call ASyncDocumentMgmt: Reindex Documents Web Service in 3 attempts.
com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:218)
com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:204)
com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:96)
com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
com.sun.xml.ws.client.Stub.process(Stub.java:272)
com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
com.sun.proxy.$Proxy119.reindexDocuments(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
com.sun.proxy.$Proxy120.reindexDocuments(Unknown Source)
com.xxxxx.ws.clients.fb.ASyncDocumentMgmtInterface.reindexDocs(ASyncDocumentMgmtInterface.java:387)
com.xxxxx.bo.DocumentMgmtBO.batchReindex(DocumentMgmtBO.java:1447)
com.xxxxx.bo.ReindexMultipleDocumentsBO.reindexDocs(ReindexMultipleDocumentsBO.java:39)
com.xxxxx.bo.ReindexMultipleDocumentsBO.run(ReindexMultipleDocumentsBO.java:32)


Stack Trace:

"Thread-19" id=112 idx=0x1a8 tid=12440 prio=5 alive, in native, daemon
         
               at jrockit/net/SocketNativeIO.readBytesPinned(Ljava/io/FileDescriptor;[BIII)I(Native Method)
         
               at jrockit/net/SocketNativeIO.socketRead(SocketNativeIO.java:32)
         
               at java/net/SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java)
         
               at java/net/SocketInputStream.read(SocketInputStream.java:129)
         
               at weblogic/socket/JSSEFilterImpl.readFromNetwork(JSSEFilterImpl.java:404)
         
               at weblogic/socket/JSSEFilterImpl.read(JSSEFilterImpl.java:383)
         
               ^-- Holding lock: weblogic/socket/JSSEFilterImpl@0x000000001EC6F890[biased lock]
         
               at weblogic/socket/JSSESocket$JSSEInputStream.read(JSSESocket.java:58)
         
               at java/io/BufferedInputStream.fill(BufferedInputStream.java:218)
         
               at java/io/BufferedInputStream.read1(BufferedInputStream.java:258)
         
               at java/io/BufferedInputStream.read(BufferedInputStream.java:317)
         
               ^-- Holding lock: java/io/BufferedInputStream@0x000000001EC71360[biased lock]
         
               at weblogic/net/http/MessageHeader.isHTTP(MessageHeader.java:224)
         
               at weblogic/net/http/MessageHeader.parseHeader(MessageHeader.java:148)
         
               at weblogic/net/http/HttpClient.parseHTTP(HttpClient.java:468)
         
               at weblogic/net/http/HttpURLConnection.getInputStream(HttpURLConnection.java:377)
         
               ^-- Holding lock: weblogic/net/http/SOAPHttpsURLConnection@0x00000000212A5498[biased lock]
         
               at weblogic/net/http/SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
         
               at weblogic/net/http/HttpURLConnection.getHeaderField(HttpURLConnection.java:720)
         
               at weblogic/net/http/HttpURLConnection.getResponseCode(HttpURLConnection.java:980)
         
               at com/sun/xml/ws/transport/http/client/HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:215)
         
               at com/sun/xml/ws/transport/http/client/HttpTransportPipe.process(HttpTransportPipe.java:204)
         
               at com/sun/xml/ws/transport/http/client/HttpTransportPipe.processRequest(HttpTransportPipe.java:124)
         
               at com/sun/xml/ws/transport/DeferredTransportPipe.processRequest(DeferredTransportPipe.java:121)
         
               at com/sun/xml/ws/api/pipe/Fiber.__doRun(Fiber.java:866)
         
               at com/sun/xml/ws/api/pipe/Fiber._doRun(Fiber.java:815)
         
               at com/sun/xml/ws/api/pipe/Fiber.doRun(Fiber.java:778)
         
               at com/sun/xml/ws/api/pipe/Fiber.runSync(Fiber.java:680)
         
               ^-- Holding lock: com/sun/xml/ws/api/pipe/Fiber@0x0000000020189B68[biased lock]
         
               at com/sun/xml/ws/client/Stub.process(Stub.java:272)
         
               at com/sun/xml/ws/client/sei/SEIStub.doProcess(SEIStub.java:153)
         
               at com/sun/xml/ws/client/sei/SyncMethodHandler.invoke(SyncMethodHandler.java:115)
         
               at com/sun/xml/ws/client/sei/SyncMethodHandler.invoke(SyncMethodHandler.java:95)
         
               at com/sun/xml/ws/client/sei/SEIStub.invoke(SEIStub.java:136)
         
               at com/sun/proxy/$Proxy119.reindexDocuments(Ldocumentservice/common/xxxxx/xxxxx/xxxxx/REINDEXDOCUMENTSREQUEST;)V(Unknown Source)
         
               at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
         
               at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
         
               at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
         
               at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         
               at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         
               at java/lang/reflect/Method.invoke(Method.java:597)
         
               at weblogic/wsee/jaxws/spi/ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
         
               at com/sun/proxy/$Proxy120.reindexDocuments(Ldocumentservice/common/xxxxx/xxxxx/xxxxx/REINDEXDOCUMENTSREQUEST;)V(Unknown Source)
         
               at com/xxxxx/ws/clients/fb/ASyncDocumentMgmtInterface.reindexDocs(ASyncDocumentMgmtInterface.java:387)
         
               at com/xxxxx/bo/DocumentMgmtBO.batchReindex(DocumentMgmtBO.java:1447)
         
               at com/xxxxx/bo/ReindexMultipleDocumentsBO.reindexDocs(ReindexMultipleDocumentsBO.java:39)
         
               at com/xxxxx/bo/ReindexMultipleDocumentsBO.run(ReindexMultipleDocumentsBO.java:31)
         
               at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
         
               -- end of trace
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!