Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 6.1.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      in Server.java

      line 254-265
      if (!_dependentLifeCycles.isEmpty())
      {
      ListIterator itor = _dependentLifeCycles.listIterator(_dependentLifeCycles.size()-1);
      while (itor.hasPrevious())
      {
      try

      { ((LifeCycle)itor.previous()).stop(); }

      catch (Throwable e)

      {mex.add(e);}

      }
      }

      It simply never stops the last lifecycle...

      It should be

      ListIterator itor = _dependentLifeCycles.listIterator(_dependentLifeCycles.size());

        Activity

        Hide
        Yan Pujante added a comment -

        My current workaround:

        I add an empty lifecycle which will be the one skipped...

        server.addLifeCycle(new AbstractLifeCycle()
        {
        });

        Show
        Yan Pujante added a comment - My current workaround: I add an empty lifecycle which will be the one skipped... server.addLifeCycle(new AbstractLifeCycle() { });
        Hide
        Greg Wilkins added a comment -

        fixed in svn head.

        thanks

        Show
        Greg Wilkins added a comment - fixed in svn head. thanks
        Greg Wilkins made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Yan Pujante
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: