BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 8 web service hangs mysql connection

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Wed May 09, 2007 7:02 pm    Post subject: Delphi 8 web service hangs mysql connection Reply with quote



Hello!

I've created a soap web service with Delphi 8 that connects to Mysql
Database with Mysql .net connector 1.0.8.0.
I access the soap service from Delphi 7 app.

Everything works fine for a while, but then for some reason the mysql
connection hangs.
The webservice it self is accessible but when the service tries to
write etc to database the webservice hangs and fails to return
anything.

I connect to the database in webservices Create method. Here is the
method:

constructor FTCashierServices.Create;
begin
inherited;
InitializeComponent;
try
FSQLConnection := MySqlConnection.Create('Database=filmtown;Data
Source=XXXX;User Id=XXXX;Password=XXXX');
FSQLConnection.Open;
except
on E: Exception do

end;
end;

And in dispose method, I close the connection and free it.

Any ideas what might cause the hanging?

Thanks in advance!

Marko
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WebServices SOAP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.