the thread is blocked when execute "getConnection"

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi:
i have a application,in the application there are a web app on tomcat and a
java app.
the java app open and close connection very high frequency.when it is top
level,if the web app try to open the connection at same time,the web app
thread is blocked.

how could i do? if i don't change open connection high frequency.
thanks.

gugu


.



Relevant Pages

  • Re: the thread is blocked when execute "getConnection"
    ... the java app open and close connection very high frequency.when it is top level,if the web app try to open the connection at same time,the web app thread is blocked. ... Do this: Use a driver ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: the thread is blocked when execute "getConnection"
    ... the java app open and close connection very high frequency.when it is top ... level,if the web app try to open the connection at same time,the web app ... Do this: Use a driver ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: VS .net (Windows vs. Web Application)
    ... churn numbers and not employ the server. ... costly, in terms of connection cost, esp. ... For me, a web app is useful, as it only consumes data when using it. ...
    (microsoft.public.vsnet.general)
  • Re: Access DB ASP connection problems
    ... > I'm developing a simple web app in DRW to display some products ... The better technique is to instantiate a connection object: ... new one, ADO will look in the session pool, and, if a connection is ... > to the database and nothing else can access it. ...
    (microsoft.public.inetserver.asp.db)
  • Re: Database Connection Management
    ... you could use a synchronization object known as a semaphore. ... for your scenario you could set n at 3 or 5 depending on the web app. ... make certain you are closing your connection as soon as ... >The webforms call functions in this dll. ...
    (microsoft.public.dotnet.framework.aspnet)