> this will list all your DSNs:
>
>
> <cfset factory = createobject("Java", "coldfusion.server.ServiceFactory")>
>
> <cfset dsns = factory.DataSourceService.getDatasources()>
> <cfdump var="#dsns#">
>
> now just have to find how to add them...
>Cool.... >From the same message by Steve Erat that I just posted, he doesn't straight out say how to do it, but hints that its possible.... "I have seen some cases where a manual or externally automated modification to jrun-resources.xml (say an ISP custom script for adding dsn's or someone at home tinkering with the service factory, or ??) can end up creating duplicate nodes for a particular datasource, each with slightly different settings. " -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
