LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-21-2006, 02:51 PM   #1
MOCKBA
Member
 
Registered: Oct 2003
Location: Moscow
Distribution: Ubuntu
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
IOR is 127.0.0.1 based, how to get real host IP


I run COS naming service on Linux machine, exactly Ubuntu. IOR of naming service happens to be localhost based, instead of real host address:
Here is parsed IOR:

Code:
_IIOP_ParseCDR:  byte order BigEndian, repository id <IDL:omg.org/CosNaming/NamingContextExt:1.0>, 1 profile
_IIOP_ParseCDR:  profile 1 is 150 bytes, tag 0 (INTERNET), BigEndian byte order
(iiop.c:parse_IIOP_Profile):  bo=BigEndian, version=1.2, hostname=127.0.0.1, port=8900, object_key=<....... ...I................RootPOA.....TNameService.................>
(iiop.c:parse_IIOP_Profile):  encoded object key is <¯«Ë%00%00%00%00%20î³%1CI%00%00%00%01%00%00%00%00%00%00%00%02%00%00%00%08RootPOA%00%00%00%00%0DTNameService%00%00%00%00%00%00%00%08%00%00%00%01%00%00%00%01%14>
(iiop.c:parse_IIOP_Profile):  non-native cinfo is <iiop_1_2_1_¯«Ë%2500%2500%2500%2500%2520î³%251CI%2500%2500%2500%2501%2500%2500%2500%2500%2500%2500%2500%2502%2500%2500%2500%2508RootPOA%2500%2500%2500%2500%250DTNameService%2500%2500%2500%2500%2500%2500%2500%2508%2500%2500%2500%2501%2500%2500%2500%2501%2514@tcp_127.0.0.1_8900>
object key is <#AF#AB#CB#00#00#00#00 #EE#B3#1CI#00#00#00#01#00#00#00#00#00#00#00#02#00#00#00#08RootPOA#00#00#00#00#0DTNameService#00#00#00#00#00#00#00#08#00#00#00#01#00#00#00#01#14>;
 no trustworthy most-specific-type info; unrecognized ORB;
 reachable with IIOP 1.2 at host "127.0.0.1", port 8900
Obviously the same service has no such problem when run on Windows machine on the same network. What's specific in Lunix and how to avoid above problem?
 
Old 01-22-2006, 03:14 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I don't know ... but I noticed you haven't gotten any replies.

Two suggestions:
1. Isn't this a J2EE configuration issue?
Have you tried looking at it from this angle yet?

2. Have you tried posting to any Java newgroups or forums
For example:
http://www.javaranch.com

'Hope that helps .. at least a little ...
 
Old 01-22-2006, 11:27 PM   #3
MOCKBA
Member
 
Registered: Oct 2003
Location: Moscow
Distribution: Ubuntu
Posts: 61

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks, I got an answer from there
http://saloon.javaranch.com/cgi-bin/...&f=13&t=001438
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is local host 127.0.0.1 loopback?? cousinlucky Linux - Newbie 12 12-25-2005 04:56 PM
HOST name in HOSTS file (127.0.0.1) fipeso Linux - Networking 1 05-05-2005 06:22 AM
DSN: Data format error & relay=[127.0.0.1] [127.0.0.1] calmbomb Linux - Software 0 11-07-2004 03:24 PM
Host-Based IDS... Linux~Powered Linux - Security 1 03-18-2004 04:58 PM
127.0.0.1 used by another host after Mandrake Update-reboot aridhol Linux - Software 4 01-07-2002 04:11 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration