Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade Failing

Fr0zt
Contributor
September 21, 2018 edited

Hello.

I am trying to upghrade Jira 4.4.1 to Jira 4.4.5.

I have already installed java jdk and set JAVA_HOME variable.

When I run the Jira 4.4.5 installer I get error. in the log I get this:

 

(...)

extracting Welcome.html (size 943)
untaring JRE was successful
JRE dir: C:\Users\noesiscs\AppData\Local\Temp\2\e4j7D5C.tmp_dir\jre
LoadDLL (0, C:\Users\noesiscs\AppData\Local\Temp\2\e4j7D5C.tmp_dir\jre, 0)
Got JRE location C:\Users\noesiscs\AppData\Local\Temp\2\e4j7D5C.tmp_dir\jre (java exe: 0)
MinVersion: 1.6, MaxVersion:
Trying to load JVM-DLL from c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\java.exe
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\hotspot\jvm.dll (exists 0)
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\client\jvm.dll (exists 1)
Failed with error code 21
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\server\jvm.dll (exists 1)
Failed with error code 21
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\classic\jvm.dll (exists 0)
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\jrockit\jvm.dll (exists 0)
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\..\jre\bin
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\..\jre\bin\hotspot\jvm.dll (exists 0)
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\..\jre\bin\client\jvm.dll (exists 0)
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\..\jre\bin\server\jvm.dll (exists 0)
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\..\jre\bin\classic\jvm.dll (exists 0)
Trying c:\users\noesiscs\appdata\local\temp\2\e4j7d5c.tmp_dir\jre\bin\..\jre\bin\jrockit\jvm.dll (exists 0)
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\
ERROR: Could not get DLL-Handle.
ERROR: Could not load functions
ERROR: Could not load bundled JRE. Trying to find another JRE.
LoadDLL (0, (null), 0)
Searching for a JVM
GetTempPath returned 39 (last error 3)
make dir returned -1
Testing location (type Y)
GetTempPath returned 39 (last error 183)
make dir returned -1
Testing location JAVA_HOME (type E)
checkJavaExe (C:\Program Files\Java\jdk1.6.0_45\jre\bin\java.exe, [out], 1.6, , 0)
file exists
got version from registry 1.6.0_45
checkJavaExe returning 1
Trying to load JVM-DLL from c:\program files\java\jdk1.6.0_45\jre\bin\java.exe
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\program files\java\jdk1.6.0_45\jre\bin
Trying c:\program files\java\jdk1.6.0_45\jre\bin\hotspot\jvm.dll (exists 0)
Trying c:\program files\java\jdk1.6.0_45\jre\bin\client\jvm.dll (exists 0)
Trying c:\program files\java\jdk1.6.0_45\jre\bin\server\jvm.dll (exists 1)
Failed with error code 193
Trying c:\program files\java\jdk1.6.0_45\jre\bin\classic\jvm.dll (exists 0)
Trying c:\program files\java\jdk1.6.0_45\jre\bin\jrockit\jvm.dll (exists 0)
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\program files\java\jdk1.6.0_45\jre\bin\..\jre\bin
Trying c:\program files\java\jdk1.6.0_45\jre\bin\..\jre\bin\hotspot\jvm.dll (exists 0)
Trying c:\program files\java\jdk1.6.0_45\jre\bin\..\jre\bin\client\jvm.dll (exists 0)
Trying c:\program files\java\jdk1.6.0_45\jre\bin\..\jre\bin\server\jvm.dll (exists 0)
Trying c:\program files\java\jdk1.6.0_45\jre\bin\..\jre\bin\classic\jvm.dll (exists 0)
Trying c:\program files\java\jdk1.6.0_45\jre\bin\..\jre\bin\jrockit\jvm.dll (exists 0)
Setting PATH E:\app\Xpand\product\11.2.0\client_2;E:\app\Xpand\product\11.2.0\client_2\bin;E:\app\Xpand\product\11.2.0\client_1;E:\app\Xpand\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\atlassian-plugin-sdk\bin;C:\Program Files (x86)\Mozilla Firefox\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\MySQL\MySQL Server 5.5\bin;;C:\Windows\System32\WindowsPowerShell\v1.0\
ERROR: Could not get DLL-Handle.
ERROR: Could not load functions
ERROR: Could not find another JRE.

 

Why is this happening? How can I fix this?

1 answer

0 votes
Keri
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2018

Can you let us know what version of the JDK you installed was?  This could be an issue with a 32bit vs 64bit - can you try using the alternative version of Java?

 

Cheers, 

Keri

Fr0zt
Contributor
September 25, 2018

Hello.

I have installed java version 1.6.0_30.

Java(TM) SE Runtime Environment (Build 1.6.0_30-b12).

Java Hotspot(TM) 64-bit Server VM (build 20.5-b03, mixed mode).

Fr0zt
Contributor
September 25, 2018

Do you think this issue is about java version?

Keri
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 25, 2018

Hi there, 

 

It looks like it - the version you listed doesn't match the version that Jira is trying to use. 

 

Can you make sure that JAVA_HOME is set correctly: https://confluence.atlassian.com/display/JIRA044/Installing+Java ?

 

You may need to restart the server for the value to be set correctly. 

 

Cheers,

Keri

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events