Axis2 fails to load DLL

99封情书 提交于 2019-12-04 13:30:07

Cracked this one finally.
This CSDN blog post suggested that Axis2C Windows distribution depends on OpenSSL DLLs.

I listed the dll dependencies of axis2_apache_server.exe using the following command.

listdlls axis2_apache_server.exe

and the list showed that the two ssl dlls libeay32 and ssleay32 are required to run it. However, these two dlls were missing from the Axis2 Binary Distribution.

(I don't know why & I think it should have been included. Moreover there is no mention of this in Axis2 documentation.)

The above dlls are available in either Apache2 or OpenSSL installs the I added the path to these dlls to my PATH variable.

I ran the axis2_apache_server.exe and voila !!

Conclusion:Consecutive /s in the file path doesn't affect the linking at all.

Moral: One should check the dll dependencies of an exe file first and make sure that all the dlls are present when he ran into a dll load error.

Hard learned moral though!!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!