We help IT Professionals succeed at work.
Get Started

Netbeans + Hibernate slow startup if db cannot be found

Last Modified: 2013-12-14
We are running a Netbeans RCP application which uses Hibernate.  We have no problems with it when running normally.  We were doing some testing the other day which involved starting up the system when there was no internet connection to access the remote database & starting the system when the actual mysql service was not running.

In both of these cases it took netbeans approximately 10 minutes to actually start up the application.  The hibernate/c3p0 timeout is set to 30 seconds (this was the first thing we checked)

if anybody knows what could be causing this or how to fix it help would be greatly appreciated
Watch Question
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE