KB Article #177797
Deployment issue between Map Designer and Integrator
Problem
-- B2Bi Server and Map Designer are installed and started on the same machine but it is impossible to test the connection or deploy a new flow :
mapdesigner.log :
2016-03-15 10:55:34,804 DEBUG IntegratorImportClient.<init> (30) - set host and port <localhost:8874>
2016-03-15 10:55:34,804 DEBUG IntegratorImportClient.executeCommand (166) - start executing command
2016-03-15 10:55:36,365 DEBUG IntegratorImportClient.executeCommand (168) - command executed
2016-03-15 10:55:36,365 ERROR ExportDeploymentWizard.doDeploy (316) - Verify if an Integrator server is running on
<localhost:8874>
com.axway.md.deploy.ObjectDeployException: Verify if an Integrator server is running on
<localhost:8874>
at com.axway.md.deploy.DeploymentManager.deploy(DeploymentManager.java:331)
at com.axway.md.deploy.ui.wizards.ExportDeploymentWizard.doDeploy(ExportDeploymentWizard.java:280)
at com.axway.md.deploy.ui.wizards.ExportDeploymentWizard.access$0(ExportDeploymentWizard.java:203)
at com.axway.md.deploy.ui.wizards.ExportDeploymentWizard$1.run(ExportDeploymentWizard.java:153)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.Exception: Verify if an Integrator server is running on
<localhost:8874>
at com.axway.md.deploy.ObjectDeployException.<init>(ObjectDeployException.java:38)
... 5 more
2016-03-15 10:55:36,365 ERROR ExportDeploymentWizard.performFinish (185) -
java.lang.reflect.InvocationTargetException
at com.axway.md.deploy.ui.wizards.ExportDeploymentWizard$1.run(ExportDeploymentWizard.java:157)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.axway.md.deploy.ObjectDeployException: Verify if an Integrator server is running on
<bormio:8874>
at com.axway.md.deploy.DeploymentManager.deploy(DeploymentManager.java:331)
at com.axway.md.deploy.ui.wizards.ExportDeploymentWizard.doDeploy(ExportDeploymentWizard.java:280)
at com.axway.md.deploy.ui.wizards.ExportDeploymentWizard.access$0(ExportDeploymentWizard.java:203)
at com.axway.md.deploy.ui.wizards.ExportDeploymentWizard$1.run(ExportDeploymentWizard.java:153)
... 1 more
Caused by: java.lang.Exception: Verify if an Integrator server is running on
<localhost:8874>
at com.axway.md.deploy.ObjectDeployException.<init>(ObjectDeployException.java:38)
... 5 more
Resolution
1- run the command "launcher.bat deployment -list -containers"
2- if the result is :
D:\Axway\Synchrony\Integrator\bin>java -Xmx512M -Djava.awt.headless=true -jar "D:\Axway\Synchrony\Integrator\\java\\lib\bootstrap-1.1.20.jar" deployment -list -containers
2016-03-18 10:18:47 [main ] INFO L182 CommandLauncher.main - Execution of deployment started
>Client type is BATCH
ERROR:Command is not authorized!
Please check broadcast.log and manually restore: D:\Axway\Synchrony\Integrator\data\import\inventory.xml.bak
Execution ERROR
2016-03-18 10:18:49 [main ] INFO L194 CommandLauncher.main - Execution of deployment stopped (duration 0:00:01.639 ms)
2016-03-18 10:18:49 [main ] ERROR L198 CommandLauncher.main - Command deployment failed
3- check the content of "D:\Axway\Synchrony\Integrator\data\import" : 2 files are present :
inventory.xml -> size 0 Ko, file was emtpy
inventory.xml.bak -> size 1315 Ko
4- delete the file "inventory.xml" and rename file "inventory.xml.bak" to "inventory.xml"
5- test of the connection
6- deployments are now working as expected.