search cancel

Not able to deploy virtual service from Workstation: java.io.FileNotFoundException: Unable to load file

book

Article ID: 8740

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

When deploying a Virtual Service in DevTest Workstation getting the below error:

============================================================================ 

| Exception: 

============================================================================ 

| Message: Could not stage: Unable to load file: name=/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm path:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] absolutePath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] canonicalPath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] 

---------------------------------------------------------------------------- 

| Trapped Exception: Unable to load file: name=/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm path:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] absolutePath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] canonicalPath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] 

| Trapped Message: java.io.FileNotFoundException: Unable to load file: name=/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm path:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] absolutePath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] canonicalPath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] 

---------------------------------------------------------------------------- 

STACK TRACE 

java.io.FileNotFoundException: Unable to load file: name=/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm path:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] absolutePath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] canonicalPath:[/home/casvadm/lisatmp_10.1.0/lads/C75F9754B2B311E7AC2000505682A786/MWS_Virtual/VirtualServices/MemberBenefits.vsm] 

at com.itko.util.StreamHelp.fileOpenerWithInfo(StreamHelp.java:775) 

at com.itko.util.StreamHelp.fileOpener(StreamHelp.java:670) 

at com.itko.util.XMLUtils.openXMLDoc(XMLUtils.java:591) 

at com.itko.lisa.LisaDocument.<init>(LisaDocument.java:56) 

at com.itko.lisa.test.TestCaseDocument.<init>(TestCaseDocument.java:37) 

at com.itko.lisa.test.TestCase.openTestCaseDoc(TestCase.java:1915) 

at com.itko.lisa.coordinator.CoordinatorImpl.stageModelArchive(CoordinatorImpl.java:1038) 

at com.itko.lisa.coordinator.VirtualServiceCoordinator.<init>(VirtualServiceCoordinator.java:152) 

at com.itko.lisa.coordinator.VirtualServiceImpl.createVSCoordinator(VirtualServiceImpl.java:258) 

at com.itko.lisa.coordinator.VirtualServiceImpl.<init>(VirtualServiceImpl.java:163) 

at com.itko.lisa.coordinator.VirtualServiceEnvironmentImpl.addService(VirtualServiceEnvironmentImpl.java:1056) 

at com.itko.lisa.coordinator.VirtualServiceEnvironmentImpl.addService(VirtualServiceEnvironmentImpl.java:1028) 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 

at java.lang.reflect.Method.invoke(Method.java:498) 

at com.itko.lisa.net.RemoteMethodExec.execute(RemoteMethodExec.java:57) 

at com.itko.lisa.net.ServerRequestHandler.processRMIMessage(ServerRequestHandler.java:434) 

at com.itko.lisa.net.ServerRequestHandler.access$300(ServerRequestHandler.java:67) 

at com.itko.lisa.net.ServerRequestHandler$4.run(ServerRequestHandler.java:357)

Cause

The issue is related to the space on the VSE server where logs are stored. 

Environment

All DevTest supported versions

Resolution

Need to get more space on VSE server where logs are stored as a long time resolution.

For some reason, if you can't get more space or it takes time to get more space, then try deleting the logs from lisatmp_x.x.x folder(xxx refers to the DevTest version). 

Additional Information

Need to stop DevTest components first to delete any logs from the lisatmp_x.x.x folder (xxx refers to the DevTest version). Take a backup if you need the logs for later purpose.