Service Virtualization

  • 1.  Unable to build/read .cachedb file

    Posted Jan 10, 2017 11:45 AM

    Hi Team ,

     

    I am trying to install devtest server on my machine but getting below error-

     

    2017-01-10 16:10:04,164Z (21:40) [main] ERROR com.itko.util.HotDeployClassLoader - Unable to build/read .cachedb file
    java.io.IOException: The system cannot find the path specified
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(Unknown Source)
        at com.itko.util.HotDeployClassLoader.setupPath(HotDeployClassLoader.java:990)
        at com.itko.util.HotDeployClassLoader.<init>(HotDeployClassLoader.java:169)
        at com.itko.lisa.test.TestExecClassLoader.<init>(TestExecClassLoader.java:16)
        at com.itko.lisa.test.ClassLoaderSandbox.makeCustClassLoader(ClassLoaderSandbox.java:107)
        at com.itko.lisa.test.Environment.makeStaticClassLoader(Environment.java:1684)

     

    I also noticed that locks folder under LISA_HOME is not created.

    Because of above error , none of the services are able to run.

     

    Can anybody please help me resolve the error.

     

    Thanks

    Akshay



  • 2.  Re: Unable to build/read .cachedb file

    Broadcom Employee
    Posted Jan 10, 2017 04:30 PM

    This seems to be a permissions issue on your DevTest root and subfolders.

    I suggest to give Full control and Modify on the DevTest home folder.



  • 3.  Re: Unable to build/read .cachedb file
    Best Answer

    Broadcom Employee
    Posted Jan 10, 2017 07:03 PM

    Hi Akshay,

    This problem is common for Windows (7 and other recent versions). By default users can only read and execute anything in the 'Program Files' folder. Change the permissions for the Users to 'Full control' and 'Modify' otherwise you will always have to  start each executable with 'Run as administrator'. To illustrate this point made by Marcy, this should result in the following permissions: 

    Under 'Advanced' you can see that 'Read and Execute' was inherited from 'Program Files' but that 'Full Control' was explicitly set for Users on the DevTest folder itself:

    Regards,

    John



  • 4.  Re: Unable to build/read .cachedb file

    Broadcom Employee
    Posted Jan 12, 2017 10:36 AM

    Hi Akshay,

     

    Did changing your permissions help resolve your issue?

     

    Regards,

    Marcy



  • 5.  Re: Unable to build/read .cachedb file

    Posted Jan 13, 2017 02:12 AM

    Hi Marcy, 

     

    Thank you for the solution. Its working fine now. 

     

    My understanding - because of limited access(and because of above error) even locks folder was also not getting created. 

    Now After changing the permissions , Locks folder got created. 

     

    Thanks

    Akshay M



  • 6.  Re: Unable to build/read .cachedb file

    Broadcom Employee
    Posted Jan 13, 2017 09:19 AM

    Akshay,

     

    That is great news.

     

    Best Regards,

    Marcy