Stash fails to start on 64-bit Windows with error 'tc-native-1.dll: Can't load IA 32-bit .dll'
症状
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
原因
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.
回避策
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-bit | 64-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
Powered by Confluence and Scroll Viewport.