Jconsole no longer works with Java 6.0, it did with 5.0

Hello,
We are having a very important issue. We have reproduced the situation in 10 out of 10 computers, all with the same result, even in fresh installations.
Using jconsole, we are connecting to the following service (BEA weblogic 10): service:jmx:rmi:///jndi/iiop://host:7001/weblogic.management.mbeanservers.runtime
In the jconsole provided in any revision of Java 5.0 (1.5) it works, that is to say, it is able to connect to the service.
On the other hand, there is no way to accomplish this using Java 6.0. The connection fails with the following error:
Nov 6, 2007 10:27:56 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(ORBUtilSystemException.java:586)
     at com.sun.corba.se.impl.logging.ORBUtilSystemException.orbDestroyed(ORBUtilSystemException.java:608)
     at com.sun.corba.se.impl.orb.ORBImpl.checkShutdownState(ORBImpl.java:1289)
     at com.sun.corba.se.impl.orb.ORBImpl.create_any(ORBImpl.java:1078)
     at com.sun.corba.se.impl.javax.rmi.CORBA.Util.writeAny(Util.java:296)
     at javax.rmi.CORBA.Util.writeAny(Util.java:80)
     at org.omg.stub.javax.management.remote.rmi._RMIServer_Stub.newClient(Unknown Source)
     at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309)
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
     at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:361)
     at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:297)
     at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:279)
We have also create our own application to do this and although the same piece of code compiles under both JDKs, it fails to run with exactly the same error under Java 6.0.
Does anyone know why this is happening and if there is a way to work around it?
TIA.

