How can I avoid running rmiregistry when launch an RMI based application

Hi,
How can I avoid running rmiregistry when launch an RMI based application?
Will invocation of LocalRegistry.createRegistry() do?
Thanks a lot!
Regards,
Justine

yes it will do...better try it out
good luck

Similar Messages

  • How can I avoid browser timeout when starting a Plsql procedure from Apex?

    I start a procedure when pressing a button in my Application Express form.
    This procedure take a while to run (about 10 min.)
    How can I avoid the browser to timeout with Error Code 1460: Timeout ?
    Is it possible to return to a page and let the procedure finish in the background. Or is it possible to get the Apex application sendig a message once in a while to keep the browser active?
    Thanks in advance.
    Evelyn

    In HTML DB 1.6, you could create page processes that would run as background jobs.
    Since 2.0, you can't directly select that option, but there's a work-around that may still work:
    Re: PLSQL DBMS JOB - Process Type

  • How can I avoid running out of memory when creating components dynamically

    Hello everyone,
    Recently, I am planning to design a web application. It will be used by all middle school teachers in a region to make examination papers and it must contain the following main functions.
    1)Generate test questions dynamically. For instance, a teacher who logs on the web application will only see a select one menu and a Next Quiz button. The former is used for determining the number of options for the current multiple/single choice question. The later is dedicated to creating appropriate input text elements according to the selected option number. That is to say, if the teacher selects 4 in the menu and presses the Next Quiz button, 5 input text form elements will appear. The first one is for the question to be asked such as "1.What is the biggest planet in the solar system?", the others are optional answers like a)Uranus. b) Saturn. c)Jupiter. d)Earch. Each answer stands for an input text elements. When the teacher fills in the fourth answer, another select one menu and Next Quiz button will emerge on the fly just under this answer, allowing the teacher to make the second question. The same thing repeats for the following questions.
    2)Undo and Redo. Whenever a teacher wants to roll back or redo what he has done, just press the Undo or[i] Redo button. In the previous example, if the teacher selects the third answer and presses the Delete button to drop this answer, it will delete both the literal string content[i] and the input text element, changing the answer d to c automatically. After that, he decides to get back the original answer c, Jupiter, he can just click the Undo button as if he hadn�ft made the deleting operation.
    3)Save the unfinished working in the client side. If a teacher has done half of his work, he can choose to press the Save button to store what he has done in his computer. The reason for doing so is simply to alleviate the burden of the server. Although all finished test papers must be saved in a database on the server, sometimes the unfinished papers could be dropped forever or could form the ultimate testing papers after several months. So if these papers keep in the server, it will waste the server computer�fs room. Next time the teacher can press the Restore button on the page to get the previously stored part of the test paper from his own computer and continue to finish the whole paper.
    4)Allow at least 1,000 teachers to make test papers at the same time. The maximum question number per examination paper is 60.
    Here are my two rough solutions,
    A.Using JSF.
    B.Using JavaScript and plain JSP[b] without JSF.
    The comparison of the two solutions:
    1)Both schemas can implement the first and the second requirements. In JSF page I could add a standard panelGird tag and use its binding attribute. In the backing bean, the method specified by the binding attribute is responsible for generating HtmlInput objects and adding them to the HtmlPanelGird object on the fly. Every HtmlInput object is corresponding to a question subject or an optional answer. The method is called by an actionListener, which is registered in the Next Quiz commandButton, triggering by the clicking on this button in the client side. Using JSF can also be prone to managing the HtmlInput objects, e.g. panelGird.getChildren().add(HtmlInput) and panelGird.getChildren().remove(HtmlInput) respond to the undoing operation of deleting an optional answer and the redoing operation of the deleting action respectively. I know JavaScript can also achieve these goals. It could be more complex since I don�ft know well about JavaScript.
    2)I can not find a way to meet the third demand right now. I am eager to know your suggestion.
    3)Using JSF, I think, can�ft allow 1,000 teachers to do their own papers at the same time. Because in this scenario, suppose each questionnaire having 60 questions and 4 answers per question, there will be approximately 300,000 HtmlInput objects (1,000X60X(4+1)) creating on the server side. The server must run out of memory undoubtedly. To make things better, we can use a custom component which can be rendered as a whole question including its all optional answers. That is to say, a new custom component on the server side stands for a whole question on the client side. Even so, about 60,000(1,000X60) this type of custom components will be created progressively and dynamically, plus other UISelectOne and UICommand objects, it also can�ft afford for most servers. Do I have to use JavaScript to avoid occupying the server's memory in this way? If so, I have to go back and use JavaScript and plain JSP without JSF.
    Thank you in advance!
    Best Regards, Ailsa
    2007/5/4

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • How can I automatically run animations when the slide is invoked?

    Hi All
    My question is (hopefully) simple,  I have a number of Microsoft Powerpoint presentations that I want to import into Adobe Captivate 6. I want the  slides to automatically run their animations when the slide is invoked either by clicking on the Table of Contents  or by clicking on the Playback Control Panel. In other words, I want the slides to play their animations as soon as they are opened up rather than the viewer having to click on each side to make the animation work. Many thanks in advance for your time and efforts.
    Moon_dogworth

    Hi there,
    Welcome to Adobe Forums
    I apologize but I did not quite understand what exactly you are trying to achieve. If you want certain transition on the slide when the TOC is clicked or the slide is entered then you can choose the transition under the Properties panel on the right side.
    See picture:
    Hope this helps!
    Thanks!

  • How can I avoid Thunderbird timeouts when switching network connections?

    I'm using Thunderbird 24.4.0 but this problem goes back many releases.
    This problem happens when I switch from an external WiFi network to my company's internal LAN (ethernet).
    I'm connected to the company's email server via WiFi from home and can get and receive email no problem. I then turn off the WiFi, put the laptop to sleep, take it to work, wake it up, and plug in the Ethernet cable. I click on Get Mail and in the status bar at the bottom it says "Connecting to [servername] ..." and stays that way until I get a notification that Thunderbird timed out. I click on Get Mail again and this time it says "Connected to [servername] ..." and it gets my email. (It may have briefly said "Connecting to" prior to "Connected to" but I think I've only seen that once.)
    Why does it never work the first time but has to timeout before it will successfully connect, and what can I do to get it to connect without having to go through a timeout cycle?
    Thanks,
    --Steve

    Networking is an area of some frustration. Recently, some bug reports are seeing progress. The place to be to test these fixes is in development builds
    Note yet fixed:
    https://bugzilla.mozilla.org/show_bug.cgi?id=939318
    NetworkLinkService should be enabled so Necko can respond to network changes (not offline auto-detection)
    https://bugzilla.mozilla.org/show_bug.cgi?id=972262
    DNS cache is not flushed/re-initialized when toggling offline/online
    fixed in tb30:
    https://bugzilla.mozilla.org/show_bug.cgi?id=981513
    dns cache grace period error busting too aggressive
    https://bugzilla.mozilla.org/show_bug.cgi?id=981447
    dns cache too sticky!
    fixed in tb30

  • How can I avoid image 'distortion' when saving jpegs from Photoshop?

    I've created a logo with a transparent background and saved as an eps in Illustrator CS3.  To create a jpeg I then opened opened the eps in Photoshop CS3, set the resolution at 300ppi and then saved the image as a jpeg.  The image views ok on screen but when it is inserted into a word document and then printed, the background of the image is 'blurry' - it has small red dots through and you can see also the 'edges' of the image.  Not sure what I'm doing wrong!  Any help would be greatly appreciated.

    Thanks for all the ideas.  Had to have a jpeg at the 'clients' request so I couldn't use the .psd and .png options.
    I came across some info stating MS Word doesn't support CMYK jpeg which I did not realise.  So to solve the issue, I ended up opening the eps file as a Smart Object in RGB colour mode at the required resolution in Photoshop CS3 and then saving as jpeg.  The jpeg then printed perfectly after being inputted into a Word document - no blurriness or resolution issues.  I just had to advise the 'client' about the colour issues with RGB vs CMYK and not to use the jpegs for any professional printing.
    Thanks again.

  • Some snaps show up as black screens when I try to view them as single pictures.Even when I run them in slideshows they show up as black screens.These are jpeg files.How can I avoid this happening?

    Some snaps show up as black screens when I try to view them as single pictures.Even when I run them in slideshows they show up as black screens.These are jpeg files.How can I avoid this happening?

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help:
    As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • How can i avoid restarting tomcat server when servlet is modified?

    please advice me that how can i avoid restarting the tomcat server, whenever a servlet file is modified in my application. is their any way ?

    No probs. Here's how I do things...
    1. Install tomcat as normal (e.g. I install to C:\Apps\jakarta-tomcat-5.5.4)
    2. Create a webapps directory in your eclipse project with the following directory structure
    MyEclipseProject
       - src
       - conf
       - webapps
          - MyApplication
             - META-INF
             - WEB-INF
                - classes
                - lib
                - pages3. Set the project's output folder (e.g. bin folder) to webapps/MyApplication/WEB-INF/classes
    4. Put all your jar files in the lib directory
    5. Put JSPs / HTML in the pages directory (you may also want to create additional directories for TLDs, config files etc)
    6. Ensure your web.xml is in the WEB-INF directory
    7. Although it isn't essential I create a context.xml file and store it in META-INF, e.g.
    <Context reloadable="true">
        <!-- Default set of monitored resources -->
         <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/struts-config.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/tiles-defs.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/validation.xml</WatchedResource>     
    </Context>I use this to set monitored resources that will trigger an automatic appliation reload and to configure JAAS (not shown). See the Tomcat documentation for additional information.
    8. In the 'conf' directory I create a server.xml file used to configure Tomcat (you can copy the one from your <TOMCAT_HOME>/conf/server.xml).
    After copying the file change appBase attribute in the host element to be the full path to the webapps directory. You can also change the HTTP and HTTPS ports if you wish
    9. Download and install the Tomcat Launcher plugin from Sysdeo.
    10. In Eclipse's Preferences menu you will see a new entry for Tomcat. Click this then
    a. Set your Tomcat Version
    b. Set your Tomcat Home
    c. Set "Context declaration mode" to server.xml
    d. Set the configuration file to the full path to your server.xml file created in step 8
    On the "Advanced " sub page select all relevant projects to add to the Tomcat classpath
    On the "JVM Settings" page add all the jars in your WEB-INF lib directory to the class path
    On the "Source Path" page select all relevant projects
    Now if you start Tomcat using the Tomcat icon, you will be able to remote debug your application. If you change web.xml (or any other file in your context.xml watched resources) it will automatically reload. Any changes to JSPs will automatically be picked up (providing your tell your browser not to use the page in cache - e.g. CTRL+F5 in IE)
    There are some limitations that I'm still working on however. Primarily that I haven't included the Tomcat Manager application in my webapps directory, so Sysdeo cannot perform a reload. This means that if I change a source file, and eclipse auotmatically rebuilds, Tomcat doesn't pick up the change unless I either change a watched resource file (e.g. web.xml) or stop and restart Tomcat.
    There's no reason why this can't be fixed, I just haven't got round to it yet.
    I'm sure there are lots of other (probably better) ways of achieving the same thing. This was the first method I tried and it worked, so I stuck with it. I'm not a Tomcat config guru and I'm sure other forum users could provide some improvements should they wish.
    Post if you get into trouble, however I won't be able to respond until next week.
    Cheers,
    Steve

  • When I create an email signature, the text I type is repeated twice in the actual email sent (above and below a line).  How can I avoid this?

    When I create an email signature, the text I type is repeated twice in the actual email sent (above and below a line).  How can I avoid this?

    Try validating your installed fonts and fixing any errors that show up. To do this see this article: http://reviews.cnet.com/8301-13727_7-20085570-263/safari-in-os-x-lion-replacing- text-with-block-a-characters/

  • My sister inlaw gave me her iphone3 and when i try to update a app it says that i must sign into her accound when i have already created my own apple id n put it in, how can i avoid that from happening/ change it?

    my sister inlaw gave me her iphone3 and when i try to update a app it says that i must sign into her accound when i have already created my own apple id n put it in, how can i avoid that from happening/ change it?

    You should do this to make this your iPhone and remove her info...
    If desired, move photos/videos off the Camera Roll: http://support.apple.com/kb/HT4083
    If desired, backup the device to iTunes or iCloud: http://support.apple.com/kb/ht1766
    Then, on the device...
    Settings > Messages > iMessage > Off
    Settings > FaceTime > Off
    Settings > iCloud > (scroll down) Delete Accout (this only unregisters and deletes it off the device)
    Settings > iTunes & App stores.  Tap the AppleID and sign out.
    Settings > General > Reset > Erase All Content and Settings
    Unregister the device at https://supportprofile.apple.com
    More Info... http://support.apple.com/kb/HT5661

  • When a pdf is taken from illustrator, white lines appears on images. How can be avoided it?

    When a pdf is taken from illustrator, white lines appears on images. How can be avoided it?
    I use illustrator cs5. It occures mostly on the cover pages of brochures which contains images, texts and some effects such as drop shadow etc.

    Thanks for your reply.
    When smooth line art is turned off in Acrobat preferences,the lines disappears but the text becomes raserized and goes its smoothness. Not only that, we are not sure that everyone who is viewing the pdf has the same settings in their laptop or desktop.
    Is there any other solution to remove these lines? I have added the screenshot of a part of the pdf.
    Thanks once again for your support.

  • How can I avoid a full scan when ...

    Hello
    How can I avoid a full scan with I apply the aggregate function "MIN"
    SQL> select min(c1) from hh;
       MIN(C1)
             1
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE
       1    0   SORT (AGGREGATE)
       2    1     TABLE ACCESS (FULL) OF 'HH'Regards
    James King

    The table 'hh' does not have statistics. Assuming that there is an index on the column c1, statistics are computed on the table and its indexes, you may see a
    INDEX (FULL SCAN (MIN/MAX)) of the index on column 'c1'.

  • How can I avoid music playback stopping when starting an App

    Whenever I listen to music on my iPAD3 and switch from the build in original musicplayer to any App, the music stops to play.
    I need to go to the taskbar and go to the very left to press the play button again.
    That helps me to use the App choosen before and listen to the music.
    If I open another App or switch there with "sideswapping", music stops again.
    How can I avoid this ?

    Revit must be using the discrete graphics and possibly a fair amount of cpu as well.  This has nothing to do with memory or memory allocation (which you can't do on a mac since it doesn't use shared memory like some low-end PCs do.  Getting hot is not a problem as long as the fans speed up to increase the cooling.  If the system is overheating, it will shut down on its own.

  • Iphone4  when im talking to someone i always press the mute button how can i avoid this?

    While on the phone i always press the mute or hold button while talking to someone how can i avoid this its driving me crazy so i end up just using speaker phone

    If you have a case on the phone, take it off. It may be interfering with the proximity sensor.  If you have a screen protector, take it off. It may be interfering with the proximity sensor.  Make sure you actually old the phone against your ear. if you hold it away from your ear, the proximity sensor may not be able to tell that you have it up to your face.

  • I am trying to make a iphoto book but every time i click on a single photo or folder it opens up a new book. How can I avoid this? This is iphoto 10.

    I am trying to make a iphoto book but every time i click on an individual photo (or folder) it opens up a new book. How can i avoid this?

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    NOTE:  If you're running iPhoto 9.5 the export options will be different.
    OT

Maybe you are looking for

  • How to NOT use my iTunes Account Balance on a purchase

    I run a photography Business where I need sometimes need to make App Store purchases, but I do NOT want the purchase to use my Personal Gift Card Itunes Account Balance since for Tax purposes, I want to use my Business Credit Card and leave the Gift

  • Preview and scrollable text problems

    Is anyone else having problems getting the scrollable text function to work in an overlay to a fixed layout ePub? I have the latest version of InDesign CC, purchased last week. Here is a picture of my file. As you can see, it's pretty darn simple. Co

  • RFC(WSDL) to SOAP sync scenario

    Dear all, My requirement is there is an RFC from ABAP that has to be exposed as WSDL and send it to some 3rd part sys take response and send it to RFC(abap). How can this be achieved in 7.1/7.3,is there any difference . I did not on work much on Soap

  • MICN Questions

    I have a few miscellaneous questions regarding the batch input for cycle counting, forgive me if any of these are extremely basic questions.  I'm still in the process of figuring out the inventory count process within SAP... When creating a physical

  • Problem On Sun Netra 210 Network

    Hi All, Why does my sun netra 210 cannot passed the network packet over HP Procurve 3500yl Core Switch? But, no problem occured when i use Cisco Catalyst Core Switch. Is there any incompability between Sun and Hp Procurve, or i need to install new pa