473,322 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

ColdFusion / Oracle 9i Intermedia application errors

1
Hello!

I'm trying to fix an appliaction created using ColdFusion MX and Oracle 9i. The application worked fine until our IT department reinstalled the oracle server. As far as I've been able to see.

The CF application calls to a stored procedure in a package on the Oracle server. However, when the CF application attempts invoce the stored procedure, I get the following error message:

PLS-00306 wrong number or types of arguments in call to 'string'

We haven't changed anything in either the stored procedures or the application. Anyone have any ideas as to what the problem might be? I've included the procedures and the relevant CF code below.

(The application is available at http://nordbotten.ifi.uib.no/VirtualMuseum/Prototypes/Osdal3/index.cfm)

----
(PACKAGE BODY VTX)

PROCEDURE proc_vtx_search(
url IN VARCHAR2,
filename IN VARCHAR2,
shape IN VARCHAR2,
color IN VARCHAR2,
texture IN VARCHAR2,
spatial IN VARCHAR2,
threshold IN VARCHAR2,
images OUT typ_vtx_result)

AS
-- declarations
result VARCHAR2(1000) := NULL;
seed_number NUMBER := 1;
weights VARCHAR2(1000);
results_null EXCEPTION;
no_insert EXCEPTION;

BEGIN

test_insert_seed(url, filename, seed_number);
IF seed_number = -1 THEN
RAISE no_insert;
END IF;
weights := 'color = "'||color||'" texture = "'||texture||'" shape = "'||shape||'" location = "'||spatial||'"';
result := vtx_fct_search(seed_number, weights, threshold);
IF result IS NULL THEN
RAISE results_null;
END IF;
OPEN images FOR SELECT result AS images FROM dual;
EXCEPTION
WHEN results_null THEN
result := '-1';
WHEN no_insert THEN
result := '-2';
WHEN OTHERS THEN
result := '-3';
END proc_vtx_search;
END vtx;

---------
Relevant Coldfusion code:

<cfstoredproc datasource="#Application.db_odbc#" procedure="vtx.proc_vtx_search" returncode="no">
<cfprocparam type="in" value="#Application.server_address##Application.up loads_path#" cfsqltype="cf_sql_varchar">
<cfprocparam type="in" value="#Session.image#" cfsqltype="cf_sql_varchar">
<cfprocparam type="in" value="#shape#" cfsqltype="cf_sql_varchar">
<cfprocparam type="in" value="#color#" cfsqltype="cf_sql_varchar">
<cfprocparam type="in" value="#texture#" cfsqltype="cf_sql_varchar">
<cfprocparam type="in" value="#spatial_structure#" cfsqltype="cf_sql_varchar">
<cfprocparam type="in" value="#threshold#" cfsqltype="cf_sql_numeric">
<cfprocresult name="images_result">
</cfstoredproc>
Nov 27 '06 #1
0 1647

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
125
by: Rhino | last post by:
One of my friends, Scott, is a consultant who doesn't currently have newsgroup access so I am asking these questions for him. I'll be telling him how to monitor the answers via Google Newsgroup...
2
by: Girish | last post by:
Hi all, We are doing an exercise of migrating an application (developed in Informix 4gl) from Informix to Oracle database. Before doing actual migration, we would like to know some of the key...
133
by: jonathan | last post by:
hey all, I realize that this question might pop up from time to time, but I haven't seen it a while and things might of changed, so - Right now (July 2004) how does mysql stand up in...
13
by: Chris Botha | last post by:
The machine is running XP Pro with all the latest service packs, etc. I must access an Oracle database so I installed the Oracle client stuff. I can query Oracle from a Windows app, no problem....
0
by: kc7zdm | last post by:
I'm using Oracle intermedia text indices in my database, and the Contains function from a VB.Net program using the system.data.oracleclient provider. When a query includes a number as a search term,...
1
by: marcnz | last post by:
I have been charged of creating a coldfusion web site for our company. Our database has a ms sql 2005 backend and ms access frontend. Almost all tables are linked tables with the SQL database,...
7
by: SAL | last post by:
Hopefully someone will have a clue as to what is happening here. In our office, we have both ColdFusion and ASP.NET applications. One of our new developers has been installing ColdFusion 8 on the...
1
by: dmorand | last post by:
I'm using Coldfusion MX7, but I don't see an Oracle datasource in my coldfusion administrator. I've looked around trying to figure out how to get an Oracle datasource loaded so I can query Oracle...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.