comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Strange Java bridge problem !!!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Strange Java bridge problem !!! [message #46962] Fri, 13 January 2006 11:40
Antonio Santiago is currently offline  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
-----------------------------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: iTools and WSET
Next Topic: Re: reading a ninary file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:55:42 PDT 2025

Total time taken to generate the page: 0.00485 seconds