Stash fails to start on 64-bit Windows with error 'tc-native-1.dll: Can't load IA 32-bit .dll'

Troubleshooting Installation

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following error is reported when starting up Stash on a 64-bit JVM on Windows on a 64-bit platform:

tc-native-1.dll: Can't load IA 32-bit .dll on a 64-bit platform

Cause

Stash ships with both the 32-bit and the 64-bit versions of tomcat.exe and tc-native-1.dll, but does not set up the correct versions at startup.

Workaround

If you're using a 64-bit JVM to run Stash, you'll need to replace tomcat.exe and tc-native-1.dll with their 64-bit versions:

32-bit64-bit
<STASH-INST>/bin/tomcat.exe <STASH-INST>/bin/tomcat.exe.x64
<STASH-INST>/bin/tc-native-1.dll <STASH-INST>/bin/tc-native-1.dll.x64

 

To switch to the 64-bit versions, please do the following before starting Stash:

cd <STASH-INST/bin>
rename tomcat.exe tomcat.exe.x86
rename tc-native-1.dll tc-native-1.dll.x86
rename tomcat.exe.x64 tomcat.exe
rename tc-native-1.dll.x64 tc-native-1.dll

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.