[omniORB] omniORB and JNI
Wei Chen
chenwei624 at yahoo.com
Mon Aug 25 13:01:18 BST 2003
Hello,
This is a good question. I've put similar question
before but seems no one can help.
I am busy on writting a client/server application
using omniORB for the client and Java-ORB for the
server with naming service method. I failed to get
them work together.
Really waitting for info and tips, better a small
example source code.
Regards
Wei
--- C閐ric_Tedeschi
<cedric.tedeschi at ens-lyon.fr> wrote:
> Hello,
>
> My problem is as follows:
>
> I have two devices written in C++ using omniORB and
> communicating
> through it. I want to launch one of them via JNI,
> because I need to use
> Java inside my application. The sole difference
> between the normal C++
> code and the code launched by JNI is the keywords of
> JNI allowing the
> call of the function from the Java code.
>
> I have no problem when none is launched via JNI,
> still no problem when
> both are launched via JNI, but when only one of them
> is launched via
> JNI, some errors occur when executing.
>
> omniorb: from endpoint: giop:tcp:
> 144.22.33.44:31987. Detected GIOP 1.2
> protocol error in input message. Connection is
> closed.
>
> This error occurs on the device not launched via JNI
> when the device
> launched with JNI send datas to it. When launching
> exactly the same code
> from JNI, everything occurs well...
>
> Someone knows this problem?
>
> Thanks in advance!
>
> regards,
> C閐ric.
>
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
>
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the omniORB-list
mailing list