trouble loading database in 1.3 beta1
Submitted by dadmin on Sat, 08/11/2008 - 07:02
I am trying to install on my mac running OsX 10.5.
When I run ./dataload.sh setup it doesn't seem to work properly. Then the web app can't be started.
If you run ./dataload.sh base it works fine.
I have attached the terminal output I get when I run the setup script.
RE: [OpenVPMS Developers] trouble loading database in 1.3 beta1
Looks like the setup data still has references to archetypes that have been removed with the new version.
I have edited the setup.xml fil efound in import/data folder and removed these references and committed file to repository. Just replace the existing copy with the one found here:
http://www.openvpms.org/fisheye/browse/openvpms/release/trunk/src/import/data/setup.xml
Alternatively edit the existing version and remove all lines that reference entityRelationship.locationSchedule or entityRelationship.locationWorkList.
Cheers Tony
-----Original Message----- From: developers-bounces@lists.openvpms.org [mailto:developers-bounces@lists.openvpms.org]On Behalf Of myoung@openvpms.org Sent: Saturday, 8 November 2008 07:10 To: developers@lists.openvpms.org Subject: [OpenVPMS Developers] trouble loading database in 1.3 beta1
I am trying to install on my mac running OsX 10.5.
When I run ./dataload.sh setup it doesn't seem to work properly. Then the web app can't be started.
If you run ./dataload.sh base it works fine.
I have attached the terminal output I get when I run the setup script.
File attachments:
[terminal output.rtf]: http://www.openvpms.org/fileuploads/terminal%20output.rtf ---------- Original attachments can be found at: http://www.openvpms.org/node/622 _______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers
RE: [OpenVPMS Developers] trouble loading database in 1.3 beta1
Thanks Tony,
the archetypes now load fine but I still can't get the application to start in tomcat. I have attached a copy of catalina.out from when I start up tomcat.
Many thanks,
Matt.
RE: [OpenVPMS Developers] Re: RE: [OpenVPMS
Not really sure what would cause this but may be that Tomcat is running short of memory and is unable to instantiate some fo the new objects and caches in version 1.3.
What are your memory settings on Tomcat (Heap and permgen space) ?
Cheers Tony
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers
not enough memory to start the service.
I resolved my issue of not being able to start the 1.3beta version of the web app on mac OsX 10.5 by increasing the memory available in tomcat 5.5.
To do this you need to edit the catalina.sh file in the bin directory of tomcat.
Add the following line:
JAVA_OPTS="-Xms128M -Xmx512M"
Then restart tomcat.