[ mx4j-Bugs-1164309 ] IIOP / ORB.init

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #1164309, was opened at 2005-03-16 09:15
Message generated for change (Comment added) made by fbenoit
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1164309&group_id=47745

Category: JSR 160 Implementation
Group: Release 3.0.1
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Florent BENOIT (fbenoit)
Assigned to: Simone Bordet (simonebordet)
Summary: IIOP / ORB.init

Initial Comment:
  Hi, 

Instead of recreating an ORB object in class
mx4j.remote.resolver.iiop.Resolver in method getORB(Map
environment), it could check that the environment
object contains "java.naming.corba.orb" property, then
it returns the ORB object with something like : (ORB) 
environment.get("java.naming.corba.orb");
(there could be a check on the object to check that it
is an ORB object. See JMX javadoc : "If the
java.naming.corba.orb attribute is specified and does
not point to an ORB, then an IllegalArgumentException
will be thrown.")

See reference of this property in JDK 5 javadoc :
http://java.sun.com/j2se/1.5.0/docs/api/javax/management/remote/rmi/package-summary.html

Thanks.

Florent.

----------------------------------------------------------------------

>Comment By: Florent BENOIT (fbenoit)
Date: 2005-03-17 13:11

Message:
Logged In: YES 
user_id=1110913

Ok thanks but I didn't see a commit on mailing list 
http://sourceforge.net/mailarchive/forum.php?forum_id=8088
Or in CVS at
http://cvs.sourceforge.net/viewcvs.py/mx4j/mx4j/src/core/mx4j/remote/resolver/iiop/#dirlist

BTW, do you plan to do a new tag like MX4J_3_0_2 soon ?

Thanks.

----------------------------------------------------------------------

Comment By: Simone Bordet (simonebordet)
Date: 2005-03-17 11:40

Message:
Logged In: YES 
user_id=1170988

Fixed as suggested

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=1164309&group_id=47745


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.