Jira and Tomcat won't start up on Windows / Lock

View: New views
1 Messages — Rating Filter:   Alert me  

Jira and Tomcat won't start up on Windows / Lock

by forums-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello community,

i recently tried to install JIRA 4 as WAR on Windows 2003 Server with Tomcat 6.0 on MSSQL.

I followed the install manual on the homepage and it seems to install quite fine, but i note some strange
behaviour with sadly no logs to help me pointing to the right direction.

Here is what i have done so far:
1) Configured everthing as noted in the install manual
2) running "build.bat" from the command line:
BUILD SUCCESSFUL
Total time: 3 minutes 20 seconds
3) copy my modified jira.xml to C:\Program Files\Tomcat 6.0\conf\Catalina\localhost
{code}
  <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"
           username="jira"
           password="xxx"
           driverClassName="net.sourceforge.jtds.jdbc.Driver"
           url="jdbc:jtds:sqlserver://sql.xxx.local:1433/jiradb"/>
{code}
4) Startup TomCat 6 as Service from the taskbar tool


Logfile parts i think are useful:

1) atlassian-jira.log
{code}
...
2009-11-03 17:15:01,318 Thread-1 INFO     [atlassian.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2009-11-03 17:15:04,115 Thread-1 INFO     [atlassian.jira.startup.CompositeJiraHomePathLocator] jira.home 'c:/jirahome' found using Application Properties.
2009-11-03 17:15:04,287 Thread-1 INFO     [atlassian.jira.startup.JiraHomeStartupCheck] The jira.home directory 'c:\jirahome' is validated and locked for exclusive use by this instance.
2009-11-03 17:15:04,287 Thread-1 INFO     [atlassian.jira.startup.JiraStartupLogger] JIRA startup checks completed successfully.
2009-11-03 17:15:04,287 Thread-1 INFO     [atlassian.jira.startup.JiraStartupLogger]

Database configuration OK
...
******************************************************************************
JIRA 4.0 build: 466 started. You can now access JIRA through your web browser.
******************************************************************************

2009-11-03 17:16:46,237 Thread-1 INFO     [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler....
2009-11-03 17:16:46,237 Thread-1 INFO     [atlassian.jira.scheduler.JiraSchedulerLauncher] Skipping JIRA Scheduler initialisation, JIRA is not ready.
{code}

looks good so far i think. What is strange: There is nothing running on Port 80 when i do "netstat -an", but the Service is in state: Started.

So i checked the other TomCat logs:

2) catalina.2009-11-03.log
{code}
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
03.11.2009 17:16:56 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-80
{code}

3) jakarta_service_20091103.log
{code}
[2009-11-03 17:14:57] [1015 prunsrv.c] [debug] Java started org/apache/catalina/startup/Bootstrap
[2009-11-03 17:14:57] [info] Service started in 1156 ms.
[2009-11-03 17:14:57] [1259 prunsrv.c] [debug] Waiting worker to finish...
[2009-11-03 17:17:02] [508  javajni.c] [debug] Java Worker thread finished
[2009-11-03 17:17:03] [1264 prunsrv.c] [debug] Worker finished.
[2009-11-03 17:17:03] [info] Run service finished.
[2009-11-03 17:17:03] [info] Procrun finished.
{code}

stdout_20091103.log has the same content as 1).

So everything *seems* to work from the logfiles, or do i miss something here? Since TomCat is not binding to 0.0.0.0:80
i assume something went wrong, but that should normally give me something in the logs, or? All other logs are emtpy btw.
The homedirectory of jira is now filled with folders and i see a ".jira-home.lock" file there.

I am quite unsure what to do now, since i see nothing inside the logfiles and Jira seems to work fine it must be Tomcat, or?

I tried to restart Tomcat (Stop the not runninh service, and said Start again). I now see 0.0.0.0:80 correctly bound, Tomcat
hast started now (the default website works from remote!), but if i check log 1) again i now see:
{code}
JIRA startup failed, JIRA has been locked.
{code}

I naturally tried to remove the lockfile, but everytime i restart Tomcat i get the new lock again and it stops working.

What am i missing? Do i get it right, that i can only restart Jira with restarting Tomcat when it is deployed as WAR?
There is no other way to restart Jira without Tomcat, or? I tried to remove the file, redeploy, restart,... nothing
works... any ideas?
--
Post by ingram333 - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=38447
_______________________________________________
Jira-user mailing list
Jira-user@...
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user