|
From: Thomas F. <tfo...@us...> - 2005-01-27 22:29:14
|
On Thu, 2005-01-27 at 16:51 +0100, sebastien wrote: > It makes no difference. I still get the problem. > I also tried to upgrade the mysql-lib to same version than you without > success. I'll be honest, I'm baffled! What's probably happening is that the connection is still being closed when the hibernate session gets closed, and that this is freaking out the dataloader. I'd like to try something else: attached is a patched DataLoader class file. This one checks whether the roles list is null before trying to load the data. This prevents the NullPointerException, and hopefully will allow the data loading process to continue. Please test it by replacing the class file you currently have (i.e. za.org.coefficient.util.ejb.DataLoader). Although I'd still like to get to the bottom of the problem and find a solution, I (for the meanwhile) attach a dump of my database (newly created by coefficient). If the abovementioned patch still doesn't work, the dump should allow you to get the system running, so that you can at least look at it (while we try to figure out how to fix your problem). > INFO: Jk running ID=0 time=0/30 config=C:\Program Files\Apache Group > \Tomcat 4.1\bin\..\conf\jk2.properties I guess this means you're running Windows. Wonder whether there is anything MySQL does differently on Windows, that could be causing the problem? I'm currently on study leave, but once I'm back at the office, I'll give it a shot on Windows box, to see whether it also happens there. Let me know how this goes. Cheers T -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. |