Failed
org.msh.etbm.test.desktop.AppInitTest.testWorkspaceList (from TestSuite)
Failing for the past 1 build
(Since
#15 )

Error Message
Connection error
Stacktrace
java.lang.RuntimeException: Connection error at org.msh.etbm.sync.ServerServices.getWorkspaces(ServerServices.java:107) at org.msh.etbm.test.desktop.AppInitTest.testWorkspaceList(AppInitTest.java:44)
Standard Output
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@3b764bce 1. Create database 22:01:06,609 INFO ClassPathXmlApplicationContext:495 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2bbf4b8b: startup date [Tue Apr 25 22:01:06 EDT 2017]; root of context hierarchy 22:01:06,719 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [applicationContext.xml] 22:01:08,953 INFO DefaultListableBeanFactory:623 - Overriding bean definition for bean 'caseFilters': replacing [Generic bean: class [org.msh.etbm.services.cases.CaseFilters]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\apps\jenkins\workspace\eTBM_Desktop\target\classes\org\msh\etbm\services\cases\CaseFilters.class]] with [Generic bean: class [org.msh.etbm.services.cases.CaseFilters]; scope=singleton; abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]] 22:01:09,281 INFO DefaultListableBeanFactory:557 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e056f20: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,changeTreatPeriodController,startTreatmentController,examBiopsyServices,examSkinServices,globalLists_bd,newNotificationFlow,packageList,formManagerFactory,adminUnits,caseCloseService,caseFilters,casePermissionServices,caseServices,casesQuery,caseStateReport,comorbiditiesServices,contactServices,examCultureServices,examDSTServices,examHivServices,examMicroscopyServices,examXpertServices,examXRayServices,medicalExaminationServices,patientServices,prevTBTreatController,sideEffectServices,startTreatmentServices,treatmentFollowupServices,treatmentPeriodUtilities,treatmentServices,serverSignatureServices,medicineServices,fieldsOptions,globalLists,regimenServices,sourceServices,tagServices,serverServices,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,entityManagerFactory,entityManager,expressions,formManager,defaultWorkspace,userWorkspace,authenticator,userSession,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy 22:01:09,625 INFO Version:15 - Hibernate Annotations 3.4.0.GA 22:01:09,672 INFO Environment:543 - Hibernate 3.3.0.SP1 22:01:09,687 INFO Environment:576 - hibernate.properties not found 22:01:09,687 INFO Environment:709 - Bytecode provider name : javassist 22:01:09,687 INFO Environment:627 - using JDK 1.4 java.sql.Timestamp handling 22:01:09,922 INFO Version:14 - Hibernate Commons Annotations 3.1.0.GA 22:01:09,922 INFO Version:16 - Hibernate EntityManager 3.4.0.GA 22:01:10,312 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.AdministrativeUnit 22:01:10,344 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.AdministrativeUnit on table administrativeunit 22:01:10,422 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CaseComorbidity 22:01:10,422 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CaseComorbidity on table casecomorbidity 22:01:10,422 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CaseSideEffect 22:01:10,422 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CaseSideEffect on table casesideeffect 22:01:10,437 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.CountryStructure 22:01:10,437 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.CountryStructure on table countrystructure 22:01:10,437 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamCulture 22:01:10,437 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamCulture on table examculture 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamDST 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamDST on table examdst 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamDSTResult 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamDSTResult on table examdstresult 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamHIV 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamHIV on table examhiv 22:01:10,453 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamMicroscopy 22:01:10,453 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamMicroscopy on table exammicroscopy 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamXRay 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamXRay on table examxray 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.FieldValue 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.FieldValue on table fieldvalue 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.HealthSystem 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.HealthSystem on table healthsystem 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Laboratory 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Laboratory on table laboratory 22:01:10,469 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicalExamination 22:01:10,469 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicalExamination on table medicalexamination 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Medicine 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Medicine on table medicine 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicineComponent 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicineComponent on table medicinecomponent 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.MedicineRegimen 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.MedicineRegimen on table medicineregimen 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Patient 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Patient on table patient 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.PrescribedMedicine 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.PrescribedMedicine on table prescribedmedicine 22:01:10,484 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.PrevTBTreatment 22:01:10,484 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.PrevTBTreatment on table prevtbtreatment 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Regimen 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Regimen on table regimen 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.SequenceInfo 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.SequenceInfo on table sequenceinfo 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Source 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Source on table source 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Substance 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Substance on table substance 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Tag 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Tag on table tag 22:01:10,500 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TbCase 22:01:10,500 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TbCase on table tbcase 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TbContact 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TbContact on table tbcontact 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Tbunit 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Tbunit on table tbunit 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TreatmentHealthUnit 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TreatmentHealthUnit on table treatmenthealthunit 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.User 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.User on table sys_user 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserPermission 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserPermission on table userpermission 22:01:10,531 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserProfile 22:01:10,531 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserProfile on table userprofile 22:01:10,547 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserRole 22:01:10,547 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserRole on table userrole 22:01:10,547 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.UserWorkspace 22:01:10,547 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.UserWorkspace on table userworkspace 22:01:10,547 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.Workspace 22:01:10,547 INFO AnnotationBinder:969 - Binding type definition: weeklyFrequency 22:01:10,547 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.Workspace on table workspace 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.WorkspaceView 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.WorkspaceView on table workspaceview 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ServerSignature 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ServerSignature on table serversignature 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.TreatmentMonitoring 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.TreatmentMonitoring on table treatmentmonitoring 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.ExamXpert 22:01:10,562 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.ExamXpert on table examxpert 22:01:10,562 INFO AnnotationBinder:419 - Binding entity from annotated class: org.msh.etbm.entities.EntityLastVersion 22:01:10,578 INFO EntityBinder:422 - Bind entity org.msh.etbm.entities.EntityLastVersion on table entitylastversion 22:01:10,656 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.AdministrativeUnit.units -> administrativeunit 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.ExamDST.results -> examdstresult 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Medicine.components -> medicinecomponent 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Patient.cases -> tbcase 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Regimen.medicines -> medicineregimen 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.comorbidities -> casecomorbidity 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.contacts -> tbcontact 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examinations -> medicalexamination 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsCulture -> examculture 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsDST -> examdst 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.examsMicroscopy -> exammicroscopy 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.healthUnits -> treatmenthealthunit 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.prescribedMedicines -> prescribedmedicine 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.prevTbTreats -> prevtbtreatment 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.resHIV -> examhiv 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.resXRay -> examxray 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.sideEffects -> casesideeffect 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.TbCase.treatmentMonitoring -> treatmentmonitoring 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.User.workspaces -> userworkspace 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.UserProfile.permissions -> userpermission 22:01:10,672 INFO CollectionBinder:650 - Mapping collection: org.msh.etbm.entities.Workspace.users -> userworkspace 22:01:10,672 INFO Version:17 - Hibernate Validator 3.1.0.GA 22:01:10,734 INFO HibernateSearchEventListenerRegister:53 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 22:01:10,812 INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!) 22:01:10,812 INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 20 22:01:10,812 INFO DriverManagerConnectionProvider:68 - autocommit mode: true 22:01:10,844 INFO DriverManagerConnectionProvider:103 - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:file:C:\apps\jenkins\workspace\eTBM_Desktop\target\database\etbmanager 22:01:10,844 INFO DriverManagerConnectionProvider:109 - connection properties: {user=SA, password=****, autocommit=true, release_mode=auto} 22:01:11,765 INFO ENGINE:? - checkpointClose start 22:01:11,797 INFO ENGINE:? - checkpointClose end 22:01:11,828 INFO SettingsFactory:116 - RDBMS: HSQL Database Engine, version: 2.2.8 22:01:11,828 INFO SettingsFactory:117 - JDBC driver: HSQL Database Engine Driver, version: 2.2.8 22:01:11,890 INFO Dialect:175 - Using dialect: org.msh.utils.CustomHSQLDialect 22:01:11,906 INFO TransactionFactoryFactory:62 - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory 22:01:11,906 INFO TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 22:01:11,906 INFO SettingsFactory:170 - Automatic flush during beforeCompletion(): disabled 22:01:11,906 INFO SettingsFactory:174 - Automatic session close at end of transaction: disabled 22:01:11,922 INFO SettingsFactory:181 - JDBC batch size: 15 22:01:11,922 INFO SettingsFactory:184 - JDBC batch updates for versioned data: disabled 22:01:11,922 INFO SettingsFactory:189 - Scrollable result sets: enabled 22:01:11,922 INFO SettingsFactory:197 - JDBC3 getGeneratedKeys(): enabled 22:01:11,922 INFO SettingsFactory:205 - Connection release mode: auto 22:01:11,922 INFO SettingsFactory:232 - Default batch fetch size: 1 22:01:11,922 INFO SettingsFactory:236 - Generate SQL with comments: disabled 22:01:11,922 INFO SettingsFactory:240 - Order SQL updates by primary key: disabled 22:01:11,922 INFO SettingsFactory:244 - Order SQL inserts for batching: disabled 22:01:11,922 INFO SettingsFactory:420 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 22:01:11,922 INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory 22:01:11,922 INFO SettingsFactory:252 - Query language substitutions: {} 22:01:11,922 INFO SettingsFactory:257 - JPA-QL strict compliance: enabled 22:01:11,922 INFO SettingsFactory:262 - Second-level cache: enabled 22:01:11,922 INFO SettingsFactory:266 - Query cache: disabled 22:01:11,937 INFO SettingsFactory:405 - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge 22:01:11,937 INFO RegionFactoryCacheProviderBridge:61 - Cache provider: org.hibernate.cache.NoCacheProvider 22:01:11,937 INFO SettingsFactory:276 - Optimize cache for minimal puts: disabled 22:01:11,937 INFO SettingsFactory:285 - Structured second-level cache entries: disabled 22:01:11,953 INFO SettingsFactory:314 - Statistics: disabled 22:01:11,953 INFO SettingsFactory:318 - Deleted entity synthetic identifier rollback: disabled 22:01:11,953 INFO SettingsFactory:333 - Default entity-mode: pojo 22:01:11,953 INFO SettingsFactory:337 - Named query checking : enabled 22:01:12,062 INFO SessionFactoryImpl:187 - building session factory 22:01:12,453 INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured 2. Workspace list