0 Replies Latest reply on Feb 12, 2013 4:45 AM by AdamPodgórski

    Problem installing EPO 5 beta, upgrade from version 4.6.5

    AdamPodgórski

      Hello

      When I try to upgrade EPO 4.6.5 to version 5.0 beta refresh EPO_500_BetaRefresh_1038 I have following error

      After EPO roll back to version 4.6.5.

       

      BUILD FAILED
      C:\Program Files (x86)\McAfee\ePolicy Orchestrator\Installer\core\build.xml:603: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK_OrionServerProperties'. Cannot insert duplicate key in object 'dbo.OrionServerProperties'. The duplicate key value is (1).
      at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
      at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2817)
      at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2255)
      at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:634)
      at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:585)
      at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:547)
      at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:724)
      at net.sourceforge.jtds.jdbc.JtdsStatement.executeUpdate(JtdsStatement.java:1167)
      at net.sourceforge.jtds.jdbc.JtdsStatement.executeUpdate(JtdsStatement.java:1120)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.mcafee.orion.core.db.sqlserver.JtdsStatementRetryInvocationHandler.invoke(J tdsStatementRetryInvocationHandler.java:53)
      at $Proxy2.executeUpdate(Unknown Source)
      at com.mcafee.orion.core.db.base.SqlUtil.executeSql(SqlUtil.java:69)
      at com.mcafee.orion.core.db.base.SqlUtil.executeSqlFile(SqlUtil.java:130)
      at com.mcafee.orion.core.db.base.SqlUtil.executeSqlFile(SqlUtil.java:112)
      at com.mcafee.orion.core.install.RunSqlTask.execute(RunSqlTask.java:56)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)
      at org.apache.tools.ant.Target.execute(Target.java:390)
      at org.apache.tools.ant.Target.performTasks(Target.java:411)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java :41)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      at org.apache.tools.ant.Main.runBuild(Main.java:809)
      at org.apache.tools.ant.Main.startAnt(Main.java:217)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

      Total time: 28 minutes 45 seconds

       

       

      Regards

      Adam