mightyjebus
Programmer
i'm using TAO CORBA 1.3a and using an example based on one from "Advanced CORBA Programming with C++" by Henning and Vinoski. it's a simple interface, i can print it here:
interface Time
{
long get_current_time();
};
the client requests the result of time(0) from the server (my server is writing the IOR to a txt file, the client reads the file). simple. my server/client programs work fine when both are running on HP-UX and the same code compiles and runs fine on Win32 (Windows XP Pro). i get problems when the server and client are on different OS. i have my HP-UX space set up as a mapped drive under XP so both programs can see the IOR file.
i can get ORB set up just fine. the server runs with no problems. i'm getting an exception in the client when i try to call the interface function get_current_time(). the exception is as follows:
(3144|4000) EXCEPTION, caught CORBA exception
system exception, ID 'IDL
mg.org/CORBA/TRANSIENT:1.0'
OMG minor code (2), described as 'No usable profile in IOR.', completed = NO
i get the exception in the client no matter if i have the server on the HP, client on XP and vice versa. i'm reltively new to CORBA and i hadn't expected this much trouble.
if this is a common problem, i apologize. any assistance would be appreciated. thanks in advance.
brandon
interface Time
{
long get_current_time();
};
the client requests the result of time(0) from the server (my server is writing the IOR to a txt file, the client reads the file). simple. my server/client programs work fine when both are running on HP-UX and the same code compiles and runs fine on Win32 (Windows XP Pro). i get problems when the server and client are on different OS. i have my HP-UX space set up as a mapped drive under XP so both programs can see the IOR file.
i can get ORB set up just fine. the server runs with no problems. i'm getting an exception in the client when i try to call the interface function get_current_time(). the exception is as follows:
(3144|4000) EXCEPTION, caught CORBA exception
system exception, ID 'IDL
OMG minor code (2), described as 'No usable profile in IOR.', completed = NO
i get the exception in the client no matter if i have the server on the HP, client on XP and vice versa. i'm reltively new to CORBA and i hadn't expected this much trouble.
if this is a common problem, i apologize. any assistance would be appreciated. thanks in advance.
brandon