Service Virtualization

  • 1.  Unable to launch Registry.exe file

    Posted 11-22-2017 01:47 AM

    Hi, 

    Product - Dev Test Solution 8.0.2 

    All component are installed in my machine 

    I am unable to launch the registry.exe and its getting closed after some time  its getting closed 

     

    I check in the registry.logs file found below error message 

    2017-11-22 06:38:50,449Z (12:08) [main] ERROR com.itko.lisa.utils.JpaUtil - ==== #################################### ====
    2017-11-22 06:38:50,449Z (12:08) [main] ERROR com.itko.lisa.utils.JpaUtil - The database has not been initialized correctly. There is at least one missing table.
    2017-11-22 06:38:50,449Z (12:08) [main] ERROR com.itko.lisa.utils.JpaUtil - ==== #################################### ====
    2017-11-22 06:38:50,449Z (12:08) [main] ERROR System.err - The database has not been initialized correctly. There is at least one missing table.
    2017-11-22 06:38:50,450Z (12:08) [main] ERROR System.err - java.lang.RuntimeException: The database has not been initialized correctly. There is at least one missing table.
    2017-11-22 06:38:50,452Z (12:08) [main] ERROR System.err - at com.itko.lisa.utils.JpaUtil.<init>(JpaUtil.java:387)
    2017-11-22 06:38:50,453Z (12:08) [main] ERROR System.err - at com.itko.lisa.utils.JpaUtil.getDradisUtil(JpaUtil.java:302)
    2017-11-22 06:38:50,454Z (12:08) [main] ERROR System.err - at com.itko.lisa.coordinator.TestRegistryImpl.doEnterpriseDashboardHandshake(TestRegistryImpl.java:2588)
    2017-11-22 06:38:50,454Z (12:08) [main] ERROR System.err - at com.itko.lisa.coordinator.TestRegistryImpl.<init>(TestRegistryImpl.java:269)
    2017-11-22 06:38:50,454Z (12:08) [main] ERROR System.err - at com.itko.lisa.coordinator.TestRegistryImpl.main(TestRegistryImpl.java:2449)
    2017-11-22 06:38:50,455Z (12:08) [main] ERROR System.err - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2017-11-22 06:38:50,456Z (12:08) [main] ERROR System.err - at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2017-11-22 06:38:50,456Z (12:08) [pool-4-thread-1] INFO org.eclipse.persistence - EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
    2017-11-22 06:38:50,457Z (12:08) [main] ERROR System.err - at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2017-11-22 06:38:50,458Z (12:08) [main] ERROR System.err - at java.lang.reflect.Method.invoke(Unknown Source)
    2017-11-22 06:38:50,462Z (12:08) [main] ERROR System.err - at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    2017-11-22 06:38:50,463Z (12:08) [main] ERROR System.err - at com.exe4j.runtime.WinLauncher.main(Unknown Source)
    2017-11-22 06:38:50,464Z (12:08) [main] ERROR System.err - at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
    2017-11-22 06:38:50,473Z (12:08) [Thread-7] INFO com.itko.lisa.net.ActiveMQFactory - Closing AMQ connections

     

     

     

    Initially I have started Enterprise Dashboard and then start the registry. 

     

    Note :- Same setup was working earlier. 

     

    Thanks, 

    Vinay Nagariya 



  • 2.  Re: Unable to launch Registry.exe file

    Broadcom Employee
    Posted 11-22-2017 09:46 AM

    If your Enterprise Dashboard is starting with no error, then make sure the user that is being used to start the Registry has the right permissions.  What database and version are you connecting to.

     

    Refer to this Communities Post:

     

    Tech Tips: What are the BEST PRACTICES for DevTest Database Troubleshooting 



  • 3.  Re: Unable to launch Registry.exe file

    Posted 11-22-2017 10:43 AM

    Enterprise dashboard is started without any errors. As I mentioned, I was able to start the registry too earlier.

     

    I am trying to connect default derby database.

    All the component are installed in my machine itself.



  • 4.  Re: Unable to launch Registry.exe file

    Broadcom Employee
    Posted 11-22-2017 10:47 AM

    Make sure the permissions are on on the folder where DevTest is installed are open.

    Right-click on DEVTEST_HOME folder.

    Choose Properties.

    Click Edit pushbutton.

    Choose the Users group.

    Make sure Full control and Modify are set true.

    Apply change.

    Try to start Registry again.



  • 5.  Re: Unable to launch Registry.exe file

    Posted 11-22-2017 11:06 AM

    Thanks Marcy..

     

    I will try that out but I am pretty it's not related to user access permission as I was able to open the registry till yesterday and I face this issue today morning. 

     

    Do you suspect any file is missing by seeing the attached logs. 

     

     

    Thanks.



  • 6.  Re: Unable to launch Registry.exe file
    Best Answer

    Broadcom Employee
    Posted 11-22-2017 11:41 AM

    OK, try this.

     

    Rename the DEVTEST_HOME\database\lisa.db to something else.

    Start the Registry as a server" DEVTEST_HOME\bin\Registry.exe

    See if this comes up with no errors.



  • 7.  Re: Unable to launch Registry.exe file

    Posted 11-24-2017 02:14 AM

    Hi Marcy, 

     

    After renaming the lisa.db file, I was able to start the registry. 

     

    Could you please let me know why was this issue earlier.