Unable to deploy virtual service due to Java exception
search cancel

Unable to deploy virtual service due to Java exception

book

Article ID: 242880

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

When trying to deploy virtual service from workstation, getting the below exception.

Java.lang.RuntimeException: Failed to successfully create the archive.
  at com.itko.lisa.model.mar.ModelArchiveUtils.createArchive(ModelArchiveUtils.java:1297)
                at com.itko.lisa.model.mar.ModelArchive.buildOptimizedArchive(ModelArchive.java:350)
                at com.itko.lisa.model.mar.ModelArchive.buildArchive(ModelArchive.java:223)
                at com.itko.lisa.model.mar.ModelArchive.<init>(ModelArchive.java:174)
                at com.itko.lisa.vse.ui.actions.DeployToVSEAction$1.doCallback(DeployToVSEAction.java:185)
                at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)
                at java.lang.Thread.run(Thread.java:748)

Environment

Release : 10.7.2

Component :

Cause

When there is an issue with the corrupted project file, such errors can occur.

Resolution

Copy required files VSM and VSI to other project or new project, and open these two files in workstation and make sure there are no errors while opening these files. Then try creating a MARI file and then create a MAR file. Then right click on MARI file and deploy to the VSE and you should be able to deploy it.