WLST command to shutdown a composite

Hello,
we would like to set up a regular recycling of our Oracle SOA clustered environment.
Before stopping the Managed Server we would like to shutdown a particular composite otherwise we are going to get queues on this composites.
I am searching for a WLST command to achieve this but I could not find any.
Are you aware of any command to achieve this?
Brgds,
Loukas

I have built the following script to for the stopping phase :
mh_home = '/opt/oracle11/Middleware';
pathseparator = '/';
admin_username = 'weblogic';
admin_password = 'orafusion1';
listen_address = 'muciipd01';
listen_port = '5557';
admin_server_url='t3://muciipd01:7011'
domain_name = 'soa_domain';
domain_home = mh_home + pathseparator + 'user_projects' + pathseparator + 'domains' + pathseparator + domain_name;
print 'CONNECT TO NODE MANAGER';
nmConnect(admin_username, admin_password, listen_address, listen_port, domain_name, domain_home);
print 'CONNECT TO ADMIN SERVER';
connect(admin_username, admin_password, admin_server_url);
print 'SHUTTING DOWN THE COMPOSITE'
sca_stopComposite('muciipd01','8011','weblogic','orafusion1','SBL_getNewEvents','1.2',partition='connectivity')
print 'STOPPING SERVERS ON THE MACHINE';
shutdown('soa_server1','Server','true',1000,'true');
and I get the error:
SHUTTING DOWN THE COMPOSITE
Problem invoking WLST - Traceback (innermost last):
File "/home/oracle11/daily_stop.py", line 12, in ?
NameError: sca_stopComposite
When I run the command manually (offline) it works:
wls:/offline> sca_stopComposite('muciipd01','8011','weblogic','orafusion1','SBL_getNewEvents','1.2',partition='connectivity')
host = muciipd01
port = 8011
user = weblogic
partition = connectivity
compositeName = SBL_getNewEvents
revision = 1.2
label = None
compositeDN =connectivity/SBL_getNewEvents!1.2
Connecting to: service:jmx:t3://muciipd01:8011/jndi/weblogic.management.mbeanservers.runtime
Composite (connectivity/SBL_getNewEvents!1.2) is successfully stopped.
Any idea?
Rgds,
Loukas
Edited by: rouglas4 on Jan 11, 2012 10:55 AM

