glassfish
  1. glassfish
  2. GLASSFISH-6887

[REGRESSION] replication frame not intialized properly during start-cluster

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 9.1.1
    • Fix Version/s: 9.1.1_dev
    • Component/s: failover
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      6,887
    • Status Whiteboard:
      Hide

      911Approved

      Show
      911Approved

      Description

      With b60b seeing the following failure

      Replication framework not initialized properly during start-cluster if the
      application is already deployed on to the cluster

      to reproduce
      deploy sample clusterjsp on to a cluster and stop/start cluster
      during start cluster pipes creation will be broken

      main cause would attempting to connect to instance:null
      [#|2008-12-08T16:26:02.385-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=18;_ThreadName=Thread-30;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper;MethodName=run;_RequestID=f6ec1f69-add8-4c7f-8f58-fdd049a6464c;|about
      to connectToInstance: null|#]
      --------------------------

      Attached the portion of server log.

      [#|2008-12-08T16:25:56.264-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=10;_ThreadName=main;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationReceiver;MethodName=doPipeInitialization;_RequestID=40cc307c-b913-41c1-9154-30d7e9d3375a;|JxtaReplicationReceiver>>doPipeInitialization:previously
      called = false|#]

      [#|2008-12-08T16:25:56.271-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=10;_ThreadName=main;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationReceiver;MethodName=doPipeInitialization;_RequestID=40cc307c-b913-41c1-9154-30d7e9d3375a;|JxtaReplicationReceiver:about
      to call JxtaServerPipeWrapper.start()|#]

      [#|2008-12-08T16:25:56.304-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=17;_ThreadName=Thread-29;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaServerPipeWrapper;MethodName=initForNewPipeRequests;_RequestID=38f76864-be6c-411f-948d-aa55a7a7b2d9;|Waiting
      for additional JxtaBidiPipe connections on JxtaServerPipe|#]

      [#|2008-12-08T16:25:56.305-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=17;_ThreadName=Thread-29;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaServerPipeWrapper;MethodName=initForNewPipeRequests;_RequestID=38f76864-be6c-411f-948d-aa55a7a7b2d9;|JxtaServerPipeWrapper:JxtaBidiPipe#
      waiting to accept|#]

      [#|2008-12-08T16:25:59.310-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=10;_ThreadName=main;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationReceiver;MethodName=doPipeInitialization;_RequestID=40cc307c-b913-41c1-9154-30d7e9d3375a;|initializing
      _jxtaBiDiPipeWrapper|#]

      [#|2008-12-08T16:25:59.337-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=10;_ThreadName=main;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationReceiver;MethodName=doPipeInitialization;_RequestID=40cc307c-b913-41c1-9154-30d7e9d3375a;|JxtaReplicationReceiver:about
      to call JxtaBiDiPipeWrapper.start()|#]

      [#|2008-12-08T16:25:59.353-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt|_ThreadID=10;_ThreadName=main;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper;MethodName=start;_RequestID=40cc307c-b913-41c1-9154-30d7e9d3375a;|awaitTimeInSeconds
      = 90|#]

      [#|2008-12-08T16:25:59.377-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=18;_ThreadName=Thread-30;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper;MethodName=run;_RequestID=f6ec1f69-add8-4c7f-8f58-fdd049a6464c;|JxtaBiDiPipeWrapper-numPipes=6|#]

      [#|2008-12-08T16:26:02.385-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=18;_ThreadName=Thread-30;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper;MethodName=run;_RequestID=f6ec1f69-add8-4c7f-8f58-fdd049a6464c;|about
      to connectToInstance: null|#]

      [#|2008-12-08T16:26:05.392-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=18;_ThreadName=Thread-30;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper;MethodName=attemptConnectionNumberOfTries;_RequestID=f6ec1f69-add8-4c7f-8f58-fdd049a6464c;|about
      to connectToInstance: null|#]

      [#|2008-12-08T16:26:05.392-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=18;_ThreadName=Thread-30;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper;MethodName=connectToInstance;_RequestID=f6ec1f69-add8-4c7f-8f58-fdd049a6464c;|JxtaBiDiPipeWrapper>>connectToInstance:
      null currentPartnerInstance: null|#]

      [#|2008-12-08T16:26:05.394-0800|FINE|sun-appserver2.1|com.sun.enterprise.ee.web.sessmgmt.pipe|_ThreadID=18;_ThreadName=Thread-30;ClassName=com.sun.enterprise.ee.web.sessmgmt.JxtaBiDiPipeWrapper;MethodName=connectToInstance;_RequestID=f6ec1f69-add8-4c7f-8f58-fdd049a6464c;|pipeAdvertisement
      for: null is: <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jxta:PipeAdvertisement>
      <jxta:PipeAdvertisement xml:space="default" xmlns:jxta="http://jxta.org">
      <Id>

      urn:jxta:uuid-59616261646162614E504720503250333273DAD9321046698B74ABBE3DF49DCF04
      </Id>
      <Type>
      JxtaUnicast
      </Type>
      </jxta:PipeAdvertisement>
      this.pipeAdv: <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jxta:PipeAdvertisement>
      <jxta:PipeAdvertisement xml:space="default" xmlns:jxta="http://jxta.org">
      <Id>

      urn:jxta:uuid-59616261646162614E50472050325033FDB8FAA1EBEB4484997699753901620A04
      </Id>
      <Type>
      JxtaUnicast

        Activity

        Hide
        jluehe added a comment -

        This is the same as https://sailfin.dev.java.net/issues/show_bug.cgi?id=1472,
        which Larry has already fixed. Fix will be available in b60c.

        Show
        jluehe added a comment - This is the same as https://sailfin.dev.java.net/issues/show_bug.cgi?id=1472 , which Larry has already fixed. Fix will be available in b60c.
        Hide
        harpreet added a comment -

        Approved for v2.1

        Show
        harpreet added a comment - Approved for v2.1

          People

          • Assignee:
            lwhite
            Reporter:
            sviveka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: