Thanks Dave, I guess I should be more specific in that our application uses 
dynamically created JNDI datasources (each client has a dedicated database for 
security reasons). 

So I am not trying to create a JNDI datasource through the AdminAPI but rather 
dynamically create a CF datasource that links to an existing JNDI datasource.

One trick I found that is getting me close is setting the driver name to "jndi" 
(got that from the neo-datasource.xml), but I am still getting an error. My 
next strategy is to just directly call the java classes coldfusion uses 
internally. Surely prone to problems down the line but I believe it is my best 
bet.

Thanks!
Kenton

>> We are currently trying to allow our java/jsp pages share 
>
>The admin API doesn't support creating JNDI datasources, because those
>belong to the J2EE server running CF; CF itself is basically just a J2EE
>EAR. Different J2EE servers have different mechanisms for creating
>datasources.
>
>> Also if you use/used JNDI with CF have you run into any surprises?
>
>Not really. I've used JNDI datasources that talked to SQL Server before
>without any problems that I can recall.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307317
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to