Clustered enviroments -Starting/Stopping Managed servers, NodeManager & Admin server from single node

Hi,
We have 5 node Weblogic cluster. At the time of some mass activities like patching we have to stop all our managed, Admin Servers and node manager and it takes a lot of time to do this by logging in to all 5 managed servers and stopping all components. Though we have node manager configured so we can stop managed servers from console itself, but still have to login to each server to stop NodeManager and Oracle Http Servers.
Things become worse when wee have to shutdown almost 15-20 instances.
Is there a way (using wlst or shell script) that we can do all these tasks from by logging in to just one server?
Thanks,
Suraj

The simple code below would shutdown all the running Servers. Some of the APIs for ex MBeanHome are deprecated..still work though..if your concerned about that..I am working on the same using JMX API..if you want I could share that too. And also as described in the below link..you can Cluster stop and start using WLST commands.  Managing the Server Life Cycle - 12c Release 1 (12.1.1)
<This code is from Oracle Weblogic documentation>
import java.util.Set;
import java.util.Iterator;
import java.rmi.RemoteException;
import javax.naming.Context;
import javax.management.ObjectName;
import java.io.*;
import java.net.*;
import weblogic.jndi.Environment;
import weblogic.management.MBeanHome;
import weblogic.management.WebLogicMBean;
import weblogic.management.configuration.ServerMBean;
import weblogic.management.runtime.ServerRuntimeMBean;
import weblogic.management.runtime.ServerStates;
import weblogic.management.WebLogicObjectName;
public class ServerStopper {
  public static void stop() throws Exception {
    MBeanHome home = null;
    //url of the Admin server
    String url = "t3://localhost:7001";
    String username = "weblogic";
    String password = "welcome1";
    ServerRuntimeMBean serverRuntime = null;
    Set mbeanSet = null;
    Iterator mbeanIterator = null;
    try {
      // Set ContextClassloader to prevent assertions
      URL[] urls = { new File("/").toURL() };
      Thread.currentThread().setContextClassLoader(new
         URLClassLoader(urls));
      Environment env = new Environment();
      env.setProviderUrl(url);
      env.setSecurityPrincipal(username);
      env.setSecurityCredentials(password);
      Context ctx = env.getInitialContext();
      home = (MBeanHome)
           ctx.lookup("weblogic.management.adminhome");
      mbeanSet = home.getMBeansByType("ServerRuntime");
      mbeanIterator = mbeanSet.iterator();
      while(mbeanIterator.hasNext()) {
        serverRuntime = (ServerRuntimeMBean)mbeanIterator.next();
        if(serverRuntime.getState().equals(ServerStates.RUNNING)){
            serverRuntime.shutdown();
    } catch (Exception e) {
      e.printStackTrace();

Similar Messages

  • Scripts for starting/stopping managed servers

    All,
    Could someone provide me with some sample scripts for starting/stopping managed Weblogic servers?  I'm specifically looking for ways to start/stop them WITHOUT starting the AdminServer.  I'm running WLS 10.3.6 on Windows Server 2003, and I have NodeManager set to start automatically as a Windows service.
    I know how to set my managed servers up as Windows services so that they will start automatically at boot, but this requires the AdminServer to be running, which I do not want.  I just want a few scripts for starting/stopping the managed servers (and maybe some hints as to how to make them start automatically without starting the AdminServer).
    Thanks in advance,
    Tom

    Hello Puneet,
    Admin console is an web application deployed into AdminServer. Hence if you shutdown AdminServer then you wouldn't able to access Admin console.
    Managed Server would function in MSI mode, however you will not be able to make any configuration or administration activities like deployment , any configuration changes , etc.
    Hello PRISM,
    Can you confirm your requirement about why you don't want AdminServer to be running?
    As I said,  you will loose the administration capability if you don't have admin server running.
    Regards
    Rosario

  • Starting Managed Servers without admin Server

    dear All
    i have a Weblogic Server contains the following
    Admin Server
    LoadBalancer Server
    Cluster Contains Server1 & Server2
    and every thing is fine, but i have the following problem : while starting any Node from Cluster or LoadBalancer Server using startManagedWebLogic.cmd without starting up admin server, i am getting the following error in my log
    Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-00056: Failed to create identity store service instance idstore.ldap.provider:idstore.ldap. Reason: weblogic.security.service.SecurityServiceRuntimeException: Invalid host or port for admin server..     at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getIdStoreConfig(LdapIdentityStoreProvider.java:195)
         at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.access$300(LdapIdentityStoreProvider.java:70)
         at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider$NoLibOvd.getInstance(LdapIdentityStoreProvider.java:242)
         at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:114)
         at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:70)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:798)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:792)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:792)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:289)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:283)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:261)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1339)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1020)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:879)
         at weblogic.security.SecurityService.start(SecurityService.java:142)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    Isn't this exactly what the admin service is used for?
    I think you need to start the admin server before starting the other servers.
    Timo

  • Monitoring Managed servers if Admin server is unavailable in Weblogic

    Is it possible to find managed servers state ( example: RUNNING, FAILED, UNKNOWN etc..) if Admin server is unavailable( may be down) in Weblogic.
    We can search the state of managed server using keywords in managed server logs. But we don't want to do that.
    Is there any other way to find the managed servers state.
    Thanks,
    Venkat

    WLST and connecting to managed servers is one option.
    Another one is using a RESTful approach: the one that comes with WLS12c in centrally located on the admin server and therefore not really helpful in your case
    You might try OpenSource Jolokia ( Overview ) which is a nifty little tool.
    Some more infos about Jolokia and WebLogic:
    RESTful WebLogic Monitoring of Servers, Applications, JDBC and JMS with Jolokia — munz & more
    best regards!

  • Unable to start the Managed servers OIM and SOA after starting the Weblogic

    Hi,
    We are unable to start the any manager servers after starting the weblogic Admin Server.
    We are getting the below error after trying to start the OIM or SOA managed servers.
    Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 5555; nested exception is:
         java.net.BindException: Address already in use
    We have also cross verified that the port 5555 is listening after starting the weblogic Admin server.
    Please help us to start the managed servers in the weblogic 10.3.5.
    Thanks.

    We are getting the below errors after starting the Admin server and Managed servers.
    Admin Server:
    <Jan 11, 2012 7:15:06 AM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Jan 11, 2012 7:16:02 AM EST> <Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initialized correctly.>
    Managed Server:
    Starting WLS with line:
    /opt/jdk1.6.0_27/bin/java -client -Xms1024m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=1024m -Dweblogic.Name=oim_server1 -Djava.security.policy=/ama/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.security.SSL.trustedCAKeyStore=/ama/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -Xverify:none -da -Dplatform.home=/ama/Oracle/Middleware/wlserver_10.3 -Dwls.home=/ama/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/ama/Oracle/Middleware/wlserver_10.3/server -Dcommon.components.home=/ama/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/ama/Oracle/Middleware/user_projects/domains/base_domain -Djrockit.optfile=/ama/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/ama/Oracle/Middleware/user_projects/domains/base_domain/config/fmwconfig/servers/oim_server1 -Doracle.domain.config.dir=/ama/Oracle/Middleware/user_projects/domains/base_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/ama/Oracle/Middleware/user_projects/domains/base_domain/config/fmwconfig/carml -Digf.arisidstack.home=/ama/Oracle/Middleware/user_projects/domains/base_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/ama/Oracle/Middleware/user_projects/domains/base_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/ama/Oracle/Middleware/user_projects/domains/base_domain/servers/oim_server1/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/ama/Oracle/Middleware/Oracle_IDM1/server/loginmodule/wls,/ama/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/ama/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol -Dweblogic.jdbc.remoteEnabled=false -DXL.HomeDir=/ama/Oracle/Middleware/Oracle_IDM1/server -Djava.security.auth.login.config=/ama/Oracle/Middleware/Oracle_IDM1/server/config/authwl.conf -Dorg.owasp.esapi.resources=/ama/Oracle/Middleware/Oracle_IDM1/server/apps/oim.ear/APP-INF/classes -da:org.apache.xmlbeans... -Dsoa.archives.dir=/ama/Oracle/Middleware/Oracle_SOA1/soa -Dsoa.oracle.home=/ama/Oracle/Middleware/Oracle_SOA1 -Dsoa.instance.home=/ama/Oracle/Middleware/user_projects/domains/base_domain -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=/ama/Oracle/Middleware/wlserver_10.3/server/lib/DemoTrust.jks -Dem.oracle.home=/ama/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Dums.oracle.home=/ama/Oracle/Middleware/Oracle_SOA1 -Dweblogic.management.discover=false -Dweblogic.management.server=http://127.0.0.1:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/ama/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/ama/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
    Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 5555; nested exception is:
         java.net.BindException: Address already in use
    We have to find out why the port 5555 is in listening mode after starting the Admin server.

  • Start managed servers via admin console

    Hello,
    I have installed weblogic server, created a domain, added a managed server. All working fine. Now I want to be able to start managed server through admin console.
    According to this documentation (http://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/confignodemgr.html), it should all be pre-configured for development environment. But when i try start the managed server in admin console, it says "server does not have a machine associated with it." I added a machine and assigned that machine to the managed server, now it says "the Node Manager associated with machine m1 is not reachable.".
    Can someone point to instructions on how to setup this on dev environment. In one of the instructions, it is suggested to change nodemanager.properties in common\nodemanager folder. But this file doesn't exist in my environment.
    All i want is to start all admin and managed server with one script or with start the admin server and able to start the managed servers via console.
    Thanks,

    Hi,
    Check from the console whether your node manager is reachable or not.
    Console Path:
    Machines -> <YOUR_MACHINE_NAME> -> Monitoring (tab) -> Node Manager Status (sub-tab) -> Status: Reachable
    You Can follow the below link for "Node manager not reachable"
    http://middlewaremagic.com/weblogic/?p=5205
    Once done,check the status of the node manager.
    Still even after this if the node manager is not reachable
    Check the node manager logs,whether you get any exceptions
    location $weblogic_home\wlserver_10.3\common\nodemanager\nodemanger.log
    You can take help of the below link for trouble shooting the basic node manager exceptions.
    http://middlewaremagic.com/weblogic/?p=2887
    Or You can even paste the error's on this post itself,we will guide you .
    Regards
    FAbian

  • Automatically starting of Managed Servers

    Hi, is it possible to start the managed servers without the use of WLST and the admin console automatically?
    I want to make it such that when the Admin Server starts up, a service will run and automatically start the managed servers at a different host via the node manager?
    Is it even possible? Please advise! Thanks!

    Node Manager uses WLST so I'm not sure how else you would plan on using it?
    Node Manager can start your machines in the last known state they were in on reboot using CrashRecoveryEnabled=true:
    http://blogs.oracle.com/jamesbayer/2010/01/weblogic_nodemanager_quick_sta.html
    Another option is to use the startup/services feature of your OS as Jay described. On *nix you could remotely login to another host and invoke the domain's bin/startManagedWebLogic script directly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • General enquiry regarding starting the managed servers in weblogic

    Hi,
    Is there any sequence do we need to follow while bringing up the managed server? like in our set up we do have SOA,OSB & BAM managed servers.
    So during maintainance activities, we have to start in sequence like SOA(managed server1),OSB(managed server 2) then BAM(managed server3).
    In case if we change the above mentioned order the servers are not coming up.
    So, we would like to know what might be cause & is there a sequence do we need to go thru to start the servers? if Yes, please give us the justification.
    Thanks,
    Sudhir.

    In order to diagnostic the problem, you should post the error you're getting when trying to start the managed servers on a different order. Also, which mservers exactly are causing you problems?
    Regards,
    Franco.

  • Need to write start up scrits for weblogic admin server on Linux

    Hi,
    I am new to weblogic i have Installed wls1035 on Linux Created Managed servers,but i want write start up and stop scripts for weblogic admin server please let me know how to write.
    My weblogic server is Running on Linux..please help me its very urgent for me.....

    Put something like this into a startAll.py file (excluding the ---):
    startNodeManager(verbose='false',NodeManagerHome=localWlsHome + '/common/nodemanager',ListenPort=5556,ListenAddress=localhost)
    nmConnect('weblogic','password','localhost','5556','domain_name')
    nmStart('AdminServer','/path-to-domain-dir')     
    nmStart('my_server_1','/path-to-domain-dir')     
    nmStart('my_server_2','/path-to-domain-dir')     
    nmDisconnect()
    exit()
    source /path-to-domain-dir/bin/setDomainEnv.sh
    $JAVA_HOME/bin/java weblogic.WLST startAll.py
    Similar for stop (stopAll.py):
    nmConnect('weblogic','password','localhost','5556','domain_name')
    nmKill('my_server_1')     
    nmKill('my_server_2')     
    nmKill('AdminServer')
    stopNodeManager()
    exit()
    source /path-to-domain-dir/bin/setDomainEnv.sh
    $JAVA_HOME/bin/java weblogic.WLST stopAll.py
    You might have issues with the Nodemanager having an autogenerated username and password. That can be fixed like this:
    In the AdminServer console, click on Lock & Edit
    In the AdminServer console, go to <domain> -> Security -> General -> Advanced and update the Node Manager username and password to use the same values as the WebLogic server.
    In the AdminServer console, apply the changes.
    Start WLST: $WL_HOME/common/bin/wlst.sh
    Connect to the AdminServer: connect('weblogic','password','t3://<adminserver-hostname>:<adminserver-port>')
    Enroll: nmEnroll('/path-to-domain-dir')
    Exit WLST: CTRL^D
    You might also look into customizing the nodemanager's property file:
    Edit $WL_HOME/common/nodemanager/nodemanager.properties
    StopScriptEnabled=true
    CrashRecoveryEnabled=true
    StartScriptEnabled=true
    For further reading, please take a look at: http://docs.oracle.com/cd/E15051_01/wls/docs103/config_scripting/reference.html
    Edited by: 925121 on Apr 3, 2012 2:16 AM

  • Start / Stop your xMII 11.5 Server with a Widget !

    <b><a href="/people/abesh.bhattacharjee/blog/2007/04/23/start-stop-your-xmii-115-server-with-a-widget">Start / Stop your xMII 11.5 Server with a Widget !</a></b>
    Download it <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/b05124b1-70d4-2910-99b7-ab6626d31aac [original link is broken]">here</a>...

    Hi Tim,
    try to open the Java Web Start program (should be in C:\Program Files\Java\j2re1.4.2_07\javaws\javaws.exe), go to File > Preferences and under the 'Proxies' section in the  'General' tab, select 'None'.
    Then close all open browser windows and try again...
    Note that disabling proxy servers in the Java Web Start tool will not affect normal Java Applets, which are handled by the Java browser plugin which comes with its own proxy configuration screen. If you company uses a proxy between its LAN and the net, the above setting will stop your uses from running any Java Web Start applications, such as BLE, but  not very many people use these anyways, so the impact should be minimal.
    Good luck,
    Sascha
    P.S. If your users also have the JDK, then the javaws.exe binary is also found in C:\j2sdk1.4.2_07\jre\javaws.
    Message was edited by:
            Sascha Wenninger

  • How to access JNDI tree of Admin Server from Managed Server

    Hello,
    I created Managed and Admin Server for Domain.
    On Managed Server I use:
    InitialContext con = new InitialContext()
    It points to Managed Server local JNDI tree and
    Managed Server can't find JNDI tree of Admin Server.
    Looks like Managed Server is regular remote client of Admin Server.
    How to access JNDI tree of Admin Server from Managed Server?
    Thanks.
    Oleg.

    Hello,
    I created Managed and Admin Server for Domain.
    On Managed Server I use:
    InitialContext con = new InitialContext()
    It points to Managed Server local JNDI tree and
    Managed Server can't find JNDI tree of Admin Server.
    Looks like Managed Server is regular remote client of Admin Server.
    How to access JNDI tree of Admin Server from Managed Server?
    Thanks.
    Oleg.

  • Error while shutting down 'Admin Server' from administration console

    hi,
    When I try to shutdown admin server from administration console(Weblogic server>Control>Shut Down...) I get this error:
    No Machine associated with server AdminServer. Please associate a machine to this weblogic server using weblogic console first.
    Not able to understand what this means....
    thanks

    Read up on Node Manager - a outside-of-WLS-process that can start/stop WebLogic on your OS instance. Node Manager uses the "machine" concept.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e13740/overview.htm
    http://blogs.oracle.com/jamesbayer/2010/01/weblogic_nodemanager_quick_sta.html

  • Unable to connect to Admin Server from second machine using WLST

    Hello,
    PROBLEM
    Can't get WLST to connect to admin server from 2nd host to register the domain.
    SETUP
    I have 2 Centos VMs running on Oracle Virtual box in a single laptop. Both the VMs use "Bridged Networking".
    VM-1 CONFIG
    cat /etc/hosts
    192.168.1.17
    dom1 dom1.my mac1
    192.168.1.51
    centos2 mac2
    VM-1 hosts admin server & one managed server
    VM-2 CONFIG
    192.168.1.51
    mac2
    192.168.1.17
    centos1 mac1
    VM-2 hosts just one managed server
    I can start up admin on VM-1 fine. The node manager is reachable too. Both the VMs are can be pinged from each other. I can also telnet to the admin server's port ( telnet 192.168.1.17 7001) from the second server.
    My HOST OS is Windows 7. I can ping from windows to both the VM IPs too. The reverse is working fine as well.
    I've tried both mechanisms of copying the whole domain from machine 1 over to machine2 & also using the pack.sh/unpack.sh combinations to transfer the domains.
    When I invoke WLST, this is what happens
    ./wlst.sh
    CLASSPATH=/apps/prod/appservers/weblogic/wls_10_3_6/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/apps/prod/appservers/weblogic/wls_10_3_6/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/lib/tools.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic_sp.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/features/weblogic.server.modules_10.3.6.0.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/webservices.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/apps/prod/appservers/weblogic/wls_10_3_6/utils/config/10.3/config-launch.jar::/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbynet.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbyclient.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbytools.jar::
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> connect('weblogic','weblogic123','t3://192.168.1.17:7001')
    Connecting to t3://192.168.1.17:7001 with userid weblogic ...
    Traceback (innermost last):
      File "<console>", line 1, in ?
      File "<iostream>", line 22, in connect
      File "<iostream>", line 648, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error connecting to the server : Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    Use dumpStack() to view the full stacktrace
    wls:/offline> dumpStack()
    This Exception occurred at Fri Oct 11 17:11:07 NZDT 2013.
    java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    wls:/offline>
    Also, I can't invoke weblogic.Admin from the second VM despite setting the environment using "setWLSEnv.sh". i get the error "Error: Could not find or load main class weblogic.Admin".
    Please could you help me fix this? I've spent 3 days now trying numerous things without much luck :-(
    Kind Regards

    Hi Raj,
    Issue is with NM registry with domain home. Please follow the below steps and let us know the status.
    1 . Check whether the node manager port ( default 5556 ) is opened for communication on both Admin and Managed server.
    2 . After opening the port - We would need to enroll the node manager home with domain home to establish the communication between Admin and Managed server.
       a .  Start the Administration Server.
       b .  Using the Administration Console update the Node Manager credentials from the Advanced options under domain_nameArrow symbolSecurityArrow symbolGeneral.
       c .  Invoke WLST and connect to an Administration Server using the connect command. See Using the WebLogic Scripting Tool in WebLogic Scripting Tool.
       d .  Run nmEnroll using the following syntax:
            nmEnroll([domainDir], [nmHome])
    Running nmEnroll() ensures that the correct Node Manager user and password token are supplied to each Managed Server. Once these are available for each Managed Server, you can use nmConnect() in a production environment.
    Note:     You must run nmEnroll() on each machine that is running a Managed Server. Additionally, you should run nmEnroll() for each domain directory on each machine.
    For more info : General Node Manager Configuration
    Thanks
    Lakshman

  • Node manager or the Admin server - which one to start first?

    Hi Experts,
    Somewhere i see its this way.
    OBIEE 11.1.1.6 | OBIEE
    To start the Oracle Business Intelligence system, you start:
    the Node Manager(It is by default windows service in Enterprise Installation of OBIEE 11G)
    the Administration Server (It is weblogic Admin Server)
    the Managed Servers(Comes with Enterprise Installation of OBIEE 11G)
    and then you start the system components.(All OBIEE Components : BI Server,Presentation Server,Schedular,Java Host,Cluster Services.
    and at other places i see this...
    OBIEE 11G - Starting Oracle Business Intelligence | GerardNico.com (BI, OBIEE, OWB, DataWarehouse)
    To start the Oracle Business Intelligence system, you start:
    the Administration Server
    the Node Manager
    the Managed Servers,
    and then you start the system components.
    I have Linux environment and it has just single BI Server and i go like this.
    1) startWeblogic.sh script
    2) startNodeManager.sh
    3) startManagedWeblogic.sh
    4) then system components.
    Thanks
    Ashish

    so the way i am starting OBIEE Services currently is basically wrong ie..
    1) startWeblogic.sh script
    2) startNodeManager.sh
    3) startManagedWeblogic.sh
    4) then system components.
    ( by the way everything  comes up perfect even if i start the nodemanager after the startWeblogic.sh script)
    and i should do it this way..
    1)startNodeManager.sh
    2)startWeblogic.sh script
    3)startManagedWeblogic.sh
    4) then system components.
    Kindly confirm...

  • Empty initial replica exception while starting up managed servers

    Hi,
    I am doing what should be a fairly straight forward installtion/configuration of the weblogic portal 10.3.2.
    I have installed the portal, created a new domain with one admin server and two managed servers in it. I also have a cluster on which I have both my managed servers and finally I have a machine on which I have all the 3 of my servers.
    I am able to successfully startup the nodemanager and then the admin server. But when I try to start up the managed servers from the admin console, I get this exception -
    ####<Feb 11, 2011 12:39:37 PM IST> <Critical> <WebLogicServer> <XXXXXXXX> <new_ManagedServer_1> <Main Thread> <<WLS Kernel>> <> <> <1297408177691> <BEA-000386> <Server subsystem failed. Reason: weblogic.ldap.EmbeddedLDAPException: Empty initial replica
    weblogic.ldap.EmbeddedLDAPException: Empty initial replica
         at weblogic.ldap.EmbeddedLDAP.getInitialReplicaFromAdminServer(EmbeddedLDAP.java:1301)
         at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:221)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any idea what could be the reason for this?
    Regards,
    Kunal
    Edited by: kunal. on Feb 11, 2011 1:34 AM

    Hi,
    anybody got any solution to this?
    Regards,
    Kunal

