I am creating a web service using j2ee. this webservice is hitting DB to insert/update data. We are using Connection drivers to eshtablish connection to database. When we launch this web service and tested it, we got a Memory Leak issue and hence the transaction failed. The folliwng is the error message we obtained: "Memory allocation failed during query processing "
This issue was solved when we restarted the weblogic server. This static connection object is only used by EJBs for handling DB transactions.
Will this single static connection object will create memory leak issue and will cause the transaction to fail?
Note: Please dont advice to close the connection, since we need it throughout the transaction.