Recent content by Arjan

  1. A

    Service crash (multiple threads)

    The mutex did not work.... well, it works just fine, but it does not fix our problem. After we have had a crash the DDL is released. Afterwards we are trying to make a connection. The first thread is making a connection using the mutex but the connection is never made, therefor the mutex is...
  2. A

    Service crash (multiple threads)

    We have now created a mutex before making connection with the database. If the LogOn/LogOff is causing the blocks, this might indeed do what is needed (already said by Blogin, thanks!)
  3. A

    Service crash (multiple threads)

    Well, it did not work. We have tried to unload the dll. That seems to work fine, but afterwards both threads again cannot connect with the database. We have also tried a service with one thread, this is working just fine. The thread is still running and there are no AV's. So the problem is most...
  4. A

    Service crash (multiple threads)

    We have had the same problem. After some time we received AV (multiple) when opening and closing the connection to check if the DB is still available. This is the reason why we are using CheckConnection, this solved our problem. About our new problem, it seems that unloading the dll helps. We...
  5. A

    Service crash (multiple threads)

    I agree! So we have changed and rebuild our source code. Now we have to wait for the backup to start, so tomorrow we will know if this is the solution or work around (whatever you like).
  6. A

    Service crash (multiple threads)

    We could free everything if we got the AV, but we don't. This is because CheckConnection catches all exceptions. So we do not know when we have to create a new Datamodule. We only see in our logging that there is nothing happening. So we probably do not have to or can not use CheckConnection...
  7. A

    Service crash (multiple threads)

    We have followed your advice and added the procedure. We still have the same problem, but now we have received an AV in one of the Oracle dll's. Below the logging of the failure. Everything is still ok and query is being executed 14-02-2007 11:06:39 - TOracleQuery Start Query.Execute...
  8. A

    Service crash (multiple threads)

    We are using a Windows Service Application with two threads each with its own TDataModule and its own TOracleSession. Each thread tests the connection with Oracle every minute (ini-file setting) by using CheckConnection(True). If the connection is lost or not available then the threads wait for...
  9. A

    Multiple Thread and Delay in Connection

    Never mind, we have found our problem On another PC with a different Oracle Client installation is is working just fine. It looks like it is a combination of Win2000 and an oracle version for WinXp (or something).
  10. A

    Multiple Thread and Delay in Connection

    Our application (a service) uses a thread with a TOracleSession to connect to a database. We are using an other thread to create a new connection. A dataModule is created in the create of this new thread, after the create we connect to the database In the execute of the thread we try to make a...
Back
Top