Showing posts with label Webservice. Show all posts
Showing posts with label Webservice. Show all posts

Wednesday, 16 September 2015

FMW 11.1.1.7.0 - Applying Patch 13866584: PS2,PS5:ORACLE.WEBSERVICES.STANDALONE.CLIENT.JAR:DUPLICATE ENTRIES:LICENSE.TXT

FMW 11.1.1.7.0 - Applying Patch 13866584: PS2,PS5:ORACLE.WEBSERVICES.STANDALONE.CLIENT.JAR:DUPLICATE ENTRIES:LICENSE.TXT

- Unzip the patch zip file into staging area eg: PATCH_TOP
   
$ unzip -d PATCH_TOP p13866584_111170_Generic.zip

- Stop MT Services

- Set the ORACLE_HOME environment variable to the JRF Home,
  eg: $ export ORACLE_HOME=/SID/fmw/product/112/oracle_common

- Backup "oracle.webservices.standalone.client.jar" 
   

Eg:

mv $ORACLE_HOME/modules/oracle.webservices_11.1.1/oracle.webservices.standalone.client.jar $ORACLE_HOME/modules/oracle.webservices_11.1.1/oracle.webservices.standalone.client.jar.ORIG

Applying the patch
- cd PATCH_TOP/13866584 and copy oracle.webservices.standalone.client.jar from patch to target location
   
- cp oracle.webservices.standalone.client.jar $ORACLE_HOME/modules/oracle.webservices_11.1.1/oracle.webservices.standalone.client.jar
  
- Start MT Services



Related Posts

Applying Patch 21364493: WLS PATCH SET UPDATE 12.1.2.0.7

Applying Patch 20844228: WLS PATCH SET UPDATE 12.1.2.0.6

FMW 11.1.1.7.0 - Applying Patch 21124180: MERGE REQUEST ON TOP OF 11.1.1.7.0 FOR BUGS 12608904 16810628 20238404 20504560

Applying Patch 20780171: SU Patch [EJUW]: WLS PATCH SET UPDATE 10.3.6.0.12

Applying Patch 20181997: SU Patch [YUIS]: WLS PATCH SET UPDATE 10.3.6.0.11

Applying Patch 19637463: SU Patch [12UV]: Oracle WebLogic Server (WLS) PATCH SET UPDATE 10.3.6.0.10

Applying Patch 19182814: SU Patch [FSR2]: Weblogic Server (WLS) PATCH SET UPDATE 10.3.6.0.9

Applying Patch 18040640 - SU Patch [T5F1]: Weblogic Server (WLS) PATCH SET UPDATE 10.3.6.0.8 on OBIEE client

FMW 11.1.1.6.0 - Applying Patch 17634864: MERGE LABEL REQUEST ON TOP OF 11.1.1.6.0 FOR BUGS 16810628 16224473

FMW 11.1.1.7.0 - Applying Patch 16810628: BOTTLENECK IN WEBLOGIC EXHAUSTING WEBLOGIC THREADS

WLS 10.3.6 - Applying Patch 14463779: SU Patch [UJIZ]: STRESS:REGRESSION; STUCK THREADS AND FAILURES DURING STOCK TRADER CONV WEB-SVCS


Friday, 31 July 2015

Setting timeout for for JAX-RPC Webservice clients generated from clientgen

Setting timeout for for JAX-RPC Webservice clients generated from clientgen

Use below options:

import javax.xml.rpc.Stub;

((Stub)port)._setProperty(weblogic.wsee.transport.connection.timeout,2);
((Stub)port)._setProperty(weblogic.wsee.transport.read.timeout,2);


Also see:

Setting Timeout for Weblogic Webservice Client and for all clients

Setting timeout for for JAX-WS Webservice clients generated from clientgen




Setting timeout for for JAX-WS Webservice clients generated from clientgen

Setting timeout for for JAX-WS Webservice clients generated from clientgen

Use below options:

import javax.xml.ws.BindingProvider;
import javax.xml.ws.handler.MessageContext;
import com.sun.xml.ws.developer.JAXWSProperties;
import com.sun.xml.ws.client.BindingProviderProperties;
/*
The following classes are inside

import com.sun.xml.ws.developer.JAXWSProperties;
import com.sun.xml.ws.client.BindingProviderProperties;

%WLSINSTALLATION%\modules\glassfish.jaxws.rt_1.1.0.0_2-1-4.jar
*/
Map requestContext = ((BindingProvider)port).getRequestContext();
requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost.com/<webservice>");
requestContext.put(JAXWSProperties.CONNECT_TIMEOUT, 300);
requestContext.put(BindingProviderProperties.REQUEST_TIMEOUT, 300); 


Also see

Setting Timeout for Weblogic Webservice Client and for all clients

Setting timeout for for JAX-RPC Webservice clients generated from clientgen


Setting Timeout for Weblogic Webservice Client and for all clients

Setting Timeout for Weblogic Webservice Client and for all clients

Use below options for Weblogic Webservice Client and for all clients.

Replace xxxx with relevant timeout value below.


-Dweblogic.https.client.defaultConnectTimeout=xxxx milisecs
-Dweblogic.http.client.defaultConnectTimeout=xxxx milisecs


OR
-Dweblogic.webservice.UseWebLogicURLStreamHandler=false
-DUseSunHttpHandler=true
-Dsun.net.client.defaultConnectTimeout=xxxx milisecs
-Dsun.net.client.defaultReadTimeout=xxxx milisecs



You may gradually fine tune the timeout parameters when errors like below are seen in the Weblogic logs.


Caused By: java.net.SocketTimeoutException: Read time out after 30000 millis
at weblogic.socket.NIOSocketMuxer$NIOInputStream.readInternal(NIOSocketMuxer.java:825)
at weblogic.socket.NIOSocketMuxer$NIOInputStream.read(NIOSocketMuxer.java:758)
at weblogic.socket.NIOSocketMuxer$NIOInputStream.read(NIOSocketMuxer.java:741)
at weblogic.servlet.internal.PostInputStream.readAndCalTime(PostInputStream.java:229)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:177)
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:236)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams


<BEA-000000> <Broken pipe
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487)
at weblogic.socket.NIOSocketMuxer$NIOOutputStream.writeInternal(NIOSocketMuxer.java:1072)
at weblogic.socket.NIOSocketMuxer$NIOOutputStream.write(NIOSocketMuxer.java:991)

Also see

Setting timeout for for JAX-WS Webservice clients generated from clientgen

Setting timeout for for JAX-RPC Webservice clients generated from clientgen