0
戻るマーシャリング解除:のGroovyスクリプトエラーが、私はこの機能に取り組んでいます
if ((myFsName != null) ) {
try {
s_log.trace("Process > >> setAdminGroup > RelCI is Node > FS event > checking FS name is null > NOT null");
s_log.trace("Process > >> setAdminGroup > RelCI is Node > FS event > checking FS name is null > NOT null" + relCiID + myFsName + myNodeNameHint);
String adminGrp = ucmdbCache.get(myNodeNameHint).get(myFsName);
s_log.trace("Process > >> setAdminGroup > RelCI is Node > FS event > checking admingrp >" + adminGrp);
if(adminGrp == null){
s_log.trace("Process > >> setAdminGroup > RelCI is Node > FS event > checking ADMIN GROUP is null > IS null");
adminGrp = dataSHM.get(relCiID).get(adminGroupAttrName);
}
evt.addCustomAttribute (adminGroupCaName,adminGrp);
s_log.trace("Process > >> setAdminGroup > RelCI is Node > FS event > Added Custom attribute" + adminGroupCaName + adminGrp);
return; // nothing else to do
} catch (Exception e) {
s_log.error(" >> setAdminGroup > Error: " + e.getMessage());
}
} else {
// if I was not able to extract FS name I don\'t return: fall back to node
}
、私はこのエラーを得た:
org.springframework.remoting.RemoteAccessException: Could not access remote service [rmi://localhost:21303/CaScriptingService]; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: ENIcallMDC (no security manager: RMI class loader disabled) -- Could not access remote service [rmi://localhost:21303/CaScriptingService]; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: ENIcallMDC (no security manager: RMI class loader disabled) -- Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: ENIcallMDC (no security manager: RMI class loader disabled) -- ENIcallMDC (no security manager: RMI class loader disabled)
java.util.concurrent.ExecutionException: org.springframework.remoting.RemoteAccessException: Could not access remote service [rmi://localhost:21303/CaScriptingService]; nested exception is java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.lang.ClassNotFoundException: ENIcallMDC (no security manager: RMI class loader disabled)
私はリターンコマンドに関連していると思いますが、あなたが持って行ってくださいそれについての任意の提案?私は外部関数を使用しますが、メイン1上にして作業することなく、大部分が私のスクリプトを変更し、今ucmdbCacheハッシュマップを計算する前のエラーを解決したことをお知らせしたいと思いますよろしく、 ファブリツィオ
ucmdbCacheとdataSHMは何ですか?どのようにrmiを使用していますか?コードにその兆候はありませんか? –
こんにちは、彼らは同じ方法で、しかし、異なる関数のスクリプト 'dataSHM = Collections.synchronizedMap(localHM)'と 'ucmdbCache = Collections.synchronizedMap(localHM)'にグローバルなハッシュマップ設定です。私は別のアプリケーションにこのスクリプトを実行しているので、そのスクリプトはその内部で呼び出されていると考えてください。詳細が必要な場合はお知らせください。よろしく、Fabrizio – Fab