You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Liu Hsing <mi...@hotmail.com> on 2010/06/18 08:03:01 UTC

question about connecting to ms access and calling jni method

Hi,

 I have questions. That is, I need to change other's code(not writen by myself) as a tuscany service, he used jdbc-odbc(type 1) driver to connect ms access database.
I change it as a tuscany component(binding.ws ), but while calling this service it stopped at DriverManager.getConnection(..) and did not execute the following codes.
I guess this is because type 1 driver needs to use Window OS ODBC functionality. So I tried type  4 driver for ms access, and it works.
Any one knows the indeed cause of the problem ? and the type 4 driver is not free, so any other solution for this question ?

Another question is the code needs to call jni method. While calling jni method, it still stopped, no response. But when the service was turned off 
( I use node.stop()), the jni method was just invoked. I guess this may still connecting problem between windows and tuscany container.
I don't know how to solve this problem, so any one can tell me?

Thanks very much.

Bill Liu
 		 	   		  
_________________________________________________________________
Hotmail 信箱採用微軟資訊安全技術
https://signup.live.com/signup.aspx?id=60969