global bluedragon.xml and jvm classpath
05/04/08 3:01 AM
If the bluedragon jars were loaded into the jvm global classpath and a single bluedragon.xml was set for several contexts in their respective web.xml files, is it possible to set individual configuration directories (i.e tempdirectory) for each context? I can guess there would be session/race condition problems otherwise - is using bluedragon in this manner just not viable, or not designed to function this way?
RE: global bluedragon.xml and jvm classpath
05/04/08 11:45 AM
i've been playing a little with this and i was able to get every jar file to load through the common class loader except for OpenBlueDragon.jar - that went into the app class loader, and i was able to create separate configuration directories for each context. I'm just not sure of what problems to expect if any by doing this.
RE: global bluedragon.xml and jvm classpath
05/05/08 4:35 AM
You're right, it's not designed to function that way. So setting individual configuration directories per context isn't possible via the single bluedragon.xml.
By using the same bluedragon.xml you certainly risk the possibility of 2 bluedragon instances trying to write to the file at the same time and ultimately corrupting the file.
Further still, if the instances are pointing to the same directory for cfmail then you'll most likely get issues when sending emails as the multiple bluedragon mail sending threads battle it out for the spooled emails.