How to get the EJB "Cached Beans Current Count" in Command-Line

I use WebLogic console to monitor EJB's "Cached Beans Current Count" property in monitor tab, but I want to get the result in Command-Line using "weblogc.Admin".
What arguments to be used?
I can get the EJB property use:
java -cp weblogic.jar weblogic.Admin -url t3://svr:7001 -username weblogic -password weblogic GET -mbean mydomain:Application=myear,Name=myejb
.jar,Type=EJBComponent
How can I to get the "Cached Beans Current Count"

Hello,
This should do the trick
$JAVA_HOME/bin/java -cp $CLASSPATH weblogic.Admin -url <server_url> -username <username> -password <password> GET -pretty -type EJBCacheRuntime -property CachedBeansCurrentCount
Also see http://e-docs.bea.com/wls/docs81/admin_ref/cli.html for more info.
Cheers,
Hoos
Message was edited by hoos at Nov 29, 2004 1:50 AM

Similar Messages

  • How to get the number of files currently open?

    hi,
    does any one know how to get the number of files currently open in windows OS?
    e.g. lets say .txt files...
    any comment will be really appreciated.
    thanks

    Assuming that you don't want to actually do this from within Java code (which would obviously require native code), here's a utility that will give you a list of which file handles are opened by which processes (on Windows):
    http://www.sysinternals.com/ntw2k/freeware/handle.shtml
    - K

  • [CS3][JS] How to get the file type of current document

    Hi,
    How to get the file type of current opening document (e.g., tif, jpeg, png) using JavaScript with Photoshop CS3.
    I am using file object the open the files one by one in the folder (the files sometimes don't have the extensions).
    If the current document is in tiff format then I need to convert to 8-bit, if its an Jpg image then needs to ignore the file.
    Regards,
    Karthik

    Do you really need to know the file type? What about just checking the bit depth?
    var doc = activeDocument;
    if (doc.bitsPerChannel != BitsPerChannelType.EIGHT) {//Not 8 bit
    doc.bitsPerChannel = BitsPerChannelType.EIGHT;
    //do your save etc
    }else{
        //Ignore

  • How to get the first day of current month

    hi guys,
    i am trying to get the first day of current month which get from the date i input at the selection screen. my method is not so good, so i was wondering if there is better way to get the this,
    thanks.

    Try this .
    data : DAYNR LIKE  HRVSCHED-DAYNR,
         DAYTXT LIKE  HRVSCHED-DAYTXT.
    data langu like sy-langu value 'EN'.
    Parameters PDATE LIKE SY-DATUM.
    PDATE+6(02) = '01'.
    CALL FUNCTION 'RH_GET_DATE_DAYNAME'
      EXPORTING
        LANGU                     = LANGU
        DATE                      = PDATE
      CALID                     =
    IMPORTING
       DAYNR                     = DAYNR
       DAYTXT                    = DAYTXT
      DAYFREE                   =
    EXCEPTIONS
      NO_LANGU                  = 1
      NO_DATE                   = 2
      NO_DAYTXT_FOR_LANGU       = 3
      INVALID_DATE              = 4
      OTHERS                    = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE :/ PDATE, DAYNR, DAYTXT.
    Cheers

  • How to get the total no.of fields count in TFS

    How to check this:
    You can define no more than 1,024 work item fields in the same team project collection, and you can set no more than 1,024 fields to
    reportable in all team project collections.
    I have created some new fields in my customized process template. How to get the field count to check this validation. Do we have any command for this since witadmin listfields does not give the total count info.
    Thanks
    Divya

    Hi Divya, 
    Thanks for your post.
    Try to get fields count in collection using below code snippet:
    TfsTeamProjectCollection tfs =
    new
    TfsTeamProjectCollection(new
    Uri("collectionURL"));
    tfs.EnsureAuthenticated();
    WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
    FieldDefinitionCollection fields = workitemstore.FieldDefinitions;
    // get fields count in this collection
    Console.WriteLine(fields.Count);
    //get each field name
    foreach(FieldDefinition
    field in fields)
    Console.WriteLine(field.Name);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get the Stateful Session bean instance in the second call

    Hi,
    I am new to EJBs. I have made a Stateful session bean on the first jsp page. In this page i am setting certain member variables of the EJB. Now in the second page i want to get these stored values in the EJB.
    In the second page do I...
    1. Store the instance of Remote Interface in the Session Context of the first JSP page and then in the second page get the Remote interface stored in its session context and call the business functions to get the values. If this is the case then what do u mean by Stateful Session beans??
    P.S.- This works fine.
    2. Try to get the Remote interface of that particular instance of the EJB(in which the values were stored) and call its business functions. IF this is possible. How do i do it??
    thanks in advance
    Anurag

    Hi,
    thanks for information. But i have one question. In a stateful session bean why do we have to store the Remote Interface on the client side.
    I expected in the second jsp page when i do a lookup or create, the container/server should find out whether there is a session bean already created for this session if yes, then return that particular instance of the session bean else create a new one.
    If this is not a possible case then a stateful session bean is nuthing but an instance of an object in the EJB container which does not get destroyed unless there is a time out or the remove method is called. It has nuthing to do with session because throughout the session I have to store the remote interface in the session context of the client( the client here means the jsp).
    thanks in advance
    Anurag

  • How to get the default date as current date in input filed in VC

    Hi
    In my VC application i have two date fields. we are allowing the end user to select the From Data and Todate though Data pickers, But the client asking to make the today's date as default date in Todate field , rather picking up from the data picker,
    Unless the  user wants change the todate from the current date. It should display today's date as default date.
    can any body tell me how to do it.
    Regards
    Vijay

    Hi All,
    I have an issue an implementing the "Exporting the Table data to Excel."
    My VC version is 7.0
    Portal version NW 2004s.
    By refering the following link, i have implemented Export To Excell functionality in VC.
    2) Another one that's in the Visual Composer WIKI:
    https://wiki.sdn.sap.com/wiki/display/VC/Exportingdatafrom+VC
    By refering to 7th page in the document. It is explained to add the data source object from the 'info' port and add the field called 'RAPTNAME'to the DATA source object.
    But the RFC object which i added to the story board, i havent find any 'info' port in my added RFC. But still i have added the data store object and added field. then
    copied the following given formula in the document in respective formula window ,Formula showin as valid. when i click on check button.
    copied formula :
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_a
    dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b
    ex?QUERY=" & STORE@REPTNAME &
    "&BI_COMMAND_1-
    BI_COMMAND_TYPE=EXPORT&BI_COMMAND
    1-EXPORTFORMAT=XLS&BI_COMMAND_1-
    null="
    i am able to run the application. After i run the application . once i click on the button 'ExportToExcel' i am getting the following error.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Could not find portal application com.sap.ip.bi.service.generic.
    Exception id: 05:32_01/05/07_0001_18800950
    See the details for the exception ID in the log file
    Can u please tell me what is the problem
    Regards
    Vijay

  • How to get the names of people currently logged into the system?

    Hi,
    How do we get the names of people who are currently logged in to the system at any point of time...i know that we can get the history of people logged in using "wwv_flow_user_activity_log" but is there a way to know who are the currently logged in people ...
    regards
    Naveen

    hi Sergio,
    well that might not work correct all times as some user might have logged in and logged out but the log file will still contain his name...The primary reason why we want to know this is , say suddenly we want to bring down our application for maintainnace purposes, so incase if any body is logged in at that time we want to send them mails that the system is going to be taken down in next 30 mins so and stuff....
    Is there any other alternative ...
    regards
    Naveen

  • In OAF, How to get the DFF Attributes bean in the PR of the controller

    Hi All,
    I am not able to get the holder of the Descriptive Flex Field bean attributes in the processrequest method of the controller. Any idea, how to get it?
    my Code Snippet:
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)webBean.findIndexedChildRecursive("AdditionalAttributes");
    if(oadescriptiveflexbean != null)
    System.out.println("oadescriptiveflexbean is not null);
    OAWebBean bean1 = (OAWebBean) oadescriptiveflexbean.findIndexedChildRecursive("AdditionalAttributes1");
    System.out.println("bean1 "+bean1);
    It is going inside the IF condition. But, it displaying the bean1 value as null.
    Regards,
    Soorya

    Hi,
    You cannot reorder the dffbeans. In DFF setup definition itself, you have to maintain the sequence of the fields.
    DFF beans are listed under flow layout by default. Following note from OA Framework developer guide
    ++++
    Altering the Flexfield UI LayoutNote:
    This is not recommended by the OA Framework team and may cause problems with PPR.
    If you want to do something unusual with the descriptive flexfield UI layout (like insert a button after every segment or move the segments around), you need to follow these steps:
    Find the OADescriptiveFlexBean by attribute name and call the processFlex method on OADescriptiveFlexBean. After this, you will be creating the flexfield segment web beans based on metadata and the view object attribute.
    Call the getIndexedChild(int)method on the flexfield web bean to go through all the child of the flexfield and alter the layout as desired.
    ++++
    Regards,
    Soorya

  • How to get the Seperation setup color plates count in Illustrator 10 SDK?

    Hi All,
    Im using Microsoft VC++6.0 & Illustrator 10 SDK.
    How can i get access to "Seperation setup " property of the document.
    Actually i need to get the number of color plates inside the separation setup.
    Any sample code please.
    Thanks in advance
    Regards
    myRiaz

    It sounds like you need to figure out which part of the API deals with colour separation. It could be AIDocument.h or it could be AIColor.h. I'm afraid you'll just have to check the headers until you find something that looks like you want. You could also try searching the API for a piece of text that you'd expect to find associated with the values you're trying to pull -- that might point you in the right direction.

  • How to get the drive letter of a Volume using command prompt

    Using windows command line tools i want to get the drive letter of a volume, by specifying its volume number.
    For example i have a HDD with 2 volumes: Volume-0 and Volume-1
    I want to set a Variable say 'Letter'=<Drive Letter> such as
    SET Letter=<Command> <Volume Number>
    Is there any command which can do this for me...
    Thanks...

    Hi,
    You can use the diskpart tool to assign a drive letter to the drive by specifying the volume's number.
    1.Open Command Prompt.
    2.Type:diskpart
    3.At the DISKPART prompt, type:list volume
    Make note of the number of the simple volume whose drive letter you want to assign, change, or remove.
    4.At the DISKPART prompt, type:select volume n
    Select the volume, where n is the volume's number, whose drive letter you want to assign, change, or remove.
    5.At the DISKPART prompt, type one of the following:assign letter=L
    Where L is the drive letter you want to assign or change.
    For more detailed information, you could refer to the article below:
    Assign, change, or remove a drive letter
    https://technet.microsoft.com/en-us/library/cc757491(v=ws.10).aspx
    Best Regards,
    Mandy 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to use the compare document option thru VB or command line

    Hi:
    I’m trying to automate the process of comparing two document thrue the option document/compare document in Adobe Acrobat Pro based on a list of files on an excel spreadsheet. Do you know how to do this thru VB code or a command line argument?
    Thanks

    Compare is not exposed via any API.

  • How can get the page source of current open tab through addon?

    i need page source.

    You can prefix the URL with the view-source: protocol to see the page source in a tab.
    *view-source:https://support.mozilla.org/en-US/questions/1021351

  • [Win VC++ 6.0 ]How to get the number of files count in a folder using VC++ 6.0?

    Hi all,
    Can any one tell how to get the number of files(.EPS) count inside a folder when the folder path is specified in VC++ 6.0?
    Thanks in Advance.
    Regards
    myriaz

    I'm a little confused by the question, but it sounds like you're asking how to count the number of files with a particular extension in a given directory? That's not really an AI SDK question, but it's a fairly easy one to find if you google it. If you're trying to use Illustrator to do it, AI doesn't have a general purpose file API. It has a few functions to do some things that Illustrator needs, but I don't think enumerating directories is one of them.

  • How to get the current JSF phase in backing bean?

    How to get the current JSF phase in backing bean?
    Edited by: jimmy6 on Nov 27, 2007 7:27 AM

    I am using phasetracker to trace it also.I want to know whether it is it render response phase. I know FacesContext.getCurrentInstance().getRenderResponse() work for normal jsf component but it will not work for qiupukit datatable. FacesContext.getCurrentInstance().getRenderResponse() will not return true in the following phase. Why?
    [ INFO] 27-11-07 16:20:21 : BEFORE RENDER_RESPONSE(6) (http-80-Processor23)
    I want the 'get' method of datatable being called in response phase to reduce the number of calling because i put the query in 'get' method there. Actually i still straggling with the best practice to code the datatable...

Maybe you are looking for

  • Error while issuing billing documents

    Hi all, I have created a billing document and i wanted to issue it using "VF31" transaction. When i enter my no in the billing doc no in VF31 transaction and i run it, i get two errors: 1) Processing log for program RSNASTED routine ALE_PROCESSING 2)

  • Problem with using XSD in PI 7.1

    Hi all, I am intergrating with a third party which has provided an XSD definition of their message formats. I have imported this file as an external definition and can use it in my message mapping fine. However I'm trying to create a Message Interfac

  • Monitor release (Bildschirmfreigabe) in OS 10.7.3 not working

    I used to run a Mac Mini as a Music server locked in a cabinet, without monitor just as a naked machine. Whenever I needed to do some service to the machine, like adding a new CD, I connected via a Mac Book Air using the built in remote acces (Bildsc

  • Creating Rpt Conmgr Cache File In Temp folder while opening report from app

    hi frends, I m facing one problem with my Web based erp application which is developed in .net , in my application when i open the  report from my applicaiton , in my temp folder there one file gets created name is "rpt conmgr cache" bcoz of this for

  • Stored Procedure to delete a number of tables with a common name attribute

    Hi All, This is my first post so I hope I have posted to the required level with sufficient information. This is my first stored procedure (SP) and is for Oracle 10. I am trying to write a script to delete 11 tables and some rows from another 3 table