Title:
Bug 80519:the cfapplication tag is throwing an error in cf9 when I try to put in the datasource attribute
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Matthew Graff / Matthew Graff (Matthew Graff)
Created: 10/29/2009
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,0,251028 / 259816
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Win All
Vote Count: 1
Problem:
the cfapplication tag is throwing an error in cf9 when I try to put in the datasource attribute
Method:
in the application.cfm set the cfapplication tag and put in the datasource attribute
Result:
Attribute validation error for tag CFAPPLICATION. It does not allow the attribute(s) DATASOURCE. The valid attribute(s) are APPLICATIONTIMEOUT,CLIENTMANAGEMENT,CLIENTSTORAGE,LOGINSTORAGE,NAME,SCRIPTPROTE CT,SECUREJSON,SECUREJSONPREFIX,SERVERSIDEFORMVALIDATION,SESSIONMANAGEMENT,SESSIO NTIMEOUT,SETCLIENTCOOKIES,SETDOMAINCOOKIES.
[vmannebo 11/19/09]
Error Executing Database Query.
Datasource not found.
The error occurred in C:\work\depot\ColdFusion\cf_main\cfusion\wwwroot\bugs\81519\SP\sp.cfm: line 22
20 : DBVarName ="@data_type"
21 : value = "#count#"
22 : CFSQLType = "CF_SQL_Integer">
23 :
24 : </cfstoredproc>
SQL { (param 1) = call sp_datatype_info( (param 2) )}
DATASOURCE sqlserver2005_merant
Resources:
* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Remote Address 127.0.0.1
Referrer http://localhost:8500/bugs/81519/SP/
Date/Time 19-Nov-09 11:41 AM
Stack Trace
at cfsp2ecfm258127769.runPage(C:\work\depot\ColdFusion\cf_main\cfusion\wwwroot\bugs\81519\SP\sp.cfm:22) at cfsp2ecfm258127769.runPage(C:\work\depot\ColdFusion\cf_main\cfusion\wwwroot\bugs\81519\SP\sp.cfm:22)
java.sql.SQLException: Datasource not found.
at coldfusion.sql.DataSrcImpl.getCachedConnection(DataSrcImpl.java:167)
at coldfusion.sql.DataSrcImpl.getConnection(DataSrcImpl.java:108)
at coldfusion.sql.SqlImpl.executeCall(SqlImpl.java:433)
at coldfusion.tagext.sql.StoredProcTag.executeQuery(StoredProcTag.java:280)
at coldfusion.tagext.sql.StoredProcTag.doEndTag(StoredProcTag.java:229)
at cfsp2ecfm258127769.runPage(C:\work\depot\ColdFusion\cf_main\cfusion\wwwroot\bugs\81519\SP\sp.cfm:22)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
at coldfusion.CfmServlet.service(CfmServlet.java:200)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040362
External Customer Info:
External Company:
External Customer Name: Matthew Graff
External Customer Email: 23276A2844036A06992016B6
External Test Config: 10/29/2009
Attachments:
Comments: