Using UUID's for CFTOKEN and Database client storage
Just a heads up if your using UUID's for CFTOKEN values with database client storage when upgrading to CFMX, be sure to change the size of the cfid field in the CDATA and CGLOBAL tables. The cfid field stores both the cfid and cftoken value as follows cfid:cftoken. The cfid is usually around 7 characters, and the cftoken when using a UUID is a 35 character UUID plus a 17 character prefix. Just to be safe I changed the size to 64 characters, and changed it to a varchar type.
Below is the error message generated:
Operation failed on the data source named "yourdatasource".
Reason of failure "[Macromedia][SQLServer JDBC Driver][SQLServer]String or
binary data would be truncated."
Stack Trace:
coldfusion.runtime.ClientScopeDBException:
Operation failed on the data source named "datasourcename".
at coldfusion.runtime.JDBCHelper.Store(Unknown Source)
at coldfusion.runtime.ClientScopeServiceImpl.PersistClientVariables(Unknown Source)
at coldfusion.runtime.ClientScope.commitChanges(Unknown Source)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source)
at coldfusion.filter.BrowserFilter.invoke(Unknown Source)
at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)
at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)
at coldfusion.CfmServlet.service(Unknown Source)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Trackbacks
Trackback Address: 47/E68773EF060A60AC5DF3BD01B1F9C2A0
Comments
On 07/08/2004 at 9:56:39 AM EDT rai wrote:
1
Can someone help? I getting a similar error as above but its to do with "Invalid precision value" which I assume is to do with integers. any ideas.
Regards r
Operation failed on the data source named "clientVarRepository". Reason of failure "[MERANT][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver]Invalid precision value " Please try the following: Check the CFML Reference Manual to verify that you are using the correct syntax. Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Remote Address 172.16.2.42 Referrer http://172.16.2.2/CFProjects/Projectorpoint/ultraportableprojectors.htm Date/Time 08-Jul-04 02:53 PM
Post a Comment
Recent Entries
- Cache Template in Request Setting Explained
- What Version of Java is ColdFusion Using?
- ColdFusion 9 Performance Brief from Adobe
- Request Filtering in IIS 7 Howto
- J2EE Session Cookies on ColdFusion / JRun
- Hands on ColdFusion Security Training
- ColdFusion 9 Solr Vulnerability - Are you at Risk?
- FCKEditor Year 2010 Bug for Firefox 3.6 with ColdFusion
Regards r
Operation failed on the data source named "clientVarRepository". Reason of failure "[MERANT][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver]Invalid precision value " Please try the following: Check the CFML Reference Manual to verify that you are using the correct syntax. Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Remote Address 172.16.2.42 Referrer http://172.16.2.2/CFProjects/Projectorpoint/ultraportableprojectors.htm Date/Time 08-Jul-04 02:53 PM



add to del.icio.us



