Agile Configuration Propagation (ACP) Error "copyconfig Failed - Unable to Establish a Connection with an Agile Instance or an Agile Xml Archive. (61)"

(Doc ID 2204867.1)

Last updated on MARCH 30, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.3.5.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to run ACP the following error is displayed in the terminal/command prompt.

ERROR
  

ACP CopyConfig FAILED - Unable to establish a connection with an Agile instance or an Agile XML Archive. (61)
Error Level = 61

 
When adding below parameter to project.properties file and rerun ACP, below error can be observed in export.err file.

acp.verbose = true
acp.debug = true

Error Context:
    Unable to login to Agile.

Error Cause:
java.lang.NoSuchFieldError: PROP_GENERATEMOBILEVIEWINGFILESENABLED
    at com.agile.api.pc.Session.initGenerateMobileViewingFilesEnabled(Session.java:1181)
    at com.agile.api.pc.Session.<init>(Session.java:241)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:1061)
    at com.agile.propagate.agile.AgileDataSource.login(AgileDataSource.java:552)
    at com.agile.propagate.agile.AgileDataSource.open(AgileDataSource.java:438)
    at com.agile.propagate.CopyConfig.process(CopyConfig.java:208)
    at com.agile.propagate.CopyConfig.execute(CopyConfig.java:69)
    at com.agile.propagate.AbstractConfig.runProgram(AbstractConfig.java:371)
    at com.agile.propagate.CopyConfig.runProgram(CopyConfig.java:48)
    at com.agile.propagate.CopyConfig.main(CopyConfig.java:64)
Error code : 60002
Error message : You have not logged in.
Root Cause exception : java.lang.NoSuchFieldError: PROP_GENERATEMOBILEVIEWINGFILESENABLED

    at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:1075)
    at com.agile.propagate.agile.AgileDataSource.login(AgileDataSource.java:552)
    at com.agile.propagate.agile.AgileDataSource.open(AgileDataSource.java:438)
    at com.agile.propagate.CopyConfig.process(CopyConfig.java:208)
    at com.agile.propagate.CopyConfig.execute(CopyConfig.java:69)
    at com.agile.propagate.AbstractConfig.runProgram(AbstractConfig.java:371)
    at com.agile.propagate.CopyConfig.runProgram(CopyConfig.java:48)
    at com.agile.propagate.CopyConfig.main(CopyConfig.java:64)



STEPS

  1. Install and configure ACP
  2. Export using ACP command "acp  export <source name>



Changes

Applied the following Patches 9.3.5.0.1;9.3.5.0.6;9.3.5.0.11;PLMMobile 4.0;9.3.5.0.46;

Cause

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 hundreds of Community platforms