Strange Java bridge problem !!! [message #46962] |
Fri, 13 January 2006 11:40 |
Antonio Santiago
Messages: 201 Registered: February 2004
|
Senior Member |
|
|
Hi group,
as I can see in older post I am not the only one that uses JDBC to
emulate de Dateminer.
I have an strange problem (because this I need some help :) ).
Well, I am running a Linux box with IDL, MySQL and Java v1.5.
I have create a little java class to create a JDBC connection and a
statement object.
From this statement (and inside IDL) make a query, extract some info
and close and OBJ_DESTROY de resultSet object.
The strange problem is that all is right since some higer number of
queries are made, that is:
1 iter. - Create JDBC connection, get statement object, make query,
extract info and close and OBJ_DESTROY object.
2 iter. - The same.... ok.
3 iter. - The same... ok.
n iter. - Java Hotspot crashed !!!! What ??? This is not an exception
problem.
I have made a little program in Java with the same behavior (connection,
statement, query, etc). I execute it a hundred of times and only in one
execution it returns me an exception on socket creation when try to
stablish the connection to database.
I think the problem is IDL don't handles in a right way the exception
that is produced.
Any help (or joke to make me happy) will be apreciate :(
--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
|
|
|