No Separate window for rmiregistry

Hi,
In my RMI application on Windows NT, I've written the server such a way that when it is run it would start the rmiregistry first of all and then the initialisation part. Here's the code
String [] cmd = {"cmd.exe","/c","rmiregistry"};
try
Process m = Runtime.getRuntime().exec(cmd) ;
catch(Exception ex)
ex.printStackTrace ();
When I run the server with this code to run the rmiregistry it opens up a separate command window. And that's exactly i don't want.
Is there any better way to do it. I want that rmiregistry should not open up separate window but run from within the server application window only.
Do suggest something...
Sunil.

Start the registry programatically:
int nPort = 1099;
java.rmi.registry.Registry registry = java.rmi.registry.LocateRegistry.createRegistry(nPort);

Similar Messages

  • How can I open a file in a seperate window. for example how can"D:\asd.doc"

    how can I open a file in a separate window. for example how can I view "D:\asd.doc" in ms words window ??

    Check out the Desktop class.
    Edited by: pbrockway2 on Aug 23, 2008 2:20 PM
    There's a detailed example in Sun's Tutorial.

  • Default  Transport controls disappears when i use separate windows

    The title is pretty clear. When i use separate windows for mixer and video, the transport controls disappears. (By the way, STP1 had a much better interface. Why one big closed window in STP 2?) How to have the transport controls back?

    This sounds like a JDeveloper/ADF issue that is not related to JHeadstart. To simplify the test case, you could create a simple drag-and-drop ADF application without JHeadstart and see if the same problem occurs there. Try to access the session variable in a custom data action similar to the way JhsDataAction does it when applying the query bind params.
    If it reproduces, can you please log a TAR at MetaLink ( http://metalink.oracle.com/ ), or ask this question at the JDeveloper forum at http://otn.oracle.com/discussionforums/jdev.html ? Thanks.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Closing separate window prompts "close all tabs" menu

    two instantiations repeatedly prompt the "close all X tabs?" menu:
    (1) opening a separate window for a particular web session and closing upon finishing (wanting to return to main multi-tabbed session);
    (2) selection of options from a particular pages menu (opens separate mini-window for choice) triggers proper select action, but also asks if one wants to "close all X tabs"

    Hit CTRL+W to close individual tabs.

  • Is there a separate download for iMac.  I bought and downloaded what I thought was the right download but it is not working and feel it might be a windows version.  How doe I get it right

    s there a separate download for iMac.  I bought and downloaded what I thought was the right download but not working and feel it might be a windows version.  How doe I get it right

    Check the link below for requirements and instructions for upgrading to Snow Leopard (10.6)
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard

  • I want to open a folder in a separate window by clicking on it.  For some reason when I click on a folder it just replaces the one I was just in.  I want them both to be open at the same time without having to go through several steps.

    I want to open a folder in a separate window by clicking on it.  For some reason when I click on a folder it just replaces the one I was just in.  I want them both to be open at the same time without having to go through several steps. Old apple operating systems made it easy to have several folders open at one time. 

    Eric, thanks that works but seems like an extra added step also to do it that way.  I've got to move and organize a ton of files and I'm looking for a easy way to get this done.  I could also open the folder into a separate tab and then drag the tab out so it becomes an open window but thats a lot of fussing around also with extra steps.  Not sure why these newer operating system seems more confusing and less user friendly than what they used to.  In the past I could just click on any folder and it would open in a separate window making it really easy to copy or move files from one place to the other just by simply dragging them from one window to the other.  Seems like I'm going through several extra steps now to do a simple task. 

  • Why is Firefox opening a separate browser window for each link instead of a new tab in the current browser window?

    Suddenly firefox has started opening a new, separate browser window for every link and thing I open. It used to just open a new tab in the current browser. I must have closed down 15 browsers when trying to get back to a previous web page - the back button doesn't work when each click leads to a new window opening! I went into options and my settings have not changed, they still say "open new tab" for links. This just started happening out of the blue today. What's up?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • I am getting an error when resizing the Mac HD. I had a separate partition for Windows, but have deleted it and want to add the empty 50GB partition to my Mac HD.

    I am getting an error when resizing the Mac HD. I had a separate partition for Windows, but have deleted it and want to add the empty 50GB partition to my Mac HD.

    SparkchaserEd wrote:
    I am getting an error when resizing the Mac HD.
    What does this error say?

  • Vba: separate popup windows for messages and reminders?

    One of the things I miss, and know that many probably don't, but I do, is the separate popup windows that Outlook used to deploy for reminders and incoming email notifications.  They weren't all lumped in together as in recent Outlook versions. 
    I'm sure this new way works for many people but for power users such as myself, it was much easier to control things when each reminder or notification was separate.  Tedious, sure, when there were a lot, but certainly much easier than today's environment,
    ultimately.
    As I've found and implemented more and more vb, I'm getting back a lot of lost functionality from the past.  I went looking and thought I'd found a macro a couple of weeks ago that would do the job but it's actually not turned as I'd hoped.  Here
    it is, the one that I use for emails from the folks, to give an example; it's invoked through a rule:
    ' HOME Emails:
    Sub CustomMailMessageRule_Mom_or_Dad(Item As Outlook.MailItem)
    MsgBox "Mail Received from Mom or Dad: " & Item.Subject
    End Sub
    The above does sort of give me a separate window popup but it's one that stops everything else in its tracks.  I have to accept it before more notifications pop up but they also stop any notifications from Outlook, period, yet don't give me separate
    notification popups that can then be snoozed or even just minimized! Not good.
    Can anyone suggest something that would help?  I recently moved all my reminders that were on a third party application to a secondary calendar that I created in Outlook where I saw, to my delight, that now will fire up reminders - something that wasn't
    possible in the past (one tiny good thing we've received in exchange for so much lost functionality from a user standpoint! <g>).  It's just now even more difficult to work through everything that is lumped in under one window - And no custom boxes
    with different colours or _anything_ to help differentiate them.
    So, is there any way, perhaps vb, to have notifications fired from different popup windows somehow, emulating older Outlook versions?
    Thanks so much!

    Hello SGFan,
    The MsgBox call stops the current thread until it is closed, i.e. the modal form is displayed. But you are interested in a non-modal form which doesn't stop the thread.
    You can try to display a user form instead using the Show method.
    UserForm1.Show vbModeless
    However, it will not let the Outlook running. You need to display the form on another thread, it is possible with add-ins (not VBA).  See  Modeless
    form that still pauses code execution for more information.
    So sorry for the delay.  I'm still with the same problem so the above was not encouraging.  Though we come here to this forum to deal with vba, unlike the old NGs, it seems there are less users and more real developers, which I am not.  Just 
    a power user.  And the above is not something I have yet crossed into.  It sounds like, but I'm guessing here, that this method requires a form (am I right)?  I haven't a clue how to do those yet, if that's the case <sigh>.  All I
    know is that there are too many emails coming in with no easy way to make sure we don't miss something important.
    This answer shows me that this particular approach isn't the solution.  This type of message box wasn't ideal, either.  Lordy but I miss so many features of Outlook 2000 all the time.  All these popups getting launched together is great for
    a lot of people, but I'm not one of them.
    Okay, back to trying to find a solution.
    Thank you!!

  • Can't figure it out! How to open a fullscreen game in a separate window.

    I have a game I like to play (Fairy Tower Pinball by LittleWing) but due to some glitch it will only play in fullscreen mode. In its options panel there are 3 different settings (desktop, standard and wide screen) but none of them seem to change the game from full screen mode. I have tried all the keyboard shortcuts (command-h, command-m, command-shift-return, command-tab, escape etc.). I also have a mighty mouse, programmed in Expose with certain buttons for "All Windows" and "Show Desktop," but these do not work either. The hot corners are also of no use. The mouse pointer is not visible.
    There must be a way to open this game in a separate window, one that I can minimize, resize and move around. Shouldn't there be an easy thing I can cut and paste into the game's programming using Terminal so that it will simply open in a window instead of go directly to full screen? Please help. I need to be able to do other things without having to quit the game every time.

    i can't access the menu bar when the game is in full screen so fast user switching is out. the hotkey for spaces won't work either, just like the Expose buttons on my mouse. i still don't believe the game can lock me out of my computer like this.

  • How do you separate bookmarks for two different users on the same computer?

    My wife and I use the same desktop and the same Firefox browser. Is there a way to have separate bookmark lists for each of us? We don't really need subtopics or other organizers, just two separate lists.

    Either separate Windows User Accounts or separate Firefox Profiles will give you separate bookmarks lists, but all your personal data will be separate - passwords, extensions, browsing history, etc. I haven't seen an addon that will give you separate bookmarks storage within the same Firefox Profile.
    https://support.mozilla.com/en-US/kb/Profiles

  • How do I set up two libraries on one pc so that we have two separate libraries for each iPhone?

    How do I set up two libraries on one pc so that we have two separate libraries for each iPhone?

    Launch it with the Shift key held down, or create a second Windows user account.
    (60390)

  • Calling a view in a separate window to print it

    Hello
    BSP with MVC:
    In my main view there is a print button, which should call another view, which I want to print with standard
    print functionality.
    How is the syntax to call a view which is part of the same BSP-Application in a Separate window?
    Thanks and Kind regards.
    Carola

    Hi Carola,
    you can do it in various ways, here is one of them:
    Place this code before the button element:
    <script type="text/javascript">
    function PrintWindowOpen() {
      window_parameters = 'hotkeys=no,location=no,menubar=yes,toolbar=no,status=yes,resizable=yes,top=0,left=0,'
                        + 'width=' + screen.availWidth + ',height=' + screen.availHeight;
      window_location = 'print.do';
      myPrintWindow = window.open(window_location,'myPrintWindow',window_parameters);
      myPrintWindow.focus();
    </script>
    And do this for the button element you want to use for opening the print window:
    <htmlb:button ...
      onClientClick = "PrintWindowOpen();"
      ... />
    The javascript variable <b>window_parameters</b> is a string containing parameter to control the window that will get opened, for a full listing of what you can use see this page:
    <a href="http://www.w3schools.com/htmldom/dom_obj_window.asp">HTML DOM Window Object on www.w3schools.com</a>
    Cheers,
    Max
    Message was edited by: Brian McKellar
    Fixed the code
    From: onClientClick = "javascript:PrintWindowOpen();"
    To:   onClientClick = "PrintWindowOpen();"
    It is not required, nor good, to set the JavaScript: protocol, as this is implicitly done already in browser. Otherwise, perfect example!

  • Windows 7 - Open Excel 2010 in separate window

    Setup:
    Windows 7 Ent.
    2 monitors in extended desktop mode
    Office 2010
    Opening Excel Files from multiple sources (Outlook 2010, Desktop, OneNote 2010, etc.)
    New laptop with 12GB of RAM
    i7 Quad Proc.
    Problem:
    By default, all of my Excel books open in the same window of Excel.  I open lots of sheets that need visual side-by-side comparison.  I want every every Excel book I open to have its own Excel window.  It doesn't necessarily need to be it's
    own running instance of the binary, but it's own separate window that I can minimize, maximize, resize, or close independently of the other Excel windows.
    I've tried the registry fixes for DDE.  I've tried the "Ignore other applications with DDE" option in Excel.  Both of those solutions give the desired multi-window result, but both break my ability to open spread sheets from OneNote and
    Outlook.  The error for OneNote is "OneNote has encountered a problem and cannot complete this operation", when I double click an embedded Excel file.
    Question:
    Is it possible to get Excel to open a new window for each file without disabling DDE or breaking my ability to open embeddede spreadsheets from other applications like Outlook and OneNote?  The "Put Excel into windowed mode and drag it across multiple
    monitors" work around is not feasible since I run two different sized monitors.

    Not necessarily an ideal solution, but the only way I've found with Excel 2010 is to open a second instance of Excel, which will then allow you to move it to the second screen and either open your spreadsheets from there, or drop and drop them into
    the required copy of Excel from Outlook/OneNote. Annoyingly with Excel 2010 by default it only opens one instance of Excel and then all workbooks you open after then are opened within that same instance, but if you select Excel from the start menu it will
    open a second (or third, or forth etc) instance which can be moved and handled independently.
    The other option would be to upgrade to Excel 2013 since that doesn't have that limitation, but that may be an expensive way around the issue!

  • Upgraded Exchange to CU 7, now users cannot open emails in a separate window in webmail (OWA).

    Hello,
    Strange issue. I upgraded our Exchange 2013 to CU 7 and now users are reporting they cannot open emails in a separate window in OWA. Regardless of browser, browser version even regardless of another computer or mac. Chrome, Firefox, IE, Safari...same
    issue regardless of version numbers also.
    I've tested these settings on several laptops and I cannot open emails in a separate window. This happened a day after the upgrade. Previously this was working for all users. Now its hit or miss. Not all users are affected however. My mailbox/account is
    also a victim so I can test any theories out.
    Any suggestions would help and be appreciated.
    Thanks,

    Hi,
    Please check if there is any error message when these affected users try to open mail in a new window.
    Please check if these users can open messages in Outlook. This can help us to narrow the issue.
    And please check the aplication log in Exchange server to see if there is events related to this problem, which can help us to troubleshoot the issue.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Belinda Ma
    TechNet Community Support

Maybe you are looking for