HTTP Deployer throws “Attempt to load JVM failed on native side”

房东的猫 提交于 2019-12-11 07:36:34

问题


On Tridion 2011 SP1, after I just restarted an HTTP Deployer, I get the error "Attempt to load JVM failed on native side" when I try to access HTTPUpload.aspx.

What is the issue?

I added an env variable JAVA_HOME, restarted the server, but no luck so far.

Many thanks in advance!


回答1:


Nevermind... It seems that after rebooting the server AGAIN, problem was fixed.

I guess I'll never know what was it.




回答2:


The story is way deeper than initially believed and it all boils down to memory allocation.

The culprit in my case was the heap size that we allocate to the Java process running underneath IIS (in JuggerNET). I have 4 CD instances (4 websites running each a CD stack) on 32bit server, with memory 4GB. The heap size was set to 1024M. Naturally there was not enough memory to allocate 4GB of heapspace.

Reducing the heapsize OR stopping a website solved the issue.

Heapsize is controlled in registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Tridion\Content Delivery\General\jvmarg1

with value -Xmx1024M.

Another culprit might be mixing CD DLLs from 64bit with 32bit servers, so check and double check your DLLs!!! I know I did :) hours long...



来源:https://stackoverflow.com/questions/10238273/http-deployer-throws-attempt-to-load-jvm-failed-on-native-side

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