Getting the name of the Administration Server

Is there a way the get the name of the Weblogic Admin Server? I am trying to use
the MBean interface to create a connection pool in my application deployed on
Weblogic 8.1 SP2. But I don't want to hard code the name of the Admin Server in
my code. Is there a weblogic API to call to get it?

If you looked up the "weblogic.management.adminhome",
home.getMBeanServer() returns the Admin server's mbean server, and
remoteMBeanServer.getServerName() returns the admin server name... :-)
thanks,
-satya
Francine Grimmer wrote:
I don't follow your reply...
In the weblogic example for creating connection pools, I first must get the mBean
Home interface and then call getAdminServer. But must pass the name of the admin
server, which I don't have. So when you say ServerMBean, are you talking about
the Managed Server MBean? It can have a different name than the Admin Server.
Satya Ghattu <[email protected]> wrote:
If you have the ServerMBean on the admin server, mbean.getName() gives
you the Name of the server.
Francine Grimmer wrote:
Is there a way the get the name of the Weblogic Admin Server? I amtrying to use
the MBean interface to create a connection pool in my application deployedon
Weblogic 8.1 SP2. But I don't want to hard code the name of the AdminServer in
my code. Is there a weblogic API to call to get it?

Similar Messages

  • Destination disabled. []: [CrystalEnterprise.Ftp]. Please note the name of the job server used for your request and contact your system administrator to make sure the specified destination is enabled. (FWB 00031)

    Hi
    In BO 4.0 SP 9 when a administrator tries to schedule a report via CMC there is no error
    But when a user schedules a report and the destination is FTP location -> Use default settings he gets following error
    Destination disabled. []: [CrystalEnterprise.Ftp]. Please note the name of the job server used for your request and contact your system administrator to make sure the specified destination is enabled. (FWB 00031)
    There is only one Job Server and the destinations are enabled in it
    There is no Job server for Crystal Reports Job Server
    Do i need to create it and how.

    Please check if you have proper rights to schedule to FTP. You can create a new job server, whenever you schedule it, there are multiple job servers, it will handle based on the load. But it is not mandatory, depends on the load.

  • How do I get the name of the app server in an application

    I am trying to run two app servers of one database. My problem is that I am trying to insert a link in a report that would link to another report by passing parameters through the URL which works fine if you stay on one server.
    If I request the link from http://portal1/servlet..... when the app is being served from http://portal2/servlet... server. How do tell the app that I am on portal2 and the the URL for the next page should be http://<the name of the server used>/servlet....
    The ideal is if the app servers LSNR_TOKEN or SITE_ID could be returned on request from a package.
    Thanks,

    Use the following function to get the corresponding server name
    wwctx_api.get_host
    and you can concatenate this with other values to form your required URL.
    (eg: l_url := 'http://'||wwctx_api.get_host||'/pls/portal30/...')
    Hope this helps!
    -Krishnamurthy

  • Getting the name of the host that the forms server is running on?

    Hi
    I have a very simple question, but can't find a simple answer at the moment.
    Is there something like GET_APPLICATION_PROPERTY within forms 10g that I can use to return the hostname of the machine that the form is running on (i.e. the name of the application server).
    I know that I could use one of the calls to query an appropriate environment variable (COMPUTERNAME on Windows or HOSTNAME on UNIX), but would rather have something that is platform independent if possible.
    Does such a call exist?
    Thanks
    Steve

    If you looked up the "weblogic.management.adminhome",
    home.getMBeanServer() returns the Admin server's mbean server, and
    remoteMBeanServer.getServerName() returns the admin server name... :-)
    thanks,
    -satya
    Francine Grimmer wrote:
    I don't follow your reply...
    In the weblogic example for creating connection pools, I first must get the mBean
    Home interface and then call getAdminServer. But must pass the name of the admin
    server, which I don't have. So when you say ServerMBean, are you talking about
    the Managed Server MBean? It can have a different name than the Admin Server.
    Satya Ghattu <[email protected]> wrote:
    If you have the ServerMBean on the admin server, mbean.getName() gives
    you the Name of the server.
    Francine Grimmer wrote:
    Is there a way the get the name of the Weblogic Admin Server? I amtrying to use
    the MBean interface to create a connection pool in my application deployedon
    Weblogic 8.1 SP2. But I don't want to hard code the name of the AdminServer in
    my code. Is there a weblogic API to call to get it?

  • Just published a new site to an FTP server and I got a 404 error message saying the site doesn't exist. When I retype the name of the site, I get a page from my hosting service saying this is the future home of [my site]. Any ideas?

    Just published a new site to an FTP server and I got a 404 error message saying the site doesn't exist. When I retype the name of the site, I get a page from my hosting service saying this is the future home of [my site]. Any ideas?

    Hi roddy,
    thanks for responding. I read your link, looked at my settings and they were all correct. I tried to do a republish and got this message: The requested URL /childrenandcaring/index.html was not found on this server.
    When I type the address in the address bar, I go to the site and the page says: This is the new site childrenandcaring.com
    Any other ideas?
    Suzanne

  • Problem starting managed server in cluster (The name of the managed server is same as admin server)

              We have the following setup.
              CLLUSTER1 and CLUSTER2 are the servers to be in the cluster. CLUSTER3 is the cluster
              administrator. We start CLUSTER3 as a self-managed server and then try and start
              CLUSTER1 and CLUSTER3 as a managed server pointing at CLUSTER3. When we start
              1 and 2 we get the following:
              D:\bea\wlserver6.1\config\CLUSTER1>startmanagedweblogic CLUSTER3 http://10.0.1.1
              03:7001
              D:\bea\wlserver6.1>set PATH=.\bin;C:\WINNT\System32;d:\jdk1.3.1\bin
              D:\bea\wlserver6.1>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
              D:\bea\wlserver6.1>echo off
              * To start WebLogic Server, use the password *
              * assigned to the system user. The system *
              * username and password must also be used to *
              * access the WebLogic Server console from a web *
              * browser. *
              D:\bea\wlserver6.1>"d:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath
              ;.\lib\weblogic_sp.jar;.\lib\weblogic.jar" -Dweblogic.Domain=CLUSTER1 -Dbea.home
              ="d:\bea" -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=true
              -Dweblogic.Name="CLUSTER3" -Dweblogic.management.server="http://10.0.1.103:7001"
              "-Djava.security.policy==d:\bea\wlserver6.1/lib/weblogic.policy" weblogic.Serve
              r
              <20/11/2001 12:05:10> <Info> <Security> <Getting boot password from user.>
              Enter password to boot WebLogic server:
              Starting WebLogic Server ....
              Connecting to http://10.0.1.103:7001...
              The WebLogic Server did not start up properly.
              Exception raised: weblogic.management.configuration.ConfigurationException: The
              name of the managed server is same as admin server. The managed server will not
              be allowed to start up.
              weblogic.management.configuration.ConfigurationException: The name of the manage
              d server is same as admin server. The managed server will not be allowed to star
              t up.
              at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:998)
              at weblogic.management.Admin.initialize(Admin.java:320)
              at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
              at weblogic.Server.main(Server.java:35)
              Reason: Fatal initialization exception
              D:\bea\wlserver6.1>goto finish
              D:\bea\wlserver6.1>cd config\CLUSTER1
              D:\bea\wlserver6.1\config\CLUSTER1>ENDLOCAL
              D:\bea\wlserver6.1\config\CLUSTER1>
              Many thanks in advance,
              Alex Burton
              http://www.e-plus.com.au/
              

    Don't start the admin server as managed. Removing
              -Dweblogic.management.server...
              from the command line should help.
              Alex Burton wrote:
              > We have the following setup.
              > CLLUSTER1 and CLUSTER2 are the servers to be in the cluster. CLUSTER3 is the cluster
              > administrator. We start CLUSTER3 as a self-managed server and then try and start
              > CLUSTER1 and CLUSTER3 as a managed server pointing at CLUSTER3. When we start
              > 1 and 2 we get the following:
              >
              > D:\bea\wlserver6.1\config\CLUSTER1>startmanagedweblogic CLUSTER3 http://10.0.1.1
              > 03:7001
              >
              > D:\bea\wlserver6.1>set PATH=.\bin;C:\WINNT\System32;d:\jdk1.3.1\bin
              >
              > D:\bea\wlserver6.1>set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
              >
              > D:\bea\wlserver6.1>echo off
              >
              > ***************************************************
              > * To start WebLogic Server, use the password *
              > * assigned to the system user. The system *
              > * username and password must also be used to *
              > * access the WebLogic Server console from a web *
              > * browser. *
              > ***************************************************
              >
              > D:\bea\wlserver6.1>"d:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath
              > ".
              > ;.\lib\weblogic_sp.jar;.\lib\weblogic.jar" -Dweblogic.Domain=CLUSTER1 -Dbea.home
              > ="d:\bea" -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=true
              > -Dweblogic.Name="CLUSTER3" -Dweblogic.management.server="http://10.0.1.103:7001"
              > "-Djava.security.policy==d:\bea\wlserver6.1/lib/weblogic.policy" weblogic.Serve
              > r
              > <20/11/2001 12:05:10> <Info> <Security> <Getting boot password from user.>
              > Enter password to boot WebLogic server:
              > Starting WebLogic Server ....
              > Connecting to http://10.0.1.103:7001...
              > ***************************************************************************
              > The WebLogic Server did not start up properly.
              > Exception raised: weblogic.management.configuration.ConfigurationException: The
              > name of the managed server is same as admin server. The managed server will not
              > be allowed to start up.
              > weblogic.management.configuration.ConfigurationException: The name of the manage
              > d server is same as admin server. The managed server will not be allowed to star
              > t up.
              > at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:998)
              > at weblogic.management.Admin.initialize(Admin.java:320)
              > at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
              > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
              > at weblogic.Server.main(Server.java:35)
              > Reason: Fatal initialization exception
              > ***************************************************************************
              >
              > D:\bea\wlserver6.1>goto finish
              >
              > D:\bea\wlserver6.1>cd config\CLUSTER1
              >
              > D:\bea\wlserver6.1\config\CLUSTER1>ENDLOCAL
              >
              > D:\bea\wlserver6.1\config\CLUSTER1>
              >
              > Many thanks in advance,
              > Alex Burton
              > http://www.e-plus.com.au/
              

  • How do I find out what the name of the reports server  is?

    Hi Everyone,
    I am connecting to a remote machine using gotomypc.com and have started up Reports Builder 10g. I know very little about installation of Oracle on this machine. Just enough to log into Oracle 10g and run tools like the Report Builder, TOAD, etc. When I run a report from the Report Builder I get a web browser with a blank report. It works when I run a paper report. I am guessing that the Reports Server is not running or not configured properly.
    Can you tell me how to find out what the name of this Reports Server is and/or how to start it up?
    Thanks.
    Emad

    I realize this is old, but... You can find out your servers name by looking at the $ORACLE_HOME\reports\conf\rwservlet.properties file. It has a entry for SERVER. Should also have a corresponding conf file after starting up OC4J and activating the server for developer installs.
    Next, you can also run rwdiag. It will show you all report servers available to your installation. This is interesting when Multicast is used by Reports (10g). Ran into issues with servers named the same not on the hardware I was expecting.... ;)
    Good luck.
    BradW

  • Function Module that gives the names of the file in the Application Server.

    Hi Experts,
       Please give me a Function Module that gives the names of the file in the Application Server.
    Thanks,
    Debi.

    Hi,
    see these links
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa02b7493111d182b70000e829fbfe/content.htm
    http://abaplovers.blogspot.com/2008/05/function-module-sap-logged-in-users-to.html
    http://www.saptechies.com/abap-function-modules/
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/function-module-to-get-data-and-time-of-file-576751
    thanks
    karthik

  • Need of a Webservice to get the name of the file in a Folder

    Hi All,
    I am in need of a Web service which should get the name of the file in a folder.
    Note :  Folder is created in the MOSS server.
    Thanks.

    Just to add, Mac in intergrated into AD and all I need is help in creating the script
    Thanks

  • How to get the name of the file parent

    Hi,
    i have a file in this location
    File file = new File(MyFile.doc)
    file.getParent(); returns
    C:\Documents and Settings\Administrator\xyz
    now from the string obtained i just want to get the value "xyz".i.e. i want to get the name of the parent directory.
    how is it possible

    You may use String.indexOf()if(file.getParent().indexOf("/myProject/myPackage") != -1) {
        ...Or you might use regular expressions and Matcher class (or String.matches()) in case of higher complexity.

  • A friend's eMac was working fine until the name of the administrator was changed incorrectly in Systems Accounts

    I am trying to fix a friend’s eMac. It was working fine until the name of the administrator was changed incorrectly in Systems Accounts. Upon restart the computer failed to mount. I tried to reinstall Tiger and could not. The destination to do this install could not be found. While in Disk Utilities I tried to repair and then zero out erase the hard drive, this also could not be successfully done. The hard drive was working perfectly before the name change. I may try to load Tiger from the eMac onto an external drive and then hope to erase the eMac internal drive.
    Thank you for your thoughts on this as it would be a shame to retire this trusted computer.
    Nick M.

    Hello,
    Thank you very much for your attention to this. Yesterday I was able to get the eMac to install Leopard onto an external drive. I had hoped that once done I would be able to initialize or erase the content of the internal drive in Disk Utility, but was not able to do so, I only received error messages telling me my request failed. This was also true when I tried to create partitions on it. So in effect, the computer runs, but only from the external drive. I could not even find the internal drive while running from the external drive. Where is it? And the internal drive only occasionally shows up in Disk Utility.
    As for holding Option and Alt, the internal drive did not show up.
    And Leopard was running on the eMac when I lost contact with it. Again, all failed when a name of the administrator was changed, but was not properly done. Or something like this.
    Is there anyway I can use Terminal to help reach the internal drive?
    I realize I am asking a lot of questions.
    And I thank you for your time,
    Nick M.

  • There is a problem with the proxy server's security certificate. The name on the security certificate is invalid or does not match the name of the target site "Mailserver"

    Good day Guys
    First of all I am not an Exchange Expert, and I might be asking a very stupid question, but please bare with me. :) 
    While I was on leave our Mail server fell over and The company got a Specialist to help out for the time being.
    We where\are on Microsoft Exchange 2007 , which Fell over, and the specialist was able to recover as much data as he could.
    They then installed Exchange 2013 and tried to migrate everything from 2007 to 2013 and not everything migrated over.
    But the problem is, Outlook Anywhere was enable on 2007 and worked a 100% (before the disaster)
    With Exchange 2013 I get the following error message when trying to connect With Outlook 2013, using an external connection:
    "There is a problem with the proxy server's security certificate. The name on the security certificate is invalid or does not match the name of the target site "Mailserver"
    Outlook is unable to connect to the Proxy server. (Error Code 0)"
    Has anyone had the Similar when migrating over from 2007 to 2013 or is this an Issue on IIS and nothing to do with Exchange migration?
    Your assistance will be greatly appreciated.

    Hi,
    Firstly, I would suggest we use Exchange 2013 FE as the Outlook Anywhere proxy server.
    For the certificate issue, it mostly occurs because the host name that Outlook are trying to access does not match the certificate SAN. Please check with this point. If they do not match, you
    can change the host name by referring to the following article:
    https://support.microsoft.com/kb/940726/en-us?wa=wsignin1.0
    Thanks,
    Simon Wu
    TechNet Community Support

  • Why is Mail asking me for the name of an smtp server for an email address that doesn't exist?

    I've migrated from Snow Leopard to Mountain Lion on a new Mac, but in trying to use Mail on ML, it keeps asking me for the name of an smtp server for an email address that's never existed. The addy has my user name correct, but the server part of the address doesn't exist, or at least I've never used an email address with that provider. On ML there's no plist file for Mail, so nothing to delete there. What else can I do to get Mail working? The only other option I have is to abandon Mail as being crippled and useless, and use Postbox, which for it's price (US$9.95) is an attractive option. OTOH, I've paid for Mail after all, so it really ought to work. Any clues as to what I can do to stop its nonsensical behaviour? How do I file a bug report?
    TIA.
    Pauline

    Amasis wrote:
    On ML there's no plist file for Mail, so nothing to delete there.
    ~/Library/Containers/com.apple.mail/Container.plist
    (Go to your Finder "Go" menu hold the option key to choose "Library", since the ~/Library is hidden on ML)

  • EMS error - could not resolve the name of the server

    Hi.
    Log on to Exchange 2013 server (CAS)
    Try to run EMS on this server and get this error:
    ...The WinRM client could not process the request because it could not resolve the name of the server.
    Nslookup FQDN of this exchenge server -all ok.
    What happend? Two weeks ago, all worked.
    Thanks.

    Hi,
    To narrow down the cause, I recommend the following troublwshooting:
    1. Change another admin account to try to open the EMS on CAS server.
    2. Try to empty your local DNS cache by ipconfig/flushdns
    3. Try to Disable WinHTTP proxy by running  : netsh winhttp reset proxy
    4. Refer to the following article to resolve the WinRM error:
    http://blogs.technet.com/b/exchange/archive/2010/12/07/resolving-winrm-errors-and-exchange-2010-management-tools-startup-failures.aspx
    if you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • What is the name of the self-service administrator SCA file

    Hello,
      I am implementing ESS/MSS 600 BP in 2004s. I dont see the self service amdin role in my portal. Can you please tell me what is the name of the sca file that I should import from the market place to get the Self-Service administrator role.
    Thanks!
    Vivek Surya.

    Hi Surya,
    The Business package for Self Service Admin is BPERP5***09_0-10003381.SCA. (Import the file corresponding to the required support pack)
    Regards,
    Abhishek

Maybe you are looking for

  • My iphone is froze during a reset at the itunes symbol and usb plug

    my iphone froze during a reset at the itunes symbol and usb plug with the arrow pointing at symbol.  how do i get past this point as my itunes account is not even recognizing my phone now?

  • Lightdm problems

    Hey, I like lightdm and gave it a shot. I encountered two problems that I couldn`t solve yet. 1    I use xfce4. When I click on logout - restart the system does not restart, it just brings me back to lightdm login screen. 2    On nearly every shutdow

  • Dynamic mucow parameters

    Hi! Is it possible to achieve a dynamic mucow widget? like having a + sign and adding in extra parameters when using muse? I've seen others though (which came in mulibs) but there's no tutorial for this. Anyone have an idea how this is achieved? Than

  • Upgrading from Original iPhone to iPhone 3GS help!

    Okay, I just read an article stating that it will cost a fat wallet to upgrade from the 3G to the 3GS, because of the whole contract early/late upgrade thing whatever. I still have the normal iPhone and I didn't upgraded to the new 3G. My contract ha

  • !help!water got in clickwheel stoped working!help!

    my friend was using my ipod and some soda got spilled on it so i wiped it down with a wet cloth and now my clickwheel wont work someone help