Similar Messages

  • Calling OAM WLST Commands from java class

    Hi all,
    is there any idea how to call OAM related WLST commands from java class ?.
    what are the required jar files ?
    thanks

    Hi,
    As per my understanding in OAM you will have only two major .py file startscript.py and stopscript.py file which will start nodemanger connect and start Admin and managed server similarly in stop it will stop managed server Admin server and then last nodemanager.
    these all done through wlst command using nmConnect(), nmStart (), nmKill() and shutdown etc.
    What exactly you are looking to get from java code.
    Regards,
    kal

  • Wlst command listWebServices() does not show all web services in the domain

    Hi, I am trying to use wlst command listWebServices() to display all web services of a domain. It seems that it only displays the web services of enterprice applications (ear apps), but it does not show the web services of web applications (war apps). If I pass ear appliication name and one of its web module to listWebServices, it will show the web services that belong to the web module of this application. However if I pass war application name and its web module name to listWebServices, it will return "Unable to find the SOA Composite or Service. Oracle UCM Native Web Services", although I can see from wls admin console or em that this web application does have a couple of web services.
    I also tried to call listWebServicePolicies, again it returned "Unable to find any Web Services with the specified Application".
    My purpose of doing above is to use wlst to detach/attach web service policies for some web services. Since I cannot find the web services, I off course cannot detach/attach policies.
    Does anyone have any clue how to find web services using wlst command that belong to a war application, and then detach/attach policies ? Any help will be greatly appreciated.
    Thanks,
    Jian Huang
    From Oracle fusion HCM

    As of UCM version 11.1.1.6, Oracle UCM Web Services are managed from Enterprise Manager in Fusion Middleware Control, not Weblogic Admin Console!
    A document at Oracle support explains this in more detail: https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?id=1456506.1 :
    Setting up GenericSoapService in WLS to use WS-Security:
    Go to FMW Enterprise Manager. http://wlshost:7001/em
    In the tree, navigate to Weblogic Domain -> <Domain Name> -> and click on UCM_server1. (If the managed server for WCC is named something other than UCM_server1, click on that name.)
    From the UCM_server1 drop down menu, select "Web Services".
    On the "Oracle Infrastructure Web Services" tab, click the GenericSoapPort link.
    Once there you can set the policies you want and restart the server!
    Regards,
    Göran
    Edited by: Göran Paues on 2012-aug-20 10:02

  • WLST command line utility "storeUserConfig()"  is not working for 12c OHS

    Hi All,
    I am facing issue with WLST command line utility with "*storeUserConfig()*" command.
    I have installed Standalone OHS 12c (Not managed OHS with WLS), configure and start the Node Manager.
    I start the WLST command line utility from : <MW_HOME>/ohs/common/bin/wlst.sh
    I connect node manager with : nmConnect('weblogic', 'welcome1', nmType='plain', domainName='base_domain')
    wls:/offline> nmConnect('weblogic', 'welcome1', nmType='plain', domainName='base_domain')
    Connecting to Node Manager ...
    Successfully Connected to Node Manager.
    wls:/nm/base_domain> nmStart(serverName='ohs10', serverType='OHS')
    Starting server ohs10 ...
    Successfully started server ohs10 ...
    Now When I am running storeUserConfig(), it's giving me below error :
    wls:/nm/base_domain> storeUserConfig()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: storeUserConfig
    I also try with storeUserConfig('/scratch/12cORC/security/myuserconfigfile.secure', '/scratch/12cORC/security/myuserkeyfile.secure') which also give same error.
    I am not able to recognize this error. What should I need to do to create the User config file ?
    Please suggest me the solution.
    I am referring this doc : http://docs.oracle.com/cd/E15586_01/web.1111/e13813/reference.htm#
    Thanks,
    Amit Nagar

    It's probably a little late for the original poster, but in case anybody else stumbles on this thread (like me today), I found a workable solution to this problem:
    For a Standalone HTTP Server there exists in $domain_home/bin a command startComponent.sh or (on Windows) startComponent.cmd. This accepts as parameter the ComponentName which will typically be ohs1 and as second parameter storeUserConfig. Documentation on this can be found here:
    http://docs.oracle.com/middleware/1212/webtier/HSADM/getstart.htm#CHDJGIII (scroll down to
    4.3.2.3 Starting Oracle HTTP Server Instances from the Command Line).
    startComponent.sh ohs1 storeUserConfig
    Unfortunately this doesn't tell you where you'll find the config and key-File. However, on a second invocation I found that - at least on windows where I tested this - they get written into c:\users\<username>\.wlst so I'd expect them in the home directory on unix. After copying the files to a more common location, I was able to reference them the usual way (formatted for better readability):
    wls:/offline> nmConnect(userConfigFile='C:/app/Middleware/Oracle_Home/user_projects/domains/base_domain/nodemanager/security/nm-cfg-base_domain.props',
    userKeyFile='C:/app/Middleware/Oracle_Home/user_projects/domains/base_domain/nodemanager/security/nm-key-base_domain.props',
    host='localhost',
    port='5556',
    domainName='base_domain')
    Connecting to Node Manager ...
    Successfully Connected to Node Manager.
    Best Regards
    Holger

  • How can I use custom WLST commands for Oracle SOA Suite in Weblogic

    Hi There,
    I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
    I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
    However, my WLST shell is not recognizing the commands and giving me the NameError!
    wls:/devDomain1/domainRuntime> listLogs()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: listLogs
    I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
    I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
    - Launched the WLST shell from Oracle Home.
    cd ORACLE_HOME/common/bin
    ./wlst.sh
    - Tried to run the listLogs command from domainRuntime()
    I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
    I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
    There is no SOA Suite installed.
    Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
    Please advise if this is possible and how?
    Cheers.
    Satish

    I have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
    CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
    The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
    I hope this can help

  • Issue while starting AdminSerever using wlst commands

    Hi, I am facing issue while trying to start the AdminServer and Managed Server via nodemanager using wlst commands. I have installelled WebLogic 11g on windows 2008 R2. Mentioned below are the steps that I followed:
    1) In Nodemanager.properties files I set following parameters to true. I did this, so that nodemanager can start the server in case of crash.
    CrashRecoveryEnabled=true
    StartScriptEnabled=true
    2) started nodemanager and then started AdminServer from the command prompt as follows:
    nmConnect('weblogic','password','10.23.226.58','5556','IMDomain','E:\Oracle\Middleware\user_projects\domains\IMDomain','ssl')
    nmStart('AdminServer')
    I dont see any errors but it seems the AdminServer do Not start properly as in the cmd window I don't see any 'started successfully' message - the message remains as *"Starting AdminServer..."*
    However in the adminServer logs I see that the status is Running (refer logs at the end) and I can also see it as Running in weblogic console.
    I really didnt care if its not giving a success message in cmd window but the problem occurs when I start the managedServer. After starting the managed server in about 10 minutes, there is a stuck thread. (I guess it is 10 mins because Stuck Thread MaxTime value is 600).
    If I set StartScriptEnabled=false, and start by directly running the startweblogic.cmd then it works fine.
    I am struggling with this for last 1 week, appreciate any help.
    LOGS.......
    Starting WLS with line:
    E:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -Dweblogic.security.SSL.nojce=true -Xverify:none -da -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dwli.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\integration -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_ocp360\profiles\default\sysext_manifest_classpath weblogic.Server
    <Mar 14, 2012 3:16:30 PM CDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Mar 14, 2012 3:16:30 PM CDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Mar 14, 2012 3:16:30 PM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.2-b06 from Sun Microsystems Inc.>
    <Mar 14, 2012 3:16:31 PM CDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Mar 14, 2012 3:16:32 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Mar 14, 2012 3:16:32 PM CDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Mar 14, 2012 3:16:32 PM CDT> <Notice> <Log Management> <BEA-170019> <The server log file E:\Oracle\Middleware\user_projects\domains\IMDomain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <Mar 14, 2012 3:16:36 PM CDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Mar 14, 2012 3:16:37 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Mar 14, 2012 3:16:37 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    Mar 14, 2012 3:16:39 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
    Mar 14, 2012 3:16:39 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console'
    <Mar 14, 2012 3:16:40 PM CDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Mar 14, 2012 3:16:40 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Mar 14, 2012 3:16:40 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Mar 14, 2012 3:16:40 PM CDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.227.211.13:8001 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 14, 2012 3:16:40 PM CDT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "IMDomain" running in Production Mode>
    <Mar 14, 2012 3:16:40 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Mar 14, 2012 3:16:40 PM CDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file E:\PROGRA~1\Java\JDK16~1.0_2\jre\lib\security\cacerts.>
    <Mar 14, 2012 3:20:53 PM CDT> <Alert> <Security> <BEA-090152> <Demo trusted CA certificate is being used in production mode: [
    Version: V3
    Subject: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
    Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
    Key: Sun RSA public key, 512 bits
    modulus: 9550192877869244258838480703390456015046425375252278279190673063544122510925482179963329236052146047356415957587628011282484772458983977898996276815440753
    public exponent: 65537
    Validity: [From: Thu Mar 21 14:12:27 CST 2002,
                   To: Tue Mar 22 15:12:27 CDT 2022]
    Issuer: CN=CACERT, OU=FOR TESTING ONLY, O=MyOrganization, L=MyTown, ST=MyState, C=US
    SerialNumber: [    33f10648 fcde0deb 4199921f d64537f4]
    Certificate Extensions: 1
    [1]: ObjectId: 2.5.29.15 Criticality=true
    KeyUsage [
    Key_CertSign
    Algorithm: [MD5withRSA]
    Signature:
    0000: 9D 26 4C 29 C8 91 C3 A7 06 C3 24 6F AE B4 F8 82 .&L)......$o....
    0010: 80 4D AA CB 7C 79 46 84 81 C4 66 95 F4 1E D8 C4 .M...yF...f.....
    0020: E9 B7 D9 7C E2 23 33 A4 B7 21 E0 AA 54 2B 4A FF .....#3..!..T+J.
    0030: CB 21 20 88 81 21 DB AC 90 54 D8 7D 79 63 23 3C .! ..!...T..yc#<
    ] The system is vulnerable to security attacks, since it trusts certificates signed by the demo trusted CA.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 14, 2012 3:20:53 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 15, 2012 11:41:41 AM CDT> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "650" seconds working on the request "weblogic.kernel.WorkManagerWrapper$1@68a3f7ed", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:129)
    weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:159)
    java.io.InputStream.read(InputStream.java:85)
    com.certicom.tls.record.ReadHandler.readFragment(Unknown Source)
    com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    com.certicom.tls.record.ReadHandler.read(Unknown Source)
    com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
    sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    java.io.InputStreamReader.read(InputStreamReader.java:167)
    java.io.BufferedReader.fill(BufferedReader.java:136)
    java.io.BufferedReader.readLine(BufferedReader.java:299)
    java.io.BufferedReader.readLine(BufferedReader.java:362)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:289)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:314)
    weblogic.nodemanager.client.NMServerClient.start(NMServerClient.java:102)
    weblogic.nodemanager.mbean.StartRequest.start(StartRequest.java:75)
    weblogic.nodemanager.mbean.StartRequest.execute(StartRequest.java:47)
    weblogic.kernel.WorkManagerWrapper$1.run(WorkManagerWrapper.java:63)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    <Mar 15, 2012 11:42:41 AM CDT> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "710" seconds working on the request "weblogic.kernel.WorkManagerWrapper$1@68a3f7ed", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:129)
    weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:159)
    java.io.InputStream.read(InputStream.java:85)
    com.certicom.tls.record.ReadHandler.readFragment(Unknown Source)
    com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    com.certicom.tls.record.ReadHandler.read(Unknown Source)
    com.certicom.io.InputSSLIOStreamWrapper.read(Unknown Source)
    sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    java.io.InputStreamReader.read(InputStreamReader.java:167)
    java.io.BufferedReader.fill(BufferedReader.java:136)
    java.io.BufferedReader.readLine(BufferedReader.java:299)
    java.io.BufferedReader.readLine(BufferedReader.java:362)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:289)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:314)
    weblogic.nodemanager.client.NMServerClient.start(NMServerClient.java:102)
    weblogic.nodemanager.mbean.StartRequest.start(StartRequest.java:75)
    weblogic.nodemanager.mbean.StartRequest.execute(StartRequest.java:47)
    weblogic.kernel.WorkManagerWrapper$1.run(WorkManagerWrapper.java:63)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >

    Hi chamila,
        I never tried the example. Exception is not clear. Could you please post more stack trace from log files.
    Thanks,
    Sham

  • Running wlst command in embeded mode results in error for deleteMetadata()

    I need to use wlst command deleteMetadata() in embeded mode.
    I had followed instruction at http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/using_WLST.html, to import the wlst interpreter,
    The command I use is:
    deleteMetadata(application='SetupApp', server='FunctionalSetupServer_1', docs='/META-INF/**/adf-config.xml.xml', restrictCustTo='%')
    This command works fine in wlst interactive mode, but when I put it in java, it errors out with the following. Looks like the:
    Caused by: Traceback (innermost last):
    File "<string>", line 2, in ?
    NameError: deleteMetadata
    at org.python.core.Py.NameError(Unknown Source)
    at org.python.core.PyFrame.getglobal(Unknown Source)
    at org.python.core.PyFrame.getname(Unknown Source)
    at org.python.pycode._pyx11.f$0(<string>:2)
    at org.python.pycode._pyx11.call_function(<string>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.Py.exec(Unknown Source)
    at org.python.util.PythonInterpreter.exec(Unknown Source)
    at weblogic.management.scripting.utils.WLSTInterpreter.exec(WLSTInterpreter.java:509)
    at oracle.as.install.famigratet2p.cli.cmd.CleanupAdfConfigXml.connect(CleanupAdfConfigXml.java:130)
    at oracle.as.install.famigratet2p.cli.cmd.CleanupAdfConfigXml.executeCmd(CleanupAdfConfigXml.java:77)
    at oracle.apps.fnd.provisioning.ovm.sdk.cli.FAOVMCLICmd.execute(FAOVMCLICmd.java:709)
    ... 2 more
    My code looks like this:
    import weblogic.management.scripting.utils.WLSTInterpreter;
    import org.python.util.InteractiveInterpreter;
    String conString = "connect('" + mTestAdminServerUserName + "','" +
    mTestAdminServerPassword + "','" + mTestAdminServerConnectString + "')\n";
    String delString="deleteMetadata(application='SetupApp',server='FunctionalSetupServer_1', docs='/META-INF/**/adf-config.xml.xml', restrictCustTo='%')\n";
    interpreter.exec(conString+delString);
    Connect() works fine, only failing at deleteMetadata. Is there another jar/library that I need to include?

    Try excuting the command below before invoking MDS commands:
    interpreter.execfile($MW_HOME/oracle_common/common/wlst/mdsWLSTCommands.py);
    Thanks,
    --Daniel                                                                                                                                                                                                                                                                                                                                   

  • Import meta data wlst command from Java

    Hi All,
    Can any one please provide me a java code for importing meta data file using WLST commands.

    HI Joe,
    As a professional news and sports photographer I cannot use Aperture for this problem alone. I live and die by my captions and if a photo isn't captioned, or incorrectly captioned, it might as well not exist at all. Fixing the IPTC import problem is No 1 priority for me.
    As it is at the moment only half of the caption (description) comes in and some fields are missing entirely. This is only with RAW files, JPEG files import perfectly.
    Whilst we wait for this issue to be resolved (and PLEASE can it be soon!) is there anyway of working with the IPTC from the JPEG?
    If I shoot RAW and JPEG together can Aperture show both the RAW and the JPEG side by side so that I can lift from JPEG and stamp the RAW with the IPTC data? Even better, can something be written into Aperture where I can select all the RAW & JPEG images and just select a command saying 'copy IPTC data from RAW to JPEG'? This would be a very helpful temporary workaround.
    Finally, and I've put this in the feedback, can we have a much bigger window for IPTC data entry? Personally I would like a pop-up window similar to PhotoMechanic, and I'd like to be able to save my caption so that the next time I import images I can just selected the saved caption instead of going through all the fields setting it up again.
    For Aperture to be used as a DAM for my huge library I need the IPTC to be fully featured.
    Power Mac G5 Duel 2Ghz, 30" Cinema Display Mac OS X (10.4.7) MacBook
    Power Mac G5 Duel 2Ghz, 30" Cinema Display   Mac OS X (10.4.7)   MacBook

  • Calling custom wlst command in embedded mode

    Hi,
    Please give any idea how to call custom wlst command (Oracle Access Manager related wlst command) in embedded mode.
    can we call /Oracle_IAM/common/bin/wlst.sh using java weblogic.WLST ?
    thanks

    thanks for quick reply
    i have to write a script which will register a OAM agent and create OAM Server (OAM related WLST custom command), all command comes under Fusinn Middleware product and for executing that command we have to run the wlst.sh file from <Oracle_Common>/common/bin, here if i run help('oam') command it shows all oam related command but when i run the wlst using java weblogic.WLST then it does not show any oam command because this call wlst from /WL_Home/common/bin, so i want to call that custom oam related wlst command by using java weblogic.WLST so that i can call my .py script as java weblogic.WLST *.py or in java class using WLSTInterpreter.

  • Unknown command beginning "shutdown i

    Hi dbaguru,
    Can any one provide me solution. i unable to shutdown my dabase it showing below message when i make my database into downmode.
    SQL*Plus: Release 8.0.6.0.0 - Production on Tue Aug 19 14:19:58 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: sys as sysdba
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    unknown SET option beginning "SQLPLUSCOM..."
    SQL> shutdown immediate
    unknown command beginning "shutdown i..." - rest of line ignored.

    It looks like you are using Sqlplus from Oracle 8 to shutdown an Oracle 9 database.
    I think you should logout and check your environment to make sure you are using the correct sqlplus to connect to the correct database.

  • Update the already existing credential store in em using wlst command

    Hi,
    In Oracle Business intelligence in the em in domain-> security->credentials i want to update an already existing credential store with map and key values
    map=oracle.bi.system
    key =system.user.
    So when i connect to the wlst command console in MW_HOME/oracle_common/common/bin/wlst.sh
    and connect to the server and execute the command
    updateCred(map='oracle.bi.system', key='system.user',user='BISystemUser',password='welcome1') i get the error already in the Domain runtime tree.
    I tried
    import jpsWlstCmd
    jpsWlstCmd.updateCred(map='oracle.bi.system', key='system.user',user='BISystemUser',password='welcome1') but still i get the same error.
    Can anyone help me modifying the credentials using a script.

    After extending my domain with JRF and JRF WebService Asynchronous services, I was able to execute "createCred" and "listCred" and so on.
    Yu

  • WLST command ConfigToScript()

    Can I use WLST Command "ConfigToScript() " to convert diameter.xml file to WLST Script

    1. install diameter domain using diameterdomain.jar template
    2. you will be able to see a 3 custom xml file under
    C:\bea\user_projects\domains\diameter\config\custom. diameter.xml file is one among them

  • Command-line shutdown for Xserve RAID?

    We have had serveral A/C failures that have left our computer room extremely hot (104 degrees a week ago). We will be getting a temperature sensor that can trigger a shutdown event for the servers. However, I don't know how to issue a remote command (like, ssh host shutdown) to get the RAID to actually power off so it won't cook itself.
    Any ideas?

    I suppose I should have said automated command-line shutdown. Yes, what you say is true. However, I need to have a script that runs when a room over-temp alarm occurs that will shutdown all running machines, in the absence of any people. Also, the network the RAID is on is not connected to the outside world, so I can not see it when I'm not at work.

  • Calling wlst commands from utility script?

    Hi all,
    I'm trying to write some utility functions to wrap things like create() and delete() with some error handling code. So I would have a module like utils.py and it would contain methods like myDelete(), myCreate(), etc. I would like them to then call WLST's delete() and create(). Then I would have a script that creates and deletes queues, for example, that would use utils.myDelete() etc. However this doesn't work and I can't figure out why.
    If I just reference the wlst commands directly, I get "Name Error: cd."
    If I import
    from weblogic.management.scripting import WLScriptContext as wlst
    WLST = wlst()
    I get "... Unknown error...Use dumpStack()..." But dumpStack()'s output is empty.
    If I extract wlstModule.py from the jar file and try importing it, I get "no module named wlstModule."
    Suggestions?
    thanks

    Hello John,
    Here are the steps you can follow to import wlst into other jython modules.
    Extract wlstModule.py from the jar or you can also use the command writeIniFile(<file-path>) for WLST to write out the module file. Place wlstModule.py in the directory where you are going to invoke jython from or where you have your other utility scripts. In your utility script you should import the module as
    import wlstModule
    And in the script wherever you would like to call any wlst commands you should use wlstModule.<command>. Also use straight jython while invoking the scripts as
    java org.python.util.jython instead of java weblogic.WLST.
    Thanks,
    -satya
    BEA Blog: http://dev2dev.bea.com/blog/sghattu/

  • Name error when executing WLST commands inside a jython class

    I am writing some reusable jython classes to be used to retrieve the health of a weblogic domain using WLST.
    But when I use simple WLST commands like connect() within a method connect() and the higherlevel jython script creates a object of WeblogicHealth() and calls connect(), I get NameError pointing to line with connect(). for some reason the namespace within my higher level script doesnt seem to recognize WLST commands.
    AM I doing something plain wrong?
    My class is as follows
    class WeblogicHealth:
    def init( resourceName ):
    def connect(userid,password,adminUrl)
    connect(userid,password,adminUrl)
    test_connect.py
    wlhealthObj = WeblogicHealth('server1')
    wlhealthObj.connect('user',password''url')
    I am running test_connect.py using command
    java weblogic.WLST test_connect.py
    and I get the nameError.
    PLease help

    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/using_WLST.html#wp1094333

Maybe you are looking for