Error ora-02019 in PL/SQL call in the apex, but not in a SQL Client
Hello
I encountered a strange problem. I have a process page type PL/SQL that runs on submit a form.
This process calls a PL/SQL package function.
When I run the PL/SQL Code from a SQL, for example SQL Navigator Client it works without problems.
When trying to run from the APEX, it is always fails with the error:
ORA-02019: description of the connection to the remote database not found
It's the SAME code in both situations.
It's the process code:
DECLARE
v_result INTEGER. v_result_msg VARCHAR2 (4000);
v_ref_date DATE; v_reset INTEGER.
BEGIN
-Prepare the arguments
v_ref_date: = TO_DATE (: P73_REFERENCE_DATE, ' DD/MM/YYYY');
v_reset: =: P73_RESET;
-Use the feature
TRC.trc_jobs.xade_daily_job (v_ref_date, v_reset, v_result, v_result_msg);
END;
When I debug Apex I trace to the bottom of the error, in a job that makes a join with a table in a database link.
It is the offending function:
FUNCTION (p_series_name IN VARCHAR2, p_date AS get_series_cfi_code,
p_date_active_flag in FULL)
RETURN VARCHAR2
IS
v_cfi_code instrument_type.full_cfi_code@dl_herds%TYPE;
CURSOR c_get_series_cfi_code IS
SELECT it.full_cfi_code
I, instrument_type@dl_herds INSTRUMENTS it
WHERE i.series_name = p_series_name
AND ((i.expiration_date = p_date AND p_date_active_flag = 0) OR)
(i.expiration_date > = p_date AND p_date_active_flag = 1))
AND i.product_id2 = it.id
ORDER BY i.expiration_date;
BEGIN
OPEN c_get_series_cfi_code.
SEEK c_get_series_cfi_code INTO v_cfi_code;
CLOSE C_get_series_cfi_code;
RETURN v_cfi_code;
END get_series_cfi_code;
No idea why this is happening?
I think to reproduce the table locally to eliminate the use of dblink as a last resort.
APEX Version: 4.2.4.00.08
Database version: 12.1.0.1.0
NLS: UTF - 8
TIA,
Dionisis
Are you sure that the dblink is accessible from the scheme of the analysis of the application? Run the code in your sql client in the same pattern?
Tags: Database
Similar Questions
-
Hi all
I am a newbie to Oracle and I am faced with the above error. Please see the below code snippets. Can someone please tell what I am doing wrong? Thank you in advance.
Thank you
CREATE TABLE ABC
(
ID VARCHAR2 ENABLE NUMBER NOT NULL,
FIELD1 ACTIVATE THE NUMBER NOT NULL,
FIELD2 ACTIVATE THE VARCHAR2 (8 BYTE) NOT NULL,
CONSTRAINT JOB_PK PRIMARY KEY (ID)
)
;
CREATE TABLE XYZ
(
ACTIVATE THE NUMBER 4 R_ID NOT NULL,.
ID VARCHAR2 ENABLE NUMBER NOT NULL,
Column1 NUMBER (2.0) default 0.00,.
Column2 NUMBER (2.0) default 0.00,.
COLUMN3 NUMBER (2.0).
NUMBER (2.0) TOTAL 0.00 default.
CONSTRAINT TRIP_PAYMENT_PK PRIMARY KEY (ID)
)
;
create or replace trigger trigger1
After Insert on XYZ
for each line
Declare
number of newTotal;
Start
newTOTAL: =: new. Column1 +: new. Column2 +: new. COLUMN3;
setting a day of XYZ together Total = newTotal;
end;
Insert into ABC (1, 45, ' Demo');
insertion in XYZ (1, 1, 12.50, 10.20 33,50, ");
Error report:
SQL error: ORA-04091: table XYZ is changing, function of triggering/can not see
Try one before line
create or replace trigger trigger1
before inserting on XYZ
for each line
Start
: new. TOTAL: =: new. Column1 +: new. Column2 +: new. COLUMN3;
end; -
Get the error ORA-31204: DBMS_LDAP: PL/SQL - Session of LDAP invalid.
I get error report error: ORA-31204: DBMS_LDAP: PL/SQL - Session of LDAP invalid. When you attempt to select a view in the APEX. The view is the source of the region for a regional report.
The view contains data from active directory that has been built using the DBMS_LDAP package.
PLEASE SEE BELOW FOR THE CODE USED IN THE CONSTRUCTION OF THE VIEW;
VIEW to CREATE or REPLACE v_capa_security AS
(select attribute_name, attribute_value)
table (ldapquery (sys_context ('CAPA_ACCESS', 'domain') |'. com',))
'389',
sys_context ('CAPA_ACCESS', 'username') | » @'|| sys_context ('CAPA_ACCESS', 'domain') |'. com',.
sys_context ('CAPA_ACCESS', 'password'),
"DC is psdev, DC = com",
"sAMAccountName =' | ' sys_context ('CAPA_ACCESS', 'username'),
(("memberof, business, mail, sAMAccountName"))
);
(The below function retrieves data from a LDAP directory)
CREATE OR REPLACE FUNCTION LDAPQuery)
p_host IN VARCHAR2,
p_port IN VARCHAR2,
p_user IN VARCHAR2,
p_password IN VARCHAR2,
p_dn_base IN VARCHAR2,
p_filter IN VARCHAR2,
p_attributes IN VARCHAR2)
Tbl_ty_ldap_query RETURN PIPELINED IS
v_result tbl_ty_ldap_query: = tbl_ty_ldap_query)
ty_ldap_query (NULL,
NULL,
NULL));
retval PLS_INTEGER;
v_session DBMS_LDAP. SESSION;
v_attrs DBMS_LDAP.string_collection;
v_message DBMS_LDAP. MESSAGE;
v_entry DBMS_LDAP. MESSAGE;
v_dn VARCHAR2 (256);
v_attr_name VARCHAR2 (256);
v_ber_elmt DBMS_LDAP.ber_element;
v_vals DBMS_LDAP. STRING_COLLECTION;
b_first BOOLEAN: = TRUE;
v_dn_identifier VARCHAR2 (200);
v_attributes apex_application_global.vc_arr2;
BEGIN
retval: = - 1;
DBMS_LDAP.use_exception: = TRUE;
v_session: = DBMS_LDAP.init (p_host, p_port);
retval: = DBMS_LDAP.simple_bind_s (v_session,
p_user,
p_password);
v_attributes: = apex_util.string_to_table (p_attributes, ',');
because me in (v_attributes.first)... loop (v_attributes.last)
v_attrs (i): = v_attributes (i);
end loop;
value: =.
DBMS_LDAP. SEARCH_S (v_session,
p_dn_base,
DBMS_LDAP. SCOPE_SUBTREE,
p_filter,
v_attrs,
0,
v_message
);
retval: = DBMS_LDAP. COUNT_ENTRIES (v_session, v_message);
v_entry: = DBMS_LDAP. FIRST_ENTRY (v_session, v_message);
WHILE v_entry IS NOT NULL LOOP
v_attr_name: = DBMS_LDAP. FIRST_ATTRIBUTE (v_session,
v_entry,
v_ber_elmt);
WHILE v_attr_name IS NOT NULL LOOP
v_vals: = DBMS_LDAP. GET_VALUES (v_session,
v_entry,
v_attr_name);
IF v_vals.count > 0 THEN
BECAUSE me IN v_vals. FIRST... v_vals. LAST LOOP
v_dn_identifier: = DBMS_LDAP. GET_DN (v_session,
v_entry);
line of conduct (ty_ldap_query (v_dn_identifier,
v_attr_name,
v_vals (i)));
END LOOP;
END IF;
v_attr_name: =.
DBMS_LDAP. NEXT_ATTRIBUTE (v_session,
v_entry,
v_ber_elmt);
END LOOP;
v_entry: = DBMS_LDAP. NEXT_ENTRY (v_session,
v_entry);
END LOOP;
retval: = DBMS_LDAP.unbind_s (v_session);
RETURN;
END LDAPQuery;
I then use the following pl/sql code piece to fill the frame and the view;
Start
pkg_capa_security.pr_set_context (< username > < password >, < domain >).
end;
If I run the code through TOAD or SQLPLUS it works very well (I am able to select the view without getting errors)
Is the error due to the LDAPQuery as a function of Pipelined?
Any help/suggestions welcome.
Thanks in advanceIf you set a process of loading page on preparing for the session of database to view your page. If you need it for the session of data used for the application that manages the POST (presentation) of your page you must set an after - submit processes. An easier way to do both is to code once in the VPD (under Security) attribute for the application.
Scott
-
The caller of the API do not have permission to perform this operation
I generated an OAuth token and I get the following result every time that I have the query API (either directly or to try it out the tests here: https://secure.na1.echosign.com/public/docs/restapi/v5)
{
"message": "the caller of the API need not have permission to perform this operation."
'code': "PERMISSION_DENIED".
}I checked "on" for each single scope and set the modifier to the account (I also tried to change the group, but that made no difference). The key to OAuth has been authorized by the account used to register for this account of eSign. It is also a developer account, and it's under a user different from what I write under.
Basically, all I want to do is get the status on all documents and see whether they are signed or not. I don't like that the user has permissions for that.
Thank you!
Hello Ollie,
The error is specific to an API call or is happening with several API calls that you are trying to do with OAuth token? Can you inbox me your email address with which you have created the application API with OAuth?
Kind regards
-Usman
-
Firefox does not open, but is rather the error message "Unable to read the configuration file." He has worked in the past, but not now.
I REINSTALL 10 TIMES SO DON'T TELL ME THAT!
I'm piss because I need firefox work again, so I can finish my reseaching in 5 days.
-
My mini ipad 4 has no battery completely not discharged, called to the charger, but the system does not start. What should do? Already a time connected to the charger, but the system does not start. I have iPad 3 months and never suffered no damage.
When connected to the charger make a forced reboot: hold the home and sleep buttons, wait for the Apple logo, release the buttons. May take a few tries.
-
SIT error 14104, dll runs on the host, but not on the target
Hello
I have problems of deployment dll (compiled in 2007 with Microsoft Visual C++ .NET 2003) Simulink in LabVIEW (2009 SP1). My target system is a desktop PC with LabVIEW Real-time 9.0 installed.
I created a simple Simulink model which mulitplies an entry with a Gain and returns the result. I compiled using the nidll.tlc as a target file system.
Then, I created a LabVIEW RT application that uses this DLL. I created exactly the same application as the host VI and VI target. On the host VI everything works fine. On the target VI, I get error SIT 14104.
What I did to solve this problem? I followed the steps on http://digital.ni.com/public.nsf/allkb/C7FF960E0A6C219A8625729600104615 . I have manually deployed the dll on the target computer. I used the suggested compiler. There is a lot of memory on the computer (RAM and HDD) target. And I'm not using a CRio system.
Does anyone have an idea how to fix this error? I will attach the sample project labview and the MDL and DLL to this post. Don't forget to adapt the DLL-path if you test the program.
Kind regards
Thomas
Well I found a solution.
I had to deploy the DLL manually on the target, but not in
ftp://IP_Address/ni-rt/system/
as the link above is said but rather inftp://IP_Address/
.Problem solved.
Kind regards
Thomas
-
Incompatibility of fix SQL: installed in the PDB but not in the CDB - how to fix?
I have a 12.1.0.1 database in which I wanted to migrate a number of PDB files in the AL32UTF character set. To do this I created a second database (temporary) with the character OK, unplugged and re plugged each PDB and ran the DMA you to migrate the PDB files - all right.
Then, I dropped the first database and built another one with the correct character set.
When I disconnect and reconnect the PDB from temporary to the new database, I get the PDB next violation:
PDB_ACPT_CLONE SQL patch 19648840 offset: installed in the PDB but not in the CDB.
This patch had been applied to the original and then rolled database before the new and temporary databases have been created.
datapatch says:
C:\oracle\product\12.1.0\dbhome_1\OPatch > datapatch-verb
Patching SQL tool version 12.1.0.1.0 Wed Jan 21 09:43
Copyright (c) 2012, Oracle. All rights reserved.
Connecting to the database... Ok
Determine the current state...
SQL patches currently installed:
PDB CBD$ ROOT:
PDB PDB$ SEED:
PDB_ORCL12C OF THE PDB:
PDB_ACPT_CLONE OF THE PDB:
C patches currently installed:
For the following PDB files: PEH$ ROOT
Nothing to roll back
Nothing to apply
For the following PDB files: APB$ SEEDS
Nothing to roll back
Nothing to apply
For the following PDB files: PDB_ORCL12C
Nothing to roll back
Nothing to apply
For the following PDB files: PDB_ACPT_CLONE
Nothing to roll back
Nothing to apply
Patching SQL tool Wed Jan 21 09:43:44 2015
C:\oracle\product\12.1.0\dbhome_1\OPatch >
PDB_ORCL12C has been created in the new database.
Moved PDB is now stuck in RESTRICTED mode.
Any ideas on how to solve this problem?
Looks like the restoration of the original patch in CBD was not perfect.
Option could be applying the fix to the PIC and try to plug in the PDB.
If critical instances raise SR
concerning
Pravin
-
Error ORA-12505 only in SQL Developer - 11g Express
Hello
I found many similar problems but no answering mine.
I installed the Oracle 11g Express version. I can connect to my database order online when I try Developer SQL I get the following error code:
Status: Failure-Test failed: listener refused the connection with the following error:
ORA-12505, TNS:listener is not currently of SID given in connect descriptor.
i\m data trying to connect to is xe.
Here are my tnsnames.ora file content:
===============================================================================================
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Jon-portable)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
===================================================================================================
Here is the output of "tnsping xe:
Use settings files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Jon-Lapt
OP) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (0 msec)
==================================================================================================
The production of SERVICES of LSNRTCL are:
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
Summary of services...
Service 'CLRExtProc' has 1 instance (s).
Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0
LOCAL SERVER
Service 'XEXDB' has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Managers:
"D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
DISPATCHER < machine: JON-laptop, pid: 2636 >
(ADDRESS = (PROTOCOL = tcp) (HOST = Jon-Laptop)(PORT=1064))
"Xe" service has 1 instance (s).
Instance "xe", State LOAN, has 1 operation for this service...
Managers:
"DEDICATED" set up: 0 denied: 0 status: ready
LOCAL SERVER
The command completed successfully
=================================================================================================
NOTE: I tried to connect to ORCL with SQL Developer and put with the SYSTEM account.
Please let me know if you need more information. Thanks in advance.
you typed in the 'OracleServiceXE' chain & the listener isn't aware of any Service with this exact name.
You must only enter "XE".
-
Get ORA-00942 error with the clause, but not when the user sys.
Hello
About 3 weeks ago we increased our memary to PGA_aggregate_target = 60 GB, SGA_target = 58 GB Oracle instance. About 1 week ago our cognos user started having errors ORA-00942 for these queries generated with clause, with the same authorization. i.e.
with 'aBmtQuerySubject4' as
(select "BANK_NOTE_ADI_INFO_T". ' ' PRINT_BATCH_ID ' 'PRINT_BATCH_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
'BANK_NOTE_ADI_INFO_T '. ' ' RDP_ID ' 'RDP_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' FI_ID ' 'FI_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' DEPOSIT_NB ' 'DEPOSIT_NB '.
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_MACHINE_ID ' 'PROCESS_MACHINE_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' OUTPUT_STACKER_TYPE_CE ' 'OUTPUT_STACKER_TYPE_CE '.
'BANK_NOTE_ADI_INFO_T '. ' ' PARTITION_KEY ' 'PARTITION_KEY '.
'BANK_NOTE_ADI_INFO_T '. ' ' LOAD_ID ' 'LOAD_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' SERIAL_NUMBER_ID ' 'SERIAL_NUMBER_ID '.
'BANK_NOTE_ADI_INFO_T '. ' ' SHIFT_NB ' 'SHIFT_NB '.
'BANK_NOTE_ADI_INFO_T '. ' ' BANK_NOTE_COUNT_NB ' 'BANK_NOTE_COUNT_NB '.
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
)
'CountResultQuery5' as
(select count ("aBmtQuerySubject4". "BANK_NOTE_COUNT_NB") 'C_1' "
, count (1) 'C_2' of 'aBmtQuerySubject4 '.
After having count (*) > 0)
Select 'CountResultQuery5 '. "' C_2 ' 'Count1.
of 'CountResultQuery5 '.
;
with 'aBmtQuerySubject4' as
(select "BANK_NOTE_ADI_INFO_T". ' ' LOAD_ID ' 'LOAD_ID '.
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
)
'CountResultQuery5' as
(select count ("aBmtQuerySubject4". "LOAD_ID") 'C_1' "
, count (1) 'C_2 '.
of 'aBmtQuerySubject4' having count (*) > 0
)
Select 'CountResultQuery5 '. "' C_2 ' 'Count1' of 'CountResultQuery5 '.
;-output like:
'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
*
ERROR at line 3:
ORA-00942: table or view does not exist
of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
*
ERROR at line 3:
ORA-00942: table or view does not existSince 2 days ago, we get ORA-0403.
One thing I noticed that the coguser can run above queries correctly after they are run by a user sys...
Could you please help me on how I can resolve ORA-00942 error?
Thank you very much, much in advance for all your help and your advice! :-)
Jihong.
"One thing I've noticed the coguser can run over queries correctly after they are run by a user sys... »
Jihong,
Do you mean that queries can be run successfully as a sys user, or as long as once a sys cognos user user has run the query at least once?
Gerard
-
Error ORA-01445 tabular form on a Collection in APEX 5
When I load a page with a tabular presentation built on a display of a collection to the APEX 5, I'm getting an ORA-01445: cannot select ROWID, or the sample, a view of joining without an error table preserved key.
I create a view
CREATE or REPLACE FORCE VIEWS test_coll_vw
(
C001,
C002,
C003,
C004,
seq_id
)
AS
SELECT TO_NUMBER (c001),
C002,
TO_NUMBER (c003),
TO_NUMBER (c004),
seq_id
Of apex_collections
WHERE collection_name = 'TEST '.
Then create a tabular presentation on the view with the primary key of the source SEQ_ID and primary key of the trigger existing through the wizard.
Debug information shows the statement which is a failure:
Select NULL NULL "CHECK$ 01", "SEQ_ID,' NULL 'C001', NULL"C002', 'C003', 'C004', NULL NULL NULL "APEX$ ROWID ' sys.dual union all select ' CHECK$ 01", 'SEQ_ID', 'C001', 'C002', 'C003', "C004", "APEX$ ROWID" in (select NULL "CHECK$ 01", "SEQ_ID", "C001", "C002", "C003", "C004", "ROWID" "APEX$ ROWID" (select).
"SEQ_ID."
"C001."
"C002."
"C003."
"C004.
of 'WPCAMS_APP '. "" TEST_COLL_VW ".
) APEX$ RPTSRC
order of 1, 7
).
These tabular forms worked up to 4.2, but they seem to fail at 5 APEX for upgrade or newly created pages one. The generated query is identical between versions, but it seems that the underlying apex_collections view has changed between versions and the origin of the problem.
Does anyone have a solution or workaround?
Thank you
Hi Phil,
APEX 5.0 the definition of the view of apex_collection had to be changed for security reasons. This change introduced a regression with tabular form validations, when the table refers to this view. Tabular form declarative validations require the ROWID in order to restore your changed data after a validation failed, and for this reason, APEX is insert the IDENTIFIER in the query in a table. It is currently not possible when tables refers to the sight of apex_collections. We are looking at a solution to this problem, but for now the only way to get around this is not, in this case, use the declarative validation and use some custom validations or process.
Kind regards
Marc -
We strive to use our VM on the new retina MBP (mid-2015) with MacOS X 10.11 (El Capitan) but we had a problem starting from Oracle. If we first converted our ESX VM but once on the Mac laptop Oracle (v12.1.0.1.0 on WIN2012R2) does not open the database, error;
ORA-12560: TNS:protocol adapter error
Does not change us any setting on the virtual machine itself so services work fine. Network has set the IP with host only. Tried with Fusion 7.1 & Fusion 8.0.2 new Mac with nothing doesn't. Also with the different versions of the VM tools. Tried to remove the NIC in Fusion and recreate, don't sucses.
Funny enough the same virtual machine starts fine on PC (workstation 10.3.0 & Win7), MBP beginning 2011 (Fusion 7 & Mac 10.10) or ESX itself for Oracle opens the database!
That's why we think in the direction of the new MBP specific? speed or network issue? Ring the bells?
Help appreciated!
Bottom line, this is a problem of Oracle who dislikes the MBP on a virtual machine.
for reference;
Virtual MACHINE works very well on all platforms, but not on the latest MacBook Pro (retina, 15 inch, mid-2015). So, when you try to use sqlplus you might get the error that there is no such thing as SID. Earphone works very well, but the DB process does not record with earphone or work correctly also. But the process is running and a SID tnsping returns an OK. This isn't a problem of configuration Oracle as the VM and DB works well from the moment where you run the virtual machine on a PC or an old MBP. Either way, Virtualbox has the same problem so not a problem of Fusion.
I will record a deal with Oracle but I doubt that it is corrected.
-
Error: ORA-00911: invalid character. Where is the character?
Hi all
As I wrote in the topic, I wrote the following code but I get the above error.
Could someone tell me where are the mistakes? Mainly because the console does not specify where it is.
------------------------------------------------------------------------------------------
Select case when ((select EMPRESA
of B_LISTA_EMPLEADOS
where USERNAME = 'ADMIN')) = 'IMASA.
then ((select JORNADA_ANUAL
of B_JORNADAS_Y_RATIOS
where CATEGORY = (())
Select the CATEGORY
of B_LISTA_EMPLEADOS
where USERNAME = 'ADMIN '.
))
and EMPRESA = (())
Select the EMPRESA
of B_LISTA_EMPLEADOS
where USERNAME = 'ADMIN '.
))
and ANO = "2013"
))
else 'no es UN empleado of the empresa"
end case;
like the Jornada
of B_JORNADAS_Y_RATIOS
------------------------------------------------------------------------------------------
Best regards
Hello
Is type data number JORNADA_ANUAL?
then try to_char (JORNADA_ANUAL)
-
ORA-28000 in Java program so that the account is not actually locked
Hi all
We received the error ORA-28000: the account is locked in the Java program that connects to Oracle.
But the account is not locked out, because we can connect using Oracle SQL Developer.
What can be wrong?
I'd be willing to bet my bottom dollar that you connect not the same account in the database even when you connect through SQL Developer the Java application to connect to the. There may be a difference in configuring AMT that use two tools which makes it look like they should be connected to the same database. Maybe the Java application does not use the username you want, etc.
You have enabled auditing for successful and connections failed to this database to see if you see the connections and they use the same account?
I guess it is possible that you have found a bug that should be reported to Oracle Support where an incorrect error message is returned. But it is much more likely that Oracle is right and you have made a mistake.
Justin
-
JavaScript error that happens in the first, but not in Chrome.
Hello
I'm working on a panel of Premiere Pro and basically I want to download a selected file in the current project to a remote server. A tag using html tag input file and select a file works great for transferring a file.
So my idea was to create a file object, which would then download. Something like:
upload() {}
var path = ' / Users/me/my_file.mp3';
read all the bytes of the file probably using: window.cep.fs.readFile (path)
var file = new file ([data], "my_file.mp3");
call the post OFFICE to start the download. The part and work.
}
As I'm going step by step, my current code looks like:
upload() {}
var file = new file (["my random content'], 'random_name.txt');
call the post OFFICE to start the download. The part and work.
}
It works fine if run the chrome update (I also tried with a much older version (41.0.2272.89), which also works). Unfortunately, it crashes in the first, and I have no idea why.
The accident occurred on this line:
var file = new file (['my random content'], 'random_name.txt');
(a basic copy/paste in show chrome console it works on chrome regular and crash when the paste in the console for remote debugging.)
with this error message:
Eception TypeError: Builder file cannot be called in the context of nwdisabled.
message: "Builder folder can not be called Connectionwithsuchprocedures nwdisabled."
battery: (...)
get stack: function () {[native code]}
battery set: function () {[native code]}
__proto__: error
VM110:2(Anonymous_Function)
VM77:847InjectedScript._evaluateOn
VM77:780InjectedScript._evaluateAndWrap
VM77:646 InjectedScript.evaluate
Any explanation and suggestion to work around this problem would be greatly appreciated.
According to this, allowing NodeJS is a simple parameter to add, and IF we need in an iframe the magic attribute it must activate nodejs.
After verification and testing over and over again with the sample provided, I came to the conclusion that the activation nodeJS in an iframe don't some black magic that is not in the context of default extension (or vice versa).
Indeed, 'new file' works very well within an iframe active nodejs and only there.
A solution to this issue, if anyone ever needs her:
Instead of a simple "new file (['content test'], 'test.txt');" in my code, I had to include an iframe and put the following function inside:
function newFileObject() { return new File(['test content'], 'test.txt'); }
I can then call this method from my regular main context by the following:
var myFile = document.getElementById('my-stupid-iframe').contentWindow.newFileObject();
Maybe you are looking for
-
IPod repair warranty transferable?
I had Apple fix my IPod Touch 4 with a new battery which means I'll be back a touch refurbished. I read that this refurb comes with a 90 day warranty (?), transferable to a new owner if I sell to the touch?
-
If my 6 s (unlocked Verizon) iphone has been restored (I lost two days), can I still it follow with my icloud? I'm not very tech savvy. I waited two days because I thought I might be able to find somewhere at home. When I turned on my icloud, I see
-
I would like to delete albums that are on my iphone. The 3 on the background of this photo. 2 of these albums that I have on my macbook, but I did not set to synchronize all albums from my iphone. All photos in this album of screenshot are deleted an
-
Hey, my account is blocked and I filled out the information of technical support like a million times now and still no response from hotmail? How much time does it take to unlock my account I changed my password and it still blocked? I still wwaiting
-
Q10 Q10 blackBerry does not connect to the world of Blackberry. Support hard to find.
my blackberry Q10 is the world opening of blackberry and after opening, it only shows a black screen for a few seconds and closes. provider tells me to ask the support of blackberry, blackberry site shows: no support given. just think to throw this p