1 Reply Latest reply on Jul 16, 2012 3:15 AM by soreno

    ePO 4.0 - Pull Now (SchedulerTask add did not create a unique ID / Failed to delete file)

      When I do a Pull Now from the Master Repository I get a status Failed with these details:

      7/13/12 11:56:11 AM Started: Pulling content from McAfeeHttp to Current branch
      7/13/12 11:56:12 AM Pull from site McAfeeHttp complete, 0 warnings, 1 errors
      7/13/12 11:58:42 AM    Checking in package Current\VSCANDAT1000\6770.0000\DAT\0000
      7/13/12 11:58:42 AM    Checking in package Current\VSCANDAT1000\6770.0000\DAT\0000 failed
      7/13/12 11:58:42 AM Pull Now (Failed to delete file)

       

      If I look in the orion.log then I find this:

      2012-07-13 11:56:11,863 ERROR [http-8443-Processor16] db.SchedulerDB   - updateTask failed: java.sql.SQLException: SchedulerTask add did not create a unique ID

      java.sql.SQLException: SchedulerTask add did not create a unique ID

                at com.mcafee.orion.scheduler.db.SchedulerDB.updateTask(SchedulerDB.java:278)

                at com.mcafee.orion.scheduler.Engine.updateTask(Engine.java:822)

                at com.mcafee.orion.scheduler.Engine.runChain(Engine.java:541)

                at com.mcafee.orion.scheduler.Engine.runChain(Engine.java:527)

                at com.mcafee.orion.scheduler.Engine.runTaskAsUser(Engine.java:521)

                at com.mcafee.orion.scheduler.Engine.runTask(Engine.java:506)

                at com.mcafee.orion.scheduler.command.RunSingleCommandAsTask.invoke(RunSingleComma ndAsTask.java:82)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:835)

                at com.mcafee.orion.core.cmd.CommandInvoker.invokeCommand(CommandInvoker.java:626)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:615)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:474)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:449)

                at com.mcafee.epo.repositorymgmt.commands.PullNowCmd.invoke(PullNowCmd.java:201)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:835)

                at com.mcafee.orion.core.cmd.CommandInvoker.invokeCommand(CommandInvoker.java:626)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:615)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:474)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:449)

                at com.mcafee.epo.repositorymgmt.action.PullNowWizardAction.pullNowWizardSave(Pull NowWizardAction.java:547)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at com.mcafee.orion.core.servlet.mvc.MvcActionFactoryBase.executeAction(MvcActionF actoryBase.java:67)

                at com.mcafee.orion.core.servlet.ControllerServlet.executeAction(ControllerServlet .java:229)

                at com.mcafee.orion.core.servlet.ControllerServlet.processRequest(ControllerServle t.java:120)

                at com.mcafee.orion.core.servlet.ControllerServlet.doGet(ControllerServlet.java:85 )

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:269)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:188)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 213)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 174)

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.ja va:525)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

                at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogV alve.java:482)

                at com.mcafee.orion.core.server.AjaxValve.invoke(AjaxValve.java:84)

                at com.mcafee.orion.core.server.OrionUserSetupValve.invoke(OrionUserSetupValve.jav a:54)

                at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)

                at com.mcafee.orion.core.server.OrionSingleSignOn.invoke(OrionSingleSignOn.java:10 5)

                at com.mcafee.orion.core.server.ParameterEncodingValve.invoke(ParameterEncodingVal ve.java:37)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 8)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)

                at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConn ection(Http11BaseProtocol.java:665)

                at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:5 28)

                at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorke rThread.java:81)

                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:6 89)

                at java.lang.Thread.run(Thread.java:619)

      2012-07-13 11:58:42,411 ERROR [pool-4-thread-9] engine.RebuildMasterCatalog  - Error saving new entry to EPOMasterCatalog

      2012-07-13 11:58:42,411 ERROR [pool-4-thread-9] cmd.CommandInvoker  - Error invoking command:RepositoryMgmt.PullCmd

      com.mcafee.orion.core.cmd.CommandException: Failed to delete file

                at com.mcafee.epo.repositorymgmt.commands.PullCmd.invoke(PullCmd.java:298)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:835)

                at com.mcafee.orion.core.cmd.CommandInvoker.invokeCommand(CommandInvoker.java:626)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:615)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:594)

                at com.mcafee.orion.scheduler.chainable.Chain.invokeChain(Chain.java:215)

                at com.mcafee.orion.scheduler.chainable.Chain.invokeChain(Chain.java:160)

                at com.mcafee.orion.scheduler.chainable.Chain.invoke(Chain.java:48)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:835)

                at com.mcafee.orion.core.cmd.CommandInvoker$AsyncCommandRunner.call(CommandInvoker .java:762)

                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                at java.util.concurrent.FutureTask.run(FutureTask.java:138)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

                at java.lang.Thread.run(Thread.java:619)

      2012-07-13 11:58:42,473 ERROR [pool-4-thread-9] cmd.CommandInvoker  - Error invoking command:scheduler.chain

      com.mcafee.orion.core.cmd.CommandException: Failed to delete file

                at com.mcafee.epo.repositorymgmt.commands.PullCmd.invoke(PullCmd.java:298)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:835)

                at com.mcafee.orion.core.cmd.CommandInvoker.invokeCommand(CommandInvoker.java:626)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:615)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:594)

                at com.mcafee.orion.scheduler.chainable.Chain.invokeChain(Chain.java:215)

                at com.mcafee.orion.scheduler.chainable.Chain.invokeChain(Chain.java:160)

                at com.mcafee.orion.scheduler.chainable.Chain.invoke(Chain.java:48)

                at com.mcafee.orion.core.cmd.CommandInvoker.invoke(CommandInvoker.java:835)

                at com.mcafee.orion.core.cmd.CommandInvoker$AsyncCommandRunner.call(CommandInvoker .java:762)

                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                at java.util.concurrent.FutureTask.run(FutureTask.java:138)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

                at java.lang.Thread.run(Thread.java:619)

      2012-07-13 11:59:17,270 WARN  [http-8443-Processor21] http.Parameters  - Parameters: Invalid chunk ignored.

       

      Why do I see the SchedulerTask add did not create a unique ID and the Failed to delete file ?

      Any other hints ?

       

      I use ePO 4.0 and have no plans for updating to a newer version.