James Server
  1. James Server
  2. JAMES-9

JamesSpoolManager doesn't shutdown gracefully

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Labels:
      None
    • Environment:
      Operating System: Other
      Platform: Other

      Description

      On Sat, 29 Sep 2001 06:36, Matthew Pangaro wrote:
      > java.lang.IllegalStateException: Using a stale object reference to call a
      > disposed Block. at
      > org.apache.avalon.phoenix.components.application.BlockInvocationHandler.inv
      >oke(BlockInvocationHandler.java:92) at $Proxy9.log(Unknown Source)
      > at org.apache.mailet.GenericMailet.log(GenericMailet.java:148)
      > at
      > org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:3
      >71) at java.lang.Thread.run(Thread.java:484)
      > I don't know if the same occurs from a timeout of a connection to any of
      > the other services. Still shuts down ok, but seems like it should be
      > caught, or the object reference should be cleaned up. Sorry if this should
      > have been posted to Avalon list, but I wasn't really sure where it
      > belonged.

      The problem is that transport.JamesSpoolManager does not implement the
      dispose method. It should implement dispose() to wait till all currently
      executing processors shutdown gracefully. Todo this it will need to make sure
      run() shuts down properly.

        Activity

        Serge Knystautas created issue -
        Serge Knystautas made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 4033 13341
        Noel J. Bergman made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.0a19 [ 10689 ]
        Assignee James Developers Mailing List [ server-dev@james.apache.org ]
        Resolution Fixed [ 1 ]
        Serge Knystautas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 23336 ] Default workflow, editable Closed status [ 12565919 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12565919 ] jira [ 12581323 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Serge Knystautas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development