Description Syntax Example deregisterPDKJavaProducer

10-144 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.14.9.3 Example

The following example changes a PDK-Java producer registered with MyApp to use a proxy server. wls:weblogicserverConfig setPDKJavaProducerappName=MyApp, name=MyProducer, url=http:myhost.comjpdkproviderssample, proxyHost=myproxy.com, proxyPort=80

10.14.10 deregisterPDKJavaProducer

Module: Oracle WebCenter Use with WLST: Online

10.14.10.1 Description

Deregisters an Oracle PDK-Java producer and deletes the associated connection, for a named WebCenter application.

10.14.10.2 Syntax

deregisterPDKJavaProducerappName, name, [server, applicationVersion] timeout Optional. Timeout setting for communications with the producer, in seconds. For example, the maximum time the producer may take to register, deregister, or display portlets on WebCenter pages. Individual portlets may define their own timeout period, which takes precedence over the value expressed here. establishSession Optional. Enable a user session when executing portlets from this producer. Valid values are 1 true and 0 false. You should enable sessions using the establishSession argument, as well as the sharedKey argument. When sessions are enabled 1, the server maintains session-specific information, such as the user name. Message authentication uses sessions, so if a shared key is specified, this option should also be enabled. For sessionless communication between the producer and the server, set to 0. externalApp Optional. Name of the external application associated with this producer. mapUser Optional. Flag indicating whether the mapped user name from the external application should be passed to the producer. Valid values are 1 true and 0 false. server Optional. Name of the managed server where the WebCenter application is deployed. For example, WC_Spaces. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the WebCenter application is deployed. Argument Definition appName Name of the WebCenter application in which to perform this operation. name Name of an existing PDK-Java producer. Argument Definition Oracle WebCenter Custom WLST Commands 10-145

10.14.10.3 Example

The following example deregisters the wc-WebClipping producer, and deletes the associated connection. wls:weblogicserverConfig deregisterPDKJavaProducerappName=webcenter, name=wc-WebClipping Already in Domain Runtime Tree Producer wc-WebClipping has been deregistered. Already in Domain Runtime Tree wc-WebClipping successfully deleted Already in Domain Runtime Tree wc-WebClipping-urlconn successfully deleted

10.14.11 listPDKJavaProducers