Forum Discussion

mdantasf's avatar
mdantasf
Occasional Contributor
8 years ago

Ready API 2 Don't Start on Mac OS

Hello guys, I try again start to SOapUi NG Pro (Ready API 2) on Mac OS with Sierra, but the app don't start! I have Java 8 installed. He show the message bellow in splash screen: License host for SoapUi NG: Host.local No license found for secure Someone, already this problem? Thank you. Márcio Dantas
    • mdantasf's avatar
      mdantasf
      Occasional Contributor
      Thank you! I was aready installed Java 1.6 by Apple, because I used with other tools like as Oracle Services Bus that use this version (1.6). But, to SoapUI, how to I change to use JVM 1.6 from Apple?
  • Ekaterina's avatar
    Ekaterina
    SmartBear Alumni (Retired)

    Thank you for the log.

    JdbcSQLException means that something wrong with databases which are being used by Ready! API. You can delete %USER_HOME%/.readyapi/db folder and it will be created in the next launch of Ready! API. Repeated steps with license initialization in the log is OK.

    Please, try to change hosts file as it is described in the https://thoeni.io/post/macos-sierra-java/. And could you check if 1.9.0 version hangs at start? (dmg: http://dl.eviware.com/ready-api/1.9.0/ReadyAPI-1.9.0.dmg, zip: http://dl.eviware.com/ready-api/1.9.0/ReadyAPI-1.9.0-mac-bin.zip)

    • socaltester's avatar
      socaltester
      Contributor

      I'm on a Windows 10 Pro box and the simple deletion of "db" and restarting SoapUI Pro fixed the following issues written in the ReadyAPI Log:

       

      RROR: Failed do update dashboard db.
      org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-197]

      Caused by: java.lang.NullPointerException
      at org.h2.store.Data.getValueLen(Data.java:919)
      at org.h2.store.Data.getValueLen(Data.java:905)
      at org.h2.index.PageBtreeIndex.getRowSize(PageBtreeIndex.java:413)
      at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:108)
      at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:102)
      at org.h2.index.PageBtreeNode.addRowTry(PageBtreeNode.java:205)
      at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:97)
      at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:88)
      at org.h2.table.RegularTable.addRow(RegularTable.java:122)
      ... 31 more

       

      ERROR: Failed to check schema version.
      org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-197]

      Caused by: java.lang.NullPointerException
      at org.h2.engine.Database.unlockMeta(Database.java:947)
      at org.h2.engine.Session.commit(Session.java:704)
      at org.h2.store.PageStore.removeOldTempIndexes(PageStore.java:402)
      at org.h2.store.PageStore.openExisting(PageStore.java:374)
      at org.h2.store.PageStore.open(PageStore.java:289)
      at org.h2.engine.Database.getPageStore(Database.java:2552)
      at org.h2.engine.Database.open(Database.java:709)
      at org.h2.engine.Database.openDatabase(Database.java:286)
      ... 24 more

       

      ERROR: An error occurred [Could not get JDBC Connection; nested exception is org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-197]], see error log for details

    • mdantasf's avatar
      mdantasf
      Occasional Contributor

      Ekaterina,

       

      Thank you for all tips. Really, after ai add the name of computer in /etc/hosts... SoapUi NG (Ready API) open very fast. Opened in less than a minute. Bellow have a log.

       

      I'm going to do a test with a version that you suggested. 

       

      POSEIDON:bin mdantasf$ sh ready-api.sh
      ================================
      =
      = READY_API_HOME = /Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2
      =
      ================================
      Listening for transport dt_socket at address: 53677
      - No base packages specified - no classpath scanning will be done
      - Starting 'LifecycleManager@260727363'
      - Hibernate Validator 4.1.0.Final
      - Adding module 'com.smartbear.ready.ui.ReadyApiUiModule
      Jul 19, 2017 1:47:09 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject
      WARNING: AssistedInject factory com.smartbear.servicev.view.SvpViewFactory will be slow because class com.smartbear.servicev.view.virt.http.HttpVirtSetupView has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider<T> (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.smartbear.servicev.view.virt.http.HttpVirtSetupView.<init>()[6]]
      Jul 19, 2017 1:47:09 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject
      WARNING: AssistedInject factory com.smartbear.servicev.view.SvpViewFactory will be slow because class com.smartbear.servicev.view.virt.jdbc.JdbcVirtSetupView has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider<T> (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.smartbear.servicev.view.virt.jdbc.JdbcVirtSetupView.<init>()[8]]
      Jul 19, 2017 1:47:09 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject
      WARNING: AssistedInject factory com.smartbear.servicev.view.SvpViewFactory will be slow because class com.smartbear.servicev.view.virt.jms.JmsVirtSetupView has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider<T> (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.smartbear.servicev.view.virt.jms.JmsVirtSetupView.<init>()[4]]
      Configuring log4j from [/Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/bin/soapui-log4j.xml]
      13:47:16,618 INFO [license] Ready! API 2.0.2 started - System properties: {OS=Mac OS X, User name=mdantasf}
      13:47:16,659 INFO [DefaultSoapUICore] No JDBC drivers found in extensions directory
      13:47:16,911 INFO [DefaultSoapUICore] initialized soapui-settings from [/Users/mdantasf/soapui-settings.xml]
      13:47:17,820 INFO [DefaultSoapUICore] Adding listeners from [/Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/bin/listeners/demo-listeners.xml]
      13:47:21,727 INFO [PluginManager] 0 plugins loaded in 3 ms
      13:47:21,727 INFO [DefaultSoapUICore] All plugins loaded
      13:47:22,651 INFO [WorkspaceImpl] Loading workspace from [/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/workspace-gafisa-contigencia/WorkspaceA2f-GafisaContingencia-workspace.xml]
      13:47:23,000 INFO [WsdlProject] Loaded project from [file:/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/Tenda/TendaVendas/BuscaCEPBSv1-soapui-project.xml]
      13:47:23,000 INFO [WsdlProject] Loaded project from [file:/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/workspace-gafisa-contigencia/OSB-ExecutarContingenciaPSv1-soapui-project.xml]
      13:47:23,000 INFO [WsdlProject] Loaded project from [file:/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/Tenda/TendaVendas/Integracao-soapui-project.xml]
      13:47:23,000 INFO [WsdlProject] Loaded project from [file:/Volumes/MACINTOSH/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/Tenda/TendaVendas/BuscarMaterialPSv1-soapui-project.xml]
      13:47:23,585 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:23,585 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:23,586 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:23,797 INFO [DashboardSizeChecker] Setting the maximum size of the dashboard database to 6144 MB.
      13:47:23,949 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:24,147 INFO [WsdlProject] Loaded project from [file:/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/Tenda/TendaVendas/BuscaBaseCEP-soapui-project.xml]
      13:47:24,149 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:24,175 INFO [WsdlProject] Loaded project from [file:/Volumes/MACINTOSH/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/Tenda/TendaVendas/ManterDadosVendaPSv2-soapui-project.xml]
      13:47:24,185 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:24,210 INFO [WsdlProject] Loaded project from [file:/Volumes/MACINTOSH/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/Tenda/TendaVendas/BuscarPrecoMateriaisPSv1-soapui-project.xml]
      13:47:24,211 INFO [WsdlProject] Loaded project from [file:/Volumes/MACINTOSH/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/Tenda/TendaVendas/NotificarPropostaVendaPSv1-soapui-project.xml]
      13:47:24,213 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:24,245 INFO [WsdlProject] Loaded project from [file:/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/worksapce-gafisa-dynamics/ManterIntegracaoFSv1-soapui-project.xml]
      13:47:24,269 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:24,273 INFO [WsdlProject] Loaded project from [file:/Volumes/DEVELOPMENT/workspaces/SoapUi/A2F/workspace-gafisa-contigencia/Contingencia-soapui-project.xml]
      13:47:24,300 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:24,673 WARN [WsdlProject] Failed to find the "Default" environment. The default environment will be used.
      13:47:24,795 INFO [DefaultSoapUICore] Adding actions from [/Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/bin/actions/demo-actions.xml]
      13:47:28,061 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      13:47:28,106 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
      13:47:28,107 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL
      13:47:28,430 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      13:47:28,444 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL
      13:47:28,475 DEBUG [LicenseManagerServiceImpl] Valid license file found: /Users/mdantasf/.soapui/soapui.key, last modified: Mon Jul 17 21:44:20 BRT 2017
      13:47:28,699 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for Secure
      13:47:28,700 DEBUG [LicenseManagerServiceImpl] License host for Secure: POSEIDON.LOCAL
      13:47:28,700 DEBUG [LicenseManagerServiceImpl] No license found for Secure
      13:47:29,688 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for LoadUI NG
      13:47:29,688 DEBUG [LicenseManagerServiceImpl] No license found for LoadUI NG
      13:47:29,728 DEBUG [LicenseManagerServiceImpl] License host for LoadUI NG: POSEIDON.LOCAL
      13:47:29,833 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for ServiceV
      13:47:29,834 DEBUG [LicenseManagerServiceImpl] License host for ServiceV: POSEIDON.LOCAL
      13:47:29,834 DEBUG [LicenseManagerServiceImpl] No license found for ServiceV
      13:47:30,513 INFO [DefaultSoapUICore] Defaulting to native L&F for Mac OS X
      13:47:30,771 INFO [ReadyApiInitializer] Initializing modules
      13:47:35,699 INFO [ModuleLoader] Module [LoadUI NG] added 5 actionGroups, 12 actions, 3 factories, 0 listeners, 0 toolbar components.
      13:47:35,716 INFO [ModuleLoader] Module [Secure] added 4 actionGroups, 8 actions, 2 factories, 0 listeners, 0 toolbar components.
      13:47:36,145 INFO [ModuleLoader] Module [ServiceV] added 16 actionGroups, 25 actions, 15 factories, 0 listeners, 0 toolbar components.
      13:47:36,456 INFO [ModuleLoader] Module [Projects] added 11 actionGroups, 1 actions, 1 factories, 0 listeners, 0 toolbar components.
      13:47:36,655 INFO [ModuleLoader] Module [SoapUI NG] added 6 actionGroups, 6 actions, 1 factories, 0 listeners, 0 toolbar components.
      13:47:36,891 INFO [ModuleLoader] Module [Dashboard] added 0 actionGroups, 0 actions, 0 factories, 0 listeners, 0 toolbar components.
      13:47:37,029 INFO [ModuleLoader] Module [SoapUIProUserInterfaceModule] added 4 actionGroups, 172 actions, 3 factories, 0 listeners, 0 toolbar components.
      13:47:37,030 INFO [ReadyApiInitializer] All modules loaded
      13:47:37,603 INFO [ModuleLoader] Module [ReadyApiUI] added 6 actionGroups, 4 actions, 0 factories, 0 listeners, 0 toolbar components.
      13:47:37,603 INFO [ReadyApiInitializer] Loading took 6832 ms
      13:47:37,607 INFO [DbLimitsUpdater] Setting maximum test history db size to 2147483648 MB
      13:47:37,620 INFO [DiscoveryBroadcaster] No valid license for DiscoveryBroadcaster found. Not started.
      13:47:37,866 INFO [BaseExecutionManager] Initialized base directory to keep executions to /Users/mdantasf/.readyapi/loadui/results
      13:47:38,074 INFO [SwingReadyApiUi] Starting Ready! API 2.0.2

  • Ekaterina's avatar
    Ekaterina
    SmartBear Alumni (Retired)
    Have you tried start Ready API with ready-api.sh? It is in the bin folder in the app content.
    • mdantasf's avatar
      mdantasf
      Occasional Contributor

      Yep. 

       

      I also download version zip for Mac. I try start with script .sh, but the same behavior occurred.  :(

  • Ekaterina's avatar
    Ekaterina
    SmartBear Alumni (Retired)

    Could you run .sh in terminal and post the log and logs from .readyapi folder, please?

    And  does Ready! API crash or hang? If it crash, please, post report too.

    • mdantasf's avatar
      mdantasf
      Occasional Contributor

      Thank you for a tip.

       

      I user Ready ZIP for Mac. He open. Delayed, but open. Bellow, have the log. Many errors occurred. It's normally? 

       

      ***** START *****

      POSEIDON:~ mdantasf$ cd /Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/bin
      POSEIDON:bin mdantasf$ ls
      actions loadtestrunner.sh reports soapui-log4j.xml uninstallactiontrack.sh wargenerator.sh
      ext ready-api-splash.png scripts starter-page-pro.html updateinstallation.sh
      installationcomplete.sh ready-api-ui-2.0.2.jar securitytestrunner.sh testrunner.sh virtrunner.sh
      listeners ready-api.sh setfreedebugport.sh toolrunner.sh virtserver-cli.sh
      POSEIDON:bin mdantasf$ sh ready-api.sh
      ================================
      =
      = READY_API_HOME = /Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2
      =
      ================================
      Listening for transport dt_socket at address: 53677
      - No base packages specified - no classpath scanning will be done
      - Starting 'LifecycleManager@2951941'
      - Hibernate Validator 4.1.0.Final
      - Adding module 'com.smartbear.ready.ui.ReadyApiUiModule
      Jul 17, 2017 9:38:22 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject
      WARNING: AssistedInject factory com.smartbear.servicev.view.SvpViewFactory will be slow because class com.smartbear.servicev.view.virt.http.HttpVirtSetupView has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider<T> (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.smartbear.servicev.view.virt.http.HttpVirtSetupView.<init>()[6]]
      Jul 17, 2017 9:38:22 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject
      WARNING: AssistedInject factory com.smartbear.servicev.view.SvpViewFactory will be slow because class com.smartbear.servicev.view.virt.jdbc.JdbcVirtSetupView has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider<T> (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.smartbear.servicev.view.virt.jdbc.JdbcVirtSetupView.<init>()[8]]
      Jul 17, 2017 9:38:22 PM com.google.inject.assistedinject.FactoryProvider2 isValidForOptimizedAssistedInject
      WARNING: AssistedInject factory com.smartbear.servicev.view.SvpViewFactory will be slow because class com.smartbear.servicev.view.virt.jms.JmsVirtSetupView has assisted Provider dependencies or injects the Injector. Stop injecting @Assisted Provider<T> (instead use @Assisted T) or Injector to speed things up. (It will be a ~6500% speed bump!) The exact offending deps are: [Key[type=com.google.inject.Injector, annotation=[none]]@com.smartbear.servicev.view.virt.jms.JmsVirtSetupView.<init>()[4]]
      Configuring log4j from [/Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/bin/soapui-log4j.xml]
      21:38:31,449 INFO [license] Ready! API 2.0.2 started - System properties: {OS=Mac OS X, User name=mdantasf}
      21:38:31,504 INFO [DefaultSoapUICore] No JDBC drivers found in extensions directory
      21:38:31,737 INFO [DefaultSoapUICore] initialized soapui-settings from [/Users/mdantasf/soapui-settings.xml]
      21:38:32,645 INFO [DefaultSoapUICore] Adding listeners from [/Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/bin/listeners/demo-listeners.xml]
      21:38:32,669 WARN [SoapUIJasperReportManager] The path to the report directory has been set to the default value because the report format has changed. Please update your custom reports if you want to use them with Ready!API 2.0.
      21:38:35,487 INFO [PluginManager] 0 plugins loaded in 3 ms
      21:38:35,487 INFO [DefaultSoapUICore] All plugins loaded
      21:38:37,685 ERROR [DashboardSchemaChecker] Failed do update dashboard db.
      org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "514 of 20". Possible solution: use the recovery tool [90030-176]
      at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
      at org.h2.message.DbException.get(DbException.java:178)
      at org.h2.message.DbException.get(DbException.java:154)
      at org.h2.store.PageStore.readPage(PageStore.java:1322)
      at org.h2.store.PageStore.getPage(PageStore.java:750)
      at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:234)
      at org.h2.index.PageDataIndex.writeRowCount(PageDataIndex.java:552)
      at org.h2.index.PageDataIndex.close(PageDataIndex.java:482)
      at org.h2.store.PageStore.recover(PageStore.java:1428)
      at org.h2.store.PageStore.openExisting(PageStore.java:368)
      at org.h2.store.PageStore.open(PageStore.java:289)
      at org.h2.engine.Database.getPageStore(Database.java:2366)
      at org.h2.engine.Database.open(Database.java:657)
      at org.h2.engine.Database.openDatabase(Database.java:260)
      at org.h2.engine.Database.<init>(Database.java:254)
      at org.h2.engine.Engine.openSession(Engine.java:57)
      at org.h2.engine.Engine.openSession(Engine.java:164)
      at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142)
      at org.h2.engine.Engine.createSession(Engine.java:125)
      at org.h2.engine.Engine.createSession(Engine.java:27)
      at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:331)
      at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
      at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
      at org.h2.Driver.connect(Driver.java:74)
      at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:191)
      at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:354)
      at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:386)
      at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:228)
      at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:200)
      at com.smartbear.ready.db.init.liquibase.DashboardSchemaChecker.getLiquibase(DashboardSchemaChecker.java:101)
      at com.smartbear.ready.db.init.liquibase.DashboardSchemaChecker.checkDbState(DashboardSchemaChecker.java:74)
      at com.smartbear.ready.db.init.liquibase.DashboardSchemaChecker.checkAndUpgradeDb(DashboardSchemaChecker.java:110)
      at com.smartbear.ready.db.init.liquibase.DashboardSchemaChecker.access$0(DashboardSchemaChecker.java:104)
      at com.smartbear.ready.db.init.liquibase.DashboardSchemaChecker$1.run(DashboardSchemaChecker.java:55)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)
      21:38:41,041 ERROR [LiquibaseSchemaVersionChecker] Failed to check schema version.
      org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "514 of 66". Possible solution: use the recovery tool [90030-176]
      at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
      at org.h2.message.DbException.get(DbException.java:178)
      at org.h2.message.DbException.get(DbException.java:154)
      at org.h2.store.PageStore.readPage(PageStore.java:1322)
      at org.h2.store.PageStore.getPage(PageStore.java:750)
      at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:234)
      at org.h2.index.PageDataIndex.writeRowCount(PageDataIndex.java:552)
      at org.h2.index.PageDataIndex.close(PageDataIndex.java:482)
      at org.h2.store.PageStore.recover(PageStore.java:1428)
      at org.h2.store.PageStore.openExisting(PageStore.java:368)
      at org.h2.store.PageStore.open(PageStore.java:289)
      at org.h2.engine.Database.getPageStore(Database.java:2366)
      at org.h2.engine.Database.open(Database.java:657)
      at org.h2.engine.Database.openDatabase(Database.java:260)
      at org.h2.engine.Database.<init>(Database.java:254)
      at org.h2.engine.Engine.openSession(Engine.java:57)
      at org.h2.engine.Engine.openSession(Engine.java:164)
      at org.h2.engine.Engine.createSessionAndValidate(Engine.java:142)
      at org.h2.engine.Engine.createSession(Engine.java:125)
      at org.h2.engine.Engine.createSession(Engine.java:27)
      at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:331)
      at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
      at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
      at org.h2.Driver.connect(Driver.java:74)
      at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:191)
      at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:354)
      at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:386)
      at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:228)
      at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:200)
      at com.smartbear.ready.db.init.liquibase.LiquibaseSchemaVersionChecker.getLiquibase(LiquibaseSchemaVersionChecker.java:112)
      at com.smartbear.ready.db.init.liquibase.LiquibaseSchemaVersionChecker.checkDbState(LiquibaseSchemaVersionChecker.java:80)
      at com.smartbear.ready.db.init.liquibase.LiquibaseSchemaVersionChecker.checkAndUpgradeDb(LiquibaseSchemaVersionChecker.java:117)
      at com.smartbear.ready.db.init.liquibase.LiquibaseSchemaVersionChecker.initDb(LiquibaseSchemaVersionChecker.java:57)
      at com.smartbear.ready.db.init.liquibase.LiquibaseSchemaVersionChecker.access$0(LiquibaseSchemaVersionChecker.java:56)
      at com.smartbear.ready.db.init.liquibase.LiquibaseSchemaVersionChecker$1.run(LiquibaseSchemaVersionChecker.java:50)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)
      21:38:46,218 INFO [DefaultSoapUICore] Adding actions from [/Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/bin/actions/demo-actions.xml]
      21:38:50,890 INFO [DefaultSoapUICore] Defaulting to native L&F for Mac OS X
      21:39:04,447 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      21:39:04,449 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
      21:39:09,451 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL
      21:39:24,556 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      21:39:24,556 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
      21:39:29,559 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL
      21:39:54,583 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for Secure
      21:39:54,584 DEBUG [LicenseManagerServiceImpl] No license found for Secure
      21:39:59,587 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for LoadUI NG
      21:39:59,588 DEBUG [LicenseManagerServiceImpl] No license found for LoadUI NG
      21:40:04,586 DEBUG [LicenseManagerServiceImpl] License host for Secure: POSEIDON.LOCAL
      21:40:14,593 DEBUG [LicenseManagerServiceImpl] License host for LoadUI NG: POSEIDON.LOCAL
      21:40:24,641 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for ServiceV
      21:40:24,641 DEBUG [LicenseManagerServiceImpl] No license found for ServiceV
      Exception in thread "Splash screen renderer" java.lang.IllegalStateException: no splash screen available
      at java.awt.SplashScreen.checkVisible(SplashScreen.java:197)
      at java.awt.SplashScreen.update(SplashScreen.java:324)
      at com.eviware.soapui.support.log.SplashAppender$1.run(SplashAppender.java:76)
      at java.lang.Thread.run(Thread.java:748)
      21:40:29,645 DEBUG [LicenseManagerServiceImpl] License host for ServiceV: POSEIDON.LOCAL
      21:40:38,495 INFO [ReadyApiInitializer] Initializing modules
      21:40:43,484 INFO [ModuleLoader] Module [Secure] added 4 actionGroups, 8 actions, 2 factories, 0 listeners, 0 toolbar components.
      21:40:43,494 INFO [ModuleLoader] Module [LoadUI NG] added 5 actionGroups, 12 actions, 3 factories, 0 listeners, 0 toolbar components.
      21:40:44,187 INFO [ModuleLoader] Module [ServiceV] added 16 actionGroups, 25 actions, 15 factories, 0 listeners, 0 toolbar components.
      21:40:44,231 INFO [ModuleLoader] Module [SoapUI NG] added 6 actionGroups, 6 actions, 1 factories, 0 listeners, 0 toolbar components.
      21:40:44,335 INFO [ModuleLoader] Module [Projects] added 11 actionGroups, 1 actions, 1 factories, 0 listeners, 0 toolbar components.
      21:40:44,666 INFO [ModuleLoader] Module [Dashboard] added 0 actionGroups, 0 actions, 0 factories, 0 listeners, 0 toolbar components.
      21:40:44,939 INFO [ModuleLoader] Module [SoapUIProUserInterfaceModule] added 4 actionGroups, 172 actions, 3 factories, 0 listeners, 0 toolbar components.
      21:40:44,939 INFO [ReadyApiInitializer] All modules loaded
      21:40:45,458 INFO [ModuleLoader] Module [ReadyApiUI] added 6 actionGroups, 4 actions, 0 factories, 0 listeners, 0 toolbar components.
      21:40:45,458 INFO [ReadyApiInitializer] Loading took 6963 ms
      21:40:45,462 INFO [DbLimitsUpdater] Setting maximum test history db size to 2147483648 MB
      21:40:45,477 INFO [DiscoveryBroadcaster] No valid license for DiscoveryBroadcaster found. Not started.
      21:40:45,774 INFO [BaseExecutionManager] Initialized base directory to keep executions to /Users/mdantasf/.readyapi/loadui/results
      21:40:46,030 INFO [SwingReadyApiUi] Starting Ready! API 2.0.2
      21:41:27,045 DEBUG [LicenseManagerAction] Opening License Manager
      21:41:28,413 DEBUG [LicenseManagerView] License server accessible
      21:41:40,442 DEBUG [LicenseManagerView] Opening add new license dialog
      21:41:40,607 DEBUG [AddNewLicenseView] Server available - license method set to License code, activation method to ONLINE
      21:44:20,030 DEBUG [AddNewLicenseView] License installation view: Next button clicked
      21:44:20,073 INFO [LicenseFileUtil] Trying to install license(s) for [SoapUING] from file /Volumes/DEVELOPMENT/tools/ReadyAPI-2.0.2/soapui-license/soapui/trial-license.zip
      21:44:35,242 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      21:44:35,242 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
      21:44:40,247 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL
      21:44:55,345 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      21:44:55,359 DEBUG [LicenseManagerServiceImpl] Valid license file found: /Users/mdantasf/.soapui/soapui.key, last modified: Mon Jul 17 21:44:20 BRT 2017
      21:45:00,349 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL

      ***** END *****

       

      In the start, this steps repeat a lot. It's necessary?

      21:39:04,447 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      21:39:04,449 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
      21:39:09,451 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL
      21:39:24,556 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for SoapUI NG
      21:39:24,556 DEBUG [LicenseManagerServiceImpl] No license found for SoapUI NG
      21:39:29,559 DEBUG [LicenseManagerServiceImpl] License host for SoapUI NG: POSEIDON.LOCAL
      21:39:54,583 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for Secure
      21:39:54,584 DEBUG [LicenseManagerServiceImpl] No license found for Secure
      21:39:59,587 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for LoadUI NG
      21:39:59,588 DEBUG [LicenseManagerServiceImpl] No license found for LoadUI NG
      21:40:04,586 DEBUG [LicenseManagerServiceImpl] License host for Secure: POSEIDON.LOCAL
      21:40:14,593 DEBUG [LicenseManagerServiceImpl] License host for LoadUI NG: POSEIDON.LOCAL
      21:40:24,641 DEBUG [LicenseManagerServiceImpl] Trying to initialize license for ServiceV
      21:40:24,641 DEBUG [LicenseManagerServiceImpl] No license found for ServiceV

  • Ekaterina's avatar
    Ekaterina
    SmartBear Alumni (Retired)

    I'm glad to hear that now Ready! API starts in normal mode)