search cancel

Domain Import Failed Error 0x100100000

book

Article ID: 172591

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

When attempting to import a domain the error: "Domain Import Failed Error 0x100100000" appears. 

In the SCM-Server-0.log:
2018-10-01 04:34:11.919 THREAD 74 SEVERE: Unexpected server error. in: com.sygate.scm.server.consolemanager.requesthandler.DomainImporterHandler
com.sygate.scm.server.metadata.MetadataException: [Sybase][JDBC Driver][SQL Anywhere]Primary key for table 'BASIC_METADATA' is not unique: Primary key value (''6959C4E1C1E970309A35DC30492C1E2D'')
at com.sygate.scm.server.metadata.MetadataManager.addMetadata(MetadataManager.java:465)
at com.sygate.scm.server.configmanager.ConfigManager.addTopLevelObject(ConfigManager.java:981)
at com.sygate.scm.server.consolemanager.requesthandler.DomainImporterHandler.handleRequest(DomainImporterHandler.java:143)
at com.sygate.scm.server.consolemanager.RequestHandler.handleRequest(RequestHandler.java:526)
at com.sygate.scm.server.consolemanager.RequestHandler.<init>(RequestHandler.java:157)
at com.sygate.scm.server.servlet.ConsoleServlet.doPost(ConsoleServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.sygate.scm.pool.HttpResponseFilters.doFilter(HttpResponseFilters.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.sygate.scm.server.servlet.ConsoleFilter.doFilter(ConsoleFilter.java:84)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2549)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2538)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.sql.SQLException: [Sybase][JDBC Driver][SQL Anywhere]Primary key for table 'BASIC_METADATA' is not unique: Primary key value (''6959C4E1C1E970309A35DC30492C1E2D'')
at sybase.jdbc4.sqlanywhere.IIPreparedStatement.executeUpdate(Native Method)
at sybase.jdbc4.sqlanywhere.IPreparedStatement.executeUpdate(IPreparedStatement.java:324)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at com.sygate.scm.server.metadata.BaseMetadataCollection.addMetadata_aux(BaseMetadataCollection.java:1949)
at com.sygate.scm.server.metadata.BaseMetadataCollection.addMetadata(BaseMetadataCollection.java:1864)
at com.sygate.scm.server.metadata.MetadataManager.addMetadata(MetadataManager.java:462)

Cause

PrimaryKey Violation while importing domain if same package already exits

Resolution

This issue is resolved in 14 RU1 and later