CF8 cfinsert / cfupdate Error
OS: Windows Server 2003
CF: CF8 Enterprise 8.0.1
DB: 10g
There are two problems:
** NOTE: NEITHER OF THE TWO ERRORS BELOW HAPPEN IN COLDFUSION
7, ONLY IN VERSION 8. **
(1) Inserting new database records using cfinsert.
For certain tables, when attempting to insert a new record
using cfinsert, the following error is displayed:
[Macromedia][Oracle JDBC Driver]Internal error: Net8 protocol
error.
This only happens some database tables and not on others
(most seem to work, only a couple do not). The basic configuration
of all the tables tested is the same (a primary key exists). The
table is being referred to in all upper-case in the cfinsert tag,
as is required for an Oracle DB. Using an insert inside a cfquery
tag works fine. Also, deleting all data out of the table allows one
cfinsert to work correctly, with subsequent attempts causing the
error.
(2) Updating an existing database record using cfupdate.
For certain tables, when attempting to update an existing
record cfupdate, the following error is displayed:
An error occurred during the update process. Error code: The
primary key for the IRCCO table was not found in the '' datasource.
/// Ensure that the table name is in the format that the database
server expects. (For example. Oracle Server table name must be
uppercase or the server table name must be qualified in the format
"schema.table_name". For SQL Server, the format is
"databasename.username.tablename", for example,
customers.dbo.orders)
This only happens on some database tables and not on others
with a similar configuration (the same tables with the cfinsert
problem). The tables associated with the error do in fact have a
primary key, so I'm not sure why the error above indicates
otherwise. Using and update inside a cfquery tag seems to work
fine.
(I have a tech-support case, 0180152620, open for these
issues right now. I just wanted to see if anyone else out there had
seen this problem and perhaps fixed it.)
That may be true, but the cfinsert/cfupdate tags afford us
the opportunity to do some framework-level automation across
multiple "modules" in our product. I suppose we could write our own
tags/code to do the dynamic-SQL ourselves (we've actually written
our own pre-processor tag for cfquery), but it would be great if
the cfinsert/cfupdate tags just worked as well as they do in CF7
now. (It would also seem to obviate what would seem to be a primary
reason for using CF in first place.)
Similar Messages
-
I have a pretty straigtforward form being used both for
Insert *and* for Update, using variables for the formfield data.
The table is 'tblPeople' and it has typical Lastname, Firstname,
email, password, LevelID (a number), comments, ExpiryDate, Created,
LastUpdated. They are all text fields except the one noted number
and the last 3 which are dates.
The CFInsert works fine.
The CFUpdate throws the following error:
Error Executing Database Query.
Syntax error in UPDATE statement.
The error occurred in
C:\CFusionMX7\wwwroot\geeks\admin\tblpeople\actions.cfm: line 4
2 : <cfset EditMode=IsDefined("FORM.PersonID")>
3 : <cfif EditMode>
4 : <cfupdate datasource="#REQUEST.DSN#"
tablename="tblPeople">
5 : <cflocation url="index.cfm">
6 : <cfelse>
SQL update tblPeople set LASTNAME= (param 1) ,FIRSTNAME=
(param 2) ,COMMENTS= (param 3) ,PASSWORD= (param 4) ,EMAIL= (param
5) ,CREATED= (param 6) ,LEVELID= (param 7) ,TOPICS= (param 8)
,LASTUPDATED= (param 9) ,EXPIRYDATE= (param 10) where PersonID=
(param 11)
When I do a cfdump on the form that is passed, here's what I
get:
struct
COMMENTS comments here
CREATED 06/06/2006
EMAIL [email protected]
EXPIRYDATE 05/05/2005
FIELDNAMES
LASTNAME,FIRSTNAME,EMAIL,TOPICS,PASSWORD,LEVELID,COMMENTS,EXPIRYDATE,CREATED,LASTUPDATED, PERSONID
FIRSTNAME Suzy
LASTNAME Jones
LASTUPDATED 07/07/2007
LEVELID 5
PASSWORD [empty string]
PERSONID 222
TOPICS [empty string]
Everything looks right to me, I just don't know what else to
check.
any ideas?If you are using an Access db, your problem might be that
password is a reserved word. Also your date is not in an odbc style
format. -
I just got my sites moved to CF8 from CF7.
I am starting to experiment with the new CF8 features and I
started with the most basic - simply adding a CFDIV or CFWINDOW tag
to an otherwise empty page.
It appears that the addition of this tag this causes CF to
add a bunch of Javascript to the page, including the line of code:
"ColdFusion.Ajax.importTag('CFDIV');".
That line of code is throwing a Javascript error of:
"ColdFusion is not defined".
I am unsure if this is an indication that I am doing
something wrong in my code or if I need to contact my server admins
because there might be something wrong with the CF settings or load
on the server. Has anyone else run into this sort of thing?> It appears that the addition of this tag this causes CF
to add a bunch of
> Javascript to the page, including the line of code:
> "ColdFusion.Ajax.importTag('CFDIV');".
>
> That line of code is throwing a Javascript error of:
"ColdFusion is not
> defined".
>
> I am unsure if this is an indication that I am doing
something wrong in my
> code or if I need to contact my server admins because
there might be something
> wrong with the CF settings or load on the server. Has
anyone else run into
> this sort of thing?
I suspect you don't have a web mapping for the
[coldfusion]/CFIDE dir? You
either need to have that directory web-accessible, or use
<cfajaximport> to
tell CF to use a copy of the files from another directory.
See
http://livedocs.adobe.com/coldfusion/8/Tags_a-b_2.html
for more detail.
Adam -
CF8 - GDSFactory class error when connecting to Firebird DB
Hello,
I am trying to get started in learning CF but I can't seem to get past the starting gate. The problem is in connecting to the Firebird DB.
I followed the instructions from many blogs and forums (including this one which is most helpful: http://pabloj.blogspot.com/2008/07/setting-up-coldfusion-and-firebird.html). I downloaded the Jaybird 2.1.6 driver from the www.firebirdsql.org site and placed jaybird-full-2.1.6.jar in c:\coldfusion8\lib folder. I also tried putting it in the c:\coldfusion\runtime\lib, c:\coldfusion\wwwroot\WEB-INF\lib -- all to no avail.
The error I'm getting (from the exception.log file) is:
"Error","web-0","10/12/09","10:18:03","cfadmin","Could not initialize class org.firebirdsql.gds.impl.GDSFactory The specific sequence of files included or processed is: C:\ColdFusion8\wwwroot\CFIDE\administrator\logging\index.cfm, line: 142 "
java.lang.NoClassDefFoundError: Could not initialize class org.firebirdsql.gds.impl.GDSFactory
at org.firebirdsql.jdbc.FBDriver.acceptsURL(FBDriver.java:190)
at java.sql.DriverManager.getDriver(DriverManager.java:253)
at coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.java:79)
at coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.java:59)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:297)
at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:831)
at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:521)
Any suggestions on where to go next would be most appreciated. I've been trying different things for almost 2 weeks now and have reached a dead end. Thanks in advance,
vince
pittsburgh, paIan,
It says I am running CF version 8,0,1,195765.
The Java version is 1.6.0_04 .
The jar I am using shows up both in the Java Class Path - CF Classpath and the Java Class Path - Server Classpath, so I am assuming this means it is installed, correct?
CF Classpath
;C:/ColdFusion8/runtime/../lib/ant-launcher.jar; C:/ColdFusion8/runtime/../lib/ant.jar; C:/ColdFusion8/runtime/../lib/asn1.jar;
C:/ColdFusion8/runtime/../lib/jaxrpc.jar; C:/ColdFusion8/runtime/../lib/jaybird-full-2.1.6.jar; C:/ColdFusion8/runtime/../lib/jdom-1.0.jar; C:/ColdFusion8/runtime/../lib/jeb.jar; C:/ColdFusion8/runtime/../lib/jintegra.jar; C:/ColdFusion8/runtime/../lib/jnbcore.jar;
Server Classpath
C:\ColdFusion8\runtime\servers\lib;
C:\ColdFusion8\runtime\servers\lib\jrun-patch.jar;
C:\ColdFusion8\runtime\..\lib\macromedia_drivers.jar;
C:\ColdFusion8\runtime\lib\cfmx_mbean.jar;
C:\ColdFusion8\runtime\lib;
C:\ColdFusion8\runtime\lib\cfmx_mbean.jar;
C:\ColdFusion8\runtime\lib\instutil.jar;
C:\ColdFusion8\runtime\lib\java2wsdl.jar;
C:\ColdFusion8\runtime\lib\jaybird-full-2.1.6.jar;
C:\ColdFusion8\runtime\lib\jrun-ant-tasks.jar;
C:\ColdFusion8\runtime\lib\jrun-xdoclet.jar;
C:\ColdFusion8\runtime\lib\jrun.jar;
However, I still get an error when I try to connect to the DB using the following recommended specifications (which works for other people):
JDBC URL: jdbc:firebirdsql:servername/3050:dbname
Driver Class: org.firebirdsql.jdbc.FBDriver
Driver Name : JayBird
User Name : SYSDBA
Password : xxxxx
The error from the exception log file is:
"Error","web-1","10/12/09","14:19:55","cfadmin","Could not initialize class org.firebirdsql.gds.impl.GDSFactory The specific sequence of files included or processed is: C:\ColdFusion8\wwwroot\CFIDE\administrator\logging\index.cfm, line: 142 "
java.lang.NoClassDefFoundError: Could not initialize class org.firebirdsql.gds.impl.GDSFactory
at org.firebirdsql.jdbc.FBDriver.acceptsURL(FBDriver.java:190)
at java.sql.DriverManager.getDriver(DriverManager.java:253)
at coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.java:79)
at coldfusion.sql.JdbcImpl.getConnection(JdbcImpl.java:59)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:297) -
X64 CF8 cfobject com error while 32 bit dll
hi on a x64 windows x64 CF 8 server when I try to use cfobject for test code it gives an error
the code is
<cfobject action="connect" type = "COM" class = "Microsoft.XMLDOM" name = "XMLDoc">
at the first run the error message is :
c:\ColdFusion8\jintegra\bin\ntvinv.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at the second run and after error change as :
An exception occurred when instantiating a COM object.
The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed.
I saw a bug report
http://www.elliottsprehn.com/cfbugs/bugs/80973
but it was 2009. is there any solutionyep I vote bug report.
the biggest disappointment for me. I thought it was solved within 3 years by the Adobe. -
Is cfinsert and cfupdate open to SQL Injection
Hello All,
I'm looking for a real answer on if cfinsert and cfupdate are vulnerability to SQL Injection. The closest thing I can find from Adobe is Ben Forta's Personal recommendation. I was hoping to find some form of "official note" in the live docs to indicate there is a SQL Injection issue with cfinsert - cfupdate. (Other than someone's post to Ben's Blog)
http://www.forta.com/blog/index.cfm/2006/10/3/Use-CFINSERT-And-CFUPDATE
In this forum I have seen this question asked, and the only answer is "You should validate your inputs". Yes, you should, but that does not answer the question of if cfinsert and cfupdate is vulnerability to SQL Injection.
I have found this blog entry that if I interpret is correctly from his findings cfinsert and cfupdate where only vulnerability to SQL Injection IF you did not give cfinsert - cfupdate the list of fields to take action on. -Is this true?
http://blog.securityps.com/2009/05/demystifying-cfinsert-sql-injection.html
Also, on a closely related note, is cfinsert - cfupdate on ColdFusion 9 also vulnerable? If so, why? Seems like a BUG that could be easly addressed by the CF server team.
Thank you,I do agree with you here. But to be devil's advocate for a second: the same could be said of <cfquery>. One has to take additional measures to ensure the same vulnerabilities are mitigated with that.
I'm not sure that it's really news that these two tags are not the most well-thought-out features in the CF arsenal, and if you listen to most opinions in the community regarding <cfinsert> and <cfupdate>, it's: "don't use them".
They're great for quick and dirty insert/update processes in internal or test code, but I'd never use them in production.
It also remains a fact that any external input (form fields, URL param) must be validated as being kosher and within expected margins before they're used in any way. That is just common sense. And if one neglects to do that: one brings any eventuality onto one's self. The problem here really is with people not doing their "due diligence" on externally sourced data, not specififcally with <cfinsert>, <cfupdate> or <cfquery>.
Still: I think Adobe should make it more clear in the docs that additional measures need to be take to make them safe. And by that time... one might as well use a <cfquery> to do the SQL.
Adam -
I am reinstalling an upgrade copy of CFMX on a replacement
server. I've installed this version on several different Windows
2000 servers over the past few years. This is the first time I've
installed in on Windows 2003 Std Ed. I have selected IIS and am now
on the directory setup page. The "Install CFMX files to" selection
is set to c:\CFusionMX, which is correct. The problem comes with
the "Install Web Files to" selection. It is pointing to just a
plain backslash, "\". No disk drive and no directory. I would
expect it to be pointing at c:\Inetpub, since it knows I want to
use IIS. When I click the Change button, I get the following error
msg: "Error 1314. The specified path \ is unavailable". I'll buy
that, but I can't do anything about that because it crashes when I
try to do something about it. To top it off, it then takes me out
of the installation procedure with no way back. You have to go back
to the start of the installation and reenter the serial numbers,
etc.
Like I said, I've installed CF (3.1 to MX) probably a dozen
times on W2K servers over the past 6 or 7 years and never had a
problem like this before.
I'd greatly appreciate any suggestions, if anyone has one,
because i'd dead in the water at this point. Thanks in advance for
your hep.
Len
P.S. I tried it 4 times and got the same result each time....
Does this meet the definiton of insanity yet???Thank you for your info. I gave up trying to install MX using
IIS on my 2003 server and installed it with the internal/standalone
web server. This went OK. My intent was to do a manul connect to
IIS as recommended in tech note 19575. In order to do this I needed
to have MX6.1 installed. I downloaded that updater but the
installation failed because it told me that it wouldn't run on this
system. At that point I gave up on MX. I have since downloaded CF8.
CF8 seems to run OK, except for an exception I'm getting
relating to WDDX. I haven't had time to sort that one out yet. The
one thing I don't like about CF8 is their error messages. MX had
very helpful error/crash messages that pointed you right to the
line of code that was causing the problem. CF8 doesn't do that.
This will be very unhelpful if there isn't some way to revert to
the MX style messages that point you to the actual error.
Thanks agin for your help. -
Hope someone can help with this problem...
I am querying an object based on the query results of an
another object. If the Contact email does not exist, CF8 throws an
error. What I need to do for this query is to substitute a default
value for a contact record that does not have an email (or some
other fix) so that the error does not occur.
Once again, if the email contact email DOES exist, there is
no problem.
Below is the code for my query:
<cfloop query="oppty">
<cfset getContacts = myObject.QueryObject(
"SELECT Id, accountID, Name, Email
FROM Contact
WHERE accountID ='#oppty.accountID#'").results>
<cfoutput>#getContacts.email#<br></cfoutput>
</cfloop>
Any help would be greatly appreciated...!!
Thanks!Sorry for not being clear. The error is as follows:
Error Occurred While Processing Request
You have attempted to dereference a scalar variable of type
class java.lang.String as a structure with members.
51 : ").results>
52 : <cfoutput> #getContacts.ID#
#getContacts.accountid# #getContacts.name#
#getContacts.email#<Br></cfoutput> <!--- --->
53 : </cfloop>
54 :
This error happens when the object is queried an no results
come back. What is happening is in the query
SELECT Id, accountID, Name, Email
FROM Contact
WHERE accountID ='#oppty.accountID#'"
When no data comes back for "Email", I get that java error. I
need to rewrite the query so that there is a default replacement
email if an email does not come back in the query.
Thanks! -
CFInsert/Update: protection against SQL injection?
Hello,
I'm trying to find out if the use of CFInsert or CFUpdate
offers any protection against a SQL Injection attack. We are on a
project that uses many CFInserts and Updates, and lack the time to
rewrite new queries using CFQueryParam. Will a CFInsert or Update
handle the situation?Validate every field before you get to the cfinsert/cfupdate
tag, something you should have been doing anyway. -
I am currently using CF 4.5 on a Windows 2000 server and am
trying to migrate to MX7 on Windows 2003. The code analyzer does
not seem to want to analyze code on a remote server, so after I
installed developer version and copied all the files over to the
new server, not only could I not analyze the code, I couldn't use
the CF Administrator because I had overwritten new files with old
files which had tags that MX7 could not interpret.
Is there a better way to copy all of my files over and anlyze
the code without going through myself, directory by directory? I
fear that if I do this then I won't copy over old code that I need,
but that might not run with MX7 and just needs to be rewritten.
I've already uninstalled and reinstalled MX7 to get the
correct base files, and I only want to copy the old code once more,
I'd like to get it right. Please let me know if you have any ideas
or suggestions.
Thanks!We did a similar upgrade and I think you should run every
page. We had a lot of issues with dates. I have read on these
forums that others have had issues with cfinsert/cfupdate. -
This might be like asking which sport is the most popular
while standing outside the superbowl, but I am trying to decide
between CF and PHP for dynamic websites. I use DW8 and would like
to try dynamic sites. I know nothing about programming but would
like to learn one of the two. I know that PHP has a bigger
following and CF is easier to learn (so I've read).
Comments???One of its chief marketing points is
"Look! It's all tags! It's as easy to use as HTML!". They're
not hunting
the seasoned developer with an approach like that, are they?
I will add to that by saying that seasoned developers would
never be lulled
into thinking cf's percieved advntages outweighed it's
disadvantages - but
the newbies would fall for the idea that "html is easy, html
uses tags = cf
uses tags, it must be as easy as html"
A couple of years back i tried to read a file with cffile,
but needed to do
it one line at a time - I was shocked to learn that something
so basic could
not be done in cfml. The second thing we did (old company)
was fall for the
"out of the box" thing to find that we had absolutely no
drawing api
(drawing tags). I had sold the cf ideato my boss who later
researched and
found out that both these thing could be doen in php adn that
php was free
of charge and already installed on one of the servers!!
Luckily, work around
weere easy to find, but still, I definitely experienced the
issue of cf's
limitations.
I feel I should add to that by pointing out that these days
it seems that
the official response seems to be "if it can't be done in
cfml just use
java" - this flys in the face of the whole reason people buy
cf in the first
place.
>>I don't think it's going to fall off the map any time
soon
No, theres still plenty of newbs out there and still plenty
of folk that
depend on it for existing websites. I am dissapointed to see
the rather mass
exodus from cf to the java.php and .net world but i think cf
can still do
okay in the market it aims for.
"Adam Cameron" <[email protected]> wrote in message
news:[email protected]...
>> Why say this - is it more to do with the
inflexibility or to do with
>> there
>> being less demand for cf skills there days?
>
> I've been fortunate enough to not have to look for work
in CF: both the
> jobs I've had so far came to me, rather than the other
way around. And I
> know if I needed work again, my network is of sufficient
size that I could
> get a job tomorrow if I needed one. So it's not the
availability of work,
> no. I've never considered that.
>
> My findings with CF are probably best summed up by
drawing a parallel to
> common arguments regarding <cfinsert> /
<cfupdate> and <cfquery>. ie:
> <cfinsert> and <cfupdate> are OK as long as
you hold your mouth the right
> way and only ever want to do exactly what those tags are
set out to do.
> On
> the other hand <cfquery> gives you a lot more
scope beyond what those tags
> offer.
>
> I've used <cfinsert> and <cfupdate>
precisely ONCE, before I spotted the
> draw backs of having to code in the way Allaire
second-guessed I should be
> coding; and actually the gains in using <cfquery>
instead deeply outweigh
> the increased typing time (which is all it amounts to).
>
> I feel the same way about CF as a whole. CF is one big
<cfinsert>.
>
>
>> Personally, I am fed up hearing of its demise and
hearing from the
>> "professional" developers about how cf is a "toy"
language for newbies.
>> Arrgggghhhh!
>
> I don't think it's going to fall off the map any time
soon, but I also
> *do*
> think its niche is the newbie market. One of its chief
marketing points
> is
> "Look! It's all tags! It's as easy to use as HTML!".
They're not hunting
> the seasoned developer with an approach like that, are
they?
>
> --
> Adam -
Ajax integration and CF 8 developer edition
hello all,
i'm trying to bind cfc to a <cfselect> over CF 8
Developer edition, it is giving me "404 Error invoking CFC"[same
case with autosuggest also]
i tried doing the same on prod'n server - it worked fine.
can any one please explain me, the difference between
Developer edition and enterprise edition?
Thank you
SanjaySanjay k wrote:
> hello all,
>
> i'm trying to bind cfc to a <cfselect> over CF 8
Developer edition, it is
> giving me "404 Error invoking CFC"[same case with
autosuggest also]
> i tried doing the same on prod'n server - it worked
fine.
>
> can any one please explain me, the difference between
Developer edition and
> enterprise edition?
>
> Thank you
> Sanjay
>
pertaining to your issue - there is no difference between cf8
editions.
your error is likely due to a wrong path to your cfc, but
without seeing
your code and more details on cfc location on your dev server
it is
impossible to say for sure...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com -
Security service not available
After installing CF8 onto a WinXP SP3 client, with Java6 and
Apache2.2 preinstalled, when I click on the Administrator link, I
get the following error message:
".../CFIDE/administrator/index.cfm -
ROOT CAUSE:
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The
Security service is not available.
at
coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:40)
at
coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:330)
at coldfusion.util.LruCache.get(LruCache.java:180)
at
coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java :254)
at
coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at
coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:476)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:79)
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:286)
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)
I am unable to proceed further with the configuration of CF8
after this error.
The CF install log states,
"Installation: Successful.
4255 Successes
0 Warnings
0 NonFatalErrors
0 FatalErrors
Action Notes: None
Can someone tell me what is wrong and how to fix it.
Thank you.i also have got the same error on WAS 7.5 and JDK 1.6,as we are using the cold fusion version 7.
Here the stack trace of the error at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:38)
at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:295)
at coldfusion.util.LruCache.get(LruCache.java:188)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java :223)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:422)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:79)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1449)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java: 175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitia lReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
Can anyone help me on this?
Regards
Mohit -
CF8 verity and acrobat 9.0 errors
we have an issue where the CF8 verity engine is not indexing
PDF files created with acrobat 9.0
the same PDF files generated with acrobat 8.1 work fine.
the acrobat 9.0 PDF files generate these errr messages in the
verity logs
Tue Jan 13 14:44:44 2009
msg(1): Warn E0-1514 (Drvr): TstrIOFilter:flt_kv: KV failed
on filtering document: error = 8
Tue Jan 13 14:44:44 2009
msg(1): Warn E2-0527 (Document Index): Document 3
(d:\developers\MRC\wesinfo\version2\admin\test\wespress_testing\docs\Stark4_acrobat_9_vie w_7.pdf):
Stream error (-140) - SKIPPING
are there a new set of filters available for verity, so that
it can index acrobat 9.0 files ?
also, we found that while cf8 verity can index word 2007
.docx files, it does not pickup the Title metatag.I have figured it out....
Adobe Acrobat v8 saves PDFs in v5 (1.4) format by default. Adobe Acrobat v9 saves PDFs in v7 (1.6) format by default.
ColdFusions CFINDEX doesn't like PFDs saved in v6 (1.5) or higher. So if you upgrade to Adobe Acrobat v9 and want to use the PDFs in a CF verity search you need to configure Distiller to save in v5 (or earlier) format so they can be indexed. (Or just resave the files to be optimised for v5 after they have been created.)
My solution was to configure the application to do a CFFILE READ on the PDF when a user uploads the document into the system. The first 8 characters of the file contents indicate the PDF version. v4 and v5 will work. v6+ won't work.
<cfif Mid(fileContents, 6, 3) lte 1.4>
<!--- This is PRE version 6 - it will be fine in the search --->
<cfelseif Mid(fileContents, 6, 3) gt 1.4>
<!--- This is version 6-9 or higher - it won't work in the search - ABORT --->
</cfif>
Hope this comes in handy for someone one day! -
Socket event gateway error in CF8?
Having upgraded to CF8 with no code changes I am seeing a
socket event gateway accept an xml message line by line and not the
entire xml packet in one shot (each line is shown in the log
separately). Passing a simple sentence with a return in it also
becomes 2 events. This obviously causes problems, as the xml cannot
be recognized and processed when it comes in line by line. The xml
is coming from a daemon writen in Perl, and I can't immediately
make any changes to it, as these requests are also sent out to
other Perl systems, so any changes would have to be tested against
them as well.
I couldn't find anything online about this being a bug in
CF8, has anyone else seen it?Hi,
Remove this (And never put it in again)
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);This will tell you more about what is going on, such as giving you the location of the error.
But 20999, is a user defined exception, are you putting objects into system schema?
Regards
Peter
Maybe you are looking for
-
Repost-- Facing Problems while installation of SAP NW PT 7.0 on Oracle 10.2
Hello Friend, Sorry Friends, for my last long.....long...Post..... Here , i m reposting the same matter...Please help. We are trying to Install SAP NW PI 7.0 on Windows 2003 Server Enterprise Edition x64, with Oracle 10.2 - 64bit Edition. On this hos
-
How to install Chinese fonts on my application server
Hi Experts, We are facing an issue in which the Adobe services PDF couldn't able to recognize chinese characters So, we want to install chinese fonts CNSONG,CNHEI etc on our application server (which is ABAP only system) Can any one share me the step
-
Hi, I have a customized variable in report painter which pulls data from standard table, profit centre (GLPCT). The data is included dummy profit centre. How can block or should not allow dummy profit centre data to flow to the report? Please advic
-
Not picking up Toplink Descripters or classes from dependant project
Working w/ beta3 of the designer, and building a database adapter to do an insert, I've noticed that the BPEL process generates its own set of Offline Database Tables, Toplink Mappings and object classes, even though these offline tables, objects and
-
Simulate multiple trees on a JTree
Hi all, is there a way to remove the line that binds the nodes of a tree? I want to have something like msn friend's list, where there is a tree with multiple nodes "root nodes", and they have 0 or more children and no node is connected to any other