[ http://jira.jboss.com/jira/browse/EJBTHREE-117?page=history ]
     
Kabir Khan closed EJBTHREE-117:
-------------------------------

     Assign To: Kabir Khan
    Resolution: Done

> NPE when undeploying node in a cluster
> --------------------------------------
>
>          Key: EJBTHREE-117
>          URL: http://jira.jboss.com/jira/browse/EJBTHREE-117
>      Project: EJB 3.0
>         Type: Bug
>   Components: Clustering
>     Versions: Preview 4
>     Reporter: Kabir Khan
>     Assignee: Kabir Khan
>      Fix For: Preview 5

>
>
> > The stuff below is before clustering steps in. If you run the 
> > clustering example (or I think any for that matter, but haven't 
> > tried), and shut down one of the servers gracefully: 
> -It starts undeploying 
> -Entries in AOP Dispatcher are removed
> -When the client next tries to connect to the closing down server, the
> > server is still "up", but there is no entry in AOP Dispatcher (target is
> > null). It tries to use the null target, and it fails with a NPE which is
> > propagated all the way up to the client
> > 
> > The client code is:
> >    public static void main(String[] args) throws Exception
> >    {
> >       InitialContext ctx = new InitialContext();
> >       Session remote = (Session) ctx.lookup(Session.class.getName());
> >       while (true)
> >       {
> >          remote.test(); //Fail here
> >          Thread.sleep(1000);
> >       }
> >    }
> > 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to