> Is possible to configure a data-source in Tomcat and have it visible
> to the CF11 instance? If so how? I have tried following the Tomcat
> doc but continue to run into this error:
> DAOException: Naming Exception while looking up DataSource Connection
> mydb:
> Name [mydb] is not bound in this Context. Unable to find [mydb].
>
> Anyone know how to do this? Thank you in advance!
You could try this and call the necessary methods such as password ,username,
etc.
<cfset obj = CreateObject("java",
"org.apache.tomcat.jdbc.pool.DataSourceProxy")>
<cfdump var = "#obj#">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360013
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm