Ben,
Sorry 1st server that I set up to sync and used the maintenance backport
worked with out problems. Every other server I try to backport with the
same setting and copied from the exact same SQL fails with the error
that I sent.
I've had issues with the ChangedBy not existing in one server of the
other. Could that be the problem here?
Sync server record has the following:
'52', '2', '29', 'NEW', '0', NULL
Sync record has the following information:
52, 4132ef53-3111-4633-bc99-3acc09a678cc,
1d6dcbee-c8b5-11e0-983a-00ff2c80bde4, 1.8.3.24510, 2012-02-21 11:06:08,
0, NEW, <items><SyncItem containedType="org.openmrs.Person"
key="566dd18b-806b-4a64-9800-25756f456488"
state="UPDATED"><content><![CDATA[<org.openmrs.Person><personChangedBy
type="org.openmrs.User">1d6dcbee-c8b5-11e0-983a-00ff2c80bde4</personChangedBy><patient
type="boolean">false</patient><personCreator
type="org.openmrs.User">1d6dcbee-c8b5-11e0-983a-00ff2c80bde4</personCreator><personDateChanged
type="timestamp">2012-02-21T11:06:07.550+0000</personDateChanged><personDateCreated
type="timestamp">2012-02-21T11:06:07.242+0000</personDateCreated><birthdateEstimated
type="boolean">false</birthdateEstimated><birthdate
type="timestamp">2012-02-21T11:06:07.222+0000</birthdate><gender
type="string">M</gender><personVoided
type="boolean">false</personVoided><uuid
type="string">566dd18b-806b-4a64-9800-25756f456488</uuid><dead
type="boolean">false</dead></org.openmrs.Person>]]></content></SyncItem><SyncItem
containedType="org.openmrs.User"
key="6a96376c-0c45-4731-b1bc-08c3d7c7b84a"
state="NEW"><content><![CDATA[<org.openmrs.User><userProperties
type="java.util.Map(org.openmrs.User.userProperties)"></userProperties><username
type="string">ehn11707b31</username><person
type="org.openmrs.Person">566dd18b-806b-4a64-9800-25756f456488</person><retired
type="boolean">false</retired><dateCreated
type="timestamp">2012-02-21T11:06:07.550+0000</dateCreated><systemId
type="string">IHVNKano_8-3</systemId><uuid
type="string">6a96376c-0c45-4731-b1bc-08c3d7c7b84a</uuid><creator
type="org.openmrs.User">1d6dcbee-c8b5-11e0-983a-00ff2c80bde4</creator></org.openmrs.User>]]></content></SyncItem><SyncItem
containedType="org.openmrs.api.db.LoginCredential"
key="6a96376c-0c45-4731-b1bc-08c3d7c7b84a"
state="UPDATED"><content><![CDATA[<org.openmrs.api.db.LoginCredential><changedBy
type="org.openmrs.User">1d6dcbee-c8b5-11e0-983a-00ff2c80bde4</changedBy><uuid
type="string">6a96376c-0c45-4731-b1bc-08c3d7c7b84a</uuid><dateChanged
type="timestamp">2012-02-21T11:06:08.031+0000</dateChanged></org.openmrs.api.db.LoginCredential>]]></content></SyncItem><SyncItem
containedType="org.hibernate.collection.PersistentSet"
key="6a96376c-0c45-4731-b1bc-08c3d7c7b84a|roles"
state="UPDATED"><content><![CDATA[<org.hibernate.collection.PersistentSet><owner
action="recreate" properyName="roles" type="org.openmrs.User"
uuid="6a96376c-0c45-4731-b1bc-08c3d7c7b84a"/><entry action="update"
primaryKey="System Developer" type="org.openmrs.Role"
uuid="8d94f852-c2cc-11de-8d13-0010c6dffd0f"/></org.hibernate.collection.PersistentSet>]]></content></SyncItem></items>,
org.openmrs.Person,org.openmrs.api.db.LoginCredential,org.openmrs.User,
4132ef53-3111-4633-bc99-3acc09a678cc
On 03/13/2012 05:55 PM, Ben Wolfe wrote:
What do you mean by "subsequent attempt". Are you trying again on the
same server? Again on same server with different parameters? What
happens if you try with same parameters again?
Looks like it might be a problem with sync record 52. What is in
sync_record and sync_server_record for that record id?
Ben
On Tue, Mar 13, 2012 at 12:16 PM, Adam Thompson <[email protected]
<mailto:[email protected]>> wrote:
Hi Ben,
I'm having another issue with sync as it relates to the Maintenance
Feature. I'm trying to back port changes for several systems. The
first system worked fine an all sync records were backported. Each
subsequent attempt at backporting results in an
org.hibernate.__LazyInitializationException (see attached full trace).
Any ideas about how I can resolve this issue?
Thanks, adam
On 03/13/2012 04:24 PM, Ben Wolfe wrote:
I think you have to set up the ssl certificates in tomcat or
java to get
them to talk to each other over https. There used to be a wiki page
that PIH wrote about it, but I can't find it now.
Ben
On Tue, Mar 13, 2012 at 10:59 AM, Erick Mugoma
<[email protected] <mailto:[email protected]>
<mailto:openmrs.erick@gmail.__com
<mailto:[email protected]>>> wrote:
Hi Ben,
Thanks very much for your response.
One other issue is that we are not able to sync
https/servername/openmrs parent server. It works very well with
http/server name/openmrs server.
Is it that it is not possible to sync thro'
https/servername/openmrs
server. Kindly advice me how to about this.
Thanks
On Mon, Mar 12, 2012 at 11:15 PM, Ben Wolfe <[email protected]
<mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>> wrote:
Erick, looks like this was a bug introduced in 1.0. I
opened
this ticket and published a sync 1.0.1 for you today.
https://tickets.openmrs.org/__browse/SYNC-268
<https://tickets.openmrs.org/browse/SYNC-268>
The servers were still being created, it was just an
error on
the redirect. So if you returned to the Configuration
screen
you would see the new server in the list.
Ben
On Tue, Mar 6, 2012 at 11:10 AM, Erick Mugoma
<[email protected] <mailto:[email protected]>
<mailto:openmrs.erick@gmail.__com
<mailto:[email protected]>>> wrote:
Hi
Am trying to configure sync 1.0 on openmrs 1.8.3 and the
following occurs every time you try to save
anything. see
the stack trace.
An Internal Error has Occurred
*java.lang.__NullPointerException*
Consult the help document
<http://127.0.0.1:8080/__openmrs/help.htm
<http://127.0.0.1:8080/openmrs/help.htm>>.
Contact your friendly neighborhood administrator if it
cannot be resolved.
Hide stack trace
<http://127.0.0.1:8080/__openmrs/module/sync/__configServer.form#
<http://127.0.0.1:8080/openmrs/module/sync/configServer.form#>>
*org.openmrs.module.sync.web.__controller.__ConfigServerFormController.__saveOrUpdateTask(__ConfigServerFormController.__java:392)*
*org.openmrs.module.sync.web.__controller.__ConfigServerFormController.__onSaveParent(__ConfigServerFormController.__java:260)*
sun.reflect.__NativeMethodAccessorImpl.__invoke0(Native Method)
sun.reflect.__NativeMethodAccessorImpl.__invoke(Unknown Source)
sun.reflect.__DelegatingMethodAccessorImpl.__invoke(Unknown
Source)
java.lang.reflect.Method.__invoke(Unknown Source)
org.springframework.web.bind.__annotation.support.__HandlerMethodInvoker.__invokeHandlerMethod(__HandlerMethodInvoker.java:176)
org.springframework.web.__servlet.mvc.annotation.__AnnotationMethodHandlerAdapter__.invokeHandlerMethod(__AnnotationMethodHandlerAdapter__.java:426)
org.springframework.web.__servlet.mvc.annotation.__AnnotationMethodHandlerAdapter__.handle(__AnnotationMethodHandlerAdapter__.java:414)
org.springframework.web.__servlet.DispatcherServlet.__doDispatch(DispatcherServlet.__java:790)
org.springframework.web.__servlet.DispatcherServlet.__doService(DispatcherServlet.__java:719)
org.springframework.web.__servlet.FrameworkServlet.__processRequest(__FrameworkServlet.java:644)
org.springframework.web.__servlet.FrameworkServlet.__doPost(FrameworkServlet.java:__560)
javax.servlet.http.__HttpServlet.service(__HttpServlet.java:637)
javax.servlet.http.__HttpServlet.service(__HttpServlet.java:717)
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__290)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
*org.openmrs.module.web.__filter.__ForcePasswordChangeFilter.__doFilter(__ForcePasswordChangeFilter.__java:65)*
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
*org.openmrs.module.web.__filter.ModuleFilterChain.__doFilter(ModuleFilterChain.__java:76)*
*org.openmrs.module.web.__filter.ModuleFilter.doFilter(__ModuleFilter.java:58)*
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
*org.openmrs.web.filter.__OpenmrsFilter.__doFilterInternal(__OpenmrsFilter.java:112)*
org.springframework.web.__filter.OncePerRequestFilter.__doFilter(OncePerRequestFilter.__java:76)
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
org.springframework.orm.__hibernate3.support.__OpenSessionInViewFilter.__doFilterInternal(__OpenSessionInViewFilter.java:__198)
org.springframework.web.__filter.OncePerRequestFilter.__doFilter(OncePerRequestFilter.__java:76)
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
*org.openmrs.web.filter.__StartupFilter.doFilter(__StartupFilter.java:83)*
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
*org.openmrs.web.filter.__StartupFilter.doFilter(__StartupFilter.java:83)*
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
*org.openmrs.web.filter.__StartupFilter.doFilter(__StartupFilter.java:83)*
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
org.springframework.web.__filter.__CharacterEncodingFilter.__doFilterInternal(__CharacterEncodingFilter.java:__88)
org.springframework.web.__filter.OncePerRequestFilter.__doFilter(OncePerRequestFilter.__java:76)
org.apache.catalina.core.__ApplicationFilterChain.__internalDoFilter(__ApplicationFilterChain.java:__235)
org.apache.catalina.core.__ApplicationFilterChain.__doFilter(__ApplicationFilterChain.java:__206)
org.apache.catalina.core.__StandardWrapperValve.invoke(__StandardWrapperValve.java:233)
org.apache.catalina.core.__StandardContextValve.invoke(__StandardContextValve.java:191)
org.apache.catalina.core.__StandardHostValve.invoke(__StandardHostValve.java:127)
org.apache.catalina.valves.__ErrorReportValve.invoke(__ErrorReportValve.java:102)
org.apache.catalina.core.__StandardEngineValve.invoke(__StandardEngineValve.java:109)
org.apache.catalina.connector.__CoyoteAdapter.service(__CoyoteAdapter.java:298)
org.apache.coyote.http11.__Http11Processor.process(__Http11Processor.java:857)
org.apache.coyote.http11.__Http11Protocol$__Http11ConnectionHandler.__process(Http11Protocol.java:__588)
org.apache.tomcat.util.net
<http://org.apache.tomcat.util.net>.__JIoEndpoint$Worker.run(__JIoEndpoint.java:489)
java.lang.Thread.run(Unknown Source)
OpenMRS Version: 1.8.3 Build 24510
------------------------------__------------------------------__------------
Click here to unsubscribe
<mailto:LISTSERV@LISTSERV.__IUPUI.EDU
<mailto:[email protected]>?body=SIGNOFF%__20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------__------------------------------__------------
Click here to unsubscribe
<mailto:LISTSERV@LISTSERV.__IUPUI.EDU
<mailto:[email protected]>?body=SIGNOFF%__20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------__------------------------------__------------
Click here to unsubscribe
<mailto:LISTSERV@LISTSERV.__IUPUI.EDU
<mailto:[email protected]>?body=SIGNOFF%__20openmrs-implement-l>
from OpenMRS Implementers' mailing list
------------------------------__------------------------------__------------
Click here to unsubscribe
<mailto:LISTSERV@LISTSERV.__IUPUI.EDU
<mailto:[email protected]>?body=SIGNOFF%__20openmrs-implement-l>
from OpenMRS Implementers' mailing list
--
Adam Thompson
Director, eHealth & Information Systems Nigeria
m (ng): +234.(0)809.515.0590 <tel:%2B234.%280%29809.515.0590>
h (us): +1.707.440.9904 <tel:%2B1.707.440.9904>, m (us):
+1.831.212.8397 <tel:%2B1.831.212.8397>
skype: adothompson
http://ehealthnigeria.org/, http://infoactivist.net/
25 Race Course Rd, Kano, Nigeria
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
from OpenMRS Implementers' mailing list
--
Adam Thompson
Director, eHealth & Information Systems Nigeria
m (ng): +234.(0)809.515.0590
h (us): +1.707.440.9904, m (us): +1.831.212.8397
skype: adothompson
http://ehealthnigeria.org/, http://infoactivist.net/
25 Race Course Rd, Kano, Nigeria
_________________________________________
To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to
[email protected] with "SIGNOFF openmrs-implement-l" in the body
(not the subject) of your e-mail.
[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]