I have downloaded and installed the Jira Server on my computer (Windows 10 Pro).
I cannot connect to the server with my browser, as it says "Connection Refused" at localhost:8080
To check whether it's a firewall issue, I turned it off but I still cannot connect.
Am I missing something?
This is the log after I ran start-jira - in the Tomcat command prompt
Many error messages ... I have pasted everything on pastebin + screenshot + and some error messages:
https://pastebin.com/raw/LBG4bSwm
Errors: (some)
Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file C:\Program Files\Atlassian\JIRA\bin\..\logs\atlassian-jira-gc-2018-10-29_01-14-04.log due to No such file or directory
java.util.logging.ErrorManager: 4: Unable to create [C:\Program Files\Atlassian\JIRA\logs]
java.util.logging.ErrorManager: 4: Unable to create [C:\Program Files\Atlassian\JIRA\logs]
java.util.logging.ErrorManager: 4: Unable to create [C:\Program Files\Atlassian\JIRA\logs]
java.util.logging.ErrorManager: 4: Unable to create [C:\Program Files\Atlassian\JIRA\logs]
29-Oct-2018 01:14:06.972 INFORMATION [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_181\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_181\bin;C:\Users\massi\AppData\Local\Microsoft\WindowsApps;C:\Users\massi\AppData\Local\GitHubDesktop\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;.]
29-Oct-2018 01:14:07.090 INFORMATION [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
29-Oct-2018 01:14:07.100 INFORMATION [main] org.apache.catalina.startup.Catalina.load Initialization processed in 507 ms
29-Oct-2018 01:14:07.109 INFORMATION [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
29-Oct-2018 01:14:07.109 INFORMATION [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.32
29-Oct-2018 01:14:07.121 SCHWERWIEGEND [Catalina-startStop-1] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [C:\Program Files\Atlassian\JIRA\conf\Catalina\localhost]
29-Oct-2018 01:14:07.134 WARNUNG [localhost-startStop-1] org.apache.catalina.core.StandardContext.postWorkDirectory Failed to create work directory [C:\Program Files\Atlassian\JIRA\work\Catalina\localhost\ROOT] for context []
****************
JIRA starting...
****************
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: atlassian-jira.log (Zugriff verweigert)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at com.atlassian.jira.logging.JiraHomeAppender.configureAppender(JiraHomeAppender.java:267)
at com.atlassian.jira.logging.JiraHomeAppender.doAppendSync(JiraHomeAppender.java:222)
at com.atlassian.jira.logging.JiraHomeAppender.doAppend(JiraHomeAppender.java:208)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:838)
at com.atlassian.jira.startup.FormattedLogMsg.printMessageImpl(FormattedLogMsg.java:192)
at com.atlassian.jira.startup.FormattedLogMsg.printMessage(FormattedLogMsg.java:173)
at com.atlassian.jira.startup.JiraStartupLogger.printStartingMessage(JiraStartupLogger.java:82)
at com.atlassian.jira.startup.SystemInfoLauncher.start(SystemInfoLauncher.java:23)
at com.atlassian.jira.startup.DefaultJiraLauncher.preDbLaunch(DefaultJiraLauncher.java:114)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:101)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:100)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:154)
at java.lang.Thread.run(Thread.java:748)
2018-10-29 01:15:08,300 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger]
Hi Massimo
as a first step, could you try starting with your anti virus turned off - May want to disconnect from web or networks for safety
anti virus prog sometimes don’t trust jira
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
i’ve been googling windows10 and it seems there are stricter folder permissions than previous versions. I’m no windows 10 expert.
are you able to check that you have read/write permissions on the Jira folders?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it's not starting, you need to read the logs to find out why it is not starting. First the <jira home>/logs/atlassian-jira.log, and if that does not tell you why it's failing, look for <jira install>/log/catalina.out to find out why Tomcat is not able to start.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Tom:
The Jira service is not running. I uninstalled and reinstalled it again - same Problem.
I checked the log folder but can't find any errors.
Jan:
I can't see TCP 0.0.0.0:8080 0.0.0.0 LISTEN / but that's because the Jira Service isn't running.
I did try and start the service manually, but it doesn't start - in fact, it is not even listed under services.
What could the problem be - or is there manual way to add Jira as a service?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've not installed JIRA on Windows 10, but on other windows platforms you are asked whether you want to run as a service during install. Do you remember that happening.
Does the log file show that the JIRA server has started?
You should see a message similar to ...
************************************************************************************
JIRA 7.12.1 build: 712002 started. You can now access JIRA through your web browser.
************************************************************************************
If that is true, then also check the log for the base URL it is using.
Base URL : http://localhost:8080
It is usually 8080 by default but can be changed during install or via jira-config app
Tom Lister
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If there are no logs try running the startup bat file and check output
<jira-install>/bin/start-jira.bat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Open a command window (cmd) and type:
netstat -an
Check if there's an output line
TCP 0.0.0.0:8080 0.0.0.0 LISTEN
This tells you the Jira server is running & you might got a firewall or browser issue. Did you try different browsers?
Best
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is Jira installed as a service or run manually?
if service is it running?
are there any error in the log files?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.