I have tested your AppManager for a while, it seems run well.
But I found it sometimes can't collect monitors of Active Directory,
I try to search the cause of this problem.
The stderr.txt in the "logs" folder which I found it increases its size while the monitor of AD running,
the most exception is:
23 Oct 2009 21:34:21:130 java.lang.NumberFormatException: For input string: "-"
23 Oct 2009 21:34:21:130 at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
23 Oct 2009 21:34:21:130 at java.lang.Double.parseDouble(Unknown Source)
23 Oct 2009 21:34:21:130 at com.adventnet.appmanager.server.framework.datacollection.ExpressionEvaluator.getNRVariableValues(ExpressionEvaluator.java:405)
23 Oct 2009 21:34:21:130 at com.adventnet.appmanager.server.framework.datacollection.ExpressionEvaluator.EvaluateExp(ExpressionEvaluator.java:264)
23 Oct 2009 21:34:21:130 at com.adventnet.appmanager.server.framework.datacollection.ExpressionEvaluator.EvaluateExp(ExpressionEvaluator.java:247)
23 Oct 2009 21:34:21:130 at com.adventnet.appmanager.server.framework.activedirectory.ADDataCollector.getSystemProcess_NTFRS(ADDataCollector.java:312)
23 Oct 2009 21:34:21:130 at com.adventnet.appmanager.server.framework.activedirectory.ADDataCollector.callMain(ADDataCollector.java:108)
23 Oct 2009 21:34:21:130 at com.adventnet.appmanager.server.framework.datacollection.AMScriptDataCollector.getData(AMScriptDataCollector.java:209)
23 Oct 2009 21:34:21:130 at com.adventnet.appmanager.server.framework.AM_KeyValueDataCollector.run(AM_KeyValueDataCollector.java:194)
23 Oct 2009 21:34:21:130 at com.adventnet.management.scheduler.WorkerThread.run(WorkerThread.java:68)
23 Oct 2009 21:34:21:661 java.lang.NumberFormatException: For input string: "-"
23 Oct 2009 21:34:21:661 at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
23 Oct 2009 21:34:21:661 at java.lang.Double.parseDouble(Unknown Source)
23 Oct 2009 21:34:21:661 at com.adventnet.appmanager.server.framework.datacollection.ExpressionEvaluator.getNRVariableValues(ExpressionEvaluator.java:405)
23 Oct 2009 21:34:21:661 at com.adventnet.appmanager.server.framework.datacollection.ExpressionEvaluator.EvaluateExp(ExpressionEvaluator.java:264)
23 Oct 2009 21:34:21:661 at com.adventnet.appmanager.server.framework.datacollection.ExpressionEvaluator.EvaluateExp(ExpressionEvaluator.java:247)
23 Oct 2009 21:34:21:661 at com.adventnet.appmanager.server.framework.activedirectory.ADDataCollector.getSystemProcess_LSASS(ADDataCollector.java:350)
23 Oct 2009 21:34:21:661 at com.adventnet.appmanager.server.framework.activedirectory.ADDataCollector.callMain(ADDataCollector.java:117)
23 Oct 2009 21:34:21:661 at com.adventnet.appmanager.server.framework.datacollection.AMScriptDataCollector.getData(AMScriptDataCollector.java:209)
23 Oct 2009 21:34:21:661 at com.adventnet.appmanager.server.framework.AM_KeyValueDataCollector.run(AM_KeyValueDataCollector.java:194)
23 Oct 2009 21:34:21:661 at com.adventnet.management.scheduler.WorkerThread.run(WorkerThread.java:68)
Besides, everytime I start the AppManager, the stderr.txt will show as follows:
23 Oct 2009 21:29:57:529 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_GLOBALCONFIG__4924D839'. Cannot insert duplicate key in object 'dbo.AM_GLOBALCONFIG'.
23 Oct 2009 21:29:57:529 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:29:57:529 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:29:57:529 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:274)
23 Oct 2009 21:29:57:529 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:29:57:529 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:29:57:701 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__Alert__1ED998B2'. Cannot insert duplicate key in object 'dbo.Alert'.
23 Oct 2009 21:29:57:701 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:29:57:701 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:29:57:701 at com.adventnet.appmanager.server.framework.AMServerFramework.insertDistributionQueries(AMServerFramework.java:1255)
23 Oct 2009 21:29:57:701 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:362)
23 Oct 2009 21:29:57:701 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:29:57:701 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:29:57:701 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__Event__276EDEB3'. Cannot insert duplicate key in object 'dbo.Event'.
23 Oct 2009 21:29:57:701 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:29:57:701 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:29:57:701 at com.adventnet.appmanager.server.framework.AMServerFramework.insertDistributionQueries(AMServerFramework.java:1255)
23 Oct 2009 21:29:57:701 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:362)
23 Oct 2009 21:29:57:701 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:29:57:701 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:29:58:342 java.lang.NullPointerException
23 Oct 2009 21:29:58:342 at com.adventnet.nms.alertdb.CategoryCount.updateCountForSeverity(CategoryCount.java:85)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.alertdb.AlertCountServer.updateSeverityCountsByCategory(AlertCountServer.java:109)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.alertdb.AlertLog.loadAlerts(AlertLog.java:1282)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.alertdb.FaultMgr.setUpLogger(FaultMgr.java:363)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.alertdb.FaultMgr.initialize(FaultMgr.java:446)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.eventdb.EventMgr.startFaultMgr(EventMgr.java:601)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.eventdb.EventMgr.initialize(EventMgr.java:695)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.eventdb.EventMgr.callMain(EventMgr.java:522)
23 Oct 2009 21:29:58:342 at com.adventnet.appmanager.fault.AMEventProcess.callMain(AMEventProcess.java:44)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:29:58:342 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:29:59:842 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_GMapCountryCo__664B26CC'. Cannot insert duplicate key in object 'dbo.AM_GMapCountryCoord'.
23 Oct 2009 21:29:59:842 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:29:59:842 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:29:59:842 at com.adventnet.appmanager.server.framework.AMServerFramework.insertDefaultDataIntoDB(AMServerFramework.java:1524)
23 Oct 2009 21:29:59:842 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:414)
23 Oct 2009 21:29:59:842 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:29:59:842 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:139 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:139 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:139 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:139 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:504)
23 Oct 2009 21:30:00:139 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:139 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:139 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:139 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:139 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:139 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:505)
23 Oct 2009 21:30:00:139 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:139 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:264 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:264 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:556)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:264 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:264 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:557)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:264 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:264 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:558)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:264 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:264 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:559)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:264 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:264 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:264 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:562)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:264 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:00:279 com.adventnet.nms.store.NmsStorageException: Violation of PRIMARY KEY constraint 'PK__AM_RCARULESMAPPE__436BFEE3'. Cannot insert duplicate key in object 'dbo.AM_RCARULESMAPPER'.
23 Oct 2009 21:30:00:279 at com.adventnet.management.transaction.ConnectionPool.executeUpdateStmt(ConnectionPool.java:1028)
23 Oct 2009 21:30:00:279 at com.adventnet.appmanager.db.AMConnectionPool.executeUpdateStmt(AMConnectionPool.java:305)
23 Oct 2009 21:30:00:279 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:563)
23 Oct 2009 21:30:00:279 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:00:279 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:06:560 Registrartion Fail
23 Oct 2009 21:30:32:325 java.lang.IllegalArgumentException: encrypted string was null or empty
23 Oct 2009 21:30:32:325 at com.adventnet.appmanager.util.AMEncryption.decrypt0(AMEncryption.java:115)
23 Oct 2009 21:30:32:325 at com.adventnet.appmanager.util.AMEncryption.decrypt(AMEncryption.java:164)
23 Oct 2009 21:30:32:325 at com.adventnet.appmanager.server.framework.AMServerFramework.getValueForReport(AMServerFramework.java:1721)
23 Oct 2009 21:30:32:325 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:737)
23 Oct 2009 21:30:32:325 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:32:325 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:32:371 java.lang.IllegalArgumentException: encrypted string was null or empty
23 Oct 2009 21:30:32:371 at com.adventnet.appmanager.util.AMEncryption.decrypt0(AMEncryption.java:115)
23 Oct 2009 21:30:32:371 at com.adventnet.appmanager.util.AMEncryption.decrypt(AMEncryption.java:164)
23 Oct 2009 21:30:32:371 at com.adventnet.appmanager.server.framework.AMServerFramework.getValueForReport(AMServerFramework.java:1721)
23 Oct 2009 21:30:32:371 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:740)
23 Oct 2009 21:30:32:371 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:32:371 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:32:387 java.lang.IllegalArgumentException: encrypted string was null or empty
23 Oct 2009 21:30:32:387 at com.adventnet.appmanager.util.AMEncryption.decrypt0(AMEncryption.java:115)
23 Oct 2009 21:30:32:387 at com.adventnet.appmanager.util.AMEncryption.decrypt(AMEncryption.java:164)
23 Oct 2009 21:30:32:387 at com.adventnet.appmanager.server.framework.AMServerFramework.getValueForReport(AMServerFramework.java:1721)
23 Oct 2009 21:30:32:387 at com.adventnet.appmanager.server.framework.AMServerFramework.callMain(AMServerFramework.java:741)
23 Oct 2009 21:30:32:387 at com.adventnet.nms.util.RunProcessSmall.runCommand(RunProcessSmall.java:97)
23 Oct 2009 21:30:32:387 at com.adventnet.nms.util.RunCmd.run(RunCmd.java:100)
23 Oct 2009 21:30:33:996 Exceptionnull
I don't know where is the problem, please help~~
ENV:
Windows Server 2003 SE (SP2)
AppManager 9 (9005)
SQLServer 2005 SP3 (it's not in the same server with AppManager)