Matt, Thanks. I'm trying to create the datasource even if it exists when the server starts. I was finally able to get the server.cfc to load but I now see session not available error in the obd log file.
I was using the datasourcecreate function but I was running in to issues with it since the purpopse of this app is its a web services only, and it can have around 3000 clients hitting it all at once. So if you have any examp,e source that would add a mysql datasource using the server.cfc that would be great. Thanks, Charlie Sent from my iPad On Jan 21, 2011, at 10:20 PM, Matthew Woodward <[email protected]> wrote: > On Mon, Jan 17, 2011 at 7:20 PM, Skellington <[email protected]> wrote: > Hello, > I'm trying to set a dsn using server.cfc but I'm not having much > luck. > > Apologies again for not getting back to you sooner. Feel like my deck's > finally clearing a bit. > > Are you wanting to add the datasource permanently on server startup, or did > you want to create one that only exists as long as the server's running, and > it would get created new each time? > > If you just want it created on the fly each time the server starts up, you > can use the new DatasourceCreate() function: > http://www.openbluedragon.org/manual/?/function/datasourcecreate > > If you want to check to see if one exists and then create it if it doesn't, > let me know and I'll whip up the code to do that via the admin console > objects. > -- > Matthew Woodward > [email protected] > http://blog.mattwoodward.com > identi.ca / Twitter: @mpwoodward > > Please do not send me proprietary file formats such as Word, PowerPoint, etc. > as attachments. > http://www.gnu.org/philosophy/no-word-attachments.html > -- > Open BlueDragon Public Mailing List > http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon > official manual: http://www.openbluedragon.org/manual/ > Ready2Run CFML http://www.openbluedragon.org/openbdjam/ > > mailing list - http://groups.google.com/group/openbd?hl=en -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en
