Package Inspection Error APNX-1-4268-003

Hi,

 

I'm trying to import an application from instance A to instance B.

Export was successful on all objects, but import inspection results to "The uploaded file is invalid (APNX-1-4268-003)".

When I try to import it to instance C, inspection does not throw any error.

Instance B already contains a previous version of the application while instance C doesn't, so I tried deleting all objects and the application in instance B,

but it still results to the same error.

 

I can't seem to find the logs in jboss1-stdOut.log as well.

 

Anyone familiar with this error or where I could find the inspection logs?

 

Thank you!

  Discussion posts and replies are publicly visible

  • Hi,

    The error message is abstract. Such kind of errors are mostly pointing to Configuration issues.
    Please check the below possibilities

    (1) Check if there is any Plugin is not configured in instance B
    (2) Are the Appian server Versions same in all the 3 instances - A, B, C?
    (3) After Deleting the Application in instance B, did you restart the server? There is possibility of a pointer referring any artifact and not deleted completely.


    Thanks,
    Farnaz
  • Thanks Farnaz (farnazy989)  for your response.

    Unfortunately, we already checked those 3 possibilities you mentioned and still can't make it work.

    Thing is, importing other applications/patches work except the application I'm trying to import as mentioned above.

    I was able to find a related log though:

     

     

    02:27:57,678 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 2018-10-25 02:27:57,672 [ajp-/0.0.0.0:8009-16] ERROR com.appiancorp.object.action.InspectReaction - The file could not be inspected. docId=114393, ...
    02:27:57,678 INFO  [stdout] (ajp-/0.0.0.0:8009-16) com.appiancorp.ix.ImportFacadeException: The uploaded file is invalid (APNX-1-4268-003) (APNX-1-4268-003)
    02:27:57,678 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.ImportFacade$ImportOperation.runDriver(ImportFacade.java:214)
    02:27:57,678 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.ImportFacade$ImportOperation.doInspect(ImportFacade.java:172)
    ...

    AND
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) Caused by: com.appiancorp.kougar.driver.exceptions.Signal: length
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.driver.ipc.IpcConnection.get(IpcConnection.java:390)
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.driver.ipc.IpcConnection.call(IpcConnection.java:840)
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.driver.ipc.IpcConnection.call(IpcConnection.java:821)
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.driver.KougarConnection.call(KougarConnection.java:336)
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.driver.KougarConnection.call(KougarConnection.java:286)
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.driver.KougarConnection.call(KougarConnection.java:225)
    02:27:57,709 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.mapper.Mapper.request(Mapper.java:65)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.services.KougarServiceInvocationHandler$KInvocationHandler.invoke(KougarServiceInvocationHandler.java:178)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.services.KougarServiceInvocationHandler$KougarMethodInvocation.proceed(KougarServiceInvocationHandler.java:270)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.security.authz.AuthorizationMethodInterceptor.invoke(AuthorizationMethodInterceptor.java:54)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.services.KougarServiceInvocationHandler.invoke(KougarServiceInvocationHandler.java:307)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.sun.proxy.$Proxy184.lockTypes(Unknown Source)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.type.ExtendedTypeServiceJavaImpl.lockTypes(ExtendedTypeServiceJavaImpl.java:386)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at java.lang.reflect.Method.invoke(Method.java:498)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.services.KougarServiceInvocationHandler$JavaInvocationHandler.invoke(KougarServiceInvocationHandler.java:104)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.services.KougarServiceInvocationHandler$KougarMethodInvocation.proceed(KougarServiceInvocationHandler.java:270)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.security.authz.AuthorizationMethodInterceptor.invoke(AuthorizationMethodInterceptor.java:54)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.kougar.services.KougarServiceInvocationHandler.invoke(KougarServiceInvocationHandler.java:307)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.sun.proxy.$Proxy184.lockTypes(Unknown Source)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.type.config.xsd.XsdImporter.lockTargetTypes(XsdImporter.java:762)
    02:27:57,710 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.type.config.xsd.XsdImporter.lockTargetTypesIx(XsdImporter.java:754)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.data.DatatypeImportInitializer.initialize(DatatypeImportInitializer.java:68)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.ImportDriver.initialize(ImportDriver.java:176)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.AbstractDriver.lambda$runTransport$0(AbstractDriver.java:119)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.security.changelog.AuditLogLocationService.runWithLocation(AuditLogLocationService.java:38)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.AbstractDriver.runTransport(AbstractDriver.java:117)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.ImportFacade.runIx(ImportFacade.java:322)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	at com.appiancorp.ix.ImportFacade$ImportOperation.runDriver(ImportFacade.java:209)
    02:27:57,711 INFO  [stdout] (ajp-/0.0.0.0:8009-16) 	... 587 more

    Would you have an idea what com.appiancorp.kougar.driver.exceptions.Signal: length means?

     

    Thank you!

  • 0
    A Score Level 2
    in reply to jraaquino
    Hi jraquino,

    AFAIK the kougar driver is used to connect JBoss with Appian using IpcConnection.

    In this case "com.appiancorp.kougar.driver.ipc.IpcConnection.get()"is throwing an error.

    The word "length" in "com.appiancorp.kougar.driver.exceptions.Signal: length" might be pointing to the size of the file being uploaded.

    Please try to deploy a part of the application instead of the complete one and check.

    Please check the below URL for your reference:

    community.appian.com/.../kb-1246-users-are-unable-to-upload-large-files-into-appian-configured-with-iis-as-a-web-server

    community.appian.com/.../kb-1280-com-appiancorp-kougar-driver-exceptions-signal-type-error-thrown-when-starting-jboss-in-a-distributed-environment

    community.appian.com/.../an-error-has-occurred-com-appiancorp-kougar-driver-exceptions-signal-index

    Please confirm if this helps.

    Thanks,
    Farnaz
  • We have tried uploading parts of the application only.

    It turns out the import inspection fails when importing CDTs so we had to check the XSDs of the CDTs and ensure the mapping was correct.

    Thanks