Maybe you are looking for

  • Open and close the chart

    Hi All, I am developing a dashboard that has drill down. Below is the scenario. Clicking on a push button should open a chart 1 with a a close button and hide chart 1 and clicking on chart 2 should open chart 3 with close button and hide chart 2 with

  • How to schedule a job in SM36

    Hello, With SAP R/3 4.6C on windows/oracle, I have 2 dependents jobs. The first one must run in the afternoon and will be schedule by a user and the second one must run during the night only if job 1 had been run by user. Is it possible to do that wi

  • I have upgraded my Itunes to a Windows 8 Computer but now movies will not upload to my video ipod

    Hi, Firstly thanks for clicking on to read this!! I have been using an oldish computer for years for my Itunes, and having just purchased a Samsung touch screen computer with Windows 8 I have transfered all my Itunes over to the new computer. All the

  • AIR iOS hard crashes: wakeup - Observed 503/sec over 300 secs

    Hi, for a project I had to download a file with around 3GB. So I decided to write a chunk based download controller, which easily does the following: - open an URLStream - Load the file by URLRequest - Wait for the progress events and check, that we

  • My MBP just crashed and will not restart.

    Hi all, My MCB Pro (I think 2011) just crashed (second time in a week), but this time it will not reboot.  Any suggestions?  I just put a new hard drive in about three -four weeks ago, everything seemed fine.