WLST script to stop the managed server takes 30 mins

Hello

I have a setup where I use Node Manager and WLST to stop a managed server. The script is simply:

nmConnect('weblogic;,'password','123.456.78.9','5556','soa_domain','/u01/soa_domain','plain')

Connect('weblogic','password','t3://123.2456.78.9:8001')

Shutdown ('soa_ms1', 'Server', 'true ', 3000,' force = true')

Exit()

It takes usually more than 30 minutes for the server managed to stop using this method. However, if I use the console and select the managed server and select to FORCE SHUTDOWN NOW, the action is completed in less than 2 minutes.

Why is there such a difference in time?

Thank you very much

Andy

Hello

Have you tried running the command shutdown() WLST directly and not the script created... ? If so the results were the same... ?

In addition, in your script, I think it would be advisable to print the output for each line text using the command 'Print', just to see where exactly it takes all this time...

[EDIT: now I noticed in the shutdown command, you use a timeout of 3000 seconds value, which, according to the wlst command Manual is "Duration (in seconds) during which WLST waiting for subsystems to complete ongoing work and to hang before you stop the server".] Try to reduce this value to, say, 30. If the shutdown command would look like this:

Shutdown ('soa_ms1', 'Server', 'true ', 30,' force = true')

Or, you can completely remove > shutdown('soa_ms1','Server','true','force=true')

[/ END EDIT]

Kind regards

White

Tags: Fusion Middleware

Similar Questions

  • Error at startup of the managed server.

    Hello

    WebLogic Version: 10.3.6.

    I got the error while I tried to start my server managed below.

    I followed the link starting/Stoping Weblogic Server managed - weblogicexpert to launch my managed server.

    I handed my AdminServer username and password. I try to start my MS1 managed server.

    Error LOG:

    weblogic.security.SecurityInitializationException: authentication of user weblogic denied

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:966)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)

    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)

    at weblogic.security.SecurityService.start(SecurityService.java:141)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Caused by: javax.security.auth.login.FailedLoginException: [Security: 090303] authentication failed: user weblogic weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security: 090295] caught unexpected exception

    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)

    to com.bea.common.security.internal.service.LoginModuleWrapper$ 1.run(LoginModuleWrapper.java:110)

    at java.security.AccessController.doPrivileged (Native Method)

    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)

    to javax.security.auth.login.LoginContext.access$ 000 (LoginContext.java:186)

    to javax.security.auth.login.LoginContext$ 4.run(LoginContext.java:683)

    at java.security.AccessController.doPrivileged (Native Method)

    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)

    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)

    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:113)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (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)

    to com.bea.common.security.internal.utils.Delegator$ ProxyInvocationHandler.invoke (Delegator.java:57)

    to $Proxy16.login (Unknown Source)

    to weblogic.security.service.internal.WLSJAASLoginServiceImpl$ ServiceImpl.login (WLSJAASLoginServiceImpl.java:89)

    at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:82)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (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)

    to com.bea.common.security.internal.utils.Delegator$ ProxyInvocationHandler.invoke (Delegator.java:57)

    to $Proxy34.authenticate (Unknown Source)

    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40)

    at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:338)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:930)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)

    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)

    at weblogic.security.SecurityService.start(SecurityService.java:141)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Kind regards

    Prasad K T,.

    Noemanager use the in-house startup script, it may be the other way around.

    Server management starts with the script but fails with NM.

    It is strange that NM is able to start the managed server, but the script will fail.

    Please check the format:

    startManagedWebLogic.cmd ts: / /:

  • How to run the managed server weblogic as windows service

    Hello friends,

    I want a guide step by step to run the managed server and the application via the windows service.

    I am able to create admin server as a windows service. I tried a lot of managed server, but not luck.

    Please help me to solve it.

    Hello

    Here am attached the script to create a windows service for p6 service I used for my management environment.

    SETLOCAL

    Set DomainName = P6EPPM

    Set USERDOMAIN_HOME = C:\Oracle\Middleware\user_projects\domains\P6EPPM

    Define SERVER_NAME = P6

    Set PRODUCTION_MODE = true

    Set ADMIN_URL =http://p6eppmdev:7001

    CD % USERDOMAIN_HOME %

    call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd

    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd".

    ENDLOCAL

    I hope it will work for you.

    Try this and updated the forum.

    Concerning

    Kumar

  • Increase the limits of descriptor file on the managed server

    Hello
    We have a Server Admin that handles a managed server.

    We need to increase the managed server file descriptor limits.

    We modified the script commEnv.sh on the administration server and we have successfully passed to 65 536 the limit. Here is the log from the boot of the server administrator

    # < 25 sep 2013 11:04:18 CEST > < Info > < Socket > < lv01469 > < AdminServer > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1380099858592 > < BEA-000416 > < effective help file descriptor limit of: 65 536 open files and sockets. >

    How can we do the same thing on the managed server. We tried to change the same script (commEnv.sh) on the managed server, but the limits of file descriptor is always of 1024.

    # < 25 sep 2013 11:23:30 CEST > < Info > < Socket > < lv01470 > < 119LIVE_01 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1380101010988 > < BEA-000415 > <system has file descriptor limits-soft: 1 024, hard : 1 024>

    # < 25 sep 2013 11:23:30 CEST > < Info > < Socket > < lv01470 > < 119LIVE_01 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1380101010989 > < BEA-000416 > <effective help file descriptor limit of: 1 024 open files/Sockets. >

    Thanks in advance

    Solved.

    It has been necessary restart Node Manager change after the commEnv.sh.

  • Performance parameters to validate the performance of the managed server

    Hello

    We have 5 servers managed in weblogic domain, each managed servers on different unix box, we will decommission one of the managed server.

    Now the question is how, how we measure the impact on performance, load etc. of the managed servers. Once we have removed from service in 1 server load is managed by 4 servers now. How can we better measure the results here.


    Your advice and help is very appreciated.

    Thank you

    WLDF is designed with the use of production in mind. Performance will impact, of course, depends on how much and how often it will collect data. As a general rule, you pay only for the active components of WLDF. So, you can configure it in the production environment and allow him progressively according to the needs.

  • Using the lens of departure-WLS server to start the managed server

    It is possible to start the managed server using start-server using maven plugin WLS goal?

    Documentation indicates the default value that is an administrator of the server. I tried with the next block in the pom file, but it does not recognize the command given here.

    implementation of <>

    < id > start-osb / < ID >

    pre-integration-test < phase > < / phase >

    < objectives >

    < target > start-server < / target >

    < / objectives >

    < configuration >

    < domainHome > givenpath < / domainHome >

    < command >

    osb_server1 startManagedWeblogic.cmd < param > < / param >

    < / order >

    < / configuration >

    < / run >

    Thank you

    Siva

    Hi Robert,.

    When I try to use the pom file, I get the following error. For this reason, I used the command syntax and parameters as displayed above. Even after this change, it does not start the managed server.

    [org.codehaus.plexus.component.configurator.ComponentConfigurationException: cannot assign configuration 'command' with the value entry ' ${domainHome}\bin\startManagedWeblogic.cmd osb_server1 ${adminUrl} "type java.lang.String to property of type java.lang.String]

  • Can you start and stop the glassfish server in JDeveloper 12 c and how?

    Mr President.

    Can you start and stop the glassfish server in JDeveloper 12 c and how?

    Concerning

    have you looked at

    http://www.Java-n-me.com/2014/02/GlassFish-extension-for-JDeveloper-12C-go-live.html

  • Cannot start the managed server - Urgent

    I created a Domain Admin Server (7044) and I am able to connect to the server. User later asked to create the cluster, so I created the new server (WSMS1 - 8044) and the new Cluster. For the Cluster I have given the port (7044) the admin and I targeted the data source exist also, but at present I'm not able to start the managed server using the following command in putty - «./startManagedWeblogic.sh WSMS1 http://localhost:8044".» For your information, there is another area (created by any other person) have the same configuration and it works very well.

    Help, please.

    For starting Managed Server use the below command

    ./startManagedWebLogic.shmanaged_server_nameadmin_url(UNIX)

    In your case

    ./startManagedWeblogic.sh WSMS1 http://localhost:7044 /

    Better to use the Ip address of the local host instead of typing of server

  • Cannot start the managed server - unable to get the property of the transaction log.

    I have a server that is managed in a cluster to a single member. The field is simple - server admin and a cluster, the cluster member.

    I can boot is no longer this server. When I try to start, he left after the following message:

    < BEA-000362 > < server failed. Reason: Failed to get the property of the transaction log. Make sure that the migratable Transaction Recovery Service is migrated on the current server before restarting.

    I've checked everything I can think or offers documentation of the error. There is only one target migratable in the field, the managed server. automatic migration is not enabled. I deleted the store by default from the file system, and it gets recreated at startup (so not a problem of permission of system files). I have Activate Server registration to any Transaction scope weblogic debug debugging tab, no additional messages are coming around this message.

    Target only shows migratable are hosted on the managed server and not the last migration status.

    So I'm puzzled. Can anyone suggest what I should look at?

    WebLogic 10.3.5, JDK 1.6.0_29 (64-bit), RHEL 5.6

    Published by: SteveElkind on August 28, 2012 11:54

    Hi Steve,.

    Then remove the cluster migratable option, it will sort your problem.

    Kind regards
    Kal

  • Logging.XML file resets after you restart the managed server

    Hi all

    I modified the logging.xml file because I implemented a Logger.But ADF custom after you restart the server, SOA, logging.xml file get automatically back to the unmodified state, all this means that I modified was not.

    Am I missing something?

    Please suggest!
    Kind regards
    Shah

    Hi Shah
    In the EPS group, usually there is a set of Configuration files are synchronized to all of AdminServer breaks the run. A simple example is like file config.xml and some files of data sources, files, ldap, etc. Whenever we reboot the Soa or bam managed servers, they go to AdminServer and obtain a copy of these files. So, if you make any changes directly on the managed server computers, then can be is getting crushed when you restart the servers. Check the timestamp of all these files. Make the changes on the side means Admin on the machine where you have AdminServer running. If all goes well, soa/bam should get these files at startup.

    Thank you
    Ravi Jegga

  • JVM is shared on the managed server

    Hi guys,.

    I have a fundamental question regarding the use of the JAVA virtual machine weblogic clustered.

    I have configured the cluster environment in a single Weblogic domain with 2 server managed in one box.

    In this case, the managed server 2 will share the same JVM or each managed server will have its own JVM?


    Concerning
    Suresh.

    Hi Suresh,

    Each WLS server is a Java program... and he works on it's own JVM. That's why we have an option to assign different parameters heap and JVM tuning for WLS distinct cases, even if they are on the same physical machine or remotely.

    But this does not mean that you need to install JDK twice in your box for each managed server. Managed servers can use the same JAVA_HOME.
    .
    .
    Thank you
    Jay SenSharma
    http://WebLogic-wonders.com/ (wonders are here)

  • Deploy the domain on the managed server

    version: 10g WLS

    Scenario:
    1 Admin Server and 2 Managed Server in a clustered environment.

    Given that the field is configured on the management server. Are there additional measures for deployment of the field on managed servers or will
    This is done automatically? Previously on v9.2 we made two ways

    1 copy the directory of the domain on each managed server, I don't think that it is a method of support for the deployment.
    2. using pack and unpack commands where you get a managed server template.

    I want just the domain to be recognized and executed on each of the servers managed in the fastest way possible.

    Thank you

    Read this...

    http://e-docs.BEA.com/common/docs100/Pack/commands.html

  • How to configure WebLogic Admin Server and the managed server

    Hello

    I work to configure a Weblogic admin and the managed server, but fail.
    Can I know the correct steps for the installation system?


    TX.

    Good. It might be a good idea to mark this question as answered, then.

  • WLST Script to create the domain weblogic for IOM and OAM

    Hello

    I intend to set up PS3 IOM - OAM in the new environment. We intend to perform the installation in silent mode. Does anyone have example WLST to create the domain weblogic for IOM or OAM?

    Thank you

    Here is an example of OUD. I post this one since it's the simplest and shortest, but it is the same for OAM and IOM except that the script is much longer because they ask a lot more questions. You will need to export the variables used or replace them with the appropriate values for your system.

    wait-<>

    the value of timeout 600

    spawn ${OUD_BASE}/${WLS_NAME}/common/bin/config.sh mode = console

    # Create a WebLogic domain

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # Choose the components of the Weblogic Platform

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # | ___Oracle directory Services Manager - 11.1.2.3.0 [Oracle_OUD1] [3]

    wait {}

    {"Enter number exactly as it appears in the media *" {send "3\n"}}

    wait {}

    {"Enter number exactly as it appears in the media *" {send "n"}}

    # Change the domain information

    wait {}

    "" Enter the value of * "{send" ${OUD_DOMAIN_NAME} \n "}}"

    wait {}

    {"Enter the number of the option to select GOLD *" {send "n\n"}}

    # Select the target area for this domain directory

    wait {}

    {'Enter' new target location GOLD * {send "${OUD_BASE} / user_projects/domains\n"}}

    wait {}

    {'Enter' new target location GOLD * {send "n\n"}}

    # Configure password and username administrator

    wait {}

    {"Enter the number of the option to select GOLD *" {send "2\n"}}

    wait {}

    "" Enter new * "{send" ${WLS_PASS} \n "}}"

    wait {}

    {"Enter the number of the option to select GOLD *" {send "3\n"}}

    wait {}

    "" Enter new * "{send" ${WLS_PASS} \n "}}"

    wait {}

    {"Enter the number of the option to select GOLD *" {send "n\n"}}

    # Configuration mode field-> 1 | Development mode

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # Java SDK selection

    wait {}

    {"Enter the index number to select GOLD *" {send "2\n"}}

    wait {}

    {'Enter' new JVM Directory GOLD * {send "${JAVA_HOME} \n"}}

    wait {}

    {'Enter' new JVM Directory GOLD * {send "n\n"}}

    # Select Optional Configuration

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    wait {}

    {"Enter the index number to select GOLD *" {send "n"}}

    # Configure the Administration Server

    # Change "Listen port.

    wait {}

    {"Enter the number of the option to select GOLD *" {send "3\n"}}

    wait {}

    "" Enter the value of * "{send" ${ODSM_PORT} \n "}}"

    # Change 'SSL enabled.

    wait {}

    {"Enter the number of the option to select GOLD *" {send "4\n"}}

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # Change 'SSL listening Port.

    wait {}

    {"Enter the number of the option to select GOLD *" {send "4\n"}}

    wait {}

    "" Enter the value of * "{send" ${ODSM_SPORT} \n "}}"

    # Then

    wait {}

    {"Enter the number of the option to select GOLD *" {send "n\n"}}

    # wait for install

    wait {}

    {"Successfully created * field *" {send "\n"}}

    EXPRESSIONS OF FOLKLORE

  • Stop the activation server has now affected ADE?

    In 2012, Windows PC, I used ADE and served it to the absolute perfection. I was able to borrow books from my local public library. Each would download a file small .acsm (Adobe Content Server Message). I could then use ADE to get real eBooks targeted by these pointer files. They would load properly in my shelf "borrowed". From there, I could either read that the or I could easily transfer them to my Nook eReader. All of the system have worked perfectly. It was probably ADE 1.0 version I used, if its properties he showed as a version of file '9.0.1131.27 '.

    Then, I bought the retail of books for two or three years and arrested with the help of ADE.

    Now, I would return to my practice of borrowing of e-books from the public library. But now the system is irretrievably broken, and I suspect that the judgment of the activation server spoke in the thread of the forum here to the Server Activation stop for Creative Suite 2, Acrobat 7 and Macromedia products touch me, even if ADE is not among the titles listed as being affected by this judgment of 2013. I think that since my previous activation goes back 2012 I am out of luck. I download and install the latest, ADE 4.0.3, .and forcing the removal of the current authorization by deleting the key "Fan" of my system registry, which is the only way I can manage to remove the old authorization for some reason any. (Otherwise he repeatedly says "cannot delete permission, try again later"). I have to delete the permission because I get this message "Error, check activation" otherwise continually danged. Then I go and try to authorize again using my Adobe ID and the password is valid. But he says constantly, "connection error - could not connect to the activation server - check you the Internetconnection. Well, my Internet connection is fine and dandy. Could block my ISP (Suddenlink) the activation server? I sincerely doubt it! So tell me this server IP and I'll try this rattling and see what happens.

    If the system I once used to borrow books from a public library will no longer work. It is an insult to the collective human psyche! I realize account that ADE is free for free but public library borrowing is a sacred mission, so to speak.

    Even if I go back to my old 1.0 ADE it no longer works right. I was able to load eight books to my library ADE and subsequently transferred on my eReader Nook (hallelujah), but I borrowed 10. Try to load the last two again caused a balk on the connection to the activation server. Said, the error message "error License - Server communication problem: E_ADEPT_REQUEST_EXPIRED. That sounds the death knell for the road for eBook public loan for me. It's not fair!

    In the 2013 thread I quoted above, he says that the activation server had to be closed because of a "technical problem." I firmly believe that Adobe should be magnanimous and bring a solution to this nightmare scenario. After all, Adobe provides the only way to get books from the public library on my Nook. Of course, I can still read eBooks in the browser on my PC, but I can't take to bed with me. Even the tablets are a little too heavy for 'curling upwards with a beautiful mystery.

    Get my point?

    ADE is not and has never used the same activation servers that used other products Adobe which was closed. ADE 4.0 will allow you to authorize with an Adobe ID or a vendor code that you can select with a menu drop-down:

    How long did you take to download eBooks after recovering the CMHA storefront of your library files? E_ADEPT_REQUEST_EXPIRED is usually received after a CMHA file expires after a period of time designated by the library. It can also be caused by minute your computer not synchronized with the time server Microsoft.

Maybe you are looking for