Figures, my edition of CF8 gets corrupted on my server two days after CF9 launches so when I went to download a fresh copy, I can't find it. Does anyknow know where I can find a download for CF8?
ColdFusion 8 Download
Error Executing Database Query.
Hi I am getting this error.
Error Executing Database Query. | |
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near |
This is my Code
<cfoutput><cfset jobappid = '#appfirstname##form.applastname##DateFormat(Now(), "mmm-dd-yyyy")#'>
#jobappid#<br>
<cfset appdate= '#DateFormat(Now(), "yyyy-mmm-dd")#'>
</cfoutput>
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobapp(jobappid, appdate, applastname, appfirstname, appmiddlename, appphone, appstreet, appcity, appstate, appzip, fulltime, eighteen, appposition, previous, previousdate, available, experiences, crime, hsaddres, hssubjects, hsyears, hsgrad, hsdiploma, collegeaddres, collegesubjects, collegeyears, collegegrad, collegediploma, techaddres, techsubjects, techyears, techgrad , techdiploma, q1, q2, q3)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appfirstname#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appmiddlename#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.applastname#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appphone#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appstreet#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appcity#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appstate#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appzip#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.fulltime#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.eighteen#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appposition#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.previous#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.previousdate#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.available#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.experiences#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.crime#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.hsaddres#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.hssubjects#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.hsyears#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.hsgrad#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.hsdiploma#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.collegeaddres#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.collegesubjects#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.collegeyears#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.collegegrad#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.collegediploma#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.techaddres#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.techsubjects#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.techyears#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.techgrad#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.techdiploma#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.q1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.q2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.q3#"/>
</CFQUERY>
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappemp(jobappid, company, busphone, empfromdate, emptodate, startwage, endwage, leave, supervisor, description)
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.company1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.busphone1#"/>
<cfqueryparam cfsqltype="cf_sql_date" VALUE="#form.empfromdate1#"/>
<cfqueryparam cfsqltype="cf_sql_date" VALUE="#form.emptodate1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.startwage1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.endwage1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.leave1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.supervisor1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.description1#"/>
)
</CFQUERY>
<cfif not #form.company2# is "">
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappemp(jobappid, company, busphone, empfromdate, emptodate, startwage, endwage, leave, supervisor, description)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.company2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.busphone2#"/>
<cfqueryparam cfsqltype="cf_sql_date" VALUE="#form.employfromdate2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.startwage2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.endwage2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.leave2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.supervisor2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.description2#"/>
</CFQUERY>
</cfif>
<cfif not #form.company3# is "">
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappemp(jobappid, company, busphone, empfromdate, emptodate, startwage, endwage, leave, supervisor, description)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.company3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.busphone3#"/>
<cfqueryparam cfsqltype="cf_sql_date" VALUE="#form.employfromdate3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.startwage3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.endwage3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.leave3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.supervisor3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.description3#"/>
</CFQUERY>
</cfif>
<cfif not #form.company4# is "">
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappemp(jobappid, company, busphone, empfromdate, emptodate, startwage, endwage, leave, supervisor, description)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.company4#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.busphone4#"/>
<cfqueryparam cfsqltype="cf_sql_date" VALUE="#form.employfromdate4#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.startwage4#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.endwage4#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.leave4#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.supervisor4#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.description4#"/>
</CFQUERY>
</cfif>
<cfif not #form.company5# is "">
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappemp(jobappid, company, busphone, empfromdate, emptodate, startwage, endwage, leave, supervisor, description)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.company5#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.busphone5#"/>
<cfqueryparam cfsqltype="cf_sql_date" VALUE="#form.employfromdate5#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.startwage5#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.endwage5#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.leave5#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.supervisor5#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.description5#"/>
</CFQUERY>
</cfif>
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappref(jobappid, ref, refaddress, refphone)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.ref1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.refaddress1#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.refphone1#"/>
</CFQUERY>
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappref(jobappid, ref, refaddress, refphone)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.ref2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.refaddress2#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.refphone2#"/>
</CFQUERY>
<cfquery username='#username#' password='#password#' datasource='#datasource#'>
INSERT INTO jobappref(jobappid, ref, refaddress, refphone)
VALUES('#jobappid#')
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.ref3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.refaddress3#"/>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.refphone3#"/>
</CFQUERY>
<cfmail to="doug@.com" from="jobApp@.com" subject=".com Job Application" type="HTML">
<font face="Verdana,Geneva,Arial,Helvetica,sans-serif" size="-1"><strong>
<cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.appfirstname#"/><cfqueryparam cfsqltype="cf_sql_varchar" VALUE="#form.applastname#"/> </strong> has applied for a position:<br>
<br>
<b>Date Applied: </b><cfqueryparam cfsqltype="cf_sql_date" VALUE="#form.appdate#"/><br>
Go to the admin section to review this application.
</cfmail>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css">
<title></title>
</head>
<body>
<div align="center"><img src="images.gif" alt="" width="135" height="89" border="0"><p><br><br><br>
<h2>Your Application has been Processed Completely.</h2><br><br>
<form>
<input style="background-color: 069;
border-color: ccc;
font-family : verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10px;
color: #fff;" type=button value="Close This Window" onClick="javascript:window.close();">
</form></div>
</html>
</body>
Folder Directory Create
I recently Migrated our sharepoint from windows 2003 to 2008. In doing so I lost Cold fusion and a directory Wizard, This wizard was put in place to create a folder directory out on our network drive when used. Now I have Coldfusion 10 installed on my new sharepoint server, I have brought over all of these directory wizard files but it still does not work. Its like I am missing a certain link in the chain here. Can anyone shed some light on the topic?
The wizard opens up to the first page, which it says next to continue. You would select a company which the code is written to pull a companies list from the network drive, then it creates a folder directory with files in the on that network drive. Now when you lick the initital next button it buttons and takes us to a The website cannot display the page. I still have all the original code files, placed into the same exact directory on the sharepoint server. The sharepoint server is an identical match, but its like somewhere something isnt lined up correctly.
I also have downloaded Coldfusion builder also.
Coldfusion 9 MySQL communications link failure
've just installed Coldfusion 9, and everything is now working fine and it's connected to my MySQL databse via the Coldfusion Administrator as a datasrouce, but I get this error occuring infrequently, maybe 5 - 10 times a day. I don't know how to recreate it, and if you get it and refresh the page it goes away.
Error Executing Database Query. Communications link failure Last packet sent to the server was 0 ms ago
The error is being caught by coldfusion as it's displaying a user friendly message and emailing me the problem.
Almost all of the time the pages load and work fine, and this problem has only happened since going from CFMX7 to CF9, both using MySQL.
The MySQL version I am using is "5.0.77"
I've tried localhost and 127.0.0.1 as the host in the datasource, it makes no difference.
Does anyone have any idea what this is and how to fix it? I've seen some similar posts for Java but I don't see how to translate the fix across into Coldfusion?
And could it be a MySQL or Apache problem anyway?
[CF8] java.lang.NullPointerException
On my CF8 web host, I sometimes get strange java.lang.nullpointerexceptions errors. All my code works flawless since the year 2000. The same pages do work but sometimes, maybe 1 out of 30 try's, the error appears again. First I thought it was a session problem or a problem with Application.cfm. But I stripped those down and it even happens with simple queries. I think it has to do with queries or MySQL 5.
Has anyone encountered this error? The system says "The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code." But I have all my values defined and it is not a programming error. It is more like a server configuration error I guess.
The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
500
ROOT CAUSE:
java.lang.NullPointerException
at com.mysql.jdbc.Statement.setMaxRows(Statement.java:2178)
at coldfusion.server.j2ee.sql.JRunStatement.setMaxRows(JRunStatement.java:214)
at coldfusion.sql.Executive.executeQuery(Executive.java:1229)
at coldfusion.sql.Executive.executeQuery(Executive.java:1008)
at coldfusion.sql.Executive.executeQuery(Executive.java:939)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:325)
at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:831)
at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:521)
at cfhetkoor2ecfm251397670.runPage(E:\westlandkoorconcordia.nl\wwwroot\hetkoor.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
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.CfmServlet.service(CfmServlet.java:175)
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:284)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
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)
javax.servlet.ServletException: ROOT CAUSE:
java.lang.NullPointerException
at com.mysql.jdbc.Statement.setMaxRows(Statement.java:2178)
at coldfusion.server.j2ee.sql.JRunStatement.setMaxRows(JRunStatement.java:214)
at coldfusion.sql.Executive.executeQuery(Executive.java:1229)
at coldfusion.sql.Executive.executeQuery(Executive.java:1008)
at coldfusion.sql.Executive.executeQuery(Executive.java:939)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:325)
at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:831)
at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:521)
at cfhetkoor2ecfm251397670.runPage(E:\westlandkoorconcordia.nl\wwwroot\hetkoor.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
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.CfmServlet.service(CfmServlet.java:175)
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:284)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
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)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70 )
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:284)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
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)
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.Text
cfmail glitches in ColdFusion 9 (not sending, but says sent)
I'm seeing the strange behavior with basic cfmail sends in CF9. CF9 has an entry in the mailsent log that is was successfully sent but on the MailEnable logs (Mailenable exists on the same server as CF and CF sends all it's l through it) there wasn't even a connection attempt. Now this is a my bulk mail server and I'm probably averaging about 70,000 e-mails a day from that server and most mails go through just fine.
What i've discovered about the few that don't is they have a few things in common. Anything that goes out with a "mailworker" thread works 100% of the time. Mail that goes out as a "scheduler" thread seems to be 50/50". There is no spam filter involved here. I'm just checking logs from the CF side and from the mailenable side. CF says is was sent....mailenable doesn't ever see an attempt at that time. I've seen this on another of my CF9 servers that relays through our ISP's SMTP server. CF send it was sent in the mail sent log, but ISP has to record of a conenction attempt let alone a full message at that time. I think there is a CF9 cfmail bug, I never had an issue with this on CF8 (or cf7 for that matter). The setup was exactly the same. These problems just started a couple mounth ago when we upgraded to CF9.
Anyone have any ideas, or if other people think this sounds like a bug how I can prove it to Adobe?
-Dan
ColdFusion 10 instance/Tomcat dying at predictable intervals (white screen of death)
Cross-Post from Stack-Overflow: ColdFusion 10 instance/Tomcat dying at predictable intervals (white screen of death) - Stack Overflow
---
For the last few days out team has been struggling with an ongoing issue where at very predictable intervals one ColdFusion instance has been white-screen-of-death-ing.
Every three hours the site would simply start returning a blank white page for any url. We would then restart the instance and everything would be great... for another three hours, almost to the minute. Of course this happened on a Friday, so all weekend people were taking turns re-booting the instance every time it died.
As best as I can discern, no one made any changes to either ColdFusion or our server environment right before this started happening. Before this the instance was running fine.
Since then we've seen that the isapi_redirect.log file for this instance is filled with Tomcat/connection errors.
We followed the excellent instructions at Resolve Stability Problems and SPEED UP ColdFusion 10 » Web Trenches and adjusted our connector settings as recommended. While this may have very well helped out general performance, and changed the timeframe from 3 to 3.5 hours between crashes, it has not resolved it.
Before that we even tried moving the site from one of our virtual servers to another with no luck.
We tried re-booting IIS and even re-booting the entire server the one night to see if that would help, and still nothing.
Below is as much information as I can provide from what we are seeing in our logs and our configurations. Any help would be very very much appreciated and please let me know what other details I can provide that would be useful.
---
We are running IIS v7.5.7600.16385
This is the only website/IIS record bound to this instance and it's bound specifically to it, not "All websites".
When the problem occurs, I do not think any requests makes it to the instance... the IIS logs show that connections are still happening, but the http.log files for the instance just stop.
I am not sure if the tomcat related errors are the problem or a symptom.
The server runs fine when the problem occurs, we have several other CF instances running along side this one that have no issues.
The CF admin for the instance in question loads and is completely responsive during the problem (This has not often, for me, been the case for other past issues with an instance).
Again, no one changed anything with our code, CF instance configuration, or server configuration directly prior to this problem starting as far as we can tell.
---
Server Product: ColdFusion
Version: 10,0,13,287689
Tomcat Version: 7.0.23.0
Edition: Enterprise
Operating System: Windows Server 2008 R2
OS Version: 6.1
Update Level: chf10000013.jar
Adobe Driver Version: 4.1 (Build 0001)
---
workers.properties:
worker.list=Instance_Codebase
worker.Instance_Codebase.type=ajp13
worker.Instance_Codebase.host=localhost
worker.Instance_Codebase.port=8014
worker.Instance_Codebase.max_reuse_connections=250
worker.Instance_Codebase.connection_pool_size=250
worker.Instance_Codebase.connection_pool_timeout=60
---
A sample of our isapi_redirect.log. A full chunk of it can be viewed at http://trasper.com/files/isapi_redirect.log.txt.
The problem (in this example) happened right about at 11:41pm as far as we can tell.
[Wed Jun 25 23:40:34.503 2014] [10012:912] [info] ajp_send_request::jk_ajp_common.c (1658): (Instance_Codebase) all endpoints are disconnected, detected by connect check (27), cping (0), send (0)
[Wed Jun 25 23:40:34.504 2014] [10012:1396] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (1313): (Instance_Codebase) can't receive the response header message from tomcat, network problems or tomcat (127.0.0.1:8014) is down (errno=54)
[Wed Jun 25 23:40:34.820 2014] [10012:1396] [error] ajp_get_reply::jk_ajp_common.c (2190): (Instance_Codebase) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Wed Jun 25 23:40:34.823 2014] [10012:1396] [info] ajp_service::jk_ajp_common.c (2692): (Instance_Codebase) sending request to tomcat failed (recoverable), (attempt=1)
[Wed Jun 25 23:40:34.708 2014] [10012:7880] [error] ajp_get_reply::jk_ajp_common.c (2190): (Instance_Codebase) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Wed Jun 25 23:40:40.477 2014] [10012:2296] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1047): Failed opening socket to (127.0.0.1:8014) (errno=61)
[Wed Jun 25 23:40:40.364 2014] [10012:8256] [error] ajp_service::jk_ajp_common.c (2711): (Instance_Codebase) connecting to tomcat failed.
[Wed Jun 25 23:40:40.825 2014] [10012:7060] [error] HttpExtensionProc::jk_isapi_plugin.c (2309): service() failed with http error 503
[Wed Jun 25 23:40:40.877 2014] [10012:10364] [error] ajp_send_request::jk_ajp_common.c (1669): (Instance_Codebase) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)
[Wed Jun 25 23:40:40.965 2014] [10012:10364] [info] ajp_service::jk_ajp_common.c (2692): (Instance_Codebase) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)
[Wed Jun 25 23:40:40.857 2014] [10012:1020] [error] HttpExtensionProc::jk_isapi_plugin.c (2309): service() failed with http error 503
Upgraded to CF11: cflayout tabs shows scrollbars
After upgrading from ColdFusion 10 to ColdFusion 11, vertical scrollbars are now showing up in cflayoutarea.
We use ColdFusion.Navigate to submit data and refresh a cfdiv that is inside cflayoutarea. Upon submission, the cfdiv shows the new data as expected, but the user must scroll down within the tab to view the data.
I have tried setting the style height:100% on both cflayout and cflayoutarea. I have also tried overflow: visible. I also tried the overflow attribute of cflayoutarea, but this is ignored.
Any help would be appreciated.
Thanks,
Ron
Object Instantiation Exception. Creating Java Object
Hi,
I am trying to implement CyberSource Simple Order API and I am getting an error on CFobject
Object Instantiation Exception. | |
An exception occurred when instantiating a Java object. The class must not be an interface or an abstract class. Error: com/cybersource/ws/client/ClientException. |
So far I've placed the .jar file into :\ColdFusion8\wwwroot\WEB-INF\lib directory and on my cfpage I got:
<cfobject action="create" type="Java" class="CyberSource" name="auth">
Does anyone have any experience with CyberSource or the source of the error code?
Thanks in advance!
HTTP Error 401.3 - Unauthorized You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.
Hi,
I got this 401.3 error when running the http://127.0.0.1/CFIDE/administrator/index.cfm configuration page after installation of coldfusion 8 standard on win 2008 32bit server which has IIS7. Coldfusion 8 files are located on D drive instead of the default C drive. I already duplicate right access from C to D but still get the error. The IIS 7 error page shows that the logon account is Anomymous. I traced default web site authentication and it poited to NT Authority\IUSR account so I added this account full access to D:\inetpub\wwwroot but that didn't help either. Does anybody come across this problem? Any help is greatly appreciated.
cflocation not working when code is part of a query
I've got a template page that runs a query based on the page name in the url. The query gets all the code for that page from the database. No problems there. The data is mostly html and the page displays wonderfully.
The trouble I'm having is that any included CF code doesn't run.
How do I get the server to evaluate the code coming back in the query so it properly runs the code prior to dumping it on to the page?
Thanks in advance.
Server Error - Macromedia application server(s) are unreachable
quote:
Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request.
My first thought was an application mapping error or something happened to the .cfm mappings. Everything checked out fine though. So I looked in the wsconfig log files and saw this.
quote:
2008-06-04 16:54:58 jrISAPI[ 760:1048] could not initialize proxy for 127.0.0.1:51800
2008-06-04 16:54:58 jrISAPI[ 760:1048] Couldn't initialize from remote server, JRun server(s) probably down.
Something was definitely running on port 51800 though since I could telnet to it. No clue why it couldn't initialize. Any ideas?
Thanks.
Steve
When will Coldfusion 10 be updated with a newer version of Tomcat, to support PCI compliance?
Hello,
McAfee Scan Alert is reporting that Tomcat version 7.0.23.0 is not pci compliant.
We're on CF10 and just updated to update 12.
We've read in another thread that Tomcat is specialized for CF and that
CF should be updating Tomcat as needed.
The complete Scan Alert warning is:
Scan indicates that you are using a vulnerable version of apache tomcat web server. The version of tomcat deployed on this web server may be outdated and vulnerable to a host of issues (including but not limited to)
- denial of service attacks
- directory traversal
- default admin passwords
- execution of code by arbitrary file uploads
- bypassing of access restrictions
- cross-site scripting
- session fixation
- bypass of CSRF prevention filter
Thanks in advance,
-Mike
PDF function error: "Platform, Locale, and Platform Name must not be null"
I'm trying to read in a pdf form, complete the fields and send it to the user's browser. However I approach it, whenever I use a cfpdf type of tag, I get the error message "Platform, Locale, and Platform Name must not be null".
For example the following flags an error on the cfpdfformparam line:
<cfpdfform action="populate" source="Order Acknowledgement Form4.pdf">
<cfpdfformparam name="Text1" value="Test Data">
</cfpdfform>
What am I doing wrong?
Using CF9.01 Developer edition. The PDF was created in Acrobat X from a Word file.
The following works and lists the form field, so I'm guessing that it's not a problem with the source file.
<cfpdfform source="Order Acknowledgement Form4.pdf" result="resultStruct" action="read"/>
<cfdump var="#resultStruct#">
A strange query of queries bug in CF11?
Hi,
I have this strange query of queries result that could be a bug in CF11. The result is fine in CF10.
Basically, I have 2 queries, qrA and qrB. I do a join of the two in joinQr, after which I do a query of qrA. Since I didn't alter qrA in any way, I would expect newQrA to give me the same result as qrA. However it only gives me one row ("D"). Now, here's the strange thing: If I start off qrA with the letters in ascending order ["A", "B", "C", "D"], then newQrA gives me the right result.
<cfset qrA = queryNew("")><cfset queryAddColumn( qrA, "size", "varchar", [ "D", "A", "B", "C" ] )><cfset qrB = queryNew("")><cfset queryAddColumn( qrB, "size", "varchar", [ "A" ] )><cfset queryAddColumn( qrB, "quantity", "integer", [ 0 ] )><cfquery name="joinQr" dbtype="query"> select qrA.*, qrB.quantity from qrA, qrB where qrA.size = qrB.size</cfquery><cfquery name="newQrA" dbtype="query"> select * from qrA</cfquery><cfdump var="#qrA#"><cfdump var="#qrB#"><cfdump var="#joinQr#"><cfdump var="#newQrA#">
Using Coldfusion cfform validation with image onclick="window.document.forms[0].submit();"
Hi everybody,
I would like to use Coldufusion cfform validation submiting the form with an image and onclick="window.document.forms[0].submit();" When i try the form is submitted but without any cfform.js validation.
When you don't use a <cfinput type="submit"> it seems to bypass the coldfusion cfform validation.
Is it possible to submit a cfform without using a <cfinput type="submit"...> with Coldfusion standard cfform validation ? Any turn over ?
CF 8
Windows 2003
IIS 6
Thanks in advance for any help and sorry for my terrible english
Jean-Jacques.
Is anyone else having frequent frozen editor problems?
My editor freezes on me every day, at least once, and sometimes a lot more. Today it's happened 4 times. I never know when it's going to happen, but it seems to happen more often when I'm working on large files with a mix of cfscript, cftags and html syntax. To get back to work, I have to close the eclipse window, sometimes clicking the close box 2 or 3 times, then force quit the eclipse process from the task manager, and then I can restart eclipse.
I'm running Windows 7 (x64), eclipse 3.5.1 build M20090917-0800 (x32) and ColdFusion Builder 1.0.0.263215
I cannot start without errors that show up in my log, even after I clear it.
I attached my log file.
How remote instances work on Coldfusion Clustering?
I have just decided to set up my site using ColdFusion clustering in the staging environment. I need to find out what code adjustments are required when we move to a cluster environment. I have two machines where Coldfusion server is installed. Till now Steps I followed:
- On CFServer_1 I have created a instance.(cfinstance_1)
- On CFServer_2 I have created another instance. (cfinstance_2)
- On CFServer_1 I have created a Cluster using these two instances.
- Now on CFServer_1 I have created a IIS site(testsite.com) pointing to my codebase.
- Now On CFServer_1, Using the Web Configuration Tool I have associated testsite.com with the cluster.
Now my question is Do I also need to set up the code base on the second server(CFServer_2), Create a site in IIS with same name(testsite.com) and associate the site with the cfinstance_2?
cffile MIME types
One of my users was trying to upload a Microsoft Word document using CFFILE. The document was created in Office 2007, but was saved in Office 2003 format (.doc). The upload is done with this code, which has worked in the past with PDF's:
<cftry>
<cffile action="UPLOAD"
filefield="file_upload"
destination="files\temp"
nameconflict="OVERWRITE"
accept="application/unknown,application/pdf,application/msword,text/html,text/plain,appli cation/rtf,text/richtext,text/xml">
<cfset accepted="true">
<cfcatch type="any">
<cfset accepted="false">
</cfcatch>
</cftry>
When I cfdump the cfcatch structure after this fails, it shows the MIME type of the file that I was attempting to upload as "application/x-tika-msoffice"
When I add this MIME type to the accept parameter of cffile and try the upload again, it gives this error:
The MIME type or the Extension of the uploaded file application/x-tika-msoffice was not accepted by the server.
What can I do to allow this file to be uploaded?
I am using CF10 Standard on IIS 7.5 on Windows Server 2008R2.
Thanks.
Free barcode generator?
CF?