问题描述
2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:Exceptioninthread"AgentThread:JavaAgent"2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:java.lang.ExceptionInInitializerError2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.J9VMInternals.initialize(J9VMInternals.java:222)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.Class.forNameImpl(NativeMethod)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.Class.forName(Class.java:136)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atcom.ibm.db2.jcc.DB2Driver.class$(DB2Driver.java:57)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atcom.ibm.db2.jcc.DB2Driver.<clinit>(DB2Driver.java:60)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.J9VMInternals.initializeImpl(NativeMethod)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.J9VMInternals.initialize(J9VMInternals.java:200)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.Class.forNameImpl(NativeMethod)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.Class.forName(Class.java:136)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atJavaAgent.NotesMain(JavaAgent.java:20)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atlotus.domino.AgentBase.runNotes(UnknownSource)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atlotus.domino.NotesThread.run(UnknownSource)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:Causedby:2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:java.lang.SecurityException:禁止访问系统属性2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atlotus.notes.AgentSecurityManager.checkPropertiesAccess(UnknownSource)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.System.getProperties(System.java:323)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atcom.ibm.db2.jcc.a.bd.run(bd.java:37)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.security.AccessController.doPrivileged(AccessController.java:202)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atcom.ibm.db2.jcc.a.hd.b(hd.java:47)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atcom.ibm.db2.jcc.a.hd.a(hd.java:40)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atcom.ibm.db2.jcc.a.db.h(db.java:401)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atcom.ibm.db2.jcc.a.db.<clinit>(db.java:387)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.J9VMInternals.initializeImpl(NativeMethod)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:atjava.lang.J9VMInternals.initialize(J9VMInternals.java:200)2012-07-0216:16:39AMgr:Agent('(组织结构)HR系统同步HrSynchronous'in'EMSBatchCode.nsf')errormessage:...11more
解决方案
解决方案二:
message:java.lang.SecurityException:禁止访问系统属性你的代理安全性没有改吧,改成2或3试试
解决方案三:
最讨厌在notes里非要搞java的lotusscript不行么DECS不行么DB2连接器不行么只要弄个odbc连接,光写lotusscript我都可以连接几乎所有的数据库像DB2和oracle甚至有专用的连接类犯得着写java么R6用的是1.3的JVMR7用的是1.4.2的JVM如果你用的是R6,就得找一个1.3JDK编译后的db2conn.jar,其它的不用多说了吧