June 1st, 2000, 01:07 AM
We tried out the following. we are trying to connect to the MS OLAP services Olap server, using OLE DB interfaces(Which internally use COM).This code is implemented in C. Using JNI mechanism we invoke the API to connect to this server in a Java test program.The Connect function executes successfully.
Next we converted this test program into a RMI server and we made a call to connect API .After the Connect call returns, the RMI server is exiting. No exceptions are reported.
We read somewhere in the forum that if we make calls to OLEDB apis in a seperately spawned thread and not make it a part of the rmi server main thread, we might avert the problem. But even that fails.
Looking forward to some workaround for the problem
regards
gautam
Next we converted this test program into a RMI server and we made a call to connect API .After the Connect call returns, the RMI server is exiting. No exceptions are reported.
We read somewhere in the forum that if we make calls to OLEDB apis in a seperately spawned thread and not make it a part of the rmi server main thread, we might avert the problem. But even that fails.
Looking forward to some workaround for the problem
regards
gautam