Activate the Debugging Node Manager using WLST

Hello

I would like to turn on debugging for Manager node using WLST to instead of using the administration console - by selecting the checkbox for "Debugging enabled" property under environment > Machines > Configuration > Node Manager in the administration console.

I could find the name of the MBean 'NodeManagerMBean' and 'DebugEnabled' property, but I don't know how to add script.

Anyone can guide me please?

Thanks in advance

Published by: vikascv on April 29, 2009 09:23

Here you go
Activate the Debugging Node Manager using WLST
http://www.togotutor.com (Learn the programming and Administration for free at the Togotutor)
****************************************************

def connection_to_Admin():
Try:
Connect (username, password, URL)
except wlst. WLSTException, ex:
print ' an exception during the connection: %s ' % ex
Another thing:
Print "-connected successfully! ---------"

connection_to_Admin() #Calling the function of connection

Edit()
startEdit()

CD('/machines/MS1/nodemanager/Machine_1')
cmo.setDebugEnabled (true)

Activate()

Thank you
Togotutor
http://www.togotutor.com (Learn programming and free Administration)

Tags: Fusion Middleware

Similar Questions

  • Stop a server managed using WLST and Node Manager

    Hello

    I use Node Manager (NM) to start my managed servers. After connecting to the Server Admin, I run the command:

    Start ('myserver1', 'Server')

    I check the log file and the console and the managed server shows no error, either it RUNS. The tail of the log file says "SOA platform is running accept queries"

    I'm now trying to write a script to stop for the same managed servers. I connect to the Node Manager via wlst, connect to the Admin Server successfully and deliver:

    Shutdown ('myserver', 'Server')

    Here is the error I see in the managed server log file:

    [JCABindingManager]: this operation is not supported for JCA base MDB.

    The managed server then passes State SUSPENDED.

    I have renamed the data files, cache and tmp, restarted the server and once again tried to arrest him, but the same thing happened.

    Any suggestion is appreciated.

    Thank you

    Andy

    What happens if you add strength = "true" as an additional parameter for your

    stop command?

  • Could not start the server via the SOA node Manager

    Hi all

    I try to install AIA 11.1.1.6.0 on top of the SOA Suite 11.1.1.6.0.

    I was able to install the weblogic, UCR, soa and osb servers server correctly. Now, before installing the AIA, the document I am following it says, make sure to start the server soa through the Manager of nodes.

    Now I start to the administrator of the server, then the node Manager, to make sure I checked the node Manager is in place, I logged the weblogic console, went to the Machines, and I see that it's upward and accessible.

    Now using WLST commands, first of all, I have connected to Manager nodes by using the nmConnect() command, so I try to start the server soa through node Manager with the command start ('soa_server1').

    I get an error when you try to start the server with the command nmStart() soa, below is the error message...

    «Error at startup server soa_server1: weblogic.nodemanager.NMException: Exception when starting Server «soa_server1»»

    I ran the command dumpStack(), and I get the output as 'no trace available battery.

    If I am able to start the server soa through the node Manager, I can go ahead and install the pack of AIA, but wrong to let me go forward.

    I also tried to boot the server from soa through the weblogic console, go to the servers tab, select the soa_server1 and start, the State of the soa server will "FAILED_NOT_RESTARTABLE".

    I followed some of those blogs like...

    http://Neeraj-SOA-tips.blogspot.com/2010/06/starting-admin-and-managed-servers.html

    http://www.javamonamour.org/2011/09/nmconnect-nmstart-nmkill.html

    Experts, please give your opinion.

    Thank you very much
    N

    Hi Patricia,

    I had exactly the same problem some time ago...

    The cause:
    There are two servers trying to run in debug mode and use the same debug port
    -Xrunjdwp: transport = dt_socket, address = 8453, server = y, suspend = n

    Possible solutions:
    1. turn off debugging (this is what I did)
    2 use the various debugging ports to different servers (difficult to do because the servers share the same scripts)

    What worked for me was:
    1. in % DOMAIN_HOME%\bin, I created a script called startWebLogic_nodebug.cmd with the following content:
    %CD%\bin\startWebLogic.cmd /nodebug % *.
    2. in nodemanager.properties, I changed the following property
    StartScriptName = startWebLogic_nodebug.cmd

    Now my servers start without debugging...

    I hope this helps.

    See you soon,.
    Vlad

  • get the debug error when using scanner on hp laserjet 2840

    I have installed and uninstalled the HP laserjet printer on my computer, as well as on another computer and get the following:

    "An internal error occurred during the processing of the document. Click ok and close the program and try one of the following values: restart the program, restart the PC and try again, reinstall the photo software of imagery and try again.

    Below is the following error... Debug error program C:/Programf Files/HP/Digital Imaging? doc. Proc/dpe_ocr.exe Module: File::38/chkesp.c: line: 42, the value of ESP was not properly saved across a function call.  It is generally a resulft of the call of a function declared with one calling convention with a function declared with a different calling convention printer.

    (press Retry to debug the application)

    Then of course it is said to tell microsoft about this problem.

    Which may indicate a problem with the software itself.

    Did you try to uninstall and reinstall the drivers and software like which seemed to work here.

    Also, did you apply the next update? :

    http://h20000.www2.HP.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=LY-40436-1&lang=en&cc=us&mode=3

  • Activate the password, when you use Ganymede +.

    Hello

    I did experiment with acs 4.2 and a cisco asa 5510. I managed to authenticate users ASA with my server Ganymede. The 'test' user is authenticated with the RADIUS server and can connect. The enable password is wrong but I do not know where to place them in the RADIUS server.

    Now my question is, where do I put my password enable when authenticatig with Ganymede. And for this I mean in the EC 4.2, I know how to do on the asa.

    Thanks in advance!

    Sent by Cisco Support technique iPhone App

    Hello

    This gives a shot-

    http://www.Cisco.com/en/us/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2/user/guide/UsrMgt.html#wpxref14440

    Thank you

    Tarik Admani

  • Activate the commnad ADF button using javaScript

    I am trying to turn a commnad button when clicking on a component Boolean Checkbox select. A JavaScript function is called when the user clicks the check box. In the method, I try to get a referecne to the command button (to be enabled). But the reference returns always null/undefined.

    Code in javascript:

    function enableDisableViewDetails (event) {}
    var chkBox = event.getSource ();
    var checkBoxValue = chkBox.getValue ();

    var viewDetailsBtn = AdfPage.PAGE.findComponentByAbsoluteId ('pglhead:pg12:pg13:pg15:viewDetails');
    var viewDetailsBtn = AdfPage.PAGE.findComponent ("pglhead:pg12:pg13:pg15:viewDetails");
    var viewDetailsBtn = event.getSource (.findComponent('pglhead:pg12:pg13:pg15:viewDetails'));
    Alert (viewDetailsBtn);

    If (checkBoxValue.toString () == 'true') {}
    viewDetailsBtn.disabled = true;
    }
    }

    The code in the JSFF page:

    < af:selectBooleanCheckbox
    ID = "rowSelection' clientComponent = 'true '.
    value = "#{row." Selected} ">"
    < af:clientListener method = "enableDisableViewDetails" type = "click on" / >
    < / af:selectBooleanCheckbox >

    Can someone help me please how to refer to the command button (the button is in some other configuration group Panel in the same fragment)?

    JDev Version: 11.1.1.1.3.0

    Any reason that you try this without the use of PPR?

    CM.

  • read the serial port management using the SRM Protocol

    Hello

    I have a gas analyzer that communicates with the PC via the serial port.

    This is the "Industrial VarioPlus SRM".

    I have attached a PDF file that describes the communication protocol.

    I'm trying to decode the data that are sent from the parser, but I can't do it.

    I have attached the vi in which I made some effort.

    Any help is appreciated, at least for a single value in the data stream.

    Thank you.


  • Restart the node Manager and activate the dynamic record... HOW?

    Hello

    Wi are installing an OBIEE 11 G Enterprise setup and have encountered a problem.
    We are told to execute a command called 'export JAVA_OPTIONS =-DDomainRegistrationEnabled = true' to restart Node Manager using dynamic registration. But he fails miserably!
    How we run this command? Any advice?

    Best regards, Jacob J

    This means that there is already a running process that is using the port.

    If you are running on a UNIX related you can use netstat, for example,

    netstat -ap|grep 5556
    
    tcp        0      0 edu-wls-rh:5556             *:*                         LISTEN      7836/java
    

    For more information on the process of 7836, you can use ps, for example,

    ps -ef|grep 7836
    
    oracle    7836     1  0 10:55 pts/2    00:00:12 /home/oracle/aqualogic/jrrt-4.0.1-1.6.0/jre/bin/java -classpath /home/oracle/aqualogic/jrrt-4.0.1-1.6.0/jre/lib/rt.jar:/home/oracle/aqualogic/jrrt-4.0.1-1.6.0/jre/lib/i18n.jar:/home/oracle/aqualogic/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/aqualogic/patch_ocp353/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/aqualogic/jrrt-4.0.1-1.6.0/lib/tools.jar:/home/oracle/aqualogic/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/aqualogic/wlserver_10.3/server/lib/weblogic.jar:/home/oracle/aqualogic/modules/features/weblogic.server.modules_10.3.3.0.jar:/home/oracle/aqualogic/wlserver_10.3/server/lib/webservices.jar:/home/oracle/aqualogic/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/aqualogic/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar -DListenAddress=localhost -DNodeManagerHome=/home/oracle/aqualogic/wlserver_10.3/common/nodemanager -DQuitEnabled=true -DListenPort=5556 weblogic.NodeManager -v
    oracle    7859  7836  0 10:55 ?        00:00:00 /bin/sh /home/oracle/aqualogic/user_projects/domains/base_domain/bin/startWebLogic.sh
    oracle    7984  7836  0 10:56 ?        00:00:00 /bin/sh /home/oracle/aqualogic/user_projects/domains/base_domain/bin/startWebLogic.sh
    

    In this case we see that the process 7836 is the node Manager.

  • From server managed by using the Node Manager command line

    Hello

    I have configured the Node Manager and it is connected to the administrator of the server without problem. Now, I wanted to start the server managed through the console but it is a failure and my guess is that the syntax of the command line used is not correct.

    My question is, how do I change the command line used to start the Node Manager-managed server? I try to use the configuration tab start the server and it seems that does not. I also try to update the file .properties for the managed server.

    Whenever I look at the managed server logs, it gives me this line...

    NodeManager > < start WebLogic server with command line: <>...

    The command-line in newspapers aren't what I put in the .properties file or on the Server Start tab. She is from somewhere and I don't know where. I just want to set up the command line Node Manager uses to start a managed server.

    If all goes well, I'm clear with my problem and someone might be able to help. Thank you.

    You can try to follow the Option-2) mentioned in the link below: http://jaysensharma.wordpress.com/2010/03/26/nodemanager-based-managedservers-setting-mem_args/

  • Steps to install and configure Node Manager on the local machine and remote

    Hello

    I'm using WLS 10.3 on Windows.
    I did the following till now.

    (1) installed WebLogic 10.3 on one machine (local computer, on which I created the field and my Server Admin is under execution. 1 managed server is also created on this machine).
    (2) installed WebLogic 10.3 on computer B (remote computer, which Managed Server 2 will be created).
    (3) on the machine, I used the Setup Wizard and create a domain. When creating the domain, I did the following:
    (i) created two managed servers.
    (II) create a cluster
    (III) the servers assigned to regroup.
    (IV) created two machines.
    (v) the servers assigned to machines (Admin Server and MS_1 to the machine and MS_2 machine B).

    (4) start Admin Server.
    (5) on the administration Console, I made some configurations for the node Manager on Machines-> Machine A-> Node Manager. The assigned values:
    (i) type (SSL)
    (II) Address (ip_address machine A) listen
    (III) listening port (5556)
    (6) in the same way it did for Machine B.

    So far, phsically the managed server (MS_2) directory and configuration is not there on the Machine B (its only configured on A computer because I created the field on computer A).

    I went through the documents on the Node Manager and found what to configure. But I have not found what is the sequence of configuration.

    Please let me know the sequence of steps I must follow to install and configure the Manager of nodes on the local and remote machine. I want to use Java Node Manager (not the Script node Manager).

    Thank you

    Sanjay

    Hello Sanjay

    Basically if I understand your question, you have A machine where you had installed ""(permet de supposer admin serveur) and "VAS_MS1_A VAS_ADM_A" (lets assume the managed server.» And on the second machine B you want to create a managed server 'VAS_MS2_B' which must be controlled by node manager, so that you can start console, auto restart the managed server and perform other activities such as the migration of servers using nodemanager. If this is correct, this is the sequence of steps.

    Since you say you are on windows, I start from the principle

    WebLogic version 10'3
    BEA_HOME:-c:\bea
    WL_HOME:-C:\bea\wlserver_10.3
    DOMAIN_DIR:-c:\VASDomains

    Machine has

    (1) install the BEA.
    Using 2 Setup Wizard) create the domain under "c:\VASDomains".
    (3) to start the Admin Server and connect to the console and create two machines "Machine_A" and "Machine_B". Select the types of machines as 'other '.
    (4) once machines are created go to each machine and go to the tab 'NodeManager' and enter the details nodemanager.
    (5) create server 'VAS_MS1_A' and 'VAS_MS2_B '. Enter the respective details. To "VAS_MS1_A", enter a machine name of host or ip and machine "Machine_A" and "VAS_MS2_B", enter the hostname of the machine B or ip and machine 'Machine_B '.

    Machine B

    (1) on this machine install BEA
    (2) then you have to register the machine with the Manager of nodes. So for this first set the environment go to "C:\bea\wlserver_10.3\server\bin" and run "setWLSEnv.cmd". Then type 'java weblogic. Enter the WLST", once you run this command at the next prompt Details ' connect ('', 'adminserverpassword','t3: / / adminserver:port" ")
    (3) then run this command.
    nmEnroll('c:/VASDomains','C:\bea\wlserver_10.3\common\nodemanager')

    Orders above fits machine with nodemanager. The first parameter is "domestic field", now if you see "c:\". ' directory 'VASDomains' will be created. Second parameter is nodemanager House, now if you go into nodemanager houses that some properties will be updated.
    (4) If this node Manager runs on this computer, kill that one and restart the node Manager again.
    (5) now if you go to "Adminconsole--> Machines--> Machine_B--> Monitoring" you can see the status as accessible.
    (6) now you can go "Servers--> VAS_MS2_B--> Control" and start the server. Newspapers to see how the server gets up the tail.

    If you want more details on "nodemanager", dedicated to my 'vasweblogic.blogspot.com' blog, not a lot of messages but post nodemanager can help you.

    I hope that's what you're looking for, have a nice day.

    Naour Vijay.

  • Node Manager Config - field distributed on several machines

    Hello

    I have installed and configured a WebLogic domain which includes for example SOA Suite, WebCenter, and ECM on multiple computers

    1 - guests of the management server in the machine
    Machine 2 - hosts soa_server1 and bam_server1
    Machine 3 - hosts the servers managed webcenter
    Machine 4 - host GCED managed servers

    When you start the servers run on machines with 2, 3 or 4 I reference the address of the server administrator is

    startManagedWebLogic.cmd soa_server1 http://0.0.0.0:7001

    I want to configure the node Manager to start and stop the servers managed in the Administration Console. I already configured on the Computer1 node Manager to start the server using WLST administrator. To do that I edited the server start credentials in config AdminServer.

    Where and how do I provide the host and port of the server administrator details when you configure the server start of credentials for example managed servers soa_server1, ucm_server1 etc...?

    Concerning

    S

    Hello

    (Please refer to step 7) and 8) of the Post below... You can skip the part of creation of the Cluster while flolowing the link: http://weblogic-wonders.com/weblogic/2010/04/28/weblogic-clustering-in-remote-boxes/

    Except for the creation of Cluster part, all the other steps will be as it is.
    .
    .
    Thank you
    Jay SenSharma

  • Can I run more than one Node Manager by machine?

    EIS,

    We have a situation in our project, where we need to run different areas on a Solaris machine in modes different from java.
    Domain1 say must be running in the 32-bit version of java while Domain2 should be run in 64-bit mode because of the nature of the tests currently underway in different areas.
    We could successfully get both running in different modes of java at the same time by changing the startup scripts to decide what data model South to start the servers based on some parameters. However, the pain here is with the node Manager.

    I believe that there should be a Node Manager running by the machine for all areas currently running on this computer. Whenever I have to run a different mode than what Node Manager domain runs on java, so I had to kill the node Manager and launch it in the same version that I want to start other servers in as Node Manager uses his departure parms internally to start managed servers (Note: there is no problem in running the administration server regardless of the node as expected Manager mode).

    Can someone tell me if there is a way around these problems?
    I want to know if we can run more than one Manager node by machine.

    Here are the details of my approx.

    WebLogic Server 10.3
    Solaris 10 SPARC 64 bit (SunOS 5.10 Generic_142900-14 sun4v sparc)
    Java version "1.6.0_20.

    Hope that all makes sense...

    See you soon,.
    Satish.

    Published by: apsnaidu on March 15, 2013 15:29

    Running multiple NodeManagers with different settings on the same box: -.

    http://Tim.blackamber.org.UK/?p=797

  • Unable to deploy applications using WLST of EAR

    I have an archive EAR of Application that I can successful deployment of a managed server in weblogic using the Administration Console.

    However, when I try to deploy the same archive EAR using WLST to the same managed server, the deployment will fail.

    Here are the steps I followed:

    (1) Sourcing WL environment (setDomainEnv.sh)... »
    (
    $DOMAIN_HOME/bin/setDomainEnv.sh
    2) stage DYN_HELP.ear file in directory download WL Admin Server... »
    Start WLST
    cp $HOME/scripts/wl/DynaMed_Help.ear $DOMAIN_HOME/servers/AdminServer/upload/DynaMed_Help.ear
    session 3)
    Java weblogic. WLST

    WebLogic Scripting Tool (WLST) initializing...

    Welcome to WebLogic Server Administration scripts Shell

    Help() type help on the available commands

    WLS: / offline
    4) the value of the Variables of the WLST Script
    wl_username = "weblogic.
    wl_userpassword = "< wl_password >".
    wl_url = ' t3: / / icweb002:7001'
    wl_target_server = "DYN_HELP".
    wl_server_listener_port = 9003
    wl_server_machine = "icweb002".
    wl_nm_port = "5556"
    wl_domain = "cross".
    web_app = "DynaMed_Help."
    web_app_war = ' / u00/apldyna1/Oracle/Middleware/user_projects/domains/DynaMed/servers/AdminServer/upload/DynaMed_Help.ear '
    5) connect to WL
    Connect (wl_username, wl_userpassword, wl_url)

    T3 connection: / / icweb002:7001 with username weblogic...
    Connected to the Server Admin "AdminServer" which belongs to the field "DynaMed.

    WARNING: A non-secure protocol was used to connect to the
    Server. To ensure the safety of on-the-wire, the SSL port or
    The admin port should be used instead.
    (6) to deploy the Application
    deploy (web_app, web_app_war, target = wl_target_server)

    WLS: serverConfig/DynaMed / > deploy (web_app, web_app_war, target = wl_target_server)
    Application deployment of the /u00/apldyna1/Oracle/Middleware/user_projects/domains/DynaMed/servers/AdminServer/upload/DynaMed_Help.ear targets DYN_HELP (upload = false)...
    < 18 February 2010 17:10:12 EST > < Info > < deployment J2EE SPI > < BEA-260121 > < Initiating deployment operation for application, DynaMed_Help [archive: u00/apldyna1/Oracle/Middleware/user_projects/domains/DynaMed/servers/AdminServer/upload/DynaMed_Help.ear], to DYN_HELP. >
    . Impossible to deploy the application with the State failed
    Current status of your deployment:
    Command type of deployment: deployment
    Deployment status: failed
    Deployment message: weblogic.management.DeploymentException: [Deployer: 149189] attempt to exploit 'deploy' to null BasicDeploymentMBean deployment DynaMed_Help. Operation cannot be performed until the server is restarted.
    Traceback (innermost last):
    Folder "system <>", line 1, in?
    File '< iostream >", line 246, to deploy
    File '< iostream >", line 1744, in raiseWLSTException
    WLSTException: Error occurred when executing deploy: target the exception that is thrown when the application deployment: error occurred when executing deploy: deployment failed. : Error occurred when executing deploy: deployment failed.
    Am I missing something with my WLST deployment? As I said earlier, I can deploy this same EAR successfully using the Administration Console.

    WLST and administration console use the API of JSR even 88 to deploy the application, so I don't know what is different.

    Search within server admin for all log no dynamic change requires restarting the server messages. If you require a server restart, then config changes are not propagated to the server mbean DURATION until the server is restarted.

    You can post any series of commands?

  • How to activate the BT on Satellite A350?

    How can I get the bluetooth to operate?

    The Panel has the icon, but when I try to turn it on, nothing happens.

    Satellite A350 (PSAL6A - 016 07H) with Vista

    The exact specification of your laptop is not known to me and I can't say with certainty whether or not your machine has BT module. When you use BT, you must activate the WLAN switch and use the FN + F8 key combination to activate the BT module.

    How it looks like you can see on http://aps2.toshiba-tro.de/kb0/HTD9402KQ0000R02.htm

    You can activate BT on this way?

  • activate the writing back

    Hi Experts,

    Activate the writing back, I used vion blog post:

    I am able to update my database successfully, but I get the error message below

    Error:

    An error occurred writing to the server. Please check that you have entered the proper values. If the problem persists, contact your system administrator.
    ODBC driver returned an error (SQLExecDirectW).
    Error details
    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL issued: RUN CONNECTION PHYSICAL POOL sales COMMIT

    Please suggest...

    Concerning
    SAI

    Beloved samira,

    Remove the label of validation from the XML file.
    ENGAGE

    Then save the file, enter the values and check...

    Hope this will help you...

    Kind regards
    Amrita

Maybe you are looking for