Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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: 127.0.0.1]

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
1  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.