Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7033678

JMX doesn't work with Turkish locale settings

    Details

    • Subcomponent:
    • Introduced In Version:
      6
    • CPU:
      x86
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      Java(TM) SE Runtime Environment (build 1.6.0_20-b02) &
      Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

      ADDITIONAL OS VERSION INFORMATION :
      SunOS 5.10 (en), Windows 7 32 bit (en), RedHat 5.1 (en) (kernel 2.6)

      A DESCRIPTION OF THE PROBLEM :
      JMX connection could not established from jconsole with Turkish locale.

      REGRESSION. Last worked in version 6

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Compile and execute test case with this configuration:

      -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
      -Duser.language=tr

      and then try to connect application with jconsole.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      be able to connect application with using jmx remote.
      ACTUAL -
      Jconsole gives "Connection Lost: Reconnect?" error message.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.rmi.NoSuchObjectException: no such object in table
      at sun.rmi.transport.Transport.serviceCall(Transport.java:135)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      30.Mar.2011 10:02:23 sun.rmi.transport.StreamRemoteCall getOutputStream
      FINER: RMI TCP Connection(4)-172.16.250.178: getting output stream
      30.Mar.2011 10:02:23 sun.rmi.transport.tcp.TCPTransport handleMessages
      FINE: RMI TCP Connection(4)-172.16.250.178: (port 49478) op = 115
      30.Mar.2011 10:02:23 sun.rmi.transport.tcp.TCPTransport handleMessages
      FINE: RMI TCP Connection(4)-172.16.250.178: (port 49478) exception:
      java.io.IOException: unknown transport op 115
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:552)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      30.Mar.2011 10:02:23 sun.rmi.transport.tcp.TCPConnection close
      FINE: RMI TCP Connection(4)-172.16.250.178: close connection
      30.Mar.2011 10:02:53 sun.rmi.transport.tcp.TCPTransport handleMessages
      FINE: RMI TCP Connection(2)-172.16.250.178: (port 49478) connection closed
      30.Mar.2011 10:02:53 sun.rmi.transport.tcp.TCPConnection close
      FINE: RMI TCP Connection(2)-172.16.250.178: close connection
      30.Mar.2011 10:02:53 sun.rmi.transport.tcp.TCPTransport handleMessages
      FINE: RMI TCP Connection(1)-172.16.250.178: (port 49478) connection closed
      30.Mar.2011 10:02:53 sun.rmi.transport.tcp.TCPTransport handleMessages
      FINE: RMI TCP Connection(3)-172.16.250.178: (port 49478) connection closed
      30.Mar.2011 10:02:53 sun.rmi.transport.tcp.TCPConnection close
      FINE: RMI TCP Connection(3)-172.16.250.178: close connection
      30.Mar.2011 10:02:53 sun.rmi.transport.tcp.TCPConnection close
      FINE: RMI TCP Connection(1)-172.16.250.178: close connection


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      public class JMXTest {

      public static void main(String[] args) throws Throwable {
      System.out.println("hello, world!");
      Thread.sleep(10000000);
      }
      }

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      change -Duser.language=tr param with -Duser.language=en (or fr, de etc.)
      or change jvm 1.6 to 1.5

      Release Regression From : 5.0
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

      Release Regression From :
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                msheppar Mark Sheppard (Inactive)
                Reporter:
                emcmanus Eamonn McManus
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: