0 Replies Latest reply on Mar 19, 2014 10:36 AM by blindpepper

    The requested resource was not found

    blindpepper

      Hello,

       

      after my upgrade of Epo 4.6.6 to 5.1 I'm having the following problem:

      when I go to the "Server Tasks" and try to edit (for example) the "LdapSync: Sync across users from LDAP" (it is also with other tasks) I get the error: "the requested resource was not found" and I only can click on the "OK" button and get redirected to the dashboard.

      then I go back to the "servers tasks" page and all is working fine.

       

      In the orion log I get  some 404 errors: (attached it also)

       

      2014-03-19 16:08:00,892 DEBUG [http-bio-8443-exec-17] task.TaskValidator  - validating command LdapSync.LdapSyncCommand and with parameters

      { "syncLdapServer" : "-1" }

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.connection  - 156990. Connection closed

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156990. Connection.close() returned

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] task.TaskValidator  - task is considered valid

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.connection  - 156988. Connection closed

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156988. Connection.close() returned

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] task.TaskValidator  - validating task

      { "valid" : true, "enabled" : true, "startDate" : { "time" : 1385938801000, "minutes" : 0, "seconds" : 1, "hours" : 0, "month" : 11, "year" : 113, "timezoneOffset" : -60, "day" : 1, "date" : 2 }, "validateMessage" : [ ], "endDate" : null, "type" : { "commandChainModificationAllowed" : false, "visible" : true, "persistent" : true, "modificationAllowed" : true, "displayKey" : "scheduler.type.maintenance", "creationByUserAllowed" : false, "transportable" : false, "deletionDuringExtensionManagementAllowed" : true, "executionByUserAllowed" : true, "deletionByUserAllowed" : false }, "uniqueKey" : "LdapSync.servertasks.ldapsync", "version" : 3, "lastRunTime" : 1395238064713, "id" : 20, "commandChain" : { "id" : 207, "childCount" : 1, "commandName" : "scheduler.noop", "children" : [ { "id" : 208, "childCount" : 0, "commandName" : "LdapSync.LdapSyncCommand", "children" : [ ], "parameters" : { "syncLdapServer" : "-1" }, "displayName" : "LdapSync.LdapSyncCommand" } ], "parameters" : { }, "displayName" : "scheduler.noop" }, "schedule" : { "periodType" : "PeriodType(id=daily,value=1)", "resource" : null, "period" : [ { "periodType" : "PeriodType(id=daily,value=1)" } ] }, "description" : "Syncs users from an LDAP server to the database", "name" : "LdapSync: Sync across users from LDAP", "nextRunTime" : 1395275340000, "user" : { "id" : 1, "tenant" : null, "name" : "admin" }, "maintenanceTask" : true }

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] task.TaskValidator  - user is null

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] base.MfsDatabase  - Returning user 'admin' found in thread local.

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.connection  - 156991. Connection opened

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156991. Connection.new Connection returned

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] task.TaskValidator  - validating command scheduler.noop and with parameters

      { }

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] task.TaskValidator  - validating command LdapSync.LdapSyncCommand and with parameters

      { "syncLdapServer" : "-1" }

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.connection  - 156991. Connection closed

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156991. Connection.close() returned

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] task.TaskValidator  - task is considered valid

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] service.ScheduledTaskManagerImpl  - checking if user 'admin' is authorized to schedule a task

      { "valid" : true, "enabled" : true, "startDate" : { "time" : 1385938801000, "minutes" : 0, "seconds" : 1, "hours" : 0, "month" : 11, "year" : 113, "timezoneOffset" : -60, "day" : 1, "date" : 2 }, "validateMessage" : [ ], "endDate" : null, "type" : { "commandChainModificationAllowed" : false, "visible" : true, "persistent" : true, "modificationAllowed" : true, "displayKey" : "scheduler.type.maintenance", "creationByUserAllowed" : false, "transportable" : false, "deletionDuringExtensionManagementAllowed" : true, "executionByUserAllowed" : true, "deletionByUserAllowed" : false }, "uniqueKey" : "LdapSync.servertasks.ldapsync", "version" : 3, "lastRunTime" : 1395238064713, "id" : 20, "commandChain" : { "id" : 207, "childCount" : 1, "commandName" : "scheduler.noop", "children" : [ { "id" : 208, "childCount" : 0, "commandName" : "LdapSync.LdapSyncCommand", "children" : [ ], "parameters" : { "syncLdapServer" : "-1" }, "displayName" : "LdapSync.LdapSyncCommand" } ], "parameters" : { }, "displayName" : "scheduler.noop" }, "schedule" : { "periodType" : "PeriodType(id=daily,value=1)", "resource" : null, "period" : [ { "periodType" : "PeriodType(id=daily,value=1)" } ] }, "description" : "Syncs users from an LDAP server to the database", "name" : "LdapSync: Sync across users from LDAP", "nextRunTime" : 1395275340000, "user" : { "id" : 1, "tenant" : null, "name" : "admin" }, "maintenanceTask" : true }

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] service.ScheduledTaskManagerImpl  - Authorized to since the user is an Ops user

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.connection  - 156987. Connection closed

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156987. Connection.close() returned

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] server.OrionSingleSignOn  - Set user admin@default(1) on ThreadLocalRequestInfo in thread http-bio-8443-exec-17

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] server.OrionSingleSignOn  - Set user admin@default(1) on ThreadLocalRequestInfo in thread http-bio-8443-exec-17

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Starting new doGet request: /scheduler/displayDescription.do;jsessionid=77D3440EEB592672CCB0BB3380C4234C

      2014-03-19 16:08:00,908 WARN  [http-bio-8443-exec-17] servlet.ControllerServlet  - Could not resolve an action for displayDescription.do;jsessionid=77D3440EEB592672CCB0BB3380C4234C in /scheduler

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Starting new doGet request: /core/httpError.do

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Starting new doGet request: /core/handleHttpError.do

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Validating action: handleHttpError.do

      2014-03-19 16:08:00,908 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Executing action: handleHttpError.do

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] error.HTTPErrorHandler  - An unexpected error occurred:

      status code: 404

      web application url that resulted in the error :/scheduler/displayDescription.do;jsessionid=77D3440EEB592672CCB0BB3380C4234C

      servlet name that resulted in the error: scheduler

      username of user who submitted the request: admin

      ID of user who submitted the request: 1

      javax.servlet.forward.request_uri = /scheduler/displayDescription.do;jsessionid=77D3440EEB592672CCB0BB3380C4234C

      javax.servlet.forward.context_path = /scheduler

      javax.servlet.forward.servlet_path = /displayDescription.do

      javax.servlet.request.ssl_session = 5329b2836908a30e32982e5295f8137371ea88d05253412053534c4a20202020

      javax.servlet.request.ssl_session_id = 5329b2836908a30e32982e5295f8137371ea88d05253412053534c4a20202020

      javax.servlet.request.ssl_session_mgr = org.apache.tomcat.util.net.jsse.JSSESupport@19abfe12

      javax.servlet.error.status_code = 404

      javax.servlet.error.servlet_name = scheduler

      javax.servlet.request.key_size = 128

      javax.servlet.request.cipher_suite = TLS_RSA_WITH_AES_128_CBC_SHA

      javax.servlet.error.request_uri = /scheduler/displayDescription.do;jsessionid=77D3440EEB592672CCB0BB3380C4234C

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Starting new doGet request: /core/handle404.do

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Validating action: handle404.do

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Executing action: handle404.do

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Starting new doGet request: /core/showFriendlyErrorMessage.do

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Validating action: showFriendlyErrorMessage.do

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] servlet.ControllerServlet  - Executing action: showFriendlyErrorMessage.do

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.connection  - 156992. Connection opened

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156992. Connection.new Connection returned

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156992. PreparedStatement.new PreparedStatement returned

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156992. Connection.prepareStatement(select [Key], [Value] from OrionServerProperties where [Key] = ? and [TenantId] IN (0, ?)) returned com.mcafee.orion.core.db.log.PreparedStatementSpy@6ab55ce8

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156992. PreparedStatement.setString(1, "core.analytics") returned

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156992. PreparedStatement.setInt(2, 1) returned

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.sqlonly     - select [Key], [Value] from OrionServerProperties where [Key] = (String)'core.analytics' and [TenantId] IN (0, (int)1)

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.sqltiming   - select [Key], [Value] from OrionServerProperties where [Key] = (String)'core.analytics' and [TenantId] IN (0, (int)1) {executed in 0 msec}

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.resultset   - 156992. ResultSet.new ResultSet returned

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.audit       - 156992. PreparedStatement.executeQuery() returned com.mcafee.orion.core.db.log.ResultSetSpy@28e6ba13

      2014-03-19 16:08:00,923 DEBUG [http-bio-8443-exec-17] jdbc.resultset   - 156992. ResultSet.next() returned false

       

      Can someone help me.