K. Workman
2006-06-23 20:41:20 UTC
I've found myself in an interesting situation.
I have an existing fully functional CORBA event channel based
application written in Java, running in two distinct processes.
I've subsequently written a python supplier and consumer application
(multiple threads, same process) designed to connect to these same event
channels.
Everything works perfectly on my office computer.
However, when I attempt to execute the same programs (both the existing
Java and my new Python work) on my laptop, it does NOT work. It exhibits
the following symptoms when the Python supplier attempts to send a message.
1) When the Python supplier sends the message, the Python consumer sees
the message, but the Java consumer does NOT.
2) Going forward, messages sent by the Java supplier can no longer be
seen by the Java consumer. However, the Python consumer can see the
messages sent by the Java supplier.
3) When I restart the Java consumer, it can see the messages sent by the
Java supplier. Until, that is, I send a message from my Python supplier.
To summarize, everything works as expected until I attempt to send a
message from the Python supplier. Then, as far as I've been able to
determine, the Java consumer no longer sees messages on the event
channel. Until it is restarted, that is. It is as though the Python
supplier is somehow disconnecting the Java Consumer.
Since the problem does NOT occur on my office PC, but ONLY on my laptop,
I'm assuming that something is not right in my configuration
(environment variables). So far, a comparison between my two
environments has not revealed much.
I did do one thing on my laptop that I did not do on my office PC and
that is install the OmniORB C++ development kit. So, I uninstalled it,
but the behavior stayed the same. I'm wondering if there might be a
registry entry that was not removed by the uninstall that might be
causing problems?
Thanks in advance for any helpful suggestions.
(sorry for the over-long post, but I wanted to be as clear as possible)
K.A.
I have an existing fully functional CORBA event channel based
application written in Java, running in two distinct processes.
I've subsequently written a python supplier and consumer application
(multiple threads, same process) designed to connect to these same event
channels.
Everything works perfectly on my office computer.
However, when I attempt to execute the same programs (both the existing
Java and my new Python work) on my laptop, it does NOT work. It exhibits
the following symptoms when the Python supplier attempts to send a message.
1) When the Python supplier sends the message, the Python consumer sees
the message, but the Java consumer does NOT.
2) Going forward, messages sent by the Java supplier can no longer be
seen by the Java consumer. However, the Python consumer can see the
messages sent by the Java supplier.
3) When I restart the Java consumer, it can see the messages sent by the
Java supplier. Until, that is, I send a message from my Python supplier.
To summarize, everything works as expected until I attempt to send a
message from the Python supplier. Then, as far as I've been able to
determine, the Java consumer no longer sees messages on the event
channel. Until it is restarted, that is. It is as though the Python
supplier is somehow disconnecting the Java Consumer.
Since the problem does NOT occur on my office PC, but ONLY on my laptop,
I'm assuming that something is not right in my configuration
(environment variables). So far, a comparison between my two
environments has not revealed much.
I did do one thing on my laptop that I did not do on my office PC and
that is install the OmniORB C++ development kit. So, I uninstalled it,
but the behavior stayed the same. I'm wondering if there might be a
registry entry that was not removed by the uninstall that might be
causing problems?
Thanks in advance for any helpful suggestions.
(sorry for the over-long post, but I wanted to be as clear as possible)
K.A.