ColdFusion Verity Error
we experiencing lots of issues with the verities, we have
reinstalled ColdFUsion a couple of times
with no luck. Our project due date was long time ago and we
would really appreciate if you can give us some help.
Please...
We have latest windows server with latest cf . 4gb of ram.
The verity and coldfusion are installed on the same server.
Verity is part of the coldfusion installation. We are using
Coldfusion 7.02
We are receiving now new error that
<b>An error occurred while creating the collection:
com.verity.api.administration.ConfigurationException: Failed to
retrieve style path.</b>
Where should we look at this point.
Ken Smith from Adobe Systems Rocks!
This guy really helped us solving this problem. We had it for
the last couple of weeks. The solution is simple,
"run cfusionmx7\verity\verity-uninstall.bat and then
cfusionmx7\verity\verity-install.bat inside a DOS window as
administrator to the windows machine";
Thank you very much.
Dima Svirid
Snr. Developer
WebImpact
Similar Messages
-
Why is it that after all these years Verity support in
Coldfusion is still a black art when it comes to its errors and
support. I have asked numerous places with regards to what Error
(-1705), (-1703) and the dubious General Error(2) mean when
searching or indexing a collection, but know one in the community
or in these forums seems to have the answer. Does Anyone know where
I can find this information. Even the Verity Error reference does
not list these or tell us what any of the errors means other than
it was an error. This is very frustrating and we are now looking at
going to either a google search appliance or rewriting the whole
thing using Lucene.Check for a symbolic link from '_ssol26' directory to
'_solaris' directory. They should both be pointing to the same
directory so check the path. -
ColdFusion + JRE Upgrade = Verity Error?
There's a documented ClassLoader bug in Java 6, which was fixed in update 10. I'm attempting to upgrade the JRE in ColdFusion 8 from 1.6u3 to 1.6u18, and everything seems to be working fine -- with the exception of Verity. Accessing "Verity Collections" through the CF admin or a page containing verity cf tags results in a "Could not initialize class com.verity.security.k2.K2Encrypt" error.
It seems like there was a similar issue with CF 7 when upgrading the JRE. Is there something in the verity.jar that is very version specific, and has anybody found a workaround for this?
Thanks,
DeanBit more information, this happened after installing the developer addition and entering our standard licence. As soon as the administrator confirms the licence and updates the "verity K2 server" links disappears from the vertical menu!
I have checked the comparison chart from adobe and standard does have verity.
Any help would be much appreciated. -
ColdFusion Verity Search Float Problem
I have a database full of products. One of the fields for each product in the database is a minimum price. I'm trying to create a search that says something like "find all products with a minimum price between X and Y." However, when it returns results, it includes numbers that are out of the range. For instance, if I say between 2 and 3 dollars, it will return the correct results but will include numbers like 25.00 and 245.00, and when I do something like "between 4 and 5 dollars" it returns the correct results with additional numbers like "40.00" and "434.00." So it seems to me that ColdFusion can't process the floating number correctly...It sees a number like "40.00" and assumes its in the range between 4 and 5. Here is my code for the indexing:
<cfquery name="v_qryProductInfo" datasource="#application.DSN#">
SELECT DISTINCT SP.pk_storeProductID,
P.productName,
C.categoryName,
P.prodTimeMin,
P.prodTimeMax,
PD.miniDesc,
PD.keywords,
CONVERT(float, (dbo.getMinPrice(pk_storeProductID))) AS minPrice
FROM tblProduct P
INNER JOIN tblProductDescription PD ON P.pk_productID = PD.fk_productID
INNER JOIN tblStoreProduct SP ON P.pk_productID = SP.fk_productID
INNER JOIN tblProductSubCategory PSC ON SP.pk_storeProductID = PSC.fk_productID
INNER JOIN tblSubCategory SC ON SC.pk_subCategoryID = PSC.fk_subCategoryID
INNER JOIN tblCategory C ON C.pk_categoryID = SC.fk_categoryID
WHERE (SP.blnStoreActive = 1)
AND (SP.fk_storeID = #application.storeID#)
</cfquery>
<cfdump var="#v_qryProductInfo#">
<h1>Indexing data...</h1>
<cfindex
action="refresh"
collection="#application.vcCollection#"
key="pk_storeProductID"
type="custom"
title="productName"
query="v_qryProductInfo"
body="miniDesc, keywords, pk_storeProductID, minPrice"
Custom1="minPrice"
Custom2="prodTimeMin"
Custom3="prodTimeMax"
Custom4="categoryName"
>
My cfsearch tag criteria looks like this:
<cfsearch
criteria="CF_CUSTOM1 >= #priceRangeMin# <AND> CF_CUSTOM1 <= #priceRangeMax#"
name="qryFoundProducts"
collection="#application.vcCollection#">
I've made the Custom1 column for the indexing the "minPrice" which is calculated as a function in my database. I've even tried making sure the number that is being entered in the Custom1 index is a float by using the CONVERT function in my SQL code. Any ideas why ColdFusion can't properly relate a float? It seems like it's trying to compare a string and a float, which isn't working too well.
Any info would be greatly apprecaited.Well, firstly: don't blame Adobe for Verity... Verity is (well: was) a separate product, and I don't think Verity as a company has even existed during Adobe's tenure at the helm (to mix metaphors awkwardly) of CF.
That said, one perhaps can blame Adobe for any disconnect between Verity and CF's support thereof, if Verity does actually support numeric processing, and CF mungs that somehow. I'm not saying this is the case, but who knows?
What Adobe perhaps didn't do is ditch or deprecate Verity earlier than it did. Lucene's been around for ages, and has been solid for ages, so I don't know why they didn't revise their search engine support earlier than they did. Oh well.
Now: your issue.
First thing, this won't work:
<cfset keyList = #Val(ValueList(qryFoundProducts.key))#>
val() returns the value of a number, whereas valueList() returns... a list. So it val() works at all, the result will just be the value of the first number in the list. You also don't need the pound-signs there, but either way, it won't affect your situation.
Second, as CF is loosely typed, it doesn't matter if you pass a numeric string or an actual number to a <cfqueryparam> tag, if you've said the value is supposed to be an integer (CF_SQL_INTEGER), then CF will automatically convert it to an integer if it can. So provided the values in your query column can be expressed as integers, they will convert with no intervention on your part.
So, in that light, I'm not sure your problem is necessarily what you think it is..?
But you say there's a problem in your WHERE clause, but you don't actually say what the problem actually is. Are you getting an error? Or just no records? The wrong records?
What do you see if you dump the query out? If you take the values output by valueList() and execute the query with those values in a different DB client (like MS SQL Studio or whatever), do you get the results you expect?
What sort of data is in the Verity collection btw? Are they documents, or DB data, or a mix, or what? If there are PKs coming out of the collection, it sounds like the data came from a DB in the first place. Can you not use full-text searching in your DB, and leave Verity out of the equation?
Adam -
We recently moved from CF6 to CF8. Other than Verity indexing
being extremely slow, I thought all was going well until I tried to
run my Create Collections procedure. These collections were to be
populated under program control from MSAccess database(s). I have
been running this procedure for over 5 years on CF6 and earlier
versions without a hitch. I was setting up my 5th system under CF8
when this successful string ended.
My procedure crashed with the error message, "Unable to
register collection [collection name]". I had seen this error a
couple of times previously, but just running the procedure again
had always sorted things out successfully. It didn't work this
time. I rebooted the server but nothing changed. I modified my code
so that each of the 21 <cfcollections> in the procedure was
with it's own <cftry><cfcatch> routine. Having each
contained like this, enabled me to power thorugh all the of
creation procedures regardless of how many "failed". If one
creation failed, the next might fail or might work so one failure
didn't guarantee all failures.
It turns out, that creations didn't fail completely. The
collections were actually being created and seemed to work onced
they were populated under program control (<cfindex>) with
data from an MSAccess database. So I assumed that whatever this
message meant, it wasn't a fatal error. I continued to make changes
to procedure to see if there was some further info I could get to
tell me what was going on. I finally learned something when there
was a new error: "Unable to connect to the ColdFusion Search
service."
This time rather than reboot the server, which never seemed
to help anyway, I restarted each of the 5 ColdFusion services one
at a time from the bottom up; i.e., CF8 Search Server, CF8 ODBC
Server, ..., CF8 Application Server. I have gotten serveral clean
creations since this.
So, does anyone out there know what these errors are all
about and how you can prevent them?
Thanks in advance for your help.
LenAnyone have a sample of a working custom style.lex file? I
need to be able to search for "." and "-" in part numbers such as
"98307-07VM.0002". -
Wierd ColdFusion erro : Error occurred while processing request.
Hi there ,
I am a graduate student and new to ColdFusion.I started working on this already developed project by someone couple of years ago , and the client wants some changes to be done.so i went ahead and did some small modifications to the appearance of the form(insertdata.cfm page) like adding some more options to a drop down menu , changing the label names and so on and am very sure this changes would not have effected the application in any way.And the place where the message says the error can be , i didnt even touch that part.Now after 4 days i start getting this weird error saying " 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."
And this happens randomly not everytime i access the website or different webpages.Here are the errors.
The error occurred in /export/web/virtual/web3_unt_edu/cps/webaccess/sites/Amarillo/index.cfm: line 8
5 : SELECT UserName,Password FROM user_data WHERE UserName=
6 : <cfqueryparam value="#FORM.UserName#" maxlength="8">
7 : AND Password=
8 : <cfqueryparam value="#FORM.Password#" maxlength="8">
9 : </cfquery>
10 : <cfif MM_rsUser.RecordCount NEQ 0>
I tried adding " cfsqltype="cf_sql_clob" " in cfqueryparam also on my friends advice , but it doesnt work out.
2nd ERROR
The error occurred in /export/web/virtual/web3_unt_edu/cps/webaccess/sites/Amarillo/InsertData.cfm: line 13
11 : <cflocation url="#MM_failureURL#" addtoken="no">
12 : </cfif>
13 : <cfquery name="rsDay" datasource="cps">
14 : SELECT days FROM days
15 : </cfquery>
3rd ERROR
The error occurred in /export/web/virtual/web3_unt_edu/cps/webaccess/sites/Amarillo/InsertData.cfm: line 27
25 : ORDER BY ethnicity ASC
26 : </cfquery>
27 : <cfquery name="rsHospitals" datasource="cps_amarillo">
28 : SELECT *
29 : FROM hospitals
Can anyone help me with this. I have to get the modifications done in 2 weeks.
Thank you
CrajHi Mak
I can get the stack trace for now , but here is my complete code , may be this ll give u complete idea .........
The index page where i am getting the first error
<cfif IsDefined("FORM.UserName")>
<cfset MM_redirectLoginSuccess="menu.cfm">
<cfset MM_redirectLoginFailed="../../fail.htm">
<cfquery name="MM_rsUser" datasource="cps_amarillo">
SELECT UserName,Password FROM user_data WHERE UserName=
<cfqueryparam value="#FORM.UserName#" maxlength="8">
AND Password=
<cfqueryparam value="#FORM.Password#" maxlength="8">
</cfquery>
<cfif MM_rsUser.RecordCount NEQ 0>
<cftry>
<cflock scope="Session" timeout="30" type="Exclusive">
<cfset Session.MM_Username=FORM.UserName>
<cfset Session.MM_UserAuthorization="">
</cflock>
<cfif IsDefined("URL.accessdenied") AND true>
<cfset MM_redirectLoginSuccess=URL.accessdenied>
</cfif>
<cflocation url="#MM_redirectLoginSuccess#" addtoken="no">
<cfcatch type="Lock">
<!--- code for handling timeout of cflock --->
</cfcatch>
</cftry>
</cfif>
<cflocation url="#MM_redirectLoginFailed#" addtoken="no">
<cfelse>
<cfset MM_LoginAction=CGI.SCRIPT_NAME>
<cfif CGI.QUERY_STRING NEQ "">
<cfset MM_LoginAction=MM_LoginAction & "?" & XMLFormat(CGI.QUERY_STRING)>
</cfif>
</cfif>
<cfinclude template="../../../Connections/cps_amarillo.cfm">
<cfif IsDefined("FORM." & "UserName")>
<cfscript>
MM_valUsername=Evaluate("FORM." & "UserName");
MM_fldUserAuthorization="";
MM_redirectLoginSuccess="menu.cfm";
MM_redirectLoginFailed="../../fail.htm";
MM_dataSource=MM_cps_amarillo_DSN;
MM_queryFieldList = "UserName,Password";
if (MM_fldUserAuthorization IS NOT "") MM_queryFieldList=MM_queryFieldList & "," & MM_fldUserAuthorization;
</cfscript>
<cfquery datasource=#MM_dataSource# name="MM_rsUser" username=#MM_cps_amarillo_USERNAME# password=#MM_cps_amarillo_PASSWORD#>
SELECT #MM_queryFieldList# FROM user_data WHERE UserName='#Replace(MM_valUsername,"\'","
","ALL")#' AND Password='#FORM.Password#'
</cfquery>
<cfif MM_rsUser.RecordCount GREATER THAN 0>
<cfscript>
// username and password match - this is a valid user
Session.MM_Username = MM_valUsername;
if (MM_fldUserAuthorization IS NOT "") {
Session.MM_UserAuthorization = MM_rsUser[MM_fldUserAuthorization][1];
} else {
Session.MM_UserAuthorization = "";
if (IsDefined("accessdenied") AND true) {
MM_redirectLoginSuccess = Evaluate("accessdenied");
</cfscript>
<cflocation url="#MM_redirectLoginSuccess#" addtoken="no">
</cfif>
<cflocation url="#MM_redirectLoginFailed#" addtoken="no">
<cfelse>
<cfscript>
MM_LoginAction = CGI.SCRIPT_NAME;
if (CGI.QUERY_STRING NEQ "") MM_LoginAction = MM_LoginAction & "?" & CGI.QUERY_STRING;
</cfscript>
</cfif>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Amarillo Login Screen</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
//-->
</script>
</head>
<body>
<div id="Layer2" style="position:absolute; left:26px; top:112px; width:683px; height:56px; z-index:2">
<div align="right"><font size="+6"><strong><font color="#999999" size="5" face="Verdana, Arial, Helvetica, sans-serif">Seniors
/ Volunteers for Childhood Immunization<br />
</font></strong></font><font color="#999999" size="5"><strong><font size="4" face="Verdana, Arial, Helvetica, sans-serif">Web
Access Database</font></strong></font></div>
</div>
<div id="instructions" style="position:absolute; left:160px; top:182px; width:259px; height:30px; z-index:3"><font color="#999999" size="5"><strong><font size="4" face="Verdana, Arial, Helvetica, sans-serif">Please
enter your user name and password...</font></strong></font></div>
<div id="LayerLogin" style="position:absolute; left:427px; top:182px; width:310px; height:94px; z-index:4">
<form ACTION="<cfoutput>#MM_loginAction#</cfoutput>" name="form1" id="form1" method="POST">
<p><img src="../../../images/image14.gif" alt="" name="UserNameImg" width="150" height="21" border="0" id="UserNameImg" />
<input name="UserName" type="text" id="UserName" size="15" maxlength="15" />
<br />
<img src="../../../images/image15.gif" alt="" name="PasswordImg" width="150" height="21" border="0" id="PasswordImg" />
<input name="Password" type="password" id="Password" size="17" maxlength="15" />
</p>
<p align="right">
<input name="Submit" type="submit" id="Submit" onclick="MM_validateForm('UserName','','R','Password','','R');return document.MM_returnValue" value="Log In!" />
</p>
</form>
</div>
</body>
</html>
I checked it again and again , but the code seems to work well on a local host ..... but not whn i upload it to server. Please let me know where i am goin wrong.
Thank you -
Coldfusion 11 error with cflayout
0 down vote favorite
I have some applications developed on older CF versions (9&10) and in anticipation of a hosting system migrating to CF11 and started doing some
testing with a CF development platform on Windows 8 with Apache 2.4. I have found that in CF11 pages using cflayout and cflayoutarea does not work
correctly when collapsed with javascript:ColdFusion.Layout.collapseArea. Firebug does flag an error in the CF javascript. Wondering if anyone else
has seen a problem like this and if there is a circumvention I could use to get this working.
A very simple example (complements of the Chapter 2 cflayout example demonstrated in Dan Short's video on Ajax & Coldfusion) fails as well on
CF11 but works in CF9 & CF10.
main.cfm
<!doctype html> <html> <head> <meta charset="utf-8"> </head> <body> <cflayout name="borderLayout" type="border" fittowindow="true"> <cflayoutarea name="header" position="top" size="75">This is the header<br /> <a href="javascript:ColdFusion.Layout.collapseArea('borderLayout', 'left');">Collapse Left Column</a><br> </cflayoutarea> <cflayoutarea name="centerColumn" position="center" source="content.cfm?pageName=Header 1" /> <cflayoutarea name="rightColumn" position="right" style="width: 100px;">This is the right column</cflayoutarea> <cflayoutarea name="leftColumn" position="left" title="Left Column" style="width: 250px;" collapsible="true" splitter="true" minsize="200"> This is the left column<br /> <a href="javascript:ColdFusion.navigate('content.cfm?pagename=Header 2', 'centerColumn');">Load Header 2</a> </cflayoutarea> <cflayoutarea name="footer" position="bottom">This is a footer © 2010</cflayoutarea> </cflayout> </body> </html>
content.cfm
<cfsilent> <cfparam name="URL.pageName" default="Default header" /> </cfsilent> <!doctype html> <html> <head> <meta charset="utf-8"> </head> <body> <cfoutput><h2>#URL.pageName#</h2></cfoutput> <p>This is the text content from content.cfm</p> </body> </html>use <CFAJAXIMPORT tag and make sure you have the CFIDE folder as a virtual directory in your IIS local or server machine. if the "cfajaximport" tag alone didn't work, try using it in little more details to the path of CFIDE folder and specify cflayout within the cfajaximport tag as follows:
<CFAJAXIMPORT
CSSSRC = "CFIDE/scripts/ajax/"
SCRIPTSRC = "/CFIDE/scripts"
TAGS = "cfdiv,cfform,cfgrid,cfinput-autosuggest,cfinput-datefield,cflayout-border,cflayout-tab,cfmenu,cftextarea,cftooltip,cftree,cfwindow">
Normally, you shouldn't need all these specifications in the cfajaximport but in case you may try it in more detail as shown above. -
ColdFusion MX7 Error When Starting Apache2Triad
I just installed the ColdFusion MX7 trial on my local
machine. When I try to start the Apache2Triad (uses Apache 2.2.0)
service it fails to start and the following error is written to the
system log file:
quote:
The Apache service named Apache2Triad Apache 2 Service
reported the following error:
>>>httpd.exe: Syntax error on line 1116 of
C:/apache2triad/conf/httpd.conf: Cannot load
C:/CFusionMX7/runtime/lib/wsconfig/1/mod_jrun20.so into
server: The specified procedure could not be found.
The following was written to the Apache conf file by
ColdFusion when installed:
quote:
# JRun Settings
LoadModule jrun_module
"C:/CFusionMX7/runtime/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
"C:/CFusionMX7/runtime/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51011
#JRunConfig Errorurl <optionally redirect to this URL on
errors>
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 15
#JRunConfig RecvTimeout 300
#JRunConfig SendTimeout 15
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
.cfswf
</IfModule>
My Apache service starts with the following command line (in
case this is important):
quote:
"C:\apache2triad\bin\httpd.exe" -n Apache2 -k runservice
I posted this on the Apache2Triad forum and the response was:
quote:
this means that apache has problems with a library needed by
that module , it can be anything , missing file , conflicting
version
So, is this an Apache problem or is this something similar to
this post:
CFMX
7 installation problemI just installed the ColdFusion MX7 trial on my local
machine. When I try to start the Apache2Triad (uses Apache 2.2.0)
service it fails to start and the following error is written to the
system log file:
quote:
The Apache service named Apache2Triad Apache 2 Service
reported the following error:
>>>httpd.exe: Syntax error on line 1116 of
C:/apache2triad/conf/httpd.conf: Cannot load
C:/CFusionMX7/runtime/lib/wsconfig/1/mod_jrun20.so into
server: The specified procedure could not be found.
The following was written to the Apache conf file by
ColdFusion when installed:
quote:
# JRun Settings
LoadModule jrun_module
"C:/CFusionMX7/runtime/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
"C:/CFusionMX7/runtime/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 127.0.0.1:51011
#JRunConfig Errorurl <optionally redirect to this URL on
errors>
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 15
#JRunConfig RecvTimeout 300
#JRunConfig SendTimeout 15
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
.cfswf
</IfModule>
My Apache service starts with the following command line (in
case this is important):
quote:
"C:\apache2triad\bin\httpd.exe" -n Apache2 -k runservice
I posted this on the Apache2Triad forum and the response was:
quote:
this means that apache has problems with a library needed by
that module , it can be anything , missing file , conflicting
version
So, is this an Apache problem or is this something similar to
this post:
CFMX
7 installation problem -
I've meticulously created collections of the music on my ecommerce music site. I am manually stripping off offending characters in the submitted search criteria with this code:
Trim(REReplaceNoCase(URLDecode(URL.searchcriteria),"[()<>##""'@]"," ","all"))
Then, if the user has ticked for an "exact word" search, I'm adding double quotes around it, otherwise, leaving it without. Then submitting it to the right collection for a search with this code (I've substituted ZZZ and XXX for my protection).
<CFSEARCH NAME="ZZZ" COLLECTION="XXX" type="simple" CRITERIA="#cleanedcriteria#" maxrows="300">
When a user does not tick "exact match" but types in any phrase that includes any of the Verity operators, they get the following error:
If you are using type="explicit", you must use Verity Query Language operators such as "<WORD>" or "<STEM>", or surround your search term with quotes. See the documentation for details.
Pass Me Not
will throw the error. but
"Pass Me Not"
which is passed when someone ticks "exact match" does just fine.
From what I've read, the simple search is supposed to assume the <WORD> and <MANY> operators, but it's like that's being ignored. What am I doing wrong, and/or how can I configure this so that my users can type terms, submit, and find what they're looking for?I think I finally understand, and am posting the solution here for others' benefit.
Apparently the simple search is in fact behaving properly and will recognize AND OR NOT as operators instead of part of the search string. The work around for this is to enclose those words in double quotes. So that's what I've done. If the user has not specified an "exact match" search (where I enclose the entire string in double quotes), then I single out these three words and put double quotes around them. It appears to work beautifully.
QED, and am happy to have had a complete uninterrupted discussion with myself.
<cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"and","""and""","all")>
<cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"not","""not""","all")>
<cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"or","""or""","all")> -
just installed ColdFusion, from adode flex 3 training from the sourse. But when I check to see if it works correctly by entering jrun -start cfusion in the command prom I get the error, no known vms (check for currupt jvm.cfg file). I tried uninstalling Java and reinstalling but nothing changed.
I don't know what I need to do to get it working can anyone help?
many thanksWhen you say you can't open the jvm.config file, what exactly does this mean? Is the file zero-length? How have you tried to open it? It's a text file, and should be opened in Notepad.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
Read this before you post:
http://forums.adobe.com/thread/607238 -
Coldfusion MX7 error with file upload
Hi all, I am using coldfusion mx7 server. While upload an excel file with(97-2003) format, I am getting the following error: Unable to construct record instance, the following exception occured: null
I am getting this error when I enters some data and save in my desktop with the format(97-2003) and after using a cfx tag to dump the uploaded data, I am getting this error. But if I just upload the template only without entering any data it will shows/dump the column names in template..
Is there any way to upload the same excel file with MX7?
Thanks in advanceTo answer your final question: yes of course it's possible to upload any file type with any version of CF. One has no dependency on the other.
As for the rest of it: without seeing some code, it's impossible to really:
a) understand what you're asking;
b) work out what might be causing the problem.
Adam -
trying to connect to ibm u2 database. any ideas? coldfusion 7
with iis on xp sp2
Connection verification failed for data source: u2
java.sql.SQLException: [Macromedia][SequeLink JDBC
Driver][ODBC Socket][IBM][UVODBC][2701920]Error ID: 46 Severity:
ERROR Facility: DBCAPERR - UCI Error. Func: SQLConnect(); State:
IM980; uniVerse code: 0; Msg: [IBM][SQL Client]Remote password is
required..
The root cause was that: java.sql.SQLException:
[Macromedia][SequeLink JDBC Driver][ODBC
Socket][IBM][UVODBC][2701920]Error ID: 46 Severity: ERROR Facility:
DBCAPERR - UCI Error. Func: SQLConnect(); State: IM980; uniVerse
code: 0; Msg: [IBM][SQL Client]Remote password is required..Yeah, IBM must have a JDBC driver for the U2 DBMS. Use it and
not ODBC. Put the jar(s) for the driver in CFMX's classpath and
restart. Create a DSN of type other. Get the JDBC URL and driver
classname from the IBM docs.
JDBC type IV drivers connect from CFMX (java app server) from
java to the jdbc driver over the wire to your IBM database. Very
direct. ODBC connection means java to JDBC to the ODBC client to
the ODBC server to windows ODBC to IBM's native client over the
wire to the IBM U2 database. Not a very direct path. Typically ODBC
connections like this are not very good performers or very
stable. -
Coldfusion Builder Error Parsing Profile
I get the following error and losing connection while trying to code a program in CF Builder...
!ENTRY org.eclipse.equinox.p2.engine 4 0
!MESSAGE Error parsing profile C:\Program Files\Adobe\Adobe Coldfusion Builder
2\p2\org.eclipse.equinox.p2.engine\profileRegistry\profile.profile\1336576853011.profile.g z.
!STACK 0
Any ideas on how to fix? I am running on Windows 7 64 bit version.
Thanks.I reinstalled CFBuilder. It is throwing a licensing error, but it seems to work.
-
BlazeDS - Coldfusion 8 error - Deploy Samples - 404 error - Help
I have BlazeDs running locally Great,
I've run through the BlazeDs - Coldfusion 8 Installation/configuration notes, but I'd getting Failed to send error's
http://cfserver.hull.ac.uk/ds-console/
http://cfserver.hull.ac.uk/samples/index.htm
I carn't see whats wrong with it !
Any help please.Couuld someone give me some suggestions?
-
i have multiple sites on a server using CF8, every now and then they will start to crash, after restarting the CFsearchserver service they will comeback up (sometime it will take a few minutes after the restart and other time it take a lot longer). i found some logs in the coldfusion8/runtime/log folder that occur the same time the site comes down.
[Fatal Error] :1:48: The markup in the document following the root element must be well-formed.
java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool.
at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:116)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:425)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
any input on this would be greatly appreciated.
thanksCF9, or CF9.0.1?
There was a bug in CF9 in that - with some combinations of SQL - a zero-row result set would actually not be returned, instead the variable was set to null.
Here's the ticket for it:
http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=82311
I think it was fixed in 9.0.1. Of course with the CF bug tracker, there's no way to confirm that, other than inferring "closed" means "fixed" (it could mean "not going to fix", or "could not reproduce" - although I know they could reproduce this one - or various other things though).
Adam
Maybe you are looking for
-
My iPod will not sync to iTunes on new Macbook
My macbook air will not sync to my iPod classic. It detects my iPod, but that's it! I would like my iPod to sync to edited iTunes. i just got this macbook and ditched my pc. I successfully transferred all my music to new Mac, now it's my iPod's turn.
-
Bought refurb MBP with Superdrive set to region 6. What to do?
Hi everyone, I bought a refurbished Macbook Pro and found out that instead of the drive having no region set and 5 changes left, it's set to region 6 and there are 4 changes left. Having set it for region 1 left it with 3 changes remaining. I thought
-
Print Underline in SAP Scripts
Hi Experts, I have one problem. I want print Bold and Under line for Header. In Print preview it is showing correct. when ever i am printing in the paper, it is getting gaps in Uderline. ( Ex: <u><b>Gas Meter Information</b></u>) In side the paper fo
-
My executable VI runs immediately upon launch. How can I stop this?
In my application, the operator must enter front panel fields for information such as IP address. But before that can happen, the VI "auto runs." Since there is not a valid IP address, the VI starts spewing error messages. Not cool for a productio
-
Need help to active download ffor trial cs6
I down loaded the 2 files for trial indesign c6 but cannot get it to open