Hi Wyclif,

Okay I tried trashing everything and starting again. The test install is still 
failing, I was trying to import from my local dev environment so internet 
connection is not going to be the issue given it is going from localhost to 
localhost.

With a clean standalone install I am now able to connect directly to my dev 
database (which you can do through the advanced setup option by changing the 
connection details). The Migration scripts are still failing going from 1.6 to 
1.9 but expected that anyway and at least now I am getting sql errors so can 
start working my way through those.

Thanks,

Lara
________________________________________
From: [email protected] [[email protected]] On Behalf Of Wyclif Luyima 
[[email protected]]
Sent: Thursday, January 19, 2012 11:11 PM
To: [email protected]
Subject: Re: [OPENMRS-DEV] 1.9.1 Beta standalone and Release Testing Helper

Hi Lara,

First of all you cannot select advanced option and try to connect to an 
existing database at the same time, i wonder how you are managing to do it. If 
you attempt to do a test install and it fails,  i would suggest you stop the 
standalone  and clear the database directory in the root of the standalone. FYI 
the embedded MySQL instance could have stayed running, kill it before trying 
again if this is the case.

Off the top of my head, the cause of the failure could be because the zipped 
temp sql dump file is not downloaded fully from your remote system hence 
failing to read its contents. How good is your internet connection?

Wyclif

On Thu, Jan 19, 2012 at 9:32 AM, Lara Kellett 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I am trying to use the 1.9.1 Beta standalone in conjunction with the Release 
Testing Module.

I am trying to import the database from my local dev environment which is 
running a custom build of 1.6.4 (Build 18038). My dev database is a 
de-identified database from our production servers which are also on the same 
1.6.4 build.

When I try to import test data into the standalone I am seeing the following 
error in the tomcat logs

WARN - InitializationFilter$InitializationCompletion$1.run(1507) |2012-01-19 
15:56:08,844| Error while trying to import test data
java.io.EOFException: Unexpected end of ZLIB input stream
       at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
       at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
       at java.util.zip.ZipInputStream.read(ZipInputStream.java:154)
       at java.io.FilterInputStream.read(FilterInputStream.java:90)
       at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
       at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
       at 
org.openmrs.web.filter.initialization.InitializationFilter.importTestDataSet(InitializationFilter.java:1025)
       at 
org.openmrs.web.filter.initialization.InitializationFilter.access$400(InitializationFilter.java:87)
       at 
org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1454)
       at java.lang.Thread.run(Thread.java:680)

Does anyone have any suggestions as to the cause of the problem or where I can 
start looking? I am seeing the same problems if I try the advanced option and 
try to connect the standalone directly to my dev database.

Thanks,

Lara
_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected]<mailto:[email protected]> with "SIGNOFF 
openmrs-devel-l" in the  body (not the subject) of your e-mail.

[mailto:[email protected]<mailto:[email protected]>?body=SIGNOFF%20openmrs-devel-l]

________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> 
from OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to