Chris Wiita wrote: > I fixed the init.db problem I was having (simply using the wrong Java!), > but now I'm stumped with my migration. Base2 is running perfectly, as > is my 1.2 install. I can access the mysql databases correctly with the > information in migrate.properties, the root password is correct, and all > users (temporarily) have read and execute permissions on the 1.2 data > folder. On executing the migrate script, however, it seems to just fail > after about 15 seconds, and no (new) data that i can see is in the BASE2 > tables. Any ideas as to what may be causing this? Is there a way to > get more verbose error messages out of the script? Thanks...
Yes, you can eneble logging in the log4j.properties file. It is located in the www/WEB-INF/classes directory. Look for the entry log4j.logger.net.sf.basedb.clients.migration and change it's value to debug: log4j.logger.net.sf.basedb.clients.migration=debug Anyway, we think the error happend because your Base2 database wasn't a fresh installation, ie. you already had some roles in it. The problem was a hard-coded array size which probably resulted in an getting out of bounds. We have fixed this problem for the next release. We have also changed the logger to always output error messages. /Nicklas > > >>>>> > > [EMAIL PROTECTED] bin]# ./migrate_from_1.2.sh > 12:42:10 START MIGRATION > 12:42:10 Role > 12:42:11 Left Done Items/s ETE > 12:42:11 19 : 0 0% > createRole : 27 > [EMAIL PROTECTED] bin]# ./migrate_from_1.2.sh > 12:42:33 START MIGRATION > 12:42:33 Role > 12:42:34 Left Done Items/s ETE > 12:42:34 19 : 0 0% > createRole : 28 > [EMAIL PROTECTED] bin]# > > >>>>> > > --Chris W ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to [EMAIL PROTECTED]