[jboss-jira] [JBoss JIRA] Closed: (JBAS-4569) ClusterPartition.stopService( ) fails when server is shut down

Jerry Gauthier (JIRA) jira-events at lists.jboss.org
Thu Jul 19 09:55:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4569?page=all ]

Jerry Gauthier closed JBAS-4569.
--------------------------------

    Resolution: Done

Modified ClusterPartition.stopService( ) so that it now creates InitialContext in a try/catch block.  If the instantiation fails, a warning message is issued without a stack trace and the method continues with subsequent operations.

> ClusterPartition.stopService( ) fails when server is shut down
> --------------------------------------------------------------
>
>                 Key: JBAS-4569
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4569
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>    Affects Versions: JBossAS-5.0.0.Beta2
>            Reporter: Jerry Gauthier
>         Assigned To: Jerry Gauthier
>            Priority: Minor
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> When the server is shut down, the stopService( ) method of ClusterPartition fails with a lengthy stack trace when attempting to unbind the partition from JNDI.  The error occurs because InitialContext can't be instantiated due to the following exception.
> javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.iiop.naming.ORBInitialContextFactory[Root  exception is java.lang.ClassNotFoundException: org.jboss.iiop.naming.ORBInitialContextFactory]
> This error only occurs when the server is being shut down; it doesn't occur if the HAPartition service is stopped while the server is running.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list