On Fri, Jul 24, 2009 at 4:17 AM, go canal wrote: > trying my luck here again....i know it should be anwsered by spring team... > I posted to the fpring forum but have not heard any > http://forum.springsource.org/showthread.php?t=75217 > > basically I configured CND and first time registration is successful. but if I restart my web application, I got error msg: > > org.apache.jackrabbit.core.nodetype.InvalidNodeTyp  eDefException: {http://canal.net/canal}canalFile already exists > > I suspect that spring module does not check this exception... and it seems that it is a known issue, not resolved: http://jira.springframework.org/browse/MOD-470 Yes, it came up once and I remember looking at the sping jcr module code and saw that it does not check for that case, ie. does not properly catch this exception and log an info like "nodetype xy is already registered" or something. > Or do I have to handle the registration in my own code during init ? I think it can be done, but I prefer configuration over coding  for this type of tasks..... Well, you can provide a fix for the spring jcr module, but if that process is too slow (I would guess so, the project doesn't seem very active to me), you will have to do the registration yourself. Which is not difficult: http://jackrabbit.apache.org/node-types.html Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com