Hi, I faced similar problems access MBeans to Weblogic Server 10 from client under JDK(JRE) 6.0
, but my way of workaround may be helpful:
Do not use jmx support jar files from Weblogic Server10, use that from 9 instead. Here I use
weblogic.jar & webservices.jar
and it works fine.
the following is my test program (looks ugly, but only for test)
public class MyConnection {
    private static MBeanServerConnection connection;
    private static JMXConnector connector;
    public static void initConnection(String hostname, String portString,
            String username, String password) throws IOException,
            MalformedURLException {
        String protocol = "t3";
        Integer portInteger = Integer.valueOf(portString);
        int port = portInteger.intValue();
        String jndiroot = "/jndi/";
        String mserver = "weblogic.management.mbeanservers.domainruntime";
        JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port,
                jndiroot + mserver);
        Hashtable h = new Hashtable();
        h.put(Context.SECURITY_PRINCIPAL, username);
        h.put(Context.SECURITY_CREDENTIALS, password);
        h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
            "weblogic.management.remote");
        connector = JMXConnectorFactory.connect(serviceURL, h);
        connection = connector.getMBeanServerConnection();
    public static void getComplidatedObject() throws Exception {
        //String name = "com.bea:Location=examplesServer,Name=examplesServer,ServerRuntime=examplesServer,Type=JDBCServiceRuntime";\
        String name = "com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean";
        String attribute = "ServerRuntimes";
        ObjectName on = new ObjectName(name);
        Object obj = connection.getAttribute(on, attribute);
        //Method m = obj.getClass().getMethod("getState", new Class[] {});
        //Object result = m.invoke(obj, null);
        //System.out.println(result);
        System.out.println(obj.getClass().isArray());
        System.out.println(obj);
    public static void discovery() throws Exception {
        String mbeanType = "*:*";
        ObjectName patialObjectName = new ObjectName(mbeanType);
        Set mbeans = connection.queryNames(patialObjectName, null);
        long overallTime = System.currentTimeMillis();
        for (Iterator itr = mbeans.iterator(); itr.hasNext();) {
            ObjectName mbean = (ObjectName) itr.next();
            String sMBeanFullName = mbean.getCanonicalName();
            MBeanInfo mbeanInfo = connection.getMBeanInfo(mbean);
            MBeanAttributeInfo mbeanAttrInfoArray[] = mbeanInfo.getAttributes();
            if (mbeanAttrInfoArray == null) {
                continue;
            String sMBeanDescription = mbeanInfo.getDescription();
            String s = mbeanInfo.getClassName();
            System.out.println("====================");
            System.out.println(sMBeanFullName);
            for (int i = 0; i < mbeanAttrInfoArray.length; i++) {
                MBeanAttributeInfo attrInfo = mbeanAttrInfoArray;
if (attrInfo.isReadable()) {
//If attribute datatype is supported, add it to the list for this mbean
String sAttrDataType = attrInfo.getType();
String sAttrName = attrInfo.getName();
String sAttrDescription = attrInfo.getDescription();
System.out.println("Name:" + sAttrName + "\nType:" + sAttrDataType + "\nDesc:" + sAttrDescription);
} //end if
public static void main(String[] args) throws Exception {
String hostname = "192.168.1.24";
String portString = "7001";
String username = "weblogic";
String password = "weblogic";
MyConnection c = new MyConnection();
initConnection(hostname, portString, username, password);
c.printNameAndState();
c.discovery();
c.getComplidatedObject();
c.printNameAndState();
connector.close();
public static ObjectName[] getServerRuntimes() throws Exception {
ObjectName service = new ObjectName(
"com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
return (ObjectName[]) connection.getAttribute(service, "ServerRuntimes");
public void printNameAndState() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
System.out.println("got server runtimes");
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
MBeanInfo mb = connection.getMBeanInfo(serverRT[i]);
System.out.println(mb.getClassName());
String name = (String) connection.getAttribute(serverRT[i], "Name");
String state = (String) connection.getAttribute(serverRT[i],
"State");
System.out.println("Server name: " + name + ". Server state: " + state);

Similar Messages

  • I have made a website using iweb, as this will no longer be supported by apple, does that mean the gallery I have created on my website will no longer work even though I am hosting it with a different hosting provider

    I have made a website using iweb, as this will no longer be supported by apple, does that mean the gallery I have created on my website will no longer work even though I am hosting it with a different hosting provider. Will the other widgets no longer work?

    There are a few things that won't work on other hosting sites; hit counters and pop-up slide shows for sure.
    See http://oldtoadstutorials.net/No.iW11.html for more info, and/or the iWeb forum at https://discussions.apple.com/community/ilife/iweb

  • TS1702 My youtube app is no longer working on my iphone 3. Others, with the same phone, are not having the problem. It works occassionally, but it's unpredictable. I've updated phone software, deleted the app, re-downloaded the app, turned the phone off a

    My youtube app is no longer working on my iphone 3. Others, with the same phone, are not having the problem. It works occassionally, but it's unpredictable. I've updated phone software, deleted the app, re-downloaded the app, turned the phone off and on...nothing.

    You may have debris in your headphone jack blocking the sensor.  Try blowing hard on the jack, and inserting/removing your headphones quickly multiple times to clear it.

  • Right clicking no longer works in Java?

    Control clicking in Java no longer works on my new powerbook. Other applications seem to be fine.
    How do I correct this? If uninstalling and reinstalling Java is the answer, how do I do this. I have poked around a bit but cannot find an answer to this.

    Use the command key.

  • Call crashed in JNI_CreateJavaVM with java 1.6 where as with 1.5 it works.

    Hi,
    Recently we upgraded to Java 1.6 from 1.5. I have writed a code to launch JVM from C++ and use it. It was working with earlier version of Java 1.5 but the same
    code is not working with Java 1.6.
    We launch this process with differet users having adminstrative access. With default admin user it works no issues at all. But if we use Java 1.6 and change to the user who is having all administrative access it fails. Infact it hangs. Is i am missing anything. below is code snippet.
    typedef JNIEnv* ( WINAPI*jvmFun ) ( JavaVM ** );
    typedef JNIEnv* ( WINAPI*createJVMFun ) ();
    typedef JNIIMPORT_OR_EXPORT_ jint ( JNICALL JNI_JVMPROC ) ( JavaVM *, void **, void * );
    typedef JNIIMPORT_OR_EXPORT_ jint ( JNICALL JNI_GetCREATEDVMs ) ( JavaVM *, jsize, jsize * );
    JNI_JVMPROC ProcAdd;
    JNI_GetCREATEDVMs CreatedVms;
    const int createJVM( JNIEnv* &env, string vm_options, HMODULE hinstLib)
         // Set JVM options
    JavaVMOption *options = 0;
         options = new JavaVMOption[ options_size ];
    //Fill options with runtime options here
         options[ (options_size - 1) ].optionString = java_options;
         // Set JVM initialization arguments
    JavaVMInitArgs vm_args;
    vm_args.version = JNI_VERSION_1_6;
    vm_args.options = options;
    vm_args.nOptions = options_size;
    vm_args.ignoreUnrecognized = JNI_FALSE;
    ProcAdd = ( JNI_JVMPROC ) GetProcAddress( hinstLib, "JNI_CreateJavaVM" );
    jint createResult = ( ProcAdd ) ( &m_jvm, ( void** ) &env, &vm_args );
         jthrowable exc = env->ExceptionOccurred();
    if (exc) {
    env->ExceptionDescribe();
    env->ExceptionClear();
         // exception
    if ( createResult < 0 )
              free(java_options);
              delete [] options; // TODO: Need to clean each option string?
    return FAILURE;
    else
              free(java_options);
              delete [] options;// TODO: Need to clean each option string?
              return SUCCESS;
    Edited by: Prabhanand on Sep 18, 2009 5:46 AM

    One thread is enough.
    http://forum.java.sun.com/thread.jspa?messageID=9651015

  • TimeWarner convinced me to get a new modem (faster). Since doing so I had to give my netwrok a new name AND my wi-fi no longer reaches the whole house as it did with the old modem. HELP!!

    TimeWarner convinced me to get a new modem ("faster"). Not only did I have to rename my network BUT it now doesn't reach the full extent of the house as it did with the old modem.

    If you have a question about one of the Apple routers......the AirPort Extreme, AirPort Express, or Time Capsule.....one of the devices pictured below, we can probably help, but as you say.....if the problems began when you got the new modem from Time Warner, I think you know where the issue likely resides.
    A call to Time Warner support would be in order if you are using the signal from the new modem, since they may have forgotten to mention that with higher wireless speeds, the wireless signal becomes weaker, so it does not go as far as a slower signal, or penetrate walls or other obstructions as effectively.

  • Works with Java 1.4 but not with Java 1.5

    Please check
    http://forum.java.sun.com/thread.jspa?threadID=791767&tstart=0
    in the Java Programming Forum.
    Thanks!

    it seems that the
    <f:view locale="en">
    only work if a ressource bundle with the locale sufix '_en' is provided.
    Everything works now if I provide 3 ressouce files:
    global_en.properties
    global_de.properties
    global.properties
    global.properties and global_en.properties are identically!
    But if I delete the global_en.properties file always the global_de.properties file wins before the default properties.
    I did not expect such a behavior :-(

  • Dell XPS Touchpad Driver No Longer Working in Build 10041. Was fine with Build 9926

    First of this is an old Dell, but from Vista through to Windows 8.1 Update, and then the initial Windows 10 Tech Preview Builds the Mouse Drivers have been OK. Its not so much the core mouse driver, but the feature extensions in the Accompanying driver bundle
    that have stopped working.  i.e. the ability to control finger scrolling and tapping, etc.
    The Dell supplied drivers for my laptop (XPS M1330) ended with Windows 7 32bit, However, newer Dell laptop models had compatible, fully functioning drivers that could be installed.  That was until build 10041.
    So my questions are:
    1. Anyone found a compatible driver for a Dell XPS with the Alps/Synaptics Touchpad model?
    2. If MS Staffers read this, I understand that the model for Windows 10 is... "if it worked in an earlier Windows it will work in Windows 10", so, is this likely to be fixed?
    Other than this issue, which is very irritating because working with a very limited mouse is a pain when the mouse supports other touch features, my Windows 10 experience has been really good.
    Cheers,
    Pete

    Hi Alex,
    I found a semi-compatible driver for the Synaptics Touchpad, which is found searching for Dell KB R293038.exe
    This driver provides basic two finger touchpad scroll support and chiral scroll.  It doesn't support advance Windows 8/8.1/10 swipe features.
    Importantly this driver does not support two finger/chiral scroll gestures in Windows Modern Apps like the Store, or Project Spartan, or any other Windows Modern Apps.
    Hopefully the Windows 10 Tech Preview Team will be able to work out what they changed that broke the Synaptics Touchpad gestures for so many people posting about the issue on these forums.
    Cheers,
    Pete

  • I have just installed Firefox 6, and Rapport no longer works - the same problem that you had with Firefox 5. What is happening?

    You prompted me to install Firefox 6 this evening, as it addresses serious security/stability problems, but when I did this, the Rapport icon vanished from the address bar. Reinstalling the current version of Rapport has not fixed this.
    The same thing happened a few months ago with Firefox 5, and it took Rapport a week to develop a new compatible version.
    Why has this happened again? Do you not check this before launching new versions? Or, why at the very least do you not warn us beforehand that some programs will not work for X days? I'd prefer to be without the latest Firefox for a week or so rather than without Rapport - not least because my bank requires me to use Rapport.
    Please advise ASAP.
    Malcolm Oliver

    This is the link in the message that Trusteer has sent me today. I have updated and works fine thus far.
    Thank you for contacting Trusteer Technical Support.
    We are glad to inform you that a version of Rapport which supports Firefox 6 has
    been released and is now available for download in the following link:
    http://download.trusteer.com/NkuiAcruiKc/RapportSetup.exe
    Please make sure to restart your computer after the installation process is
    completed.
    Please note: This version of Rapport is currently a beta version. We would
    appreciate any feedback you may have regarding this version.
    If Rapport states that the version of Rapport you are trying to install is older
    than the version already installed, please follow these instructions:
    1. Choose to uninstall Rapport
    2. When prompted, select "Delete all user settings". Please be assisted by the
    following image: http://consumers.trusteer.com/files/images/uninstall.jpg
    3. Reinstall Rapport from the link above.

  • My Password Manager icon has disapeared from my toolbar and no longer works. I have checked all settings with no luck in getting it to reappear.

    The password manager has disappeared (icon and all) and no matter what I can't get it back & running. I have checked tools/security and all is set as should be.
    == This happened ==
    Every time Firefox opened
    == Just discovered it this A.M.

    There is No Pre-installed Youtube App in iOS 6.
    http://itunes.apple.com/app/youtube/id544007664?mt=8

  • I have a Mac. Safari no longer works. Do you sell a disk with Firefox on it so that I can install it on my Mac?

    See above.

    Maybe you can get the installer via ftp if you do not know somebody else that can download and save the Firefox installer for Mac to an USB stick.
    You can find the full version of the current current Firefox release (37.0.2) in all languages and all operating systems here:
    *https://www.mozilla.org/en-US/firefox/all/
    Open a terminal window and execute these commands.
    (leave out the comments between parenthesis)
    <pre><nowiki>ftp
    open ftp.mozilla.org
    username: anonymous
    password: anonymous (not echoed; so easiest is to paste anonymous in the name and the password)
    cd pub/mozilla.org/firefox/releases/latest/mac/en-US
    ls (verify that you are in the correct directory)
    binary (specify using binary transfer mode)
    lcd ~ (save the file to the home directory;lcd ~/Desktop)
    get "Firefox 37.0.2.dmg" (make sure to use the quotes and substitute the correct name as found above)
    (verify that you have the "Firefox xx.0.dmg" file in the home directory)</nowiki></pre>

  • Analyzer Not working with Java 1.6

    Does anyone know why Analyzer 7.2.5.3 works ok with Java 1.4.2 even with Java 1.5 versions, but as soon as a client also installs 1.6 it stops working? Also what can I do to alleviate this, without removing 1.6 from machines as it is now our companies standard version.
    Thx in advance.

    I am experiencing the same issue. About 500 users are using Analyzer 7.0. When Java 1.6 is installed on their machine, the loading screen hangs, and never shows the login screen.

  • Old files with a large number of comments no longer work properly in either Adobe Acrobat DC or or Acrobat Reader

    I made a series of interactive ebooks wiith Adobe Acrobat Pro. They worked fine in the old Adobe Reader. But now the commenting feature does not work properly either in Adobe Reader DC or Adobe Acrobat DC.  When I open the comments, everything slows down or else I get blank pages. The tools are not usable. There seems to be some compatibility issue between what was done in these books with the commenting tools and the new applications. Has anybody experienced the same?

    Hi Anubha,
    Thanks for your reply. With the new Acrobat Reader DC, I have the same problem on two computers, one with Windows 7 and one with Windows 8.1. I downloaded a trial version of Adobe Acrobat DC on the computer with 8,1. Then I found out that I had the same problem with Acrobat DC as I did with Reader DC.
    I made these e-books with Acrobat Adobe Pro 11. I never had a problem with Pro 11 or with previous Readers. Also I have sent these e-books out to other people who had Reader 11 and they had no problems. Now it seems that the books are not usable – at least in the fullest way -- for me or for anyone else using the latest version of Reader.
    Any help would be appreciated. I have put a lot of work into these e-books.
    De : Anubha Goel 
    Envoyé : April-21-15 12:47 AM
    À : michael jaegermeister
    Objet : You have been mentioned by Anubha Goel in Re: old files with a large number of comments no longer work properly in either Adobe Acrobat DC or or Acrobat Reader in Adobe Community
    You have been mentioned
    by Anubha Goel <https://forums.adobe.com/people/Anubha+Goel?et=notification.mention>  in Re: old files with a large number of comments no longer work properly in either Adobe Acrobat DC or or Acrobat Reader in Adobe Community - View Anubha Goel's reference to you <https://forums.adobe.com/message/7456900?et=notification.mention#7456900>

  • Links no longer working in PDF with Pages 5

    I have links in my Pages 5 document that work in Pages but no longer work in the PDF. They did when this was a Pages 09 file. In Pages 5 I can edit the, test them and everything is fine. Links are useless unless they can be part of the final deocument. Does anyone else have this issue and a work around? I am on Mavericks.

    This is just one of over 90 features Apple has removed from Pages 5.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5 and rate/review it in the App Store, then get back to work.
    Peter

  • Image not showing in Abobe integrated with Java WebDynPro

    Hi All,
    Image is not showing in Abobe integrated with Java WebDynPro.
    I did the following:
    Added the image field in adobe form. in URL value set the value of context node binding. Binding set to none and size set to Use Original Size.
    Then in script editor i wrote
    this.value.image.href = xfa.resolveNode(this.value.image.href).value;
    at innitialize , javascript and client.
    I can see the image from the same url context value if image field is created directly in WebDynPro View.
    Can anyone suggest what is missing?
    Thanks and Regards,
    Nuzhat

    Try changing your line of code for this one
    this.value.image.href = xfa.record.Images.URL;
    Check that the url passed by scripting is correct with a messageBox for example.
    You can also try assigning a hardcoded url at scripting level to check if its works.
    Best regards, Aldo.

Maybe you are looking for