java rmid异常:超时创建子进程

时间:2011-12-13 10:14:01

标签: java

我们正在使用java 7 rmid。在rmid进程上启动命令时,会发生以下异常。

java.rmi.activation.ActivateFailedException: activation failed; nested exception is: 
java.rmi.activation.ActivationException: timeout creating child process
at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:303)
at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:132)
at deshaw.smart.commandproxy.server.ActivatableComputeEngine_Stub.execute(Unknown Source)
at deshaw.moss.util.ScriptExecutor$1.run(ScriptExecutor.java:403)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

还有其他人遇到类似问题吗?

谢谢,
Gayathri

1 个答案:

答案 0 :(得分:0)

解决:这是因为rmid启动命令中的拼写错误。在为rmid进程指定内存时错过了'M'。