How the getServerStats() API call?

How the getServerStats() API call?

Hello
Here you go...

1. to make the rtmp appeal to use the code

var admin_nc = new NetConnection();
var callResponder = new responder (result_callResponder, status_callResponder);

admin_nc.addEventListener (NetStatusEvent.NET_STATUS, nc_status);
admin_nc. Connect ("rtmp://10.192.22.92:1111 / admin", "admin", "admin");

function nc_status(event:NetStatusEvent):void {}
trace ("State of North Carolina" + event.info.code);
{if(Event.info.code=="NetConnection.Connect.Success")}
admin_nc. Call ("getServerStats", callResponder);
       
}

}

function result_callResponder(info:Object):void {}
trace ("result_callResponder");
(var prop in info.data) {}
trace ("property:" + prop + "-" + info.data [prop]);
}
}

function status_callResponder(eve:Event):void {}
trace ("status_callResponder");
}

2. make http call - enter 'admin / http://10.192.22.92:1111 / getServerStats?

auser = admin & apswd = admin"in your browser and press to enter. Before that, make sure you

allowed this command in your users.xml file. To do this, open

dir>/conf/users.Xml. Change the tag "root > AdminServer > HTTPCommands > allow ' and

Enter the value 'All' for her. Save and restart the server, then try http

command.

Kind regards
Janaki L

Tags: Adobe Media Server

Similar Questions

  • the APEX api call, change the repository, in the context of the application has no effect

    Hello

    I call APEX api stored procedures manipulate the repository (such as apex_lang.update_translated_string, apex_lang.publish_application or apex_instance_admin.set_parameter) pl/sql by setting apex_util.set_security_group_id (< workspace_id >) following this example indicated in the documentation of the api of the APEX:

    Start

    --

    -If running SQL * Plus, there set the environment

    -for the workspace Application Express associated with this schema. The

    -call to apex_util.set_security_group_id is not required if

    -you are running as part of the Application Builder

    - or an Application Express application.

    --

    C1 in (select workspace_id from apex_workspaces)

    loop

    apex_util.set_security_group_id (C1.workspace_id);

    "exit";

    end loop;

    -Now, actually create the mapping of the language

    apex_lang.update_translated_string (p_id = 123456789 >)

    , p_language = > 'nl '.

    p_string = > "says is a test");

    commit;

    end;

    /

    Call it the SQL guest (or Toad) everything works fine.

    But when trying to call apex_lang.update_translated_string from an application (with or without the security_group_id) APEX, nothing happens. No error message, the process is complete, but the string in the filing of the translation has not changed. Same effect for other api call that I mentioned. I tried the different authentication scheme in my application: DB account, users of the APEX, custom.

    An idea or a clue on what I'm missing here?

    Kind regards

    Christian

    Dear Mr. Rokitta,

    I tested myself on apex.oracle.com just now, and I had no problem using your anonymous PL/SQL block to update the chain of my filing of translation.  It worked successfully to these two SQL commands in SQL Workshop and also inside an APEX application running.  I also looked at the underlying code, and it's so simple - also long the security_group_id is set correctly, the specified ID is valid and the language code is the code of language of the APEX_APPLICATION_TRANS_REPOS chain, the update should go ahead.

    If set you a test on apex.oracle.com case where this would have been does not work, I would be happy to take a look.

    Merry Christmas.

    Joel

  • IOM Login authentication fails when the IOM API call

    Hello

    We have a small custom application written to make the update of some attributes of the user on OIM. This app works great on the development system, as well as the test system. However, when you run the program on the live system, it generates the error below. Please note that we use the IOM 11.1.1.5, test and production are under linux, while the development system is running windows 7. The test system is a single instance, while IOM in a production environment is clustered. Quick response will be very useful.

    We checked the path provided for authwl.conf and that's okay. Here is the thrown error:

    oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
    at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:197)
    at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
    at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
    at com.infotech.tra.organization.RoleAssignment.updateUserAttributes(RoleAssignment.java:274)
    at com.infotech.tra.organization.RoleAssignment.main(RoleAssignment.java:73)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
    Caused by: java.lang.reflect.InvocationTargetException
    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 oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:193)
    ... 11 more
    Caused by: oracle.iam.platform.utils.NoSuchServiceException: javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: user: weblogic, could not be authenticated.]
    to oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate. < init >(Unknown Source)
    ... 16 more
    Related: javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: user: weblogic, could not be authenticated.]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:682)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:469)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:376)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    to javax.naming.InitialContext. < init > (InitialContext.java:197)
    at org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:114)
    at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
    at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
    at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:155)
    ... more than 17
    Caused by: java.lang.SecurityException: user: weblogic, could not be authenticated.
    at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:116)
    at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke (unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    There was incorrect values in the jndi.properties file causing problems. After the correction of the connection of IOM file worked properly.

  • the API call error: error: the user has sufficient privileges to perform this API call.

    Hello

    I'm exploring cloudClient 3.4.1 but I'm trying to run a "vra catalog list" command or other similar commands I get the error "error: the user has sufficient privileges to perform this API call."

    I don't know what are the permissions of system requirements before I can make the API call because the account which I use to make these calls already have privileges to Administrator local on box of IAAS & is admin Admin/tenant IAAS. In short, the user is a full administrator of the tool.

    Please help me because I found there is a documentation for the usability of the cloudclient.

    Thank you

    MG

    Is the account of your help to make the law of all items in the catalog API call? We have users from the normal group of activities that use the API does not have system or administrator access.

  • REST api call for the properties of the object in the html bridge provides resource not found (404) error.

    Hello

    I added a bridge Html summary view to our existing plugin (which is in Flex). The html page is displayed in the Summary tab with static data like images and titles. But the .gestJSON of the REST api call fails with the error ' could not load resources: the server responded with a 404 (Not Found) status.

    I followed the bridge Html sample chassisB (chassis - summary.js and html) to create the new page.

    Web.XML of the user interface of the plugin is configured to map/rest / *. bean dataAccessController is defined in the bundle context.

    Java package has the DataAccessController same class as the DataAccessController chassisB class

    This is the URL that I see in the javascript debugger and call API is a failure for this url.  There is no error in the virgo.log.

    https:// /vsphere-client/webui_ui_ns/rest/data/properties/323de5b9-4D2E-4dd7-ae32-98277dd44e90%252Fmf8k-h38?properties=name,model,version < vcenter ip >

    webui_ui_ns-client/vSphere is the value of Web-ContextPath in the plugin MANIFESTO. MF

    I spent a lot of time to understand the issue, but no luck. What I'm doing wrong here? Any help is appreciated.

    version of vCenter server appliance 6.0.0

    SDK - vSphere SDK Web 5.5.0

    1.7.0_79 64-bit JDK

    Thank you

    Deepa

    It was a configuration problem. I missed the tag in the bundle context of spring.

    After you add the 2 lines, it worked.

    Thanks for your time.

  • Rental of storage of a configuration library through the SOAP API implementation?

    How I put the "storage lease" and "VM fencing policy" a configuration of library through the SOAP API call?

    Thanks for the help...

    Sorry, these methods are in the Lab Manager 4...

  • API calls for relationships ' point, manufacturer part number...

    Hi all

    We create elements of EBS by using EGO_ITEM_PUB. PROCESS_ITEM from outside the EBS. Now, we want to maintain the following data for positions:

    -Article relationships
    -Manufacturer part number
    -Corss reference

    All these are available under 'Tools' in the menu of the form main element.

    Do you know if there are ready to use of the available API calls?

    Thank you very much

    Konrad

    Hi Konrad;

    Please see the bulletin:
    FAQ: Planning of the details in the relationship of the Item [ID 1428310.1]
    Is there an open Interface or an API to import and maintain point relations [296300.1 ID]
    A public list of API for Master Item [ID 395493.1]

    Respect of
    HELIOS

  • How the line prefetch impact using memeory on oracle.

    Support, we have a table whose structure is like (a varchar2 (4000), b varchar2 (4000), b varchar2 (4000), b varchar2 (4000)). If we fill the with row table of maximum length, i.e.: all ranks will be have4 * 4 k = 16 k data. Then set line prefetch (in sqlplus, arraysize) 5K, then for each extraction, oracle will send 16 K * 5 K = 80 M data to the client. My question is: whence these 80 M stored in oracle?

    I first thought these 80 m will get PGA/UGA, but my tests show me the UGA and PGA are less than 5 M, that size is not enough to store the data of 80 M. Oracle will store the data in the buffer of the decision-making level operating system once all the data is ready? Such as: get 15 K data, put it in the socket buffer, get the data from 15 K one another, put it in the socket buffer, so there is no need for oracle store these 80 M within the oracle database? But 80 M data is too large for the buffer of the socket.

    user646745 wrote:
    My question is if the customer will use super great memory if set prefetch too high. The trace file said oracle is occupied on sending data of 5000 lines without interruption. If the customer must have little need of memory to store. My perl above test has confirmed that it takes a lot of memory to the high setting prefetch.

    Yes. It depends on how the OCI (Oracle Call Interface) is used. The [Oracle® Call Interface Programmer Guide | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci04sql.htm#sthref645] States:

    >
    In order to minimize the server back and forth and optimise performance, the SPOUT can preload lines of result set when executing a query. You can customize this prefetching by setting an OCI_ATTR_PREFETCH_ROWS or OCI_ATTR_PREFETCH_MEMORY of the statement handle attribute using the OCIAttrSet() function. These attributes are used as follows:

    * OCI_ATTR_PREFETCH_ROWS sets the number of lines to be read beforehand. If it is not set, the default value is 1. If the OCIStmtExecute() iters parameter is 0 and prefetching is enabled, lines are buffered during calls to OCIStmtFetch2(). The value of read-ahead can be changed after the execution, as well as between extractions.

    * OCI_ATTR_PREFETCH_MEMORY sets the allocated memory to be a prior extraction lines. The application then retrieves lines as much as can fit in this amount of memory.

    When both of these attributes are specified, the Prerecupere BEAK of the lines up to the OCI_ATTR_PREFETCH_ROWS limit, unless the limit OCI_ATTR_PREFETCH_MEMORY is reached, in which case the NOZZLE return so many rows than fit in a buffer of size OCI_ATTR_PREFETCH_MEMORY.

    By default, the preload is turned on, and the SPOUT recovers an additional line all the time. To enable disable prefetching, define the attributes of the OCI_ATTR_PREFETCH_ROWS and the OCI_ATTR_PREFETCH_MEMORY to zero.
    >

    Therefore, if either prefetch value is high. client memory use will also increase at the same time. The '+' safer + two methods would be to OCI_ATTR_PREFETCH_MEMORY the value that you specify then a size of buffer extraction absolute memory... whereas the use of OCI_ATTR_PREFETCH_ROWS can cause a heavy memory hit to extract lines very large and in turn use very little memory when you read the small lines.

  • Engage in the HRMS API

    Hi all

    Have we need to use COMMIT after the call to the API in HRMS? If Yes, what is the use of the P_VALIDATE parameter? If P_VALIDATE is false, it will implicitly commit or we must give explicit validation? If P_VALIDATE is false and after execution of the API, I have rollback, what will happen?

    Appreciate your response.

    Thanks in advance,

    CAH

    Yes, you will incur after the HRMS API call.

    When you pass p_validate as he true automatically restore the data in the api. This setting is used when you want to validate whether the api will go through fine when pass you some parameters.

    So when you call for the api migration use p_validate as false. and after which memorize the data.

  • How do to identify the documents called "models of library" using the RESTful API?

    How do to identify the documents called "models of library" using the RESTful API? Furthermore, what constitutes a document to be a "model of library"? I see nothing in the libraryDocuments RESTful documentation that describes this type of document, such as presented on the tab 'Manage' my developer account. Please see the screenshot below. There is a model of Document named "[DEMO ONLY] Test model" listed under "Library Templates" and I try to figure out which classifies that document to be included this way and how does produce a similar announcement by using the RESTful API.

    Screen Shot 2014-10-29 at 11.16.48 AM.png

    Thank you!

    Hello

    You can connect to access library models using the REST API, use 'GET /libraryDocuments' allowing to recover documents in library for a user. Models are created in the account of EchoSign, which later are accessible via the REST method mentioned above.

    Jat

  • OIM 11 g R2PS2 - how to decipher the user password while calling the OIMClient API

    Hello

    I have a client application that connects to OIM 11 g R2PS2. Users connect in the client application to trigger a request for service and the client application will submit applications to the IOM.

    Connection to the end users to the client application using OAM authentication. So I need to find a mechanism to get the end-user password so that I can use the same in the OIMClient API to connect to IOM.

    If I login as XELSYSADM in the client application, is it possible that I can ask the user password and decrypt the same? I tried to use the code below, but I'm getting null pointer exception.

    RS = stmt.executeQuery ("select USR_PASSWORD from USR where upper (USR_LOGIN) ='" + id + "'");

    If (rs! = null & & RS.) Next {}

    String encPwd = rs.getString ("USR_PASSWORD");

    System.out.println ("get the DB password:" + encPwd);

    try {}

    String decryptPwd = String.valueOf (CryptoUtil.getDecryptedPassword (encPwd, null));

    tcCryptoUtil.decrypt (encPwd, "DBSecretKey");

    System.out.println ("decrypted password:" + decryptPwd);

    oimClient.login (id1, decryptPwd.toCharArray ());

    } catch (Exception e) {}

    e.printStackTrace ();

    e return;

    }

    }

    Exception:

    < 13 November 2015 12:29:01 EST > < error > < XELLERATE. ACCOUNTMANAGEMENT > < BEA-000000 > < class/method: tcDefaultDBEncryptionImpl/initKeyStore some problems: {1}

    java.lang.NullPointerException

    at com.thortech.xl.crypto.tcCryptoHelper.loadKeyStore(tcCryptoHelper.java:145)

    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.initKeyStore(tcDefaultDBEncryptionImpl.java:67)

    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.getCipher(tcDefaultDBEncryptionImpl.java:99)

    at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.decrypt(tcDefaultDBEncryptionImpl.java:218)

    at com.thortech.xl.crypto.tcCryptoUtil.decrypt(tcCryptoUtil.java:122)

    at com.thortech.xl.crypto.tcCryptoUtil.decrypt(tcCryptoUtil.java:200)

    at oracle.iam.platform.utils.crypto.CryptoUtil.getDecryptedPassword(CryptoUtil.java:132)

    If you want to use the client of the IOM to send the request as long as the logged on user, IE of OAM session, then you might just get the context of the session of the user so the IOM customer queries will be made in this context. There is no need to decrypt the password for the user in this scenario.

    See rest of URL of excellent example illustrating this: Oracle Fusion Middleware security: authentication IOM API without the end user password

  • How to use the Teststand API DisplayEditNumericFormatDialog method

    Hello

    I have to create a report for Teststand coustom generator plugin using c#. In the Teststand API is a built-in method called 'DisplayEditNumericFormatDialog '.

    http://zone.NI.com/reference/en-XX/help/370052M-01/tsapiref/reftopics/propertyobject_displayeditnume...

    Is there a way to set the value of the sample of the window that appears if the method is called?

    I do the following things:

    private void button1_Click (object sender, EventArgs e)
    {
    mChanged = true;
    bool tempbool;

    PropertyObject tempobject = mEngine.NewPropertyObject (PropertyValueTypes.PropValType_Number, false, "", 0); creates a temporary PropertyOgject to view the EditNumericFormatWindow

    tempobject. NumericFormat = mConfig.GetValString (P_PluginSpecific_Options_NumericFormat, 0); read the digital format of the plugin options
    tempobject. DisplayEditNumericFormatDialog ("Digital Format", out (tempbool), 1); View the EditNimericFormatWindow

    If (tempobject. NumericFormat == "") mConfig.SetValString (P_PluginSpecific_Options_NumericFormat, 0, "%$.13g");
    else mConfig.SetValString (P_PluginSpecific_Options_NumericFormat, 0, tempobject.) NumericFormat);

    MessageBox.Show (tempobject. NumericFormat.ToString ());
    }

    Thanks in advance

    Hello f4bo,

    attached is a sequence that shows how this can be done.

    Locals.Local = RunState.Engine.NewPropertyObject (PropValType_Number, False, "", 0x1),.
    Locals.Local.AsPropertyObject.NumericFormat = "%b"
    Locals.Local.AsPropertyObject.SetValNumber ("", 0, 20),.
    Locals.Local.AsPropertyObject.DisplayEditNumericFormatDialog ("false title", False, 0)

  • How to set the clock as a Digital Out Signal in the C API?

    My problem is simple, I'm looking for a way get the my device of the series E clock signal (6254) to a digital camera offline. Is it possible to do in the C API? If yes are there docs everywhere where show me how do?

    Hi neurostu,

    Yes, there is a way. The function is called DAQmxConnectTerms. "" "" "You can find the definition of the function in Start ' programs ' National Instruments ' NOR-DAQ' text Code support" using NOR-DAQmx C reference. "" "On the left, select OR DAQmx C functions" advanced"routing of the Signal'. DAQmxConnectTerms

  • How to open the file? Many types of files, check the type and call app to open it.

    HI.everyone.

    I am doing a project like dropbox.

    The problem is:

    server-side has several files of different types.

    such as: word, excel, file, file pdf image and so on.

    After the file is downloaded.

    How do I know what app is the type of file.

    and call this app to open the file?

    I can get the file type of the file name extension.

    But I do not know how to find the application that can open this file.

    or if this device have any application can open the file. Then, it will show you an alter.

    like dropbox app.

    Please help me.

    Thank you very much.

    Hello

    For above 4.3 and higher, you can use API call to achieve this. In regards to my understanding, it works as follows (Please correct if I am wrong).

    -All files (PDF, excel etc) readers save with BONE graft as "I am able to open the file whose mime the type XXX.

    - So, when you pass the path to the API Invocation, it searches for reader app there is place and request that you open the file. (I know not if more a reader installed in the device that achieved reference)

    Here's the code that worked for me,

    Invocation invocation = new  Invocation();
    invocation.setAction(ContentHandler.ACTION_OPEN);
    Registry registry = Registry.getRegistry("");
    registry.invoke(invocation);
    

    If none of the application saved in the requested file format it then throws the exception.

    Another option is to pass the path to the browser by using the private API to display the files...

    Let me know if it works for you...

    Thank you

  • How to run Bluecat API calls with a Scriptable task in vRO 6

    Throw it to the community for tips.  I'm still VERY new to javascript & vRO.

    I have vRO6 running with the Plugin from the IPAM Bluecat up and running with the actions of out-of-the-box & plugins.  Large.

    What I am struggling with, it's that I am creating tasks that contains custom script that can do 'other' things listed in the Handbook for the Bluecat API...  Looking at the guide, some things are easy, but others make absolutely no sense to me.

    An example of what I don't understand is the sequel... the API guide will show a specific example to the api java code, but it does not explain how to do this in a scriptable vRO task.

    Update in Java:

    APIEntity area = service.getEntityById (area ID).

    Properties EntityProperties = new EntityProperties (zone.getProperties ()); Fill with the existing values and then update the only properties that need to be changed.

    properties.addProperty ("TextUDF", "testTextValue");

    properties.addProperty ("IntegerUDF", "1005");

    zone.setProperties (properties.getPropertiesString ());

    service. Update (area);

    So it's 6 lines of code, but the execution of that api call vRO Bluecat seems to expect a single sector of something like this:

    result = BCNProteusAPI.call (profileName, "method()", args);

    I don't make any sense?  Any guidance here?

    Thank you!!!

    The version of the plugin available on SolutionExchange seems to expose a script object unique vRO BCNProteusAPI that acts as a proxy for Proteus service calls. Thus, the Java method calls that look like service.someMethod (args) should be directly translatable to scripts of calls BCNProteusAPI.call (profileName, "someMethod", [args]); For the example you provided, calls Java

    APIEntity zone = service.getEntityById( zoneId );
    service.update(zone);
    

    may arise in the vRO as scripts

    var zone = BCNProteusAPI.call(profileName, "getEntityById", [zoneId] );
    BCNProteusAPI.call(profileName, "update", [zone]);
    

    Unfortunately, the other Proteus API objects, like APIEntity, EntityProperties, etc., are not exposed as vRO scripts of the objects, which can cause problems if some service API requires such object as an input parameter. You will probably be able to pass this object returned by a call to service as input to another call from service (such as area in the example above), but you may have problems to instantiate them directly (like EntityProperties in the Java code example).

    You can contact BlueCat for info, why not not all objects are exposed as vRO script objects and how they recommend to use these objects.

Maybe you are looking for