Command Line Application Usage

Can I use the command line app (coherence.cmd) to query values in an out of process cache? If so how would I go about that?

Hi Karim,
Let's assume you have a distributed cache named "Test1" on the cache servers. You can start the command line app on a cache client (localstorage=false) and join the same named cache that is running on the cache servers by typing the following command at the prompt:
cache Test1
From the prompt you can type the following command to display cache entries in this particular cache:
list
A list of available commands can be found by typing "help" at the prompt or here on the website here.
I hope this helps.
Best regards,
Gary
Tangosol, Inc.

Similar Messages

  • KeyListener for a command line application

    Hi, I'm currently writing a small command line application aimed at interacting with a database. I would like to implement features such as an automatic completion of the names with the TAB key. My problem is that the objects that sends KeyEvent are AWT components, and they do that when they have the focus. So I was wondering if any of you had already done such a thing. Until now, I tried lots of things, but there is no way I can catch a KeyEvent within the command line...
    Souk

    Write your own input routine that internally reads a character at a time instead of a complete line or string and test the character for tab etc. and take the appropriate action. This also means you will have to/can implement editing keys.
    If there is a Java class that has an dictionary to compare input with I do not know, because the last time I wrote a tool without gui was in 1985.
    Regards
    SH

  • Telnet Server or Command Line Applications

    Hi,
    Bit of a random question to ask seeing as no one has asked it before...but...
    Is there a TELNET SERVER or command line application around for the N series phones? I'm keen on doing some console work with my N82 to explore the symbian interface more.
    Any ideas?
    Owned: Nokia 3510i, Nokia 3120, Nokia 6230i, Nokia 6233, Nokia N73, Nokia N82.
    Current: Nokia N900!

    24-Mar-2008 02:25 PM
    psychomania wrote:
    This has been posted a few times recently for other models and I think someone posted a link to a useful app that works.
    Are you sure of this, Psycho?
    I've seen links to telnet and ssh CLIENTS for S60 here, not for servers.
    Message Edited by grschinon on 24-Mar-2008 02:38 PM
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Can the command line application be extended?

    I would like to add command like keys etc..Is this possible?

    Correct me if I am wrong, from what I understand, beanShell is a scripting language which interprets the Java language. Yes, I could connect to coherence cache and run any commands I want. However, that won't include the commands which are already prefined in the tangosol command line, would it?
    If I am wrong, I would appreciate if you could show me an example of beanShell and the command line application.

  • Command line applications

    Hi,
    does anybody know how to create a class that represents a command line application that would use a previously created class's methods and variables?
    Jamie

    Is this what you're after?
    You can compile these 2 together as is with InUser.java - though better to compile the class In.java seperately then you will be able to use it elsewhereimport java.io.*;
    // Note: this class has NO "main()" so it cannot work alone
    class In{
       private static InputStreamReader isr = new InputStreamReader(System.in);
       private static BufferedReader in = new BufferedReader(isr);
       public static void prompt(String s) {
          System.out.print(s);
          System.out.flush();
       public static String getString(){
          String str = null;
          try {
             str = in.readLine();
          catch (IOException e){
             System.out.println("Error: In.Read() "+e.getMessage());
             System.exit(0);
       return str;
       public static int getInt(){
          int ii = 0;
             try {
             ii = Integer.parseInt(in.readLine() );
          catch (NumberFormatException nfe){
             System.out.println("Error: the number is not convertable to an int");
          catch (IOException e){
             System.out.println("Error: In.Read() "+e.getMessage());
             System.exit(0);
       return ii;
       public static double getDouble(){
          double dd = 0D;
             try {
                dd = Double.parseDouble(in.readLine() );
             catch (NumberFormatException nfe){
                System.out.println("Error: the number is not convertable to a double");
             catch (IOException e){
                System.out.println("Error: In.Read() "+e.getMessage());
                System.exit(0);
       return dd;
    // And the user with file with a main signature:
    public class InUser{
       public static void main(String[]args){
          System.out.println("\nExample 'In.java' with Readln:");
          In.prompt("Please enter your name: ");
          String name = In.getString();
          System.out.println("Welcome "+name); 
          In.prompt("Please enter a whole number: ");  
          int ii = In.getInt();
          System.out.println("The number squared is "+(ii*ii)); 
          In.prompt("Please enter a fraction number: ");  
          double dd = In.getDouble();
          System.out.println("The numbers square root is " +Math.sqrt(dd));    
    }

  • Develop a command-line application using LabVIEW

    Hi,
             Is it possible to generate a command line(CLI) executable using LabVIEW? This CLI exe will be called with certain command line arguments by another application (written in Visual Basic). The LabVIEW Run time engine can be installed separately on the host PC.
    Thanks for your help
    Siddharth 
    Solved!
    Go to Solution.

    There is an example that ships with LabVIEW that shows how to read the command line arguements from an application. THe name of the VI is CommandLine.vi. It is extremely basic though. The power of command line arguements really comes from how you define and parse them. I recommend allowing your command line arguements to be order independent and that they require a label. For comand lines I prefer to use a single letter for the label. Full words are nice but then your command line gets very long. For the applications that we write we allow both the '/' (DOS/Windows style) and the '-' (Unix/Linux style) to designate a command line label.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • PHP include path for command line applications

    I'm packaging my first contribution to the AUR: a package for Boris, a tiny REPL for PHP.
    The issue I'm finding is that it includes a file relative to where the bin is and it somewhat conflicts with Arch's recommendation for using /usr/lib/pkgname for shared files. You can see the offending line here: https://github.com/d11wtq/boris/blob/ma … n/boris#L6
    I fixed it with sed, but I'm not happy with the solution I wrote. I hoped for PHP shared libraries to have a $PATH such as Python packages, but it seems like it doesn't (by default). See my pkgbuild here: http://sprunge.us/TYgj

    I do it using the registry.  Here is a post where I have a AutoIt EXE scan for what versions of the runtime engine are installed.  And then it runs an EXE that is compatible with the run-time engine or development environment installed.
    http://lavag.org/topic/17803-run-exe-based-on-installed-run-time/
    But you can also do it from a VI.  Attached is a VI that will find the Run-Time versions installed and development with path to the EXE/DLL.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    LabVIEW Versions Installed Registry.vi ‏37 KB

  • How to setup my c# command line application to a remote oracle database?

    Hi all,
    I will like to ask, how do I setup my C# program to be able to connect to a remote oracle database?
    More information:
    - I have an oracle database express version running on my PC.
    - I am able to run and get data from the database on the same PC.
    - But when I bring my application over to another PC within the same LAN. It does not run and given me an error stating "The provider is not compatible with the version of Oracle client".
    What do I need to do on the Client PC so that I am able to communicate back to the server database?
    Many thanks!

    This is the XE forum, not the .NET programming forum, but this might be helpful:
    http://www.codeproject.com/Articles/18692/Instant-Oracle-Using-C

  • Command line interaction - piecemeal!

    Hi All
    I am using "Calling System Exec.vi". Lets say you have a command line app where you have to interact with it over the command line (e.g the command line is the applications UI) The app prompts the user for input for example "Press L to load" and then provides output, e.g. "Load Successful" and these "questions and answers" may occur a number of times.
    From what I can understand this VI is geared towards running the command line application and entering all input (standard inpu) and getting all output (standard output) within a single execution of the Calling System Exec.vi
    What i need to be able to do is open the app but then enter the input and retrieve the output on a  piecemeal basis, at will, without having to wait for the overall execution of the vi to end and\or having to retrieve the standard output in one big lump when it does end. Is this possible, if so how?
    The nearest analogy I can provide to describe what I want to do is when you are communicating with an instrument, you first open it and then you write to it (standard input) to get it to perform some action, and then you read from it (standard output) to get a response. Finally when your done you close it.
    I have a feeling that this is looking like a DLL but because this is a third party .exe I cannot obtain a DLL so this is my only option.
    Thanks for your help.

    This question has been brought up before. Did you try a search?
    http://forums.ni.com/t5/LabVIEW/Controlling-the-STDIN-STDOUT-of-a-legacy-application-in-LabVIEW/m-p/...

  • Error while running aiaconfig.sh - The command line argument(s) "weblogicConfig"

    Hi.
    We are Configuring PIP on AIA 11.1.1.7 after installing AIA PIP release. we we run ./aiaconfig.sh we are getting below error message,
    $./aiaconfig.sh
    Starting Oracle Universal Installer...
    Checking swap space: must be greater than 500 MB.   Actual 169130 MB    Passed
    Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-11-20_04-11-10AM. Please wait ...adevaia                                                        @soa-odi-dev1:/u02/app/Oracle/Middleware/AIAHOME/bin$ [WARN ][jrockit] MaxPermSize=256m ignored: Not a valid opt                                                        ion for JRockit
    Log: /u01/app/oraInventory/logs/install2013-11-20_04-11-10AM.log
    The command line argument(s) "weblogicConfig" or the install mode specified is not valid.
    Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
    Usage:
    config.sh [-mode] [-options] [(<CommandLineVariable=Value>)*]
    Where mode include:
    [Mode is a mandatory parameter. Only one mode can be specified.]
         -silent For silent mode operations, the inputs can be a response file or a list of
                  command line variable value pairs.
    Where options include:
         -help, --help, --usage
                  Displays above usage.
         -invPtrLoc <inventory pointer file>
                  Launches the installer with a custom inventory location. The invPtrLoc
                  should point to a file which contains the following information.
                  inventory_loc=<inventory_location>
                  inst_group=<group_name>
         -response, -responseFile <response file>
                  Specifies the response file and path to use.
         -jreLoc <location>
                  Path where Java Runtime Environment is installed. OUI cannot be run without
                  it.
         -logLevel <level>
                  To filter log messages that have a lesser priority level than <level>.
                  Valid options are: severe, warning, info, config, fine, finer, finest,
                  basic, general, detailed, trace. The use of basic, general, detailed, trace
                  is deprecated.
         -debug  For getting the debug information from OUI.
         -force  Allowing silent mode installation into a non-empty directory.
         -printdiskusage
                  Log debug information for disk usage.
         -printmemory
                  Path where Java Runtime Environment is installed. OUI cannot be run without
                  it.
         -printtime
                  Log debug information for time usage.
         -waitforcompletion
                  For windows. setup.exe will wait for completion instead of spawning the
                  java engine and exiting.
         -noconsole
                  For suppressing display of messages to console. Console is not allocated.
         -ignoreSysPrereqs
                  For ignoring the results of the system pre-requisite checks.
         -executeSysPrereqs
                  Execute system pre-requisite checks and exit.
         -paramFile <location of file>
                  Specify location of oraparam.ini file to be used by OUI.
         -novalidation
                  Disables the validations, can be invoked along with GUI or silent mode.
         -nodefaultinput
                  Disables the default computation of values (pre-populating of values when
                  screen is loaded) in GUI install.
         -nocheckForUpdates
                  To disable all updates checking
         -updatesDir
                  To specify the directory where latest updates are downloaded. This could be
                  used in disconnected mode.
    Command Line Variables Usage:
              Command line variables are specified using <name=value>; for example:
                  [ session: | session:compName: | session:compName:version: ]variableName=" valueOfVariable"]
              Installer variables are specified using:
                  varName=value
                  Ex: ORACLE_HOME=<value>
              OUI Session variables are specified using:
                  session:varName=value
                  Ex: session:VARIABLE_NAME=<value>
              OUI Component variables are specified using:
                  session:compInternalName:[Version:]varName
                  Ex 1: session:oracle.comp1:1.0.1:varName=<value>
                  Ex 2: session:oracle.comp1:varName=<value>
                  The lookup order is compInternalName:Version:varName, then compInternalName:varName
    do anyone had any idea on this.
    Thanks a lot,
    RR.

    try checking relevant environment variables like the CLASSPATH.... a major source of failures in Windows is when in the classpath there is a path containing SPACES.... also enabling some "debug" or "verbose" flag (not sure how to do it) would provide more insight...

  • Terminal.app command line for bluetooth

    Hi,
    Are there any command line applications to monitor or change bluetooth status? For example I use "scselect" to examine and change Network locations.
    Thanks!

    Try->
    apropos bluetooth
    Most likely you need to operate on .plist (preference file) to change the status.

  • Package command line app with AIR app

    Forgive me if I seem completely dense, but I've been googling and forum finding and hair pulling all day on this.
    I wrote a command line application and I call it from my air application.  It all works just fine, but right now the location of the command line application is hard coded.  I want to know:
    1) What is the actionscript that allows me to refer my nativeProcess call to a an application that is packaged with the air app when I export?
    2) Where do I place the command line application in the file system of flash builder to bundle it with everything when I export?
    I realize it'll be different for mac and windows, but I need to do both.  I'm starting with the mac.  Right now as far as I know I can put the command line app in the source folder and that all ends up in the .app/contents/resources folder, but I'm not exactly sure how to reference that in actionscript or if I can or if I should?  I don't know.  Clue me in?

    Can you not use File.applicationDirectory.url as a base?

  • Execute a job in Tidal from SAP command line

    I am looking for an example of a script to execute from an SAP Unix server command line that will start the execution of a batch job in Tidal???

    Hello Jennifer,
    What version of BusinessObjects Enterprise would you be using?
    There's no out-of-the-box command-line utility for scheduling reports. 
    Options are:
    Schedule using the [BusinessObjects Enterprise SDK|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/BOE_SDK/default.htm] using Java or .NET code
    Schedule using the [Business Process BI|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_portal/doc/wssdk_bpbi_doc.pdf] Web Services.
    One restriction on using the SDK is that it's tested/fully support only in web applications, and not desktop/command-line applications.
    Sincerely,
    Ted ueda

  • Labview command-line interface

    Hi,
    I have another simple Labview question.   I am trying to determine if Labview is suitable for my purposes.  I have no data acquisiton needs and Labview was suggested to me as a language for GUI development.  I am going to start learning Labview to give it a fair shake for GUI development, because I have some experience in C# and Java.  However, the graphical programming aspect of Labview might be advantageous.  My question is Can Labview be used to develop a command-line application?
    Thanks for your help,
    Will

    OK, so you just need a command-line version of the application you already have? LabVIEW has an application method that allows you to get the command-line arguments passed into a LabVIEW app:
    This will allow you to call a LabVIEW app from the command line and pass in some arguments. The LabVIEW app doesn't need to display a GUI.
    Note that when I say "LabVIEW app" I mean code that you've compiled into an application that you run with the LabVIEW Runtime Engine. I'm not referring to the LabVIEW application itself.
    Message Edited by smercurio_fc on 03-06-2008 12:28 PM
    Attachments:
    Example_VI_BD.png ‏1 KB

  • Launching command line app

    Imagemagick is a command line application for graphics
    opperations. I'd like to be able to control this (launch windows
    command line scripts) from within Director.
    Is this possible?
    Thanks

    Valentin's free ShellXtra sounds like a good fit for you:
    http://staff.dasdeck.de/valentin/xtras/shell/

Maybe you are looking for

  • Is there a way to instal Final cut studio 2 in the new iMac with Lion?

    My new iMac arrived with pre installed Os x Lion. When tried to instal FCS2 it gives me error that it can't open it because PowerPC apps are no longer supported. Geniuses . I'm wandering, since I can't downgrade to snow leopard, is there a way around

  • I can't get my Itunes to connect with the itune store . my itune will not go on line

    I down loaded the latest Itune and it will not connect to the internet. when i do a diagnostic it tells me there is live connection but it will not connect to the itune store

  • MAKING THE TIMELINE EXPORT WIDESCREEN

    Hey Guys: I've been working on different settings for a while and can not seem to find the right combo. I have DV NTSC footage that was shot 16 x 9 (widescreen). I take those clips after importing and try to put into my timeline. I set the timeline s

  • A Bag of Hurt

    To paraphrase Steve: SL is a bag of hurt. Not talking about the major problems. I corrected or never had them. I just find it slower and its added features are just not worth it for me. 10.5.8 is faster & more stable IMO. On to my questions: 3 months

  • CANNOT OVERRIDE DOCUMENT ROUTING ID FOR SPECIFIC TRADING PARTNER FOR ROSETT

    Cannot override Document Routing ID for specific trading partner for RosettaNet transactions. The Document Routing ID for other transactions types (e.g EDI) can be overridden when creating operation capability for a trading partner by unchecking "Use