[jacorb-developer] ImR Iorfile does not use jacorb.imr.endpoint_port_number ?

Nick Cross jacorb at goots.org
Fri Aug 10 12:59:29 CEST 2012


Hi,

Without checking in detail, I think this is just the current behaviour. 
I think there might be an active bugzilla on how this could be improved.

Regards

Nick


On 10/08/12 05:34, McKnerney, Michael D (US SSA) wrote:
> (Sorry the Subject line was wrong on my first post)
>
> Hi
>
> Why is it that when I specify the jacorb.imr.endpoint_port_number  property for the ImR, the ImR_Ref iorfile that gets produced does *not* contain that endpoint_port_number ?
>
>
> Example:   // jacorb.imr.endpoint_port_number is 17002
>
> ImR startup line (all properties included)
> ---------------------------------------------------------------
> /common/COTS/java/release/java1.6.0_29/jdk1.6.0_29-i586/bin/java -Djava.endorsed.dirs=/common/COTS/jacorb-3.0/lib -Djacorb.home=/common/COTS/jacorb-3.0 -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -classpath -cp /common/COTS/jacorb-3.0/lib/jacorb.jar:/common/COTS/jacorb-3.0/lib/jacorb-services.jar:/common/COTS/jacorb-3.0/lib/idl.jar:/glvobs/top/params/jacorb -Djacorb.log.default.verbosity=4 -Djacorb.use_imr=on -Djacorb.imr.endpoint_host=mcknerney2-lnx5-dev -Djacorb.imr.endpoint_port_number=17002 -Djacorb.imr.table_file=/common/ngl/jacorbConfig/mcknerney/unclass_ustil.cci-a/mcknerney2-lnx5-dev/var/unclass_ustil.cci-a/dbs/table.dat -Djacorb.imr.backup_file=/common/ngl/jacorbConfig/mcknerney/unclass_ustil.cci-a/mcknerney2-lnx5-dev/var/unclass_ustil.cci-a/dbs/backup.dat -Djacorb.imr.ior_file=/common/ngl/jacorbConfig/mcknerney/unclass_ustil.cci-a/mcknerney2-lnx5-dev/var/unclass_ustil.cci-a/dbs/ImR_Ref -Djacorb.logfile=
 /c
>   ommon/ngl/jacorbConfig/mcknerney/unclass_ustil.cci-a/mcknerney2-lnx5-dev/var/unclass_ustil.cci-a/logs/imr.log org.jacorb.imr.ImplementationRepositoryImpl -n
>
> Inspecting the ImR_Ref iorfile shows port 48864.  Why is not 17002 ?
> ---------------------------------------------------------------------------------------------------------------------------
> dior -f /common/ngl/jacorbConfig/mcknerney/unclass_ustil.cci-a/mcknerney2-lnx5-dev/var/unclass_ustil.cci-a/dbs/ImR_Ref
> <snip>
> ------IOR components-----
> TypeId  :       IDL:org/jacorb/imr/ImplementationRepository:1.0
> TAG_INTERNET_IOP Profiles:
>          Profile Id:             0
>          IIOP Version:           1.2
>          Host:                   10.35.225.150
>          Port:                   48864
>          Object key (URL):       the_ImR/ImRPOA/ImR
>          Object key (hex):       0x74 68 65 5F 49 6D 52 2F 49 6D 52 50 4F 41 2F 49 6D 52
>          -- Found 2 Tagged Components--
>          #0: TAG_ORB_TYPE
>                  Type: 1245790976 (JacORB)
>          #1: TAG_CODE_SETS
>                  ForChar native code set Id: ISO8859_1
>                  Char Conversion Code Sets: ISO8859_15, UTF8
>                  ForWChar native code set Id: UTF16
>                  WChar Conversion Code Sets: UTF8, UCS2
>
>
> The ImR does indeed listen on 17002
> ---------------------------------------------------------
> [root at mcknerney2-lnx5-dev ~]# netstat -ap |grep 17002
> tcp        0      0 mcknerney2-lnx5-dev.i:17002 *:*                         LISTEN      20036/java
>
>
> And Persistent Servers do indeed have the ImR port in their Ior
> --------------------------------------------------------------------------------------------------
> E.g. (my NameService is a persistent server  so the port in its iorfile is 17002
>
>> dior -f NS_Ref
> <snip>
> ------IOR components-----
> TypeId  :       IDL:omg.org/CosNaming/NamingContextExt:1.0
> TAG_INTERNET_IOP Profiles:
>          Profile Id:             0
>          IIOP Version:           1.2
>          Host:                   10.35.225.150
>          Port:                   17002
>          Object key (URL):       StandardNS/NameServer-POA/_root
> <snip>
>
> Thanks for any insight you might have
> take care,
> -mike
>
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>



More information about the jacorb-developer mailing list