Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Jira 3.1 for task tracking. It works over SQL Server 2008 R2.

Recently I tried to use Jira as a service rather than running it from a command line. I have installed the service and put dependency from SQL Server service.

The problem, however, is that it seems that Jira service does not wait SQL Server to start completely. Webpage shows error, event log says:

Login failed for user 'jirauser'. Reason: Failed to open the explicitly specified database. [CLIENT:]

If I manually restart the service, everything is OK, so looks like the reason is indeed in bad timing.

Is there any standard way to overcome this difficulty? I can, of course, create some batch file to start Jira service after some fixed time, say it, 1 minute after reboot, but this solution is ugly.

share|improve this question
I found that Atlassian (Jira makers) technical support is excellent, exceeded my expectations by far. You can try asking them. – haimg Nov 28 '11 at 21:12
haimg, not a bad idea :) wrote them. – Alex Nov 28 '11 at 21:28

You must log in to answer this question.

Browse other questions tagged .