glassfish
  1. glassfish
  2. GLASSFISH-16100

Restart required for java mail session debug change, exception in server.log

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1_b43
    • Fix Version/s: 3.1.1_b05
    • Component/s: jca
    • Labels:
      None
    • Environment:

      this is a full download build on Mac

      Description

      Steps to reproduce:

      1. Create javamail session with Enabled unchecked and Debug checked.
      2. Go to the new session and disable debug, save - restart required icon shows up. Click on it and the following reason is displayed:

      Error while handling Change event.

      server.log contains exception:

      [#|2011-02-24T15:25:43.057-0800|SEVERE|oracle-glassfish3.1|LogStrings.org.glassfish.javaee.services|_ThreadID=169;_ThreadName=Thread-1;|RAR9607: Error while handling Change event.
      javax.naming.NameNotFoundException: Cannot find name to unbind
      at com.sun.enterprise.naming.impl.TransientContext.doUnbind(TransientContext.java:398)
      at com.sun.enterprise.naming.impl.TransientContext.unbind(TransientContext.java:420)
      at com.sun.enterprise.naming.impl.SerialContextProviderImpl.unbind(SerialContextProviderImpl.java:124)
      at com.sun.enterprise.naming.impl.SerialContext.unbind(SerialContext.java:740)
      at javax.naming.InitialContext.unbind(InitialContext.java:416)
      at javax.naming.InitialContext.unbind(InitialContext.java:416)
      at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.unpublishObject(GlassfishNamingManagerImpl.java:246)
      at com.sun.appserv.connectors.internal.api.ResourceNamingService.unpublishObject(ResourceNamingService.java:184)
      at com.sun.enterprise.resource.deployer.MailResourceDeployer.deleteResource(MailResourceDeployer.java:178)
      at com.sun.enterprise.resource.deployer.MailResourceDeployer.undeployResource(MailResourceDeployer.java:171)
      at com.sun.enterprise.resource.deployer.MailResourceDeployer.redeployResource(MailResourceDeployer.java:193)
      at org.glassfish.javaee.services.ResourceManager$PropertyChangeHandler.handleChangeEvent(ResourceManager.java:378)
      at org.glassfish.javaee.services.ResourceManager$PropertyChangeHandler.changed(ResourceManager.java:328)
      at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:332)
      at org.glassfish.javaee.services.ResourceManager.changed(ResourceManager.java:275)
      at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:379)
      at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:369)
      at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:259)
      at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:257)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      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:680)

      #]
      1. server.log
        19 kB
        lidiam
      1. restartreq-error.JPG
        48 kB

        Activity

        lidiam created issue -
        Anissa Lam made changes -
        Field Original Value New Value
        Component/s naming [ 10636 ]
        Component/s admin_gui [ 10588 ]
        Anissa Lam made changes -
        Assignee Anissa Lam [ anilam ] Cheng [ cf126330 ]
        Cheng Fang made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Cheng Fang made changes -
        Assignee Cheng [ cf126330 ] Jagadish [ jr158900 ]
        Component/s jca [ 10602 ]
        Component/s naming [ 10636 ]
        Nazrul made changes -
        Tags 3_1_1-review
        scatari made changes -
        Tags 3_1_1-review
        scatari made changes -
        Tags 3_1_1-approved
        Jagadish made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s  3.1.1_b05 [ 14736 ]
        Resolution Fixed [ 1 ]
        lidiam made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Tags 3_1_1-approved 3_1_1-approved 3_1_1-verified

          People

          • Assignee:
            Jagadish
            Reporter:
            lidiam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: