KB Article #177950

Sending container at b2bi_share/common/b2bi/containers/cache/B2BiDetector_M3/B2BiDetector_M3.zip FAILED because container is not a directory or file

Problem

-- getting such errors in cn logs when statting B2Bi on a fresh installation

2016-05-11 21:58:40,719 - INFO [Cluster Thread 17] (Deployer.start:144) - MapProxyDeployer started

2016-05-11 21:58:41,228 - ERROR [MapProxy_forceDeployContainers] (CustomImportClientAPI.sendContainerToServer:166) - Sending container at /opt/app/axway/b2bi_share/common/b2bi/containers/cache/B2BiDetector_M3/B2BiDetector_M3.zip FAILED because container is not a directory or file

2016-05-11 21:58:41,231 - ERROR [MapProxy_forceDeployContainers] (FileSystemDeployer.logError:898) - Deploying MapContainer{name='MAPSERVICE.B2BiEBMDetector.B2BiDetector_M3', version=1, id='d6c08b1c-c526-4652-a522-5a20935a7735', shortDescription='null', longDescription='null', generatedBy='null', generationDate='2010-04-28T15:16:32.859Z', mapStages=1, directoryName='B2BiDetector_M3', zipFileName='B2BiDetector_M3.zip', location=CACHE', deployedDate='0} to IntegratorInstance{teNodeName='host_xxx_te', hostName='host_xxx', integratorHost='host_xxx', integratorPort=8852, properties=[]} FAILED; the CN log may contain additional information

2016-05-11 21:58:41,232 - ERROR [MapProxy_forceDeployContainers] (CustomImportClientAPI.sendContainerToServer:166) - Sending container at /opt/app/axway/b2bi_share/common/b2bi/containers/cache/B2BiEnveloper_Attr_M3/B2BiEnveloper_Attr_M3.zip FAILED because container is not a directory or file

2016-05-11 21:58:41,234 - ERROR [MapProxy_forceDeployContainers] (FileSystemDeployer.logError:898) - Deploying MapContainer{name='MAPSERVICE.B2BiEBMEnveloper_Attr.B2BiEnveloper_Attr_M3', version=1, id='8f974275-a8f4-4da8-907b-971bc70d0ba6', shortDescription='null', longDescription='null', generatedBy='null', generationDate='2010-04-28T15:19:44.437Z', mapStages=1, directoryName='B2BiEnveloper_Attr_M3', zipFileName='B2BiEnveloper_Attr_M3.zip', location=CACHE', deployedDate='0} to IntegratorInstance{teNodeName='host_xxx_te', hostName='host_xxx', integratorHost='host_xxx', integratorPort=8852, properties=[]} FAILED; the CN log may contain additional information

2016-05-11 21:58:41,235 - ERROR [MapProxy_forceDeployContainers] (CustomImportClientAPI.sendContainerToServer:166) - Sending container at /opt/app/axway/b2bi_share/common/b2bi/containers/cache/B2BiEnveloper_M3/B2BiEnveloper_M3.zip FAILED because container is not a directory or file

2016-05-11 21:58:41,243 - ERROR [MapProxy_forceDeployContainers] (FileSystemDeployer.logError:898) - Deploying MapContainer{name='MAPSERVICE.B2BiEBMEnveloper.B2BiEnveloper_M3', version=1, id='f07405ad-4c91-4534-beed-8ec3e3b9f7c5', shortDescription='null', longDescription='null', generatedBy='null', generationDate='2010-04-28T15:19:01.250Z', mapStages=1, directoryName='B2BiEnveloper_M3', zipFileName='B2BiEnveloper_M3.zip', location=CACHE', deployedDate='0} to IntegratorInstance{teNodeName='host_xxx_te', hostName='host_xxx', integratorHost='host_xxx', integratorPort=8852, properties=[]} FAILED; the CN log may contain additional information

2016-05-11 21:58:41,244 - ERROR [MapProxy_forceDeployContainers] (CustomImportClientAPI.sendContainerToServer:166) - Sending container at /opt/app/axway/b2bi_share/common/b2bi/containers/cache/B2BiDetector_Attr_M3/B2BiDetector_Attr_M3.zip FAILED because container is not a directory or file

2016-05-11 21:58:41,246 - ERROR [MapProxy_forceDeployContainers] (FileSystemDeployer.logError:898) - Deploying MapContainer{name='B2BiDetector_Attr_M3', version=1, id='11b0b5c5-9235-4d92-9a6a-f6e4cbfae462', shortDescription='null', longDescription='null', generatedBy='null', generationDate='2010-04-28T15:18:14.625Z', mapStages=1, directoryName='B2BiDetector_Attr_M3', zipFileName='B2BiDetector_Attr_M3.zip', location=CACHE', deployedDate='0} to IntegratorInstance{teNodeName='host_xxx_te', hostName='host_xxx', integratorHost='host_xxx', integratorPort=8852, properties=[]} FAILED; the CN log may contain additional information


Resolution

* a possible reason is that the shared directory was wrong during the installation

1- double check that the specified shared path does exist

2- from the UI : processing Configuration -> Manage Deployment -> cache Management (if you have access to it) : Remove All and then Refresh

3- if that does not fix, can you add the debug on :
com.axway.b2bi.mapproxy.deployment.Deployer
and provide the cn log to support