Sync Module HTTP Status 500 - Error creating bean with name 'sessionFactory' defined in class path resource

Application Name: Sync Module Version Number: 1.3 Question: When i trying to install Sync Module 1.3 a get all my OpenMRS installation failled. i got this message HTTP Status 500 - Error creating bean with name ‘sessionFactory’ defined in class path resource [applicationContext-service.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: org.openmrs.module.sync.api.db.hibernate.usertype.GenericEnumUserType, at table: sync_record, for columns: [org.hibernate.mapping.Column(state)]

Can somebody help me?

“Development” category.**

@kamdemclems can you please give details of what you are doing at pastein.com…thanks

i can’t use pastein.com because i don’t yet have money to buy a domain

Which openmrs platform version are you running?

i use distribution 2.0.5

@kamdemclems there is a free spot for free public pastes try it out,i frequently use it without a single penny

@tendomart i don’t see the free spot here http://ewebdevelopment.com/ is it the true link ?

@kamdemclems please follow this link pastebin.com and you will see a green button on top of your page saying “+ New Paste” click it then paste your work in the editing area below then click “Create paste” just below the text area…

However i think dkayiwa has answered your problem

The sync module is not yet upgraded to run on platform 2.x You can use platform 1.11.8

ok thank you i will try it

i have install a module who requires snc module, and the module is working in the 2.x platform https://pastebin.com/KLn1iEvQ

@kamdemclems have you considered dkayiwa’s post above.?

also " WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2017-08-07 15:11:11,903| Unable to find a runtime properties file at D:\CameroonEMR\openmrs-module-aijar\openmrs-runtime.properties " your system cannot find the runtime properties file…there are installation problems,root could be version incompatibilities

so please try installing openmrs versions less than 2.X …So undeploy your current installation and re-deploy a lower version…

You can create a ticket for making the sync module work on platform 2.x https://wiki.openmrs.org/display/docs/Tickets

i han’t deployed my installation, i til use maven to run it how can i do to use a lower version ? It is a Uganda distribution?

@kamdemclems have you looked at this https://metsprogram.gitbooks.io/ugandaemr-technical-guide/content/setup-dev-environment.html and https://www.gitbook.com/book/metsprogram/ugandaemr-documentation/details

and https://metsprogram.gitbooks.io/ugandaemr-documentation/content/setup_and_configuration.html

cc.@ssmusoke can you elaborate more

yes but let me verify again

Ok i was using a false command to setting up server. To make functionnal syn there is other version of ugandaemr (1.0.8) who is using platform 1.11.8. the tru command is “” mvn openmrs-sdk:setup -Ddistro=org.openmrs.module:aijar:1.0.8-SNAPSHOT -DserverId=[serverId]""

I wil try to install it and ping you.

1 Like

thank you @tendomart i have install well the older version and i got no error.

But i have install the finger print module and it does not work. when i click on scan right thomb button nothing is done.

When i consult consol iget this message

SEND destination:/calcApp/add content-length:61

{“finger”:5,“patient”:“5fa8c63a-8da8-4cb9-9b1a-55324bd2e65b”}

Can you help me please ?

1 Like

@smuwanga can you help out here?

Hello @tendomart i have seen your answer tks. I am still waiting for @smuwanga.

1 Like

@kamdemclems alright ,meanwhile will post something as soon as i get an answer,if he has not yet gotten back to you…