Program gets stuck when connecting to DB
Program gets stuck when connecting to DB
A customer of ours has the follwing problem with the direct connection of ODAC V6.05.0.7 (Delphi 2006) to Oracle V7.1.3.2.0 run on a VAX server. There are two DBs on two servers that are set up the same way. The connection to one of them works fine. But if they try to connect to the other one, the program will not connect, use 100% CPU and will not respond any more. No error or anything returns. The Event BeforeConnect fires but ConnectChange doesn't.
Do you have any idea what can cause this behavior?
Cheers
bij
Do you have any idea what can cause this behavior?
Cheers
bij
I am sorry, but this is not possible. The problem just occurs at one of our customers databases. We cannot reproduce the problem in our developing environment either. Is there another possibility how to provide you with further information on where to find the problem? Is there a function to log detailed debugging information? Do you have an idea what database configuration could possibly cause this behavior?
-
YourFather
- Posts: 3
- Joined: Wed 30 Jan 2008 19:42
I'm experiencing same problem, but using ODAC 4.00.0.1 Net Edition w/Delphi Enterprise 7.
I've an app wich connects to one in five distinct servers (say 10.1.1.2:1521:ORCL / 10.1.1.3:1521:ORCL / 10.1.1.4:1521:ORCL / 10.1.1.5:1521:ORCL). In all servers exists a single user USER1 with same password for all servers.
In a form i've a combobox with this information...
I've a datamodule with an orasession (dbApp) and an oraquery (qryApp)...
Steps:
1. I'm select server 1 to connect.
2. Call dbApp.Disconnect.
3. Set dbApp.ConnectStr := ...
4. Call dbApp.Connect.
5. Connection stablishes OK
6 I'm select server 2 from combobox
7. Call dbApp.Disconnect.
8. Set dbApp.ConnectStr := ...
9. Call dbApp.Connect. My app frezees here.
I tried other alternatives:
- Destroy dbApp after select another server, create again, setting info and connecting. Fails.
- Creating datamodule after selection of another server, create, setting info and connecting. Fails.
I've an app wich connects to one in five distinct servers (say 10.1.1.2:1521:ORCL / 10.1.1.3:1521:ORCL / 10.1.1.4:1521:ORCL / 10.1.1.5:1521:ORCL). In all servers exists a single user USER1 with same password for all servers.
In a form i've a combobox with this information...
I've a datamodule with an orasession (dbApp) and an oraquery (qryApp)...
Steps:
1. I'm select server 1 to connect.
2. Call dbApp.Disconnect.
3. Set dbApp.ConnectStr := ...
4. Call dbApp.Connect.
5. Connection stablishes OK
6 I'm select server 2 from combobox
7. Call dbApp.Disconnect.
8. Set dbApp.ConnectStr := ...
9. Call dbApp.Connect. My app frezees here.
I tried other alternatives:
- Destroy dbApp after select another server, create again, setting info and connecting. Fails.
- Creating datamodule after selection of another server, create, setting info and connecting. Fails.
-
YourFather
- Posts: 3
- Joined: Wed 30 Jan 2008 19:42
-
YourFather
- Posts: 3
- Joined: Wed 30 Jan 2008 19:42