geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <>
Subject [jira] Commented: (GERONIMO-4529) Corba port 1050 is not released after stopping j2ee-corba-yoko configuration
Date Sat, 07 Feb 2009 15:32:59 GMT


Ivan commented on GERONIMO-4529:

In another JIRA, we wish to set a specific system property for the ORB, so in the method createNameService(String,
int) of org.apache.geronimo.yoko.ORBConfigAdapter, we created the ORB object ourself and call
the intialize method of TransientNameService. While in the past, we call the run method to
start the TransientNameService. Unfortunately, in the method intialize(ORB orb), it does not
save the paramter. Then when we call the destory method, the orb.destory() is not invoked.
>From the javadoc of intialize method, it says "Initialize a transient name service on
a specific ORB.", it should save the ORB parameter passed. IMO, the better way is that add
one line "createdORB=orb;" in the intialize method. Or we may create a subclass of TransientNameService
in Geronimo, and do it by ourself.
Could anyone give a commet ? Thanks in advance !

> Corba port 1050 is not released after stopping j2ee-corba-yoko configuration
> ----------------------------------------------------------------------------
>                 Key: GERONIMO-4529
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: CORBA
>    Affects Versions: 2.2
>         Environment: Windows XP
> JDK 1.5
> Geronimo 2.2 SNAPSHOT 20090202
>            Reporter: Ivan
>             Fix For: 2.2
> After stopping the corba component in the console, port 1050 is not released.
> Use command netstat or connect it with Eclipse Debug. Those two threads are still running.
> Yoko:Server:StartedThread. It seems it is still blocked on ServerSocket.accept method.
And I could not start the Corba service in the admin console due to address already in use.
> Thanks for any comment !

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message