glassfish
  1. glassfish
  2. GLASSFISH-15350

Thread Id is coming different in server.log file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1_ms07
    • Fix Version/s: 3.1_ms08
    • Component/s: logging
    • Labels:
      None
    • Environment:

      All Platform

      Description

      If user starts domain using following command

      ./asadmin start-domain --debug --verbose
      It starts domain properly with all required thread ids in logging message.

      On console user can see following message with Thread Id 60.
      [#|2010-12-27T11:20:28.114+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=60;_ThreadName=Thread-25;|Binding RMI port to *:8686|#]

      [#|2010-12-27T11:20:28.705+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=60;_ThreadName=Thread-25;|JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://naman:8686/jndi/rmi://naman:8686/jmxrmi|#]

      But when you open and see server.log file same messages is logged with different thread Id 17.
      [#|2010-12-27T11:20:28.114+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=17;_ThreadName=Thread-1;|Binding RMI port to *:8686|#]

      [#|2010-12-27T11:20:28.705+0530|INFO|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=17;_ThreadName=Thread-1;|JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://naman:8686/jndi/rmi://naman:8686/jmxrmi|#]

        Activity

        naman_mehta created issue -
        naman_mehta made changes -
        Field Original Value New Value
        Tags 3_1-review
        Nazrul made changes -
        Tags 3_1-review 3_1-approved 3_1-review
        Nazrul made changes -
        Tags 3_1-approved 3_1-review 3_1-approved
        naman_mehta made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Sanjeeb Sahoo made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Sanjeeb Sahoo made changes -
        Priority Major [ 3 ] Critical [ 2 ]
        naman_mehta made changes -
        Assignee naman_mehta [ naman_mehta ] sandeep.shrivastava [ sandeep.shrivastava ]
        Bobby Bissett made changes -
        Attachment TestServlet.java [ 51195 ]
        rajendra_inamdar made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            sandeep.shrivastava
            Reporter:
            naman_mehta
          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 hours
              2h
              Remaining:
              Remaining Estimate - 2 hours
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified