Dear Ivy team. At the moment, we're using Ivy v 7.0.11 and we need to deploy multiple process modules to the specific Ivy application by using "File based deployment" approach (http://developer.axonivy.com/doc/7.0.11/EngineGuideHtml/administration.html#administration.deployment). It worked well when we only deploy single iar file. But when we create a zip file that contains multiple iars file inside, it got the problem.

Our zip file content: alt text

Deployment error log:

Fatal error during deploying of project 'app.zip' to application 'Application'
java.lang.NullPointerException
    at ch.ivyteam.ivy.deployment.ProjectDeploymentValidator.isLibraryMissing(ProjectDeploymentValidator.java:165)
    at ch.ivyteam.ivy.deployment.ProjectDeploymentValidator.prepareIvyProject(ProjectDeploymentValidator.java:146)
    at ch.ivyteam.ivy.deployment.ProjectDeploymentValidator.prepareIvyProject(ProjectDeploymentValidator.java:82)
    at ch.ivyteam.ivy.deployment.internal.auto.AutoProjectDeployer.validate(AutoProjectDeployer.java:81)
    at ch.ivyteam.ivy.deployment.internal.auto.AutoProjectDeployer.deploy(AutoProjectDeployer.java:46)
    at ch.ivyteam.ivy.deployment.internal.auto.DeploymentDirectoryScanner.handleFile(DeploymentDirectoryScanner.java:85)
    at ch.ivyteam.ivy.deployment.internal.auto.DeploymentDirectoryScanner.fileCreated(DeploymentDirectoryScanner.java:75)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.handleEvent(ScannerThread.java:191)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.scanForFiles(ScannerThread.java:164)
    at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1310)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.run(ScannerThread.java:144)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.access$0(ScannerThread.java:140)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread$1.run(ScannerThread.java:134)

So is there any way to deploy multiple process modules by a single zip file with Ivy 7.0.11? Waiting for your response and many thank for your help

asked 02.01.2020 at 03:19

lphieu's gravatar image

lphieu
(suspended)
accept rate: 0%


Deploying multiple files at one in one application is an IVY 8.0 feature.

With 7.0.X you have to stick to 'one-project-at-a-time' deployments. However, if you use the maven project-build-plugin you could run a build for your whole app, and instruct each project to include a deployment step. So you get all projects deployed in the right order with minimal effort.

The 7.0 docs are here:

But indeed, full app deployments is what you really want. And with 8.0 we improved the deployment chain in many ways. So raise your voice for an 8.0 migration in your project. :-)

link

answered 03.01.2020 at 02:46

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×147
×26

Asked: 02.01.2020 at 03:19

Seen: 1,316 times

Last updated: 09.01.2020 at 02:57