My Oracle Support Banner

OVMM Service does not start after upgrade (Doc ID 2365682.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle VM - Version 3.4.4 and later
Information in this document applies to any platform.

Symptoms

Upgraded OVM Manager from 3.3.3 to 3.4.4 and was unable to login to the GUI afterwards.

The AdminServer.log shows below error

ERROR
-----------------------
####<2018-02-24T08:31:04.633-0500> <Info> <com.oracle.appfw.common.utils.AbstractConnectionManager> <limeomn2lv> <AdminServer> <Thread-57> <> <> <cf76eff3-1df5-4f21-a934-e250874ae762-00000004> <1519479064633> <BEA-000000> <AppFw session 1: Connected to Web Service API.>
####<2018-02-24T08:31:09.270-0500> <Error> <com.oracle.appfw.common.db.AbstractInsertStmts> <limeomn2lv> <AdminServer> <Thread-57> <> <> <cf76eff3-1df5-4f21-a934-e250874ae762-00000004> <1519479069270> <BEA-000000> <Unable to insert object into Db table AF_VtrlCdRom:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'OEL7.iso' for key 'PRIMARY'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:395)
at com.mysql.jdbc.Util.getInstance(Util.java:370)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1024)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2718)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2139)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2442)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2343)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:178)
at com.oracle.appfw.ovm.generatedsql.InsertStmts.insertVirtualCdromPOJO(InsertStmts.java:2247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.oracle.appfw.common.appfwimpl.ManagedObjImpl.createObjectInDb(ManagedObjImpl.java:403)
at com.oracle.appfw.ovm.tasks.Synchronizer.initializeDb(Synchronizer.java:158)
at com.oracle.appfw.ovm.tasks.Synchronizer.access$300(Synchronizer.java:35)
at com.oracle.appfw.ovm.tasks.Synchronizer$MakeCoreConnection.run(Synchronizer.java:266)
>
####<2018-02-24T08:31:09.272-0500> <Error> <com.oracle.appfw.ovm.tasks.Synchronizer> <limeomn2lv> <AdminServer> <Thread-57> <> <> <cf76eff3-1df5-4f21-a934-e250874ae762-00000004> <1519479069272> <BEA-000000> <ManagedObjImpl.createObjectInDb - Unable to create object VirtualCdromPOJO in database.>####<2018-02-24T08:31:09.272-0500> <Error> <com.oracle.appfw.ovm.tasks.Synchronizer> <limeomn2lv> <AdminServer> <Thread-57> <> <> <cf76eff3-1df5-4f21-a934-e250874ae762-00000004> <1519479069272> <BEA-000000> <AppFW error trying to synchronize with Core. Please restart service ovmm to restart the synchronization.
java.lang.Exception: ManagedObjImpl.createObjectInDb - Unable to create object VirtualCdromPOJO in database.
at com.oracle.appfw.ovm.tasks.Synchronizer.initializeDb(Synchronizer.java:162)
at com.oracle.appfw.ovm.tasks.Synchronizer.access$300(Synchronizer.java:35)
at com.oracle.appfw.ovm.tasks.Synchronizer$MakeCoreConnection.run(Synchronizer.java:266)



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.