JMXConnector connect fails but JConsole connects

I have been using JMXConnectorFactory.connect for several months with no problem on different servers until I tested it on a new server. The remote server is 1.5 and this statement:
connector = JMXConnectorFactory.connect(address,env);
produces this error:
Oct 23, 2007 10:43:26 AM com.sun.corba.se.impl.orb.ORBImpl checkShutdownState
WARNING: "IOP01210228: (BAD_OPERATION) This ORB instance has been destroyed, so no operations can be performed on it"
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 228 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.orbDestroyed(Unknown Source)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.orbDestroyed(Unknown Source)
at com.sun.corba.se.impl.orb.ORBImpl.checkShutdownState(Unknown Source)
at com.sun.corba.se.impl.orb.ORBImpl.create_any(Unknown Source)
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.writeAny(Unknown Source)
at javax.rmi.CORBA.Util.writeAny(Unknown Source)
at org.omg.stub.javax.management.remote.rmi._RMIServer_Stub.newClient(Unknown Source)
at javax.management.remote.rmi.RMIConnector.getConnection(Unknown Source)
at javax.management.remote.rmi.RMIConnector.connect(Unknown Source)
at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
at MyJMXServer.listenSocket(MyJMXServer.java:199)
at MyJMXServer.main(MyJMXServer.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.lang.Thread.run(Unknown Source)
[ERROR] Error connecting to JMXConnector : CORBA BAD_OPERATION 1398079716 No; nested exception is:
org.omg.CORBA.BAD_OPERATION: vmcid: SUN minor code: 228 completed: No
However using JConsole (jdk1.5.0_11) I do get a connection. I did a trace for JConsole with
javax.management.level=FINEST
javax.management.remote.level=FINEST
but could not see if it was calling com.sun.corba.se.impl.orb.ORBImpl.checkShutdownState which is where I think the problem is.
I could not find anything related to IOP01210228 or CORBA BAD_OPERATION 1398079716.
I also tested the connect without the env parameter:
connector = JMXConnectorFactory.connect(address); hoping to get an authentication error but I still received the same error described above.

This is the jconsole trace output set to FINEST during the connect. I just copied enough to show that it connects.
Oct 29, 2007 12:30:02 PM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
///jndi/iiop://D6-DMS-001:8489/dms] connecting...
Oct 29, 2007 12:30:02 PM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
///jndi/iiop://D6-DMS-001:8489/dms] finding stub...
Oct 29, 2007 12:30:03 PM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
///jndi/iiop://D6-DMS-001:8489/dms] connecting stub...
Oct 29, 2007 12:30:03 PM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
///jndi/iiop://D6-DMS-001:8489/dms] getting connection...
Oct 29, 2007 12:30:03 PM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
///jndi/iiop://D6-DMS-001:8489/dms] getting class loader...
Oct 29, 2007 12:30:03 PM RMIConnector connect
FINER: [javax.management.remote.rmi.RMIConnector: jmxServiceURL=service:jmx:rmi:
///jndi/iiop://D6-DMS-001:8489/dms] done...
Oct 29, 2007 12:30:04 PM RMIConnector queryNames
FINEST: name=java.lang:*, query=null
Oct 29, 2007 12:30:04 PM RMIConnector isInstanceOf
FINEST: name=java.lang:type=Runtime, className=java.lang.management.RuntimeMXBea
n
Oct 29, 2007 12:30:04 PM RMIConnector addNotificationListener(ObjectName,Notific
ationListener,NotificationFilter,Object)
FINEST: name=JMImplementation:type=MBeanServerDelegate, listener=sun.tools.jcons
ole.MBeansTab[,2,25,887x655,invalid,hidden,layout=sun.tools.jconsole.VariableGri
dLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777225,maximumSize=,minimu
mSize=,preferredSize=], filter=null, handback=null
Oct 29, 2007 12:30:04 PM RMIConnector addListenerWithSubject

Similar Messages

  • OS X 10.8.4 wifi says "connection failed", but connects anyway; cannot save password

    I am using OS X 10.8.4 that came with my MBP. When I connect to my home wifi that requires a WPA 2 password, it says "Connection Failed", but anyway connects to the internet. Also, my password is not being saved, and I need to enter it everytime.
    After reading several forums, I have already tried the following:
    1. removing airport preference list from Library/Preferences/SystemConfiguration
    2. Removing network password from the keychain
    3. Using Keychain first aid
    4. Using disk utility and doing repair disk.
    5. Doing DHCP release in Network Preferences.
    6. Removing my network from the preferred network list and connecting again.
    I am using a D-link modem. It should not be a problem, because the same MBP could remember the password before. The problem happened when I tried to fix my wifi because it would take long to connect after waking from sleep, when I deleted the airport preferences list, and removed the keyring.

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • I have been receiving the message ' Cannot get mail. The connection to the server failed' but I am connected to WIFI

    I have been receiving the message ' Cannot get mail. The connection to the server failed' but I am connected to WIFI.  I have also been receiving  'Cannot send mail, an error occurred while delivering this message.

        Hmm, that's odd JeanEB. The error message referts to the connection to your email server not to cellular data or connection to wi-fi. Go to Settings>Mail, Contacts, Calendars> Select your account and type in your password again. If this doesn't resolve it, delete/re-add the email account.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • Why can't I get my mail, I get a message "connection to server failed" but I can get on all other web sites.  It worked fine until about a month ago.

    WHY CAN'T I GET MY MAIL, I GET A MESSAGE 'CONNECTION TO SERVER FAILED" BUT I CAN GET ON ALL OTHER WEB SITES.  IT WORKED FINE UNTIL ABOUT A MONTH AGO.  I CANCELLED MY ACCOUNT, PUT MY INFO IN AGAIN AND STILL GET THE MESSAGE "CONNECTION TO SERVER FAILED"  HELP PLEASE!

    have you tried removing and readding the e-mail account? sometimes settings get corrupted or changed on the server end...something computers can sometimes handle better than the mail interface.

  • I can not upgrade the Muse. Says that the connection failed, but she's perfect. What to do to upgrade my Muse? Thank you!

    I can not upgrade the Muse. Says that the connection failed, but she's perfect. What to do to upgrade my Muse? Thank you!

    Hi
    Are you getting message to connect internet every time you are trying to use Muse or while upgrading ?
    Please check these threads for more details :
    https://forums.adobe.com/message/4726378
    https://forums.adobe.com/message/4409975
    Thanks,
    Sanjit

  • HT1937 Hi my email is not working it says" Cannot gel mail...The connection to the server failed" but my network is working ok is the only application failing...how can I solve the problem?

    Hi, my mail applicatin is not working properly. It says cannot get main...the connection to the server failed but everything else is working ok. How can I solve this problem?

    The connectivity test indicated that there was a problem with the user's ActiveSync folder, typically fixed by checking the box "Allow inheritable permissions ...".
    Since it already was checked and even by removing the inherited permissions and then re-inheriting them didn't do the trick, I ended up just deleting the whole thing and then made a new duplicate account and blank mailbox.  That was pretty drastic
    but it fixed the problem.  After restoring his mailbox contents from backup, the user is now a happy camper.
    The connectivity test tool was helpful because the external URL was blank so I filled in the URL.  But ActiveSync was working fine for everybody without the URL before although I don't know why it did work without it.
    The other funny thing is on one of my iPads I am able to synch my mailbox and also the user's mailbox but on another iPad it just wouldn't synchronize when it worked before I added the external URL.  The iPads have the same OS version so I
    just don't understand it.  Oh well.
    Thanks for your help.  That was a good tip!
    WC

  • TS3992 My iPad hasn't backed up to iCloud for 2 weeks so I've connected it to my laptop and it still won't backup and this is AFTER I paid for extra iCloud storage. I'm so frustrated because it keeps saying back-up failed but I don't know why.

    My iPad hasn't backed up to iCloud for 2 weeks after repeated attempts even AFTER I paid extra for more iCloud storage. I've connected it to my laptop and it still won't backup. I'm so frustrated because it keeps saying back-up failed but I don't know why. Please help, thanks!

    To back up to your computer, right-click on the name of your iPad on the left side of iTunes and click Back Up.  (If running iTunes 11, first go to View>Show Sidebar.)
    To get your iPad to back up to iCloud again, try deleting your last backup (if you have one) by turning off iCloud Backup in Settings>iCloud>Storage & Backup, then tap Manage Storage, swipe across your backup and tap Delete, then go back and turn iCloud Backup back on again.  If it still won't back up, you may have an app that is preventing the backup from succeeding.  To locate which one, go to Settings>iCloud>Storage & Backup>Manage Storage, tap the name of your device under Backups, under Backup Options tap Show All Apps, then turn them all to Off (including camera roll) and try backing up again.  If it succeeds, then the camera roll and/or one of your apps is preventing the backup and you'll have to located by process of elimination. Turn the camera roll On and try backing up again.  If it succeeds, turn some of your apps to On and try backing up again.  If it succeeds again, turn some more apps to On then try again; repeat this process until it fails.  Eventually you'll be able to locate the problem app and exclude it from your backup.
    If it still won't back up you may have network issues connecting to the iCloud server.  Solutions to that include power-cycling your wireless router (unplugging it for 15 seconds, then plugging it back in), resetting network settings on your phone (in Settings>General>Reset), updating the firmware on your router, and changing the router's DNS settings to use Google's public DNS (see https://developers.google.com/speed/public-dns/docs/using).

  • I have just tried to update my ipod touch and the update failed but it has locked my ipod.  All I get is a picture of the itunes logo and the usb lead

    I have just tried to update my ipod touch and the update failed but it has locked my ipod.  All I get is a picture of the itunes logo and the usb lead.  I am unable to get the ipod to move and I don't know what to do.  I think I should be recompenced by Apple if I have to pay to get it fixed!

    The logo is saying connect it to your computer with iTunes installed on the computer.  I assume when yo do this that the iPod is not seen in iTunes. to make iTunes appear try:
    - Resetting the iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Place the iPod in recovery mode.  See:
    iPhone and iPod touch: Unable to update or restore
    - Place the iPod in DFU mode:
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    If the iPod appears in iTunes restore the iPOd.  If not I would make an appointment at the Genius Bar of an Apple store.

  • DVD-R burn fails but...

    When i burn a dvd-r on my macbook pro mid-2012 fails but when i connect one external drive (brand: LG) it works and burns it correctly. It makes a really loud noise and it is vibrating a lot. (The LG drive does not make loud noice and it isn't vibrating.... it just works great.) Now the question. Why is that happening? 

    It could be any number of things.
    Apple Portables: Troubleshooting the slot load optical disc drive
    Cures for an uncooperative CD/DVD drive

  • ODBC fails but only from ASP page (12154)

    I have a working Win2k/MDAC 2.6 box, that can connect perfectly to an Oracle 8.1.7 on another machine. I can TNS ping this host, I set up an ODBC DSN and I can connect from the Oracle ODBC Test program. I wrote a simple script (see below) to test the connection, and run it as a Windows script (i.e. double click on the file) and it runs perfectly. All is great.
    BUT, when I copy the exact same script into an ASP file (surround the script the the "<%" and "%>" delimiters) and run it, I get this:
    ORA-12154 TNS could not resolve service name.
    Anyone have any ideas why this script fails but ONLY from ASP??
    Here is my simple script:
    dim rs, conn
    set conn = CreateObject("ADODB.Connection")
    conn.open "ora817"
    Thanks very much,
    Marc Fairorth

    I am using asp connecting an oracle 8.1.5
    Using this :
    Set Conn=Server.CreateObject("ADODB.Connection")
    Set RS=Server.CreateObject("ADODB.RecordSet")
    Conn.Open Connection
    RS.open SQL1, Conn
    The only difference to your script is the server option
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Marc Fairorth ([email protected]):
    I have a working Win2k/MDAC 2.6 box, that can connect perfectly to an Oracle 8.1.7 on another machine. I can TNS ping this host, I set up an ODBC DSN and I can connect from the Oracle ODBC Test program. I wrote a simple script (see below) to test the connection, and run it as a Windows script (i.e. double click on the file) and it runs perfectly. All is great.
    BUT, when I copy the exact same script into an ASP file (surround the script the the "<%" and "%>" delimiters) and run it, I get this:
    ORA-12154 TNS could not resolve service name.
    Anyone have any ideas why this script fails but ONLY from ASP??
    Here is my simple script:
    dim rs, conn
    set conn = CreateObject("ADODB.Connection")
    conn.open "ora817"
    Thanks very much,
    Marc Fairorth<HR></BLOCKQUOTE>
    null

  • My download is failed but i can't replay this download !

    My download is failed but i can't replay this download !
    Can you help my please

    Hello aure33
    Start with the article below to troubleshooting access to iTunes Store but to the Mac App Store as well. You may need to check some firewall settings or their may be an issues with your Keychain.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    -Norm G.

  • NETWORK marked [FAIL] but works...

    Hi everyone,
    Recently, during boot, network is marked as failed but everyhting works properly... This only happens with wireless connection (ipw2100), ethernet is marked [DONE] and works too 
    Thanks in advance for any advice...
    Cheers

    I'm not sure if I completely understand your post, but if you have multiple network interfaces and one fails, then network shows fail even if others were successful. There's a bug report filed about it, but it's been quite a while without being fixed...
    And if that doesn't answer your question then ignore me.

  • I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why?

    I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why the iTunes Scripting Brigde returned failed when it is actually success? It occurred exactly 2 minutes after submit the request to Scripting Brigde. Is this 2 minutes related to the Apple Event time out? if it does, how do I get around this problem? thx

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • Idoc failed but updated the data

    Hello Gurus,
    I have a issue where the inbound idoc has failed but it has updated the data in the scheduling agreement.
    Kindly let me know how it is possible to update scheduling agreement when Idoc has status 51 ie failed.
    Helpful answers will be rewarded
    Thanks
    Suresh

    Hi,
    I am also surprised data is updated when idoc is failed.
    Please throw some thoughts on this.
    Thanks
    suresh

  • Server Agent job failing but not writing to Error log

    We recently migrated from Server 2003 to 2008 R2 running Microsoft SQL Management Studio 2008.  We've had a few bumps along the road but my main concern is a SQL Server Agent job that runs at 1:00 AM is failing part way through. Some of the work is
    done but not all. The Job Activity Monitor reports it failed but nothing goes in the Error Log. The job did run successfully last week during tests but these failures came after going live and bring over the latest data. 
    I guess I really need help in diagnosing the lack of information in the Error Log. If I had that data I can begin to follow the bread crumbs to the actual problem.

    The Job Activity Monitor reports it failed but nothing goes in the Error Log.
    The Agent writes error to it's own log file, called SQLAGENT.OUT, it's also located in LOG subfolder and you also can look it up in SSMS from node "SQL Server Agent"
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • Extract path from file using AS

    I'm trying to extract the path of a file to use it in the same script. should be like this: on open vthefile set Vpath to path of vfile --do something with vfile save new created file to Vpath Can anybody tell me the good syntax? Thanks Fist

  • XI/PI system health Checkouts

    hi XI Gurus, We are running with PI 7.0 on Windows 2003 with MS SQL as database. I am looking for some reference doc or the checkout areas on PI on daily basiss. It should help BASIS engineer to find the system confition/health so that we take necess

  • How do i cancel my icloud account?  I keep getting billed.

    I keep getting notices that I'm being billed monthly for an icloud account.  When I try to downgrade/cancel, I just keep getting rerouted on the apple site.  How do I cancel and stop getting billed?

  • How to upgrade from OS 10.5.8 to 10.7.0?

    I run a Mac Book Intel core duo with OS 10.5.8   I would like to upgrade to Lion or Mountain Lion.  How should I proceed?

  • Bapi_network_maintain -error handling

    Hi , I am using bapi_network_maintain to create networks. The BAPI is called from portal screens . This BAPI internally does the same checks as done in CJ20n. =>Test Data -  project which has a Profit center - X. and  X - is locked in the system . Wh