Registering MBeans with rmiregistry - is this possible?

I created an application which offers an MBean to allow instrumentation - so far so good. I can control it with JConsole and the standard jdk6 system settings.
Problem is, if I have two instances of the same application or different applications which attempt to use the same com.sun.management.jmxremote.port, there will be a port conflict and the second instance won't start.
I thought of running the standalone rmiregistry utility and registering each application with it, using the single instance of rmiregistry so that each instance won't need its own port - is this at all possible?

Hi,
as far as I understand it, a high number of "Total loaded" should not necessarily be a problem, as long as classes are unloaded again, i.e. the number of "currently loaded" classes remains somewhat constant.
Taking this into account, using -Xnoclassgc should be a bad idea, because it should leave you with a growing number of classes currently loaded - which in the end will blow the permanent generation of your JVM (at least this is what was the case at one previous project).
If the number of classes is becoming too big and the permanent generation fills up, you should be seeing OutOfMemoryErrors pointing to the permanent generation.
I suggest you should be checking other possible causes. Have you been logging garbage collection output to check whether it is really garbage collection that causes your application to freeze at some point? Maybe it is possible to provide a little more information on the problem?
Bye.

Similar Messages

  • I have a new ipod that I would like to share my itunes library with. Is this possible?

    Can someone help me and give me an idea as to whether or not is possible to have multiple Ipods and a shuffle share the same Itunes library on the same computer.  I attempted to drag the music on my itunes to another IPOD and it will not allow it.  Please help.  Thank you.

    Just plug the iPod in and open iTunes. It will the iPod will show in the devices section of the iTunes sidebar. Click on the iPod go to the summary tab and set you syncing options. You can do this for as many iPods/iPhones/iPads as you like.

  • Replace substr, instr with Reg_exp, is this possible,

    Hi Team,
    I have Small requirement below, i have writen Query For this but was thinking Is there Any better way Of
    doing it, esp With Use To reg_exp,
    i have Some code As shown below
    '23456_TR_ABC_CODE12_JPM-(1)100-(1)150'
    From this code i Only want portion which Is Between 'TR_' And '_CODE12' i.e. ABC,
    given Is my Query And its output
    Select
    substr( substr('23456_TR_ABC_CODE12_JPM-(1)100-(1)150',instr('23456_TR_ABC_CODE12_JPM-(1)100-(1)150','TR_',1,1)+3),
            1,
            instr(
                  substr('23456_TR_ABC_CODE12_JPM-(1)100-(1)150',instr('23456_TR_ABC_CODE12_JPM-(1)100-(1)150','TR_',1,1)+3),
                  '_',1,1
                  -1) "word"
    From dual;
            word
    1     ABC
    kindly let me know If there Is Any better way Of doing it,,,

    Jeneesh, in case there are several TR_ or _CODE12 in the line I'd advice to use non-greedy operators.
    SQL> with t as
      2     (select '23456_TR_ABC_CODE12_JPM_(1)_100_CODE12_ASJ' word from dual)
      3     select regexp_replace(word, '.*TR_<font color="red">(.*)</font>_CODE12.*', '\1') word
      4       from t;
    WORD
    <font color="red">ABC_CODE12_JPM_(1)_100</font>
    SQL>
    It is working with (+) sign.
    SQL> with t as
      2     (select '23456_TR_ABC_CODE12_JPM_(1)_100_CODE12_ASJ' word from dual)
      3     select regexp_replace(word, '.*TR_<font color="blue">(.+?)</font>_CODE12.*', '\1') word
      4       from t;
    WORD
    <font color="blue">ABC</font>
    SQL>
    But I don't understand why it is not working with (*) sign :((
    SQL> with t as
      2     (select '23456_TR_ABC_CODE12_JPM_(1)_100_CODE12_ASJ' word from dual)
      3     select regexp_replace(word, '.*TR_<font color="green">(.*?)</font>_CODE12.*', '\1') word
      4       from t;
    WORD
    <font color="green">ABC_CODE12_JPM_(1)_100</font>Maybe someone can explain?
    Several more examples:
    the first and the last of them are really strange, at least for me:
    SQL> with t as
      2     (select '23456_TR_ABC_CODE12_JPM_(1)_100_CODE12_ASJ' word from dual)
      3     select regexp_replace(word, '^<font color="red">.*</font>TR_<font color="red">(.*?)</font>_CODE12.*$', '\1') word
      4       from t;
    WORD
    <font color="red">ABC_CODE12_JPM_(1)_100</font>
    SQL>
    SQL> with t as
      2     (select '23456_TR_ABC_CODE12_JPM_(1)_100_CODE12_ASJ' word from dual)
      3     select regexp_replace(word, '^<font color="blue">.*?</font>TR_<font color="blue">(.*?)</font>_CODE12.*$', '\1') word
      4       from t;
    WORD
    <font color="blue">ABC</font>
    SQL>
    SQL> with t as
      2     (select '23456_TR_ABC_CODE12_JPM_(1)_100_CODE12_ASJ' word from dual)
      3     select regexp_replace(word, '^<font color="red">.*?</font>TR_<font color="red">(.*)</font>_CODE12.*$', '\1') word
      4       from t;
    WORD
    <font color="red">ABC</font>
    SQL>

  • Dynamic query structures with restrictions - is this possible

    Hi experts,
    We have a client that has hard coded query structures, much to our chagrin.  These structures change quarterly and because the structures are used across several queries and workbooks, I need to find a new solution that will makes the dynamic and can be updated in production.  We have investigated the use of hierarchies for this, and unfortunately this will not work.
    Also, their queries are locked down in production, so all changes must transport from Dev to QA to Production.  This setting is mandated from the parent company, so changing this is not possible.
    Question:  Is it possible to write a WebDynpro or ABAP program that will allow users to change these hard coded structures?  What tables would be used for this?   I'm hoping we can create custom tables that dynamically populate the structures of the query, but I have doubts this can be done. 
    I suspect this is a stretch, but I'm hoping somebody might have attempted this. 
    Any ideas would be appreciated.  We're proficient in BI so any suggestions would be great.
    Example structure:
    P&L Structure
    Revenue ......................(restricted on Revenue GL accounts)
    Out of Pocket Revenue.....(restricted on Out of Pocket GL accounts)
    Total Revenue...................(total of the Revenue and Out of Pocket Revenue from above)
    Best,
    Larry

    ...to put a maintainable table in front of the users can be as easy as creating a  'parameters' cube and putting an input ready query on it. Lots of other options, such as a simple custom table and a gui based form to maintain, but I've used exit variables looking up values from custom parameter cubes a great deal in planning applications.
    Another alternative may be to add a new attribute to your gl accounts to indicate the nominal reporting group, and base your variable exits or row structures on that, leaving your users simply to mainain their GL Account Mastre data as required.
    Edited by: Andrew Trousdell on Jun 18, 2010 4:07 AM

  • E220R with D1000 is this possible?

    Hi i have an E220R running SunRay 2.0 but also require it to use samba to backup ghost images to a D1000. Problem is that ive never setup a D1000 array, and have no idea how to do it...are there any walkthru's or step by step instructions on how to do this?
    Im running Solaris 9 on the box and think that I am using the correct scsi cables to connect the box to the D1000.
    How do i find out if the system has recognised the array disks?
    How do i then configure the box to use the array? preferably as a mirrored set of 4 vs 4 disks?
    All help would be appreciated

    I have an Enterprise 220R with Solaris 9 O/S, and a SunStorEdge D1000. I understand that the onboard SCSI SE is incompatible with the SCSI on the D1000, however I have a PCI dual SCSI card which is Differential installed on the 220R. Using a sun 530-2453 cable I have connected the 220R to the 1st Interface on the D1000, and then linked the other SCSI interfaces using a HPDB68M to HPDB68M cable, finally teminating it at the last interface with a terminator. It all seems to be connected correctly but the 220R refuses to recognise the D1000. I have used the devfsadm -c disks command to see if the system recognises it but with no joy. Ive looked over the docoumentation again and again but seem to be getting no where.
    Basically my configuration is:
    Enterprise220R ->- StorEdge 1st SCSI interface ->- HPDB68M cable(2nd SCSI interface) ->- HPDb68M(3rd SCSI interface) ->- SCSI Terminator.
    I also went to the OK prompt and typed in probe-scsi-all and received a BUS FAULT over and over.

  • Just starting out with extensions, is this possible?

    I have started researching the Adobe Creative Suite Extension Builder and I find that there is an overwhelming amount of information on this tool. I have an idea for extension that I want to build but I want to start by asking the community a question.
    Assuming this extension is for Flash Pro, Photoshop, or Illustrator, is it possible to obtain data from a layer that includes the positions (x,y) and dimensions (width,height) for each object in a layer?
    Gladly appreciate any help or advice you can give, thanks!

    Hey MSSDedalus,
    I looked through some of the class documentation and it seems that what I'm looking for is somewhat possible (at least using the Illustrator APIs, look at the PageItem class if interested). Would you happen to know where the documentation is for the Flash Pro CS6 API? I'm only able to find the JavaScript API for Flash Pro.
    Thanks!

  • HT5866 my screen on my 5C have crack n I need to replace the lcd screen with digitizer is this possible?

    I need to replace my crack 5C screen, any help

    If you are in the US, some Apple stores have the ability to replace a screen, some do not. If they can, the cost is only $149. If they cannot, then without Apple Care + you would need to purchase an out of warranty replacement at a cost of $269. If you do have Apple Care +. you can make 2 total exchanges over the 2 year life of Apple Care + with a $69 deductible.

  • Using iMessage 8.0 with Mavericks to send sms message to my friend who has an iPhone.  Only allows me to log in under AIM, YAHOO, GOOGLE, or BONJOUR.  I don't want to do any of that.  Just my phone number.  Is this possible?

    Using iMessage 8.0 with Mavericks to send sms message to my friend who has an iPhone.  Only allows me to log in under AIM, YAHOO, GOOGLE, or BONJOUR.  I don't want to do any of that.  Just my phone number.  Is this possible?

    Hi,
    The first run of Messages will ask you to enter an Apple ID to "register' with iMessages.
    If you do not do this but open the App and look in Preferences > Accounts then you will see the iMessages account and the Bonjour Account which will not be activated.
    Neither of these two account can be deleted. (even if not being used)
    If you then press the + icon to add you will get the choices you posted.
    To iMessage you need to "register" and Apple ID with the iMessages service.
    As Diane then points out you can link this to your iPhone number.
    This "syncs" (Displays on all devices) the various iMessages sent to either iPhone or Apple ID
    You can then chose  on both iPhone or Mac version how or which ID/Number is going to be used to "Start the conversations from"
    I have my Mac version set to start from my Apple ID and the iPhone from it's number.
    At this moment the Mac version cannot send SMS text messages to an iPhone.
    This is apparently coming with iOS 8 and OS 10.10 (Yosemite)
    An AIM account can send SMS Messages but only to a limited number of USA based phone users on these carriers.
    (Basically you add a phone number with country code +1 as a Buddy to your List)
    Mocked up number  (It not really an auto responder although you do get sent back and Error message about it not being valid)
    8:37 pm      Sunday; July 13, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • This document could not be registered. It will not be possible..... (MS Word) Windows 7 MS 2010

    Recently anything typed in Word is no longer retreivible (randomly). 15 minutes after typing a document, I get:
    "this document could not be registered.  It will not be possible to create links from other documents to this document."
    Sometimes the document has links within in it sometimes not... either way have I select each of the three options and the protected view disappears, and a blank MS Word page comes up.  After three times, (with various documents) the program reports,
    "Word stopped working and is looking for a solution..."
    My research found that I should looking at DCOM Server Process Launcher  - making sure that it is in under the General Tab, Startup Type be changed to Automatic...
    It is and has been in automatic (and I cannot change it) this is were my problem does not match what I was finding for corrections.
    I can change other services and make changes in most tabs, BUT I CAN CHANGE NOTHING IN DCOM SERVER PROCESS LAUNCHER.
    Please advise - soon

    Check the following article on the error: "this document could not be registered.  It will not be possible to create links from other documents to this document."
    http://sharepointknowledgebase.blogspot.in/2012/08/this-document-could-not-be-registered.html
    (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice.
    Microsoft does not guarantee the accuracy of this information.)
    Refer to the link below on How to troubleshoot problems that occur when you start or use Word:
    http://support.microsoft.com/kb/921541
    In addition check the following thread:
    http://social.technet.microsoft.com/Forums/office/en-US/ade00dbd-4dc1-49ba-89e2-d43af5c85356/word-2010-could-not-create-the-work-file-error-message-when-opening-word-email-attachments?forum=word
    Tylor Wang
    TechNet Community Support

  • Is this possible with Actionscript 3 events?

    Fairly new to AS3. Studying up on events.
    Is it possible to have a simple value object dispatch an event and have the script inside the MXML respond to that event itself without having to register the event on the value object itself?
    Example of what I'm talking about
    I have a simple value object named Person. Not directly inherited from anything.
    Has one variable.  firstName : String;
    When the firstName variable gets changed, the setter creates a new DispatchEvent object and dispatches a new event. It does this without any runtime errors.  Back in the MXML, I want the MXML's Application to be what registers the event, NOT the Person object. In fact, it can't because I didn't inhert from the DispatchEvent class.
    I've provided both the custom class and the MXML. I've kept it as bare bones and as simplistic as possible to get my intent across.
    =======================================
    MY CUSTOM CLASS DEFINITION
    =======================================
    package myClasses
    import flash.events.Event;
    import flash.events.EventDispatcher;
    public class Person
      private var _firstName : String;
      public function Person( fName : String )
       _firstName = fName;
      [Bindable(event="firstNameChange")]
      public function get firstName():String
       return _firstName;
      public function set firstName(value:String):void
       if( _firstName !== value)
        _firstName = value;
        var d:EventDispatcher = new EventDispatcher( );
        d.dispatchEvent( new Event( "firstNameChange" ) );
    =======================================
    MY MXML
    =======================================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
          creationComplete="application1_creationCompleteHandler(event)">
    <fx:Script>
      <![CDATA[
       import mx.controls.Alert;
       import mx.events.FlexEvent;
       import myClasses.Person;
       [Bindable]
       protected var myPerson:Person
       protected function application1_creationCompleteHandler(event:FlexEvent):void
         // Want the "application" to be notified when the "firstNameChange" event happens
        addEventListener( "firstNameChange", personChanged );
        myPerson = new Person( "Scoobie Do" );
        // Force a change and HOPE the event triggers
        myPerson.firstName = "Shaggy";
         // This is NOT being ran.
       protected function personChanged( e:Event ) : void
        Alert.show( "triggered" );
      ]]>
    </fx:Script>
    </s:Application>
    All the examples I've seen would have the Person class inherit from the DispatchEvent class, then back in the MXML you'd have something like this
    var p:Person = new Person( "thelma" );
    p.addEventListener( "firstNameChange", someEventHandlerFunction );
    I get that, but not what I'm trying to acheive here. I just want the Person object to dispatch the event and have someone else be able to listen for the "firstNameChange" event.   Is this possible?
    Thanks for the help!!!!

    Ahh, the age-old signals/slots vs Events debate...
    The fact there is even a discussion on the topic gives you an idea of how powerful the language is (compared to other sandboxed client-side instruction sets). Architecturally, anything is possible. Hell, you could even write your own byte code interpreter if you wanted...
    To get back to the original question, what you are looking for is a standardized way to get classes to communicate with each other, yes? This is usually done through a framework, or various design patterns. Pick whichever method your are comfortable with given your past programming experiences.

  • I work with a child who is not able to move his neck.  to see the ipad, it has to be placed high above the table (eye level).  he needs access with a mouse - is this possible?

    I work with a child who has physical disability and cannot move his neck.  The ipad needs to be eyelevel in order for him to see it, but he also is not able to raise his hand and would need mouse access...  is this possible?

    I'm sorry but the iPad does not work with a mouse, there is no cursor on the iPad and the iPad was designed as a touch screen device so a mouse will not work.
    I really don't know what to suggest other than this new device, and it might be worth a look. I assume that the child can use his hands for a keyboard.
    http://www.thinkgeek.com/product/e722/

  • I am getting old and looking forward to use I Pad as a Phone if possible through WIFI! I this possible? The screen is to small for me! If possible, with new I Watch taking calls, other uses through I Pad!

    Like I wrote on title, I am getting old and it is not easy to see E-mails, news etc. on a I phone! New I phone will not help me for the size.
    If possible, everything without calls, I would like to use I Pad as direct unit, and for calls through I Pad over WIFI all calls. If a call as Skype, I would like
    to use the I Pad as a monitor. Is this possible?
    I found on a side that there is a product for people for better hearing, which can be put into the ears, using WIFI with I Phone.
    If this product could be used also for I Pad as a Phone for hearing, and the I watch or I Pad as Microphone, it will be great for old Mac users.
    Is this possible with our system know?
    I am using Mac since Classic II! Would like to continue with the newest items with the possibility for old person with bad Eyes or Ears.
    Looking forward for a kind answer
    with regards
    Christian an old Mac user!

    Definitely No

  • I have a Macbook Pro with OS 10.6.8 with no updates. Bundled is iPhoto 11, version 9.2.6. I would like to update my OS to 10.9.5 or later. Is this possible and which version is recommended?

    I have a MacBookPro with OS 10.6.8. It has no updates. This version contains Iphoto 11, version 9.2.3. I would like to upgrade my operating system to 10.9.5 or later. Is this possible and how best to proceed? How will this affect iPhoto?
    Thanks, Jeff

    If you have a mid/late 2007 MBP you can install the latest OSX that is available, on your MBP.  Mavericks (10.9) has been replaced by Yosemite (10.10) and is no longer available in the App store. 
    You choices are Lion (10.7), Mt.Lion (01.8) (both $20) or Yosemite (free).  The first two are available from the Apple online web site.  Yosemite can be downloaded from the App store.
    Ciao.

  • There is no space to store video on my computer.  I am am looking at getting 1 terabyte on the cloud in hope i can edit video off of the cloud the same way I can with a hard drive.  Is this possible?

    There is no space to store video on my computer.  I am am looking at getting 1 terabyte on the cloud in hope i can edit video off of the cloud the same way I can with a hard drive.  Is this possible?

    Buy another hard drive.  They're cheap these days.
    In fact, buy a couple of 'em.  I recommend a minimum of five internal hard drives.
    C: Windows and Programs
    D: Project, graphic and audio files
    E: Cache and Scratch
    F: Media
    G: Export

  • I have created two related books in Lightroom 5 (Volumes 1 and 2) but my balance of page numbers is off. So I'd like to take some pages out of one book (complete with images) and paste them into the other. Is this possible?

    I have created two related Blurb books in Lightroom 5 (Volumes 1 and 2) but my balance of page numbers is off. So I'd like to take some pages out of one book (complete with images) and paste them into the other. Is this possible?

    Can you zip up a few of your GoPro images, upload them to dropbox.com and post a share link, here, so others can experiment with them, or do you mean this issue is global to all camera models?

Maybe you are looking for

  • Software update doesn't get updates

    hi again all.. this intel mac is making me a full time support forum visiter. this time when i go to software update..... it just stays in the "checking for new software" mode......never finishes. why me?

  • Editing (download/upload) of shared file ... ?

    We have a customer using Filr for sharing files from NET folders to some external users for lecturing/corrections. Therefore they must have a possibility to edit/modify files they have been shared to. I have tested WebDAV in-place editing and it (a s

  • Multiple identical photos

    As a new mac user I started backing up my digital photos from my memory sticks and CDs in order to finally have one master album with several years of pictures. However, I now have 6,000 pictures in the album with dozens of identical photos, sometime

  • Is there a free App to hide video & pics

    Anyone know of a free app that will hide videos & pics on the PB, either app world or sideloaded?

  • Proxy client won't work in this case?

    I have not made my client side work for a single device yet but I want to make sure I'm spending time on the right track: My code will be running on the application server side, there will be hundreds of devices each has its own IP address, but runs