How to reconnect to online database?


 
Thread Tools Search this Thread
Top Forums Programming How to reconnect to online database?
# 1  
Old 10-27-2007
How to reconnect to online database?

HI,

I am using perl LWP for connecting to online databases.

some times i will get connection fail.

I want to keep track of that error and again i want to connect.

i.e when i get connection fail the program should not stop it should

try to connect.

I can check connection fail has occured or not.But how to reconnect?

and retrieve the information?

can we use eval block to check for an error ?

How to proceed?
# 2  
Old 10-27-2007
Can you post some sample code of what you tried?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

How do I keep an X session alive when my VPN/ssh disconnects so I can reconnect later?

Hi, Sorry if this question has been asked before, however, I have tried looking in the forum (and google in general) and I haven't found an answer, so I thought I'd ask here. I am trying to use a GUI application in Solaris 10. Normally I connect with a VPN then SSH and use Xming to... (2 Replies)
Discussion started by: John_sp
2 Replies

2. AIX

AIX help -reconnect EMC lun

we have an old AIX system with important data on an EMC LUN. the AIX server crashed and we had to rebuild it with the old AIX os 5.8. how do we reconnect the EMC LUN without losing the data? (15 Replies)
Discussion started by: jhudson12
15 Replies

3. Shell Programming and Scripting

how do I infinite loop (reconnect) to auto disconnect telnet server

I want the text based Star Wars movie at towel.blinkenlights.nl to loop infinitely. It plays the movie and then disconnects my session? Can anyone think of a way to make my unix machine automatically reconnect over and over? EDIT no commands are required are the connection its just in and... (3 Replies)
Discussion started by: herot
3 Replies

4. Emergency UNIX and Linux Support

Wireless outof range won't reconnect

I'm trying to make my ubuntu reconnect to my wireless network when it's in range. All the network settings are static. essid doesn't change however when I get back in range without: "iwconfig wlan0 essid tandem" the connection won't be re-established. is there anyway to fix it? Just... (1 Reply)
Discussion started by: moshe88
1 Replies

5. Solaris

How to reconnect to a disconnected remote ssh session

hi all How to reconnect to a disconnected remote ssh session on solaris 10 is there any way (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies

6. Shell Programming and Scripting

Reconnect and download data from online site

Hi, I have to connect to online site and download some data from the online site but sometimes the site which i have to connect will be busy or it will not be working in such a case i have to connect atleast 3 times and try to download the data. I tried like this: use CGI::Carp... (2 Replies)
Discussion started by: vanitham
2 Replies

7. UNIX and Linux Applications

DataBase Online Or Not

Hey every one, I am new here, and work as DBA ,can I ask if there any tools can installed or command help me to know if the current DB still connected or not ? The DB that work on is so disturbing, your response are highly appreciated, Note : DB is Oracle and the OS is certain Unix. Best... (4 Replies)
Discussion started by: molanfx
4 Replies

8. Programming

Programming Sockets to Reconnect

Hello everyone, I'm very interested in sockets programming for developing games. Right now i'm trying to develop a client, and connecting to a host and port can be done, but i googled lots of pages, but i could not find how to reconnect to the host/port if the connection is somehow... (2 Replies)
Discussion started by: raistie
2 Replies
Login or Register to Ask a Question