Management of SonicMQ5.0.2 on Solaris(Non GUI)

Please provide me help regarding management of SonicMQ5.0.2 from console.
(Admin.sh file was there in earlier versions but in this version i dont find anything from where i can manage SonicMQ)
as i want to install it on a Solaris Machine.
one file with the name configAdmin.sh is there but when i try to run it show that "this tool is not for customer use".
Thanx in Advance for any help.

The Samples provided with the SonicMQ5.0.2 does not include the codes for creating Broker and Cluster by Command prompt.
Can any one help me for the same(How do i create Cluster and Broker from the Command Prompt)
An example for creating Container is there though, but i need the same for Clusters and Brokers also.
Regards

Similar Messages

  • Oracle 11g client installation on Solaris in non GUI mode

    Hi,
    I want to know if there is a way i can install Oracle 11g client on Solaris 10 machine in non GUI mode (ie. i want to do it from a command based terminal)
    Thanks
    Anup

    Hi Anup
    You have two ways to install it
    1) Client installation without response file
    Please Refer to Doc ID 885643.1
    2) With Response file
    Refer to the document available in Document library
    Document Oracle® Database Client Installation Guide
    11g Release 2 (11.2) for Solaris Operating System
    Note: from 11gR2 onwards you can create a response file from GUI also and then use it later on for silent installation.
    Hope this is helpful for You
    Regards
    Sudhir
    Edited by: user13090769 on Sep 1, 2010 10:55 AM
    Edited by: user13090769 on Sep 1, 2010 10:56 AM

  • 11gR2 scan and scan listeners are not starting in Solaris non globa zones

    Hi,
    my configuration is a 2 node RAC. each node is a solaris container/ zones on two phyiscally different machines.
    (SunOS 5.10 Generic_147440-07 sun4u sparc SUNW,SPARC-Enterprise).
    after installation of GI, root.sh was successful but failed when trying to start the following resources
    ora.scan1.vip
    ora.scan2.vip
    ora.scan3.vip
    the scans are not in the host file but on DNS, the GI home has been patched with January 2012 GI PSU.
    Has any one successfully installed 11gR2 RAC on Solaris non global zones? if you have tell me how you got past the scan issue.
    ***** rootcrs_db01.log ******
    PRCR-1079 : Failed to start resource ora.scan1.vip
    CRS-5017: The resource action "ora.scan1.vip start" encountered the following error:
    Action for VIP aborted
    CRS-2674: Start of 'ora.scan1.vip' on 'db01' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
    PRCR-1079 : Failed to start resource ora.scan2.vip
    CRS-5017: The resource action "ora.scan2.vip start" encountered the following error:
    Action for VIP aborted
    CRS-2674: Start of 'ora.scan2.vip' on 'db01' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan2.vip' on that would satisfy its placement policy
    PRCR-1079 : Failed to start resource ora.scan3.vip
    CRS-5017: The resource action "ora.scan3.vip start" encountered the following error:
    Action for VIP aborted
    CRS-2674: Start of 'ora.scan3.vip' on 'db01' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan3.vip' on that would satisfy its placement policy
    [main] [ 2012-04-17 11:25:38.497 WAT ] [CRSNative.internalQueryResources:1536] About to doQueryResources: eType resource, nodeName null, filter (TYPE == ora.scan_vip.type)
    [main] [ 2012-04-17 11:25:38.532 WAT ] [CRSNative.internalQueryResources:1544] found 3 resources
    [main] [ 2012-04-17 11:25:38.532 WAT ] [CRSNative.internalQueryResources:1546]      ora.scan1.vip
    [main] [ 2012-04-17 11:25:38.533 WAT ] [CRSNative.internalQueryResources:1546]      ora.scan2.vip
    [main] [ 2012-04-17 11:25:38.533 WAT ] [CRSNative.internalQueryResources:1546]      ora.scan3.vip
    [main] [ 2012-04-17 11:25:38.564 WAT ] [CRSNative.isEntityRegistered:734] entity: ora.scan1.vip, type: 1, registered: true
    [main] [ 2012-04-17 11:25:38.565 WAT ] [ScanVIPImpl.<init>:164] ordinal number is 1
    [main] [ 2012-04-17 11:25:38.587 WAT ] [CRSNative.isEntityRegistered:734] entity: ora.scan1.vip, type: 1, registered: true
    [main] [ 2012-04-17 11:25:38.609 WAT ] [CRSNative.isEntityRegistered:734] entity: ora.scan2.vip, type: 1, registered: true
    [main] [ 2012-04-17 11:25:38.610 WAT ] [ScanVIPImpl.<init>:164] ordinal number is 2
    [main] [ 2012-04-17 11:25:38.631 WAT ] [CRSNative.isEntityRegistered:734] entity: ora.scan2.vip, type: 1, registered: true
    [main] [ 2012-04-17 11:25:38.653 WAT ] [CRSNative.isEntityRegistered:734] entity: ora.scan3.vip, type: 1, registered: true
    [main] [ 2012-04-17 11:25:38.654 WAT ] [ScanVIPImpl.<init>:164] ordinal number is 3
    [main] [ 2012-04-17 11:25:38.674 WAT ] [CRSNative.isEntityRegistered:734] entity: ora.scan3.vip, type: 1, registered: true
    [main] [ 2012-04-17 11:25:38.675 WAT ] [CRSNative.internalStartResource:373] About to start resource: Name: ora.scan1.vip, force:true node: null, options: 0, filter null
    [main] [ 2012-04-17 11:25:38.702 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan1.vip false CRS-2672: Attempting to start 'ora.scan1.vip' on 'ojesmdb01'
    [main] [ 2012-04-17 11:26:39.079 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan1.vip true CRS-5017: The resource action "ora.scan1.vip start" encountered the following error:
    Action for VIP aborted
    [main] [ 2012-04-17 11:26:42.730 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan1.vip true CRS-2674: Start of 'ora.scan1.vip' on 'ojesmdb01' failed
    [main] [ 2012-04-17 11:26:42.731 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan1.vip false CRS-2679: Attempting to clean 'ora.scan1.vip' on 'ojesmdb01'
    [main] [ 2012-04-17 11:26:42.743 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan1.vip false CRS-2681: Clean of 'ora.scan1.vip' on 'ojesmdb01' succeeded
    [main] [ 2012-04-17 11:26:42.746 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan1.vip true CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
    [main] [ 2012-04-17 11:26:42.750 WAT ] [CRSNativeResult.addComp:162] add comp: name ora.scan1.vip, rc 223, msg CRS-0223: Resource 'ora.scan1.vip' has placement error.
    [main] [ 2012-04-17 11:26:42.752 WAT ] [CRSNative.internalStartResource:386] Failed to start resource: Name: ora.scan1.vip, node: null, filter: null, msg CRS-5017: The resource action "ora.scan1.vip start" encountered the following error:
    Action for VIP aborted
    CRS-2674: Start of 'ora.scan1.vip' on 'db01' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
    [main] [ 2012-04-17 11:26:42.754 WAT ] [CRSNative.internalStartResource:373] About to start resource: Name: ora.scan2.vip, force:true node: null, options: 0, filter null
    [main] [ 2012-04-17 11:26:42.778 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan2.vip false CRS-2672: Attempting to start 'ora.scan2.vip' on 'ojesmdb01'
    [main] [ 2012-04-17 11:27:43.132 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan2.vip true CRS-5017: The resource action "ora.scan2.vip start" encountered the following error:
    Action for VIP aborted
    [main] [ 2012-04-17 11:27:46.805 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan2.vip true CRS-2674: Start of 'ora.scan2.vip' on 'ojesmdb01' failed
    [main] [ 2012-04-17 11:27:46.806 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan2.vip false CRS-2679: Attempting to clean 'ora.scan2.vip' on 'ojesmdb01'
    [main] [ 2012-04-17 11:27:46.820 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan2.vip false CRS-2681: Clean of 'ora.scan2.vip' on 'ojesmdb01' succeeded
    [main] [ 2012-04-17 11:27:46.822 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan2.vip true CRS-2632: There are no more servers to try to place resource 'ora.scan2.vip' on that would satisfy its placement policy
    [main] [ 2012-04-17 11:27:46.826 WAT ] [CRSNativeResult.addComp:162] add comp: name ora.scan2.vip, rc 223, msg CRS-0223: Resource 'ora.scan2.vip' has placement error.
    [main] [ 2012-04-17 11:27:46.827 WAT ] [CRSNative.internalStartResource:386] Failed to start resource: Name: ora.scan2.vip, node: null, filter: null, msg CRS-5017: The resource action "ora.scan2.vip start" encountered the following error:
    Action for VIP aborted
    CRS-2674: Start of 'ora.scan2.vip' on 'db01' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan2.vip' on that would satisfy its placement policy
    [main] [ 2012-04-17 11:27:46.828 WAT ] [CRSNative.internalStartResource:373] About to start resource: Name: ora.scan3.vip, force:true node: null, options: 0, filter null
    [main] [ 2012-04-17 11:27:46.855 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan3.vip false CRS-2672: Attempting to start 'ora.scan3.vip' on 'ojesmdb01'
    [main] [ 2012-04-17 11:28:47.212 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan3.vip true CRS-5017: The resource action "ora.scan3.vip start" encountered the following error:
    Action for VIP aborted
    [main] [ 2012-04-17 11:28:50.881 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan3.vip true CRS-2674: Start of 'ora.scan3.vip' on 'ojesmdb01' failed
    [main] [ 2012-04-17 11:28:50.883 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan3.vip false CRS-2679: Attempting to clean 'ora.scan3.vip' on 'ojesmdb01'
    [main] [ 2012-04-17 11:28:50.895 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan3.vip false CRS-2681: Clean of 'ora.scan3.vip' on 'ojesmdb01' succeeded
    [main] [ 2012-04-17 11:28:50.898 WAT ] [CRSNativeResult.addLine:106] callback: ora.scan3.vip true CRS-2632: There are no more servers to try to place resource 'ora.scan3.vip' on that would satisfy its placement policy
    [main] [ 2012-04-17 11:28:50.902 WAT ] [CRSNativeResult.addComp:162] add comp: name ora.scan3.vip, rc 223, msg CRS-0223: Resource 'ora.scan3.vip' has placement error.
    [main] [ 2012-04-17 11:28:50.902 WAT ] [CRSNative.internalStartResource:386] Failed to start resource: Name: ora.scan3.vip, node: null, filter: null, msg CRS-5017: The resource action "ora.scan3.vip start" encountered the following error:
    Action for VIP aborted
    thanks in advance
    Samuel K

    Hi,
    Put here
    $ srvctl config scan
    $ nslookup <scan_name>
    $ ping <all  scan vip>Regards,
    Levi Pereira

  • How to create a separate /var partition on solaris non-global zone

    Hi
    I found no simple way to create a separate /var partition in solaris non-global zone.
    I am using solaris 10 u9 and my root pool is zfs. My zone's zonepath is also separate zfs fs.
    But, I do not know how to make the /var as a mountpoint of another zfs dataset since /var is not empty.
    I also do not know if there is a way to install a zone with /var as a separate (outside '/') partition.
    That will be really useful.
    Any suggestion?
    Thanks
    Edited by: vadud3 on Sep 20, 2010 12:16 PM

    I meant a separate zfs fs with mountpoint '/var' in a non-global zone.
    I am insisting, because I do not want /var to fill up the '/' on non-global zone.
    With default non-global zone installation, you cannot avoid that.
    My zonepath itself is a zfs fs. I also have a zfs dataset provisioned to the non-global zone.
    I cannot create a zfs fs out of that dataset and mount it as '/var' becasue by then non-global zone
    already installed content on '/var'
    I want the '/var' as a separate dir or mountpoint, the same reason global zone gives you that option during install.
    Thanks

  • Need help writing non-gui JMF program

    I need to write a program that will convert a WAV file from a ULAW format to a GSM WAV file format. I first tried this with the Java Sound API and the WAV file format of GSM was not supported so I stumbled across JMF.
    I can use the JMStudio and Export GUI programs that come with JMF to convert the wav file as needed. But now I'm trying to write a batch program (non-gui) to convert the file on the fly.
    First, is this possible. Second, does anyone have any code samples of a batch java program using JMF in batch.
    Thanks,
    Scott

    Not exactly what I was looking for. After 2 days of beating my head against the wall this is what I got to work. Include the jmf.jar in my project. Here is my code.
    import java.io.IOException;
    import javax.media.DataSink;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.NoDataSourceException;
    import javax.media.Processor;
    import javax.media.control.TrackControl;
    import javax.media.format.AudioFormat;
    import javax.media.protocol.DataSource;
    import javax.media.protocol.FileTypeDescriptor;
    import jmapps.util.StateHelper;
    public class TestAudio5 {
         public static void main(String[] args) {
              try {
                   Processor p = null;
                   StateHelper sh = null;
                   DataSource inSource = Manager.createDataSource(
                             new MediaLocator("file:c:\\ASSURANCE_THREE_MINUTE.wav"));
                   p = Manager.createProcessor(inSource);
                   sh = new StateHelper(p);
    //               Configure the processor
                   if (!sh.configure(10000)) {
                             System.out.println("can't configure");
                        System.exit(-1);
                   p.setContentDescriptor(new
                                       FileTypeDescriptor(FileTypeDescriptor.WAVE));
                   //AudioFormat(java.lang.String encoding, double sampleRate, int sampleSizeInBits, int channels)
                   //AudioFormat(
                   //          java.lang.String encoding,
                   //          double sampleRate,
                   //          int sampleSizeInBits,
                   //          int channels,
                   //          int endian,
                   //          int signed,
                   //          int frameSizeInBits,
                   //          double frameRate,
                   //          java.lang.Class dataType)
                   AudioFormat outputFormat = new javax.media.format.AudioFormat(
                                            AudioFormat.GSM_MS,
                                            8000.0,
                                            0,
                                            1,
                                            0,
                                            1,
                                            520,
                                            1625.0,
                                            null);
                   System.out.println("outputFormat: " + outputFormat.toString());
                   TrackControl tc[] = p.getTrackControls();
                   for ( int i = 0; i < tc.length; i++ ) {
                        tc.setEnabled(true);
                        System.out.println("before format: " + tc[i].getFormat().toString());
                        tc[i].setFormat(outputFormat);
                        System.out.println("after format: " + tc[i].getFormat().toString());
                   if (!sh.realize(10000)) {
                                       System.out.println("can't realize");
                                       System.exit(-1);
                   // get the output of the processor
                   DataSource source = p.getDataOutput();
                   // create a File protocol MediaLocator with the location
                   // of the file to which bits are to be written
                   MediaLocator dest = new MediaLocator("file://c:\\test.wav");
                   // create a datasink to do the file writing & open the
                   // sink to make sure we can write to it.
                   DataSink filewriter = null;
                   filewriter = Manager.createDataSink(source, dest);
                   filewriter.open();
                   // now start the filewriter and processor
                   filewriter.start();
                   sh.playToEndOfMedia(5000);
                   sh.close();
                   filewriter.close();
              } catch (NoDataSourceException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              catch (Exception e) {
                             // TODO Auto-generated catch block
                   e.printStackTrace();
              System.out.println("done!");
              System.exit(-1);

  • Event handling in custom Non-GUI components

    I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
    I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
    I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.

    ravinsp wrote:
    I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
    I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
    I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.If you want to make your own Listener make your Listener. Create an event class that encapsulates the event as you want, create a listener interface that has a method like handleMyEvent(MyEvent me) and then add addMyEventListener, removeMyEventListener methods to your original class. Add a List<MyEvent> to your original class and add the listeners to it and then when events happen
    MyEvent someEvent = new MyEvent();
    for(MyEventListener mel : eventlisteners)
       mel.handleMyEvent(someEvent);

  • How to start TestStand ApplicationMgr in a NON-GUI C# modules

    hello all,
    We used to implement our test UI in C# windows form. We put ApplicationMgr ActiveX control on the form and the ApplicationMgr can be easily accessed and started.
    Now we need to implement the UI in WPF and we have to seperate the UI and the Test Engine into different module so that the UI can call different type of Test Engines later. Therefore we have to implement the TestStand TestEngine module in a NON-GUI module. In this module we need to load a sequence file, run the sequnece file, collect test results and send back to UI to display.
    To implement this module we have a lot of questions:
    1. Is ApplicationMgr a must-have for our purpose of loading, running sequence and getting test results?
    2. Can AppliactionMgr be created in a NON-GUI module?
    3. Can we use
    NationalInstruments.TestStand.Interop.UI.Applicati
    onMgr myApplicationMgr = new NationalInstruments.TestStand.Interop.UI.ApplicationMgr();
    myApplicationMgr.Start()
    to create and start the ApplicationMgr? We have tried, but unfortunately it is not working. What did we miss?
    4. Is the ActiveX control the only way to access the ApplicationMgr? For NON-GUI module, there must be a way that we didn't find yet. Anyone have help us point to a right direction? If some example code would be great!
    Thank you very much!
    Regards,

    The ApplicationMgr makes a lot of things simpler, so I highly recommend you use it even if you aren't displaying a UI with it. You can create the control on a hidden form as follows (assuming your thread is an STA thread):
    System.Windows.Forms.Form hiddenForm = new System.Windows.Forms.Form();
    NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr appMgr = new NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr();
    ((System.ComponentModel.ISupportInitialize)(appMgr)).BeginInit();
    hiddenForm.Controls.Add(appMgr);
    ((System.ComponentModel.ISupportInitialize)(appMgr)).EndInit();
    This way you can use the ApplicationMgr without showing anything to the user.
    Hope this helps,
    -Doug

  • Non-GUI events in Java

    I was wondering how I would have to go about writing an event handling mechanism on something that is not GUI-based (non-AWT/SWING)!
    Supposing one wanted to write an event listener that would tell them when a data structure is updated - e.g: in a typical producer-consumer model, where the consumer is to be notified of fresh entries whenever a producer writes integers to some data structure...
    Does Java have classes/methods to handle such non-GUI-based 'events'? Is this a commonly found scenario in Java programming?
    Thank you!

    What you're looking for is the Observer-interface. Check out http://java.sun.com/j2se/1.4/docs/api/java/util/Observer.html
    and
    http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html

  • How to run an iPhone non-GUI application in background

    Hi All,
    While looking into the web fouond that only one application can be run at a time in iPhone. So is there any way or work around to run a non-GUI app in iPhone in Background.
    This app will continuously query certain requests to iPhone regardign some internal iPhone events.
    Thanks in advance.
    Regards.
    Amit

    No.

  • Non GUI alternative to PB10 Transaction (infpotypes 22 and 24)

    Hi guys,
    This is a java foreigner in the ABAP land.
    I hope I am asking the correct question.
    This is the situation:
    In order to send a "candidates resume" (curriculum) in to SAP, the ABAP developers made for me a RFC which uses the transaction PB10 (applicant master data).
    The RFC when tested in the SAP GUI works fine.
    I wrote a java client which calls the RFC, send the parameters and expect the results. This client uses JCO to access SAP.
    But, from the java client the RFC works PARTIALLY,
    it doesnt fill the education a qualifications (infotypes 22 and 24), and throws error message:
    "Exception condition "CNTL_ERROR" raised"
    It seem there is an GUI missed, but from JCO I cannot use GUI.
    So, I need a non-GUI alternative transaction to the PB10, which writes the data in the infotype 22 and 24.
    So, the question here is:
    Does somebody knows a non-GUI alternative to the PB10 in order to write the infotypes 22 and 24??
    Thanks in advance,
    Luis

    i do have a similar requirement ... from non sap system i am suppose to pass data which saves in table connected to pb10..can you send the RFC developed for your requirement.. it would be helpful for me..
    thank you

  • Non GUI input

    Hello again world.
    I see that to produce output in a non-GUI environment, one uses
    System.out.println(output)
    I can't seem to get the other side of the coin for input.
    As usual, thanx in advance.

    If you upgrade to 1.5 it's a little easier, for instance reading a word and then an integer is this simple:    Scanner s=Scanner.create(System.in);
        String param= s.next();
        int value=s.nextInt();For further information see
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
    http://java.sun.com/developer/technicalArticles/releases/j2se15/

  • Non-GUI Forte

    "Keith Patterson" <[email protected]> wrote:
    <snip!>
    ... I would like to create several 'batch' Forte programs that perform
    a select all from our tables at random intervals during our testing.
    Has anyone done this sort of thing?? I'm not even sure how to start
    building an app that I don't want any output from and any assistance
    would be sincerely appreciated. You're going to be embarassed at how easy it is. At least, I was! ;-)
    Assuming that you want is to kick a couple batch, detached, daemon, or
    whatever processes to bang on your database, what you need to do is:
    * Create a new project. Give this project, as contributors, all the
    projects needed to get the functionality you want to test.
    * In this new project, create a NON-GUI object with a method that
    actually performs the test you want. Make this the initial
    object/method for the project.
    * Make distribution on this project.
    * Run your project, applying the -fcons, -fnw, and/or -fterm qualifiers
    as necessary.
    If you want to force the action through the same Forte service objects
    (rather than just copies of them), the above WILL NOT do what you want.
    In theory you can get that with the above setup by putting the SOs in a
    "reference partition" (I believe that's the term), but I have no actual
    experience at that.
    Alternatively, you could simply put a "test" button somewhere in your
    app, that creates a new instance of the test object, and does a "start
    task" on the relevant method. This is not, strictly speaking, a "batch"
    run, but you also don't have to make distribution to do it.
    Tom Wyant
    E. I. DuPont de Nemours
    Richmond, VA USA

    If you upgrade to 1.5 it's a little easier, for instance reading a word and then an integer is this simple:    Scanner s=Scanner.create(System.in);
        String param= s.next();
        int value=s.nextInt();For further information see
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
    http://java.sun.com/developer/technicalArticles/releases/j2se15/

  • Javafx for console (non-gui) applications?

    Hi,
    I am interested in using the JavaFX scripting language as a general purpose language to create console (non-gui) applications. But even running the following simple program seems to initiate some sort of GUI that quickly appears and disappears. Is there anyway to run a JavaFX script in "console-only" mode?
    function run(args : String[]) {
      println("hello")
    }Thanks.

    Hi,
    Yeah, that is pretty much exactly what I did.
    I am running on Mac OS X 10.5.6, with Java 1.6.0_07 and JavaFX 1.1.0.
    When I execute the program from Terminal, everything works, however a new application appears in the menu bar while the program is executing in the console. For example, if I add a java.lang.Thread.sleep(5000) invocation to the program mentioned earlier, you will see the application in the menu bar for 5 seconds. This is not the way a normal console-based java application typically works... there should be no application in the menu bar.
    Thanks.

  • Listen for keys in non-GUI app?

    Is there a way for a non-gui application that runs in a dos-box to receive key strokes? i read about the CTRL-C shutdown hook, but i don't want to shutdown my app but just send them some key combination so that it print something to System.out. Is this possible?

    You could try jcurses or a similar library...
    http://sourceforge.net/projects/javacurses/

  • Using Xcode for non-gui C++

    I originally posted this in the wrong place, and I was told to post in here.
    I am learning standard c++ in school, and we're programming with Microsoft visual Studio on PCs. I wanted to work on my projects at home, but I don't know how to create and build non-gui C++ projects. Anyone know?

    we're programming with Microsoft visual Studio on PCs
    If you want something like "Visual Studio" on Mac, then you can use the "Xcode" application in /Developer/Applications/. (I assume you have installed Xcode Tools, which is in your Leopard DVD).
    Start Xcode, and select "New Project..." from the "File" menu. In the Assistant dialog, open "Command Line Utility" and select "C++ Tool". Enter the name of the project and where to save it, and push Finish. Double click on "main.cpp", edit it, save (cmd-S), and push "Build" or "Build and Run". Is this what you want?
    Of course the project file is not comatible with Visual Studio, but you can copy the source files (*.cpp and *.h) to Windows PCs.
    If you prefer to run C++ compiler from the command line (rather than to use Xcode application), then just open Terminal.app (in /Applications/Utilities/), cd to the directory where the source files are, and try typing "g++ xxxx.cpp".

Maybe you are looking for

  • Album art not being displayed for some songs.

    I've recently imported some MP3 files and used the "Get Album Artwork" option to get the cover art. I've noticed for all of these songs the album artwork will not display in Front Row on a remote machine using the sharing feature. Same in iTunes if I

  • Apple's 10.6 software compatibility kb document a total joke.

    Umm... have people looked at this doc http://support.apple.com/kb/HT3258 ? would i be forgiven for suggesting this article was a joke? I hardly need say why... (it has not even been modified since Aug 28!) really quite extraordinary.

  • Mapping handling unit IDs to material numbers

    Dear Gurus, I want to map handling unit IDs to material numbers (MATNR from /SAPAPO/MATKEY). How can I do this? Which tables do I need to join with /SCWM/ORDIM_C? I found attribute MATID in table /SCWM/ORDIM_C which contains 32 digits and is a hex co

  • Delimiter for  .xls file in lsmw

    Hi, I am developing an lsmw..and the flat file is in the form of .xls file..so when sepcifying hte file it asks for the delimiter.what should  i give for delimiter if my flat file is a .xls file? i would reward points for the helpful answers.

  • Network Conn Prob btw Solaris 10(HOst OS)-RHEl5(GuestOS)

    Hi, I am using VirtualBox-2.2.0-45846-SunOS on Solaris(Intel)64-bit server which is my host OS. I had installed RHEL5(guest OS) on SUN Virtual Box but i am unable to connect this Guest OS neither from HOst OS nor from outer network on the same domain