What is the alternate for T3ServicesDef.config()

Hi,
In 5.1, I was using
T3ServicesDef.config().getProperty(DBStatic.WEBLOGIC_PORT_IDENTIFIER)
inside my program to get the port where my server is running.
Now it seems I need to use Management APIs.
Could someone please let me know how to do it using new APIs.
I read the documentation posted on this. But that seems to tell me that I
need to get the handle of MBeanHome first, and for that I need to know the
port where weblogic is running.
Sushil

Sushil Goel <[email protected]> wrote in message news:[email protected]...
Sanjeev,
I have two questions about this doc:
1. This document talks about creating my own MBean. I was interested in
using the weblogic MBeans, e.g. ServerRuntimeMBean to find out runtime
configuration. I have been struggling to find out how to get a handle to
this object. The methods exposed by MBeanHome such as getMBeansByType at
least needs a type string supplied and I don't see any documentation
pointing what is the type of these beans. I might be missing something very
basic here. I understand that eventually I need to read the javax.management
specs to get the complete idea. It would be nice if there is some
documentation which doesn't assume knowledge of management specs.Sushil, there seems to be a missing section in this doc, which talks about how MBeans are named and how to tell which type,name strings to use. See below ....
It should say someting like ....
Naming of MBeans
The WebLogic Management API distinguishes between three types of MBeans: Administration, Configuration and Runtime MBeans, as described in the overiew section. All MBeans have a name, a type and a domain. These attributes are reflected in the MBean's JMX Object Name. The Object Name is the unique identifier for a given MBean across all domains. It has the following structure:
<domain name>:Name=<name>,Type=<type>[,<attr>=<value>]...
Name is a name that is unique for a given Domain and a given Type. Examples of type could be Server, WebComponent or JDBCConnectionPoolRuntime. Type is used to distinguish between the various types of MBeans. For instance the value of Type for a Server MBean is :
a.. Server for the Administration MBean,
b.. ServerConfig for the Configuration MBean and
c.. ServerRuntime for the Runtime MBean.
Note that the 'MBean' suffix is removed from the MBean interface name to get the base type of an MBean. And then 'Config' and 'Runtime' suffices are added to the base name to distinguish configuration and runtime mbeans, respectively from administration mbean.
In addition, specific MBean types have additional components...
a.. All runtime and configuration mbeans have a component called 'Location' whose value is the name of the server on which that mbean is located. e.g. 'mydomain:Name=myServlet,Type=ServletRuntime,Location=myserver'
b.. Any mbean which has a child relationship with another parent mbean, has an extra attribute in its objectname '<TypeOfParentMBean>=<NameOfParentMBean>'. e.g. 'mydomain:Name=mylog,Type=Log,Server=myserver'
Package names
All interfaces types for Administration/Configuration mbeans are located in weblogic.management.configuration
All interfaces types for Runtime mbeans are located in weblogic.management.runtime
>
2. This document talks about ISVServer class to create my own entry point. I
don't see this class anywhere. BEA support says that this kind of startup is
no longer supported. Could you please clarify this and point me where I
could find this class and related API doc.
There is no link for this document from the 6.0 documentation page. Until I
came to this group and stumbled upon your earlier post about this doc, I had
no idea about existence of this doc, even when I had asked BEA support
specifically for a 6.0 ISV doc.I will have this fixed. Thanks.
>
Thank,
Sushil
"Sanjeev Chopra" <[email protected]> wrote in message
news:[email protected]...
see http://e-docs.bea.com/wls/docs60/isv/index.html
Sushil Goel <[email protected]> wrote in message
news:[email protected]...
Thanks Viresh,
How do I get handle to the beans in weblogic.management.configuration or
weblogic.management.runtime?
Thanks,
Sushil
"Viresh Garg" <[email protected]> wrote in message
news:[email protected]...
Sushil Goel wrote:
Hi,
In 5.1, I was using
T3ServicesDef.config().getProperty(DBStatic.WEBLOGIC_PORT_IDENTIFIER)
inside my program to get the port where my server is running.
Now it seems I need to use Management APIs.
Could someone please let me know how to do it using new APIs.
I read the documentation posted on this. But that seems to tell methat
I
need to get the handle of MBeanHome first, and for that I need to
know
the
port where weblogic is running.You don't need to specify URL from within the server to do MBean
lookup
and so
you don't need to know of the port.
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
Sushil
[att1.html]

Similar Messages

  • What is the Alternate for AMPERSAND (&) in oracle???????????

    Hi All,
    This is my query......
    select * from
    select 'abc' a from dual union
    select 'def' a from dual union
    select 'abc & xyz' a from dual
    ) where a='abc & xyz';
    Output should be 'abc & xyz'.
    Since I am using '&' it will prompt to enter some value from my keyboard.
    Yes, I know, I will get the output either by using set scan off,set define off, set escape on.
    what is the Alternate for AMPERSAND (&) in oracle???????????
    The value 'abc & xyz' will be passed from the front end and will be passed to the select statement..........
    Regards,
    Kashyap Varma N

    nkvkashyap wrote:
    Hi All,
    This is my query......
    select * from
    select 'abc' a from dual union
    select 'def' a from dual union
    select 'abc & xyz' a from dual
    ) where a='abc & xyz';
    Output should be 'abc & xyz'.
    Since I am using '&' it will prompt to enter some value from my keyboard.
    Yes, I know, I will get the output either by using set scan off,set define off, set escape on.
    what is the Alternate for AMPERSAND (&) in oracle???????????
    The value 'abc & xyz' will be passed from the front end and will be passed to the select statement..........
    Regards,
    Kashyap Varma NI think you are confused. Oracle (i.e. the DB) doesn't care about &. However front-ends like SQL*Plus do: and prompt you for the substitution (unless set define off etc.).
    If you are using Java, then pass strings with & with no problem.

  • What is the alternate for OLE object in 10g

    Hi all
    I am migrating forms 6i to 10g...
    They are some ole objects in the forms.
    while migrating using form migration tool.... it is giving a message that OLE built in's are obsolete...
    What i need to do in 10g to replace OLE's functionality????
    Please help in this???
    Thanks

    Hello,
    <p>The Webutil library has a OLE2 client sode equivalent</p>
    Francois

  • What is the alternate for flash player for iPad air

    Can any body suggest a way out?

    Adobe has not made a version of Flash for the iPad.
    Kappy explains why. https://discussions.apple.com/message/19446567#19446567
    5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
    Top 4 browsers supports flash player on iPad and iPhone
    http://mashtips.com/flash-player-ios/
     Cheers, Tom

  • What is the rule for adding application elements to faces-config.xml

    I have posed this question before, but was unable to get an answer so here goes again.
    What is the rule for adding more than one application element to the faces-config.xml?
    The schema documents that 1-n are possible, but why and when should I do this?
    --W                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    sorry if you don't login in tomcat administration before. you must enter login and password of a manager user on tomcat .
    The user is the one you give when installing tomcat.
    If you have forgotten it : see it to: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat_users.xml
    and choose one whop have role='manager'

  • What is the best value iMac config for hd video editing.   I was going to go for i5 3.1 ghz with 4mb ram, but should I go further?  Thanks!

    What is the best value iMac config for hd video editing.?  I was going to go for i5 3.1 ghz with 4mb ram, but should I go further?  Thanks!

    You have it currently installed? Can you go to the System Profiler and click on Applications (will take a while to populate) - take a look at your FCP and check what it says on the right - Universal, Intel, or PPC? It'll look like this:
    If it's Universal or Intel, it'll run in Lion. However, the installer may or may not be PPC - that you may not know until you try to install. If you have it currently installed, then you could do what I did - move over all the files manually. I have a list of files for FCE and would assume they'd be the same with FCP: copy them from the old Mac and insert them in the very same spots on the new one.
    Here is the list for FCE:
    http://support.apple.com/kb/TA38198?viewlocale=en_US
    (It was published for an uninstall, but worked like a charm).

  • What's the purpose when we config ipv6 address for an interface with 128bit mask

    What's the purpose when we config ipv6 address for an interface with 128bit mask?
    Thanks

    If you configure a loopback-interface you can use a /128 there.
    "Normal" interfaces should always use /64 (RFC 4291) while on router-to-router-links you can use a /127 (RFC 6164).
    Don't stop after you've improved your network! Improve the world by lending money to the working poor:
    http://www.kiva.org/invitedby/karsteni

  • What is the procedure for disabling Entourage launching when clicking on an email address in Safari 5.0.5? I use Gmail.

    What is the procedure for disabling Entourage launching when clicking on an email address in Safari 5.0.5? I use Gmail.

    Is this about clicking a link in an external program?
    You can check this pref on the about:config page for external links.
    * browser.link.open_newwindow.override.external (-1)
    If this pref has the default value -1 then browser.link.open_newwindow is used.
    * http://kb.mozillazine.org/browser.link.open_newwindow
    *1: current tab; 2:new window; 3:new tab;
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • What is the Tcodes for Uploading of data using BDC & CATT

    PP members:
    I was going through the <b>cutover activities</b> ,  and what I understood is  we transfer all the legacy system data into SAP before going live
    The data upload follows certain steps (depends on the organizational design load strategies)
    First we upload all the master data ( material master, BOM, W/C's & Routings)
    Then the transaction data ( Ideally speaking, there should no open orders i.e. WIP as on the day of cutoff )
    If the WIP (Work in Process) is unavoidable then the materials consumed shall be treated as <b>materials of the previous stage</b> and necessary adjustments shall be made after cutover day
    At this point, I could not able to understand what does the author mean <b>materials of the previous stage</b>
    Now comming to the uploading of data into SAP from legacy system, we use tools like LSMW, CATT & BDC
    Is it a must to use <b>only LSMW tool</b> to upload master data or any other upload tools are fine
    Lastly,. I am not sure about the Tcode of CATT & BDC
    Summary of the questions:
    1.What does the author mean  <b>material of previous stage</b>, for WIP materials during cutover activities
    2. Is it mandatory to use only LSMW tool for uploading for master data
    3. What are the Tcodes for upload tools CATT & BDC ?
    Thanks for your time
    Suren R

    Dear,
    1.What does the author mean material of previous stage, for WIP materials during cutover activities - as i understood, what is the stage of material..like it must have gone through 2 work centers and other 2 is left. i.e. you need to create Production order with only 2 operation as other 2 is already over. - usually it is done in such a way that we will create Production order and confirm till 2 operations and WIp is calculated so thatb FI will tally the books in SAP and lagacy.
    2. Is it mandatory to use only LSMW tool for uploading for master data - no you can use any tool as required and suits yr requirement
    3. What are the Tcodes for upload tools CATT & BDC- BDC through a prog in SE38. CATT through - SCEM.

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?

    Hi Guys,
    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10?
    I have to write an AP Invoice Aging Report in Discoverer to show all unpaid invoices that have been transferred into GL... Business wants it to match one-to-one with the AP Trial Balance standard report...
    Business wants to run the report for any date in a past...
    The report has two parameters:
    As Of Date - the same as As of Date for the AP Trial Report
    Trial Balance Run Date - the date when Trial Balance was run...
    Conditions are:
    TRUNC(Invoice Date) <=TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(NVL(Payment Date,'01-JAN-5000')) > TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    TRUNC(Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Distr Accounting Date <= TRUNC(NVL(TO_DATE(:As Of Date),SYSDATE))
    NVL(Distr Creation Date,Invoice Creation Date) <= TRUNC(NVL(TO_DATE(:Trial Balance Run Date),SYSDATE))
    Show_Flag = 'YES', where:
    Show_Flag = CASE WHEN ( NVL(Cancelled Date,'01-JAN-1901') > NVL(:As Of Date,SYSDATE) AND NVL(Inv Amount Aud,0) = 0 ) THEN 'YES' ELSE ( CASE WHEN NVL(Inv Amount Aud,0) = 0 THEN 'NO' ELSE 'YES' END ) END
    There is a difference between the logic of my report, and the logic of AP Trial Balance...
    Could you please advise what I'm missing?
    Thanks,
    Iana

    What is the query for Accounts Payable Trial Balance (APXTRBAL) in 11.5.10? You can get the code by opening the report in Reports Builder and get the query.
    Or, enable trace/debug as per (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]).
    Thanks,
    Hussein

  • What is the number for Verizon Wireless  Corporate Customer Service Complaint for CA

    My Complaint:  I have been a Verizon Wireless customer for approx 20 years.  I called customer service to seek an early upgrade for my daughter's phone. She is away in college and her phone is malfunctioning.  She is eligible for an upgrade in approx 6 weeks so I did not want to spend the money on a replacement phone when since we were planning on updating to something newer.  The customer service rep to me they could not do the early upgrade an to call back in a few weeks. After explaining this was unacceptable (I do not like the idea of a young female being out of state and away from home with no reliable means of communication), she places me on hold to later return with the only offer of  I must purchase a new device through her ( over the phone) which will be shipped to me, the phone was priced $100.00 more than the online price (they will not price match), plus i must pay $30.00 upgrade fee, $35.00 activation fee and taxes on the retail price of the phone.  I am upset and disappointed with the quality of service provided by Verizon being a 20 year customer.  If not for the seriousness and urgency of this matter, i would not have asked for an early upgrade.  It is times such as these that you get to see how much of a "valued customer" you really are.   I guess you are valued as long as you pay your bill and continually  purchase their products.  I would like to speak with someone from Verizon's corporate or customer relations department.  As of now I am really considering changing my service to a different provider.  I have multiple accounts with Verizon and i will canx each after the current contract committment expire (starting with my daughter's phone which expires in 6 weeks) In the meantime I will go purchase her a new phone with someone else and take comfort knowing she will have reliable communication.

    I started with them in 1985. It has been wonderful service but very expensive. They seem to operate on day of deposit day of withdrawal. That means that I have no benefits nothing beyond the normal customer if I don't pay my bill they shut me off. That's why I have switch to another provider and I have better service lower cost and better phones. you can't beat  other providers I mean it. Please don't expect more from verizon other than a "pay me more money and I'll do what you want" because it's all about money. Read the transcripts from current Verizon employees all over the internet. The company is going down and they're taking customers with them.
    msvat <[email protected]> wrote:
    msvat  created the discussion
    "What is the number for Verizon Wireless  Corporate Customer Service Complaint for CA"
    To view the discussion, visit: https://community.verizonwireless.com/message/1113982#1113982
    >

  • In Address Book, Lion, what are the checkmarks for when you Edit a Contact?

    In Address Book for Lion, when you are in the Add/Edit a Contact window, what are the checkboxes for?

    I am not seeing any checkboxes when I edit in Address Book in Lion, can you take a screen shot (Shift Command 4) of what you're seeing and post it?
    BTW please fill out your profile (under Your Stuff above) so we know what machine and version of Lion you're using.

  • What is the procedure for a hard boot of my iPod touch 4th generation without itunes, and without computer, and without iPod data screen.?

    What is the procedure for a hard boot of my iPod touch 4th generation
    without iTunes, and without computer, and without iPod data screen?
    6 months after purchase I updated my iPod touch as recommend by iTunes.
    It has not worked since that day.  It frozen (disabled) with a "connect to
    iTunes" icon displayed...that is the only thing it does.  itunes does not
    recognize the iPod.  My Windows7 computer recognizes an Apple device. 
    Other computers recognize the devise but if iTunes resided on that
    computer it did not recognize the iPod
    I suffered a setback with deep depression and am just now getting out of it enough to do something.  The depression prohibited me from taking action.
    I have done every procedure recommended from Apple help and external
    sources.  I did this thoroughly with help for other owners and IT experts,
    Apple employees etc etc.  I and associates have perform reboots utilizing a
    number procedure using only button on the iPod.  These were unsuccessful
    also have performed.
    Please do not ask me to do the usual.
    Online I saw  a process using the buttons on the iPod to completely
    reformat 
    the iPod.  It was NOT the hold buttons for 10 sec let go of one wait 8 sec
    etc.  I can not find the process now...a friend showed it to me in passing
    I have lost contact with him.  This is the procedure, I believe, that with
    enable me to update and use the iPod. 

    You need an internet connection and likely a computer with iTunes but an iPhone, iPad or iPod touch with the FindMy iPhone App may work by:
    If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone and use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    You can also wipe the iOS device by installing the FindMyiPhone app on another iOS device and using that app to wipe the device.
    Otherwise
    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:           
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    Yo may have to go to an Apple store or a friend's house with an internet connection and iTunes.

  • TS1702 I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just give me a blank page.!!!! what is the solution for this.!!!!

    I use iphone5, I see an app update on the app store. but when App store and click on the update tab, it doesn't show me which application to update.. just gives me a blank page.!!!! I wouldn't able to know what app has to be updated, untill and unless i get check for each every app on the app store installed on my iphone... what is the solution for this.!!!! can any1 one help me out.!!!!

    Cc2528 wrote:
    The iTunes Store on my iPad is set up with all my music already. And at the very bottom it shows my apple Id username. The only place it shows the previous owners id is in the App Store...
    You can probably change the ID in the "iTunes and App stores" settings on the iPad....click on the wrong account ID , select sign out, then log in with your own ID, I have not done this but I think it works.....
    but I would be more inclined to to the factory reset and start afresh.

Maybe you are looking for