Details of the package Oracle Web Adi
Hello
Can update us an existing Oracle Custom Web aDI to add new column in the excel worksheet.
Initially we were download only one value FDF for Organization.Now we need to download a single attribute more into the details of the organization.
If so, how do we get the package or the procedure for the WEBaDI.Itried all tables BNE, but could not get the info on the details of the package of WEBADI.
Please advise,
Kind regards
Jean Michel Sayyad.
Hello
Please go through below thred, it might help you: -.
https://forums.Oracle.com/thread/2386523?MessageID=10315967#10315967
You can query the tables BNE_ATTRIBUTES, attribut2 is the name of the package.
Select * from BNE_ATTRIBUTES
where attribute1 as 'PROCEDURE '.
The attribute_code should be that of an integrator with a PO_ATT at the end.
For the use of integrator_code what follows
Select * from bne_integrators_vl where user_name as what you see on the screen.
Thank you
Avinash
Tags: Oracle Applications
Similar Questions
-
4 Apex-Apex 3.2 on the same Oracle web server running
Is it possible to run Apex 3.2 and 4 Apex on the same Oracle web server (apache)? We have two instances of different database with Apex 3.2 and 4 installed and configured oracle mod_plsql with web server.
There are separate aliases defined in dads.conf as
Alias is "/ opt/oracle/11 GR 2/apex/images / '-> apex 3.2
Alias /i4/ "/ opt/oracle/11 GR 2/apex/images4 / «-> apex 4»»
Apex 4 isn't picking up directory of images on the right, and it is not possible to log on to administer the apex workspace. Is it possible to set this up?
Published by: user12099969 on June 28, 2010 05:43You have run the installation script with the appropriate letter for each alias directory instances?
You have bounced the http?
concerning
-
Need to know the technical aspects of ORACLE WEB ADI (Desktop Integrator)
Hello
I know how to use WEB ADI for GL.
I want to know the technical aspect of it.
Please let me know where I can get the required information.
Thank you
Vishwamber ShettyVishwamber Shetty wrote:
HelloI know how to use WEB ADI for GL.
I want to know the technical aspect of it.
Please let me know where I can get the required information.Thank you
Vishwamber ShettyPlease see the following links/docs.
Reports and office integration
http://docs.Oracle.com/CD/E18727_01/NAV/technology.htmWeb Applications Desktop Integrator - how to activate a new function available soon for other GL responsibilities (eg WebADI. Ledger superuser) [ID 307970.1]
Web Applications Desktop Integrator (ADI Web) list [ID 726989.1] fixes
R12.1: General Ledger list patches [ID 1328833.1]
Overview of Web application Integrator Office [726727.1 ID]Thank you
Hussein -
Oracle Web ADI: Fata error
Hello
Environment:-R11i
Try to download the newspaper through the Web ADI.
When I'm clicking the Currecny LOV field in the Excel worksheet, and then it does not show the currency = UK instead Code it throws the error
Error: -.
Exception Name:oracle.apps.bne.exception.BneFatalException - Applications context OB does not equal the OB provided in the worksheet. You must connect to the Oracle Applications using the responsibility with the OB even as the current worksheet.
Does anyone have an idea about it.
Thank you
ABRDetails about the error in the log BNE?
Please see if these documents help.
USER GETTING ERROR WHILE TRYING TO UPLOAD I USING WEB ADI. The context of OB Applications is not equal the OB provided in the worksheet [1081338.1 ID]
List of projects Web ADI of values (LOV) comes from bad diet [ID 289681.1]
Profile level of responsibility options not recognized in WebADI [ID 258918.1]
WebADI download fails with: no simultaneous import applications were not submitted [282514.1 ID]Thank you
Hussein -
need to get the details of the package
Hi all
I want to collect the following details of a particular package in the database. Can someone please
1. the list of users who have permission to run on the package.
2. for which table user uses the package i.e. name of the table where this package is used or a procedure name in which this package is used.
3. how to check the authorization of public performance is removed or not of this package.
4. recent date of use of the package and the user name.
DB: 10.2.0.4
OS: AIXuser13364377 wrote:
1. the list of users who have permission to run on the package.Discover the view DBA_TAB_PRIVS.
SELECT grantee FROM dba_tab_privs WHERE table_name='
'; 2. for which table user uses the package i.e. name of the table where this package is used or a procedure name in which this package is used.
Looking for information of addiction? If so, see DBA_DEPENDENCIES.
3. how to check the authorization of public performance is removed or not of this package.
See 1.
4. recent date of use of the package and the user name.
You have activated the audit. If you do, and you level use this package, you will need to look at the views DBA_AUDIT.
See http://tahiti.oracle.com for more details on the different points of view.
-
Technical details of the package in the data dictionary
Hi can u tell someone in what data dictionary table func or procedure declared in the package specification is stored?
For ex.
CREATE OR REPLACE PACKAGE IN THE PKG_TEST
F_1 FUNCTION RETURN NUMBER;
F_2 FUNCTION RETURN NUMBER;
F_3 FUNCTION RETURN NUMBER;
-----------------------------
-----------------------------
-------------------------------
FUNCTION F_10 RETURN NUMBER;
END PKG_TEST;
Now the data dictionary tables, I want to know what are the functions created in PKG_TEST.i.e. He me F_1 would list at F_10.
I checked in User_Source, but finding not useful.
user_procedures
-
Web ADI - Modification of the standard model FA additions problem
Dear gurus,
We are on Oracle EBS 11.5.10.2. DB 10g on Oracle Enterprise Linux BOX 5.8...
I changed the custom template to Addition of FA... Here's what I need and what I did...
1. I have excluded from the scope of the mandatory clearing of the model account.
2. I activated 1 attribute attribute 6 columns for display.
3. permit to these fields for mapping as well.
4. has created a new model.
All I did is by adjusting the back-end information.
Problem:
I get the attributes in the layout creation page there I can select to show on the journal lines web adi spread
but when I create the document attribute columns does not appear in the worksheet.
I bounced the machine after making the changes has yet no results.
Technical changes I did to achieve this:
update of bne_interface_cols_b x
Set x.DISPLAY_FLAG = 'Y '.
where x.INTERFACE_COL_NAME in ('Attribut1', 'Attribut2', 'Attribut3', 'ATTRIBUTE4', 'ATTRIBUTE5', 'ATTRIBUTE6')
and x.INTERFACE_CODE = 'FA_MASS_ADD_INTERFACE. '
update of bne_interface_cols_b x
Set x.MAPPING_ENABLED_FLAG = 'Y '.
where x.INTERFACE_COL_NAME in ('Attribut1', 'Attribut2', 'Attribut3', 'ATTRIBUTE4', 'ATTRIBUTE5', 'ATTRIBUTE6')
and x.INTERFACE_CODE = 'FA_MASS_ADD_INTERFACE. '
Please let me know what I need to do to make it visible.
Kind regards
Natacha MelchiadeThank you Leo your answer was really helpful.
Here's what I did,Update bne_interface_cols_b
Set val_type = null, GroupName = null
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE. '
and interface_col_name ('Attribut2', 'ATTRIBUTE4', 'ATTRIBUTE5', 'ATTRIBUTE6', 'ATTRIBUTE7')Walla it's show in web adi. I am able to download the data...
but I am facing a new type of problem... When I transfer data using pre post
data are downloaded, but I get this warningNo descriptive to validate flexfield concatenated value.
How to get rid of him?
Kind regards
Natasha -
Web ADI - log reverse which gives the error message - 'enter a valid reversal period ".
When try to reverse the journal through WEB ADI entries get the error message following 'enter a valid recovery period. "
Kindly let me know how to solve.
PL activate trace according to MOS 817023.1 Doc - a SR was opened with support?
-
The package level logging to the Oracle JDBC driver?
With JDK Logging (java.util.logging) I was not able to open a session active newspapers at the class level. It was only possible to activate the logs for a particular java package.
For example to enable the logs from the oracle.jdbc.pool.OracleDataSource of the class in the oracle jdbc driver, must be added below the line in the logging.properties file.
You couldn't dooracle.jdbc.pool.level = FINE
Am I missing something? If it is not possible to activate the logging of class level, can someone indicate the reason behind not able to do so or why java.util.logging does not allow this?oracle.jdbc.pool.OracleDataSource.level = FINE
Published by: EJP on 23/06/2011-17:00: fixed your title according to the directions of the discussionThis isn't for lack of java.util.logging. It's because that's how Oracle chose to implement logging in the package oracle.jdbc.pool, i.e. at the level of the package name. Java.util.Logging can go as thin as you like, depending on what names pass you to Logger.getLogger ().
-
How to create a model Web ADI and save it in our applications?
Hi all
I want to create a user registration model he Web ADI so that I can send the form to the customer and they will just fillup the spreadsheet with all users want to add to the system and then load using Web Adi.
For example, this form is:
I want to create a model Web ADI for the forms above, which is recorded in the database of applications. As in the example of template below:
1. Add Oracle WEB ADI you your responsibility. Learn how to create document etc.
2. via large Oracle book, Journal enter and click Launch Wizard Journal... from there, you can create similar joint document
Please help how to create templates like this.
Thank you very much
MK
I haven't worked much on WebADI recently. But I think I understand the mode of operation has not changed, so the link I gave (the one Karim) should always hold.
The other two (more recent) that I found when google
oatrain: Simple Custom WebADI Integrator with 12.1.2 Desktop Integration Manager
Oracle Web ADI: Creating a custom Integrator | Suite Oracle e-Business Applications
According to the second link:
Desktop Integration manager involves the creation/management of integrators and parameters
Office Integrator allows you to create any documents, layout, Mapping, configuration options etc.,.
You can connect to the application and see what the differences are. Sorry I don't have access to an instance at the present time and no longer remember.
Cjeers
AJ
-
Hi all
I get the following error.
Can someone help me solve this error?
I gave properly database connection only.
I don't know why I get this error again and again.
Details of the exception.
oracle.apps.fnd.framework.OAException: Application: DNF, name of the Message: SYSTEM ERROR. Chips: MESSAGE not = no driver. (Could not find message because there is no connection to the base) at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:884)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:347)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at runregion. jspService(runregion.jsp:96)Change your package name to reflect an existing short name of application in e-Business
OR
If you use a short name custom application, check this has been saved successfully in the e-BusinessWhen you use the word "trial".
Thank you
-
ORA-04068: current state of the packages was waived - avoid
Hello
I fight with the bad behavior of developers that is, something like this:
I did some tests and looks like when you recompile pkg1 withCREATE OR REPLACE PACKAGE pkg1 IS g_version VARCHAR2(20) := '7.3'; TYPE t_id_kon IS RECORD( id_kon VARCHAR2(12), sr_id NUMBER(5)); TYPE t_id_kont IS TABLE OF t_id_kon INDEX BY BINARY_INTEGER; FUNCTION get_version RETURN VARCHAR2; END pkg1; /
Global g_version variable it is ORA-04068 generated for all sessions using this pkg1 before recompiling.
But what about type and table_type declared in pkg1 they cause same behavior as g_version global varialbe?
And generally how to treat than the types of situations of application point of view, you must catch this exception and re-run your application just?
concerning
GregGPackages tend to fail because of their 'package '. A package has a 'State' when it contains the package variable and constant level etc. and the package is called. On the first calling package, the 'State' is created in memory to hold the values of these variables, etc. If an object including the package depends on for example a table is changed somehow example deleted and recreated due to data dependencies, the package then takes a State not VALID. When you do then appealed to the package, Oracle examines the status and see that it is not valid, then determines that the package has a "State". Because something changed the package depended on, the State is taken as being obsolete and is ignored, which causes the error "State package has been abandoned" message.
If a package has no variables of level package etc. i.e. the 'State' and then, taking the same example above, the whole takes an INVALID state, but when you make then a call to the package, Oracle considers as invalid, but knows that there is no 'State' attached to it and is therefore able to recompile the package automatically and then continue execution without causing error messages. The only exception here is if the thing that the package was dependent on a change of such kind that the package may not compile, in which case you will get an invalid error package type.
And if you want to know how we prevent Jetty package States...
Move all variables and constants in a stand-alone package specification and to refer to those of your original package. So when the status of your original packing is invlidated for some reason, it has no State package and can be recompiled automatically, however the packaging containing the vars/const is not cancelled because it has no dependencies, so the State that is in memory for this package will remain and may continue to be used.
As for package-level sliders, you will need to make these premises to the procedures/functions using them as you won't be able of sliders reference in all of packages like that (not sure on the use of the REF CURSOR but... exists for me to study!)
This first example shows the State being disabled by adding a new column on the table and causing to give a 'Package State scrapped' error...
SQL> set serveroutput on SQL> SQL> create table dependonme (x number) 2 / Table created. SQL> SQL> insert into dependonme values (5) 2 / 1 row created. SQL> SQL> create or replace package mypkg is 2 procedure myproc; 3 end mypkg; 4 / Package created. SQL> SQL> create or replace package body mypkg is 2 v_statevar number := 5; -- this means my package has a state 3 4 procedure myproc is 5 myval number; 6 begin 7 select x 8 into myval 9 from dependonme; 10 11 myval := myval * v_statevar; 12 DBMS_OUTPUT.PUT_LINE('My Result is: '||myval); 13 end; 14 end mypkg; 15 / Package body created. SQL> SQL> exec mypkg.myproc My Result is: 25 PL/SQL procedure successfully completed. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY VALID SQL> SQL> SQL> alter table dependonme add (y number) 2 / Table altered. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY INVALID SQL> SQL> exec mypkg.myproc BEGIN mypkg.myproc; END; * ERROR at line 1: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "SCOTT.MYPKG" has been invalidated ORA-06508: PL/SQL: could not find program unit being called: "SCOTT.MYPKG" ORA-06512: at line 1 SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY INVALID SQL> SQL> exec mypkg.myproc PL/SQL procedure successfully completed. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY VALID
And the following example shows how to get the package in their own specifications of package variables, allows the package to automatically recompile when it is called even if it has become invalid by the action to add a column to the table.
SQL> drop table dependonme 2 / Table dropped. SQL> SQL> drop package mypkg 2 / Package dropped. SQL> SQL> set serveroutput on SQL> SQL> create table dependonme (x number) 2 / Table created. SQL> SQL> insert into dependonme values (5) 2 / 1 row created. SQL> SQL> create or replace package mypkg is 2 procedure myproc; 3 end mypkg; 4 / Package created. SQL> SQL> create or replace package mypkg_state is 2 v_statevar number := 5; -- package state in seperate package spec 3 end mypkg_state; 4 / Package created. SQL> SQL> create or replace package body mypkg is 2 -- this package has no state area 3 4 procedure myproc is 5 myval number; 6 begin 7 select x 8 into myval 9 from dependonme; 10 11 myval := myval * mypkg_state.v_statevar; -- note: references the mypkg_state package 12 DBMS_OUTPUT.PUT_LINE('My Result is: '||myval); 13 end; 14 end mypkg; 15 / Package body created. SQL> SQL> exec mypkg.myproc My Result is: 25 PL/SQL procedure successfully completed. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY VALID SQL> SQL> alter table dependonme add (y number) 2 / Table altered. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY INVALID SQL> SQL> exec mypkg.myproc My Result is: 25 PL/SQL procedure successfully completed.
-
error ORA-4068:-l' current state of the package is invalidated
Hai friends,
Please see this link
Problem we faced, it is ' error ora-4068:-l' current state of the package is disabled "in the application.initiallly of customer, we migrated to oracle 9i and 10g 10.2.0.4.0
We have discussed and obtained the solution as the timestamp of the objects may be different. (we expect the access rights of the table sys.obj$) pls see the link
But now we are informed senior as below
(1) error ora-4068 will come only when recompile us the view. is this true?
(2) 6136074 bug is fixed in 10.2.0.4.0. is it?
Gurus of give your valuable suggestions
SPackages tend to fail because of their 'package '. A package has a 'State' when it contains the package variable and constant level etc. and the package is called. On the first calling package, the 'State' is created in memory to hold the values of these variables, etc. If an object including the package depends on for example a table is changed somehow example deleted and recreated due to data dependencies, the package then takes a State not VALID. When you do then appealed to the package, Oracle examines the status and see that it is not valid, then determines that the package has a "State". Because something changed the package depended on, the State is taken as being obsolete and is ignored, which causes the error "State package has been abandoned" message.
If a package has no variables of level package etc. i.e. the 'State' and then, taking the same example above, the whole takes an INVALID state, but when you make then a call to the package, Oracle considers as invalid, but knows that there is no 'State' attached to it and is therefore able to recompile the package automatically and then continue execution without causing error messages. The only exception here is if the thing that the package was dependent on a change of such kind that the package may not compile, in which case you will get an invalid error package type.
And if you want to know how we prevent Jetty package States...
Move all variables and constants in a stand-alone package specification and to refer to those of your original package. So when the status of your original packing is invlidated for some reason, it has no State package and can be recompiled automatically, however the packaging containing the vars/const is not cancelled because it has no dependencies, so the State that is in memory for this package will remain and may continue to be used.
As for package-level sliders, you will need to make these premises to the procedures/functions using them as you won't be able of sliders reference in all of packages like that (not sure on the use of the REF CURSOR but... exists for me to study!)
This first example shows the State being disabled by adding a new column on the table and causing to give a 'Package State scrapped' error...
SQL> set serveroutput on SQL> SQL> create table dependonme (x number) 2 / Table created. SQL> SQL> insert into dependonme values (5) 2 / 1 row created. SQL> SQL> create or replace package mypkg is 2 procedure myproc; 3 end mypkg; 4 / Package created. SQL> SQL> create or replace package body mypkg is 2 v_statevar number := 5; -- this means my package has a state 3 4 procedure myproc is 5 myval number; 6 begin 7 select x 8 into myval 9 from dependonme; 10 11 myval := myval * v_statevar; 12 DBMS_OUTPUT.PUT_LINE('My Result is: '||myval); 13 end; 14 end mypkg; 15 / Package body created. SQL> SQL> exec mypkg.myproc My Result is: 25 PL/SQL procedure successfully completed. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY VALID SQL> SQL> SQL> alter table dependonme add (y number) 2 / Table altered. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY INVALID SQL> SQL> exec mypkg.myproc BEGIN mypkg.myproc; END; * ERROR at line 1: ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package body "SCOTT.MYPKG" has been invalidated ORA-06508: PL/SQL: could not find program unit being called: "SCOTT.MYPKG" ORA-06512: at line 1 SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY INVALID SQL> SQL> exec mypkg.myproc PL/SQL procedure successfully completed. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY VALID
And the following example shows how to get the package in their own specifications of package variables, allows the package to automatically recompile when it is called even if it has become invalid by the action to add a column to the table.
SQL> drop table dependonme 2 / Table dropped. SQL> SQL> drop package mypkg 2 / Package dropped. SQL> SQL> set serveroutput on SQL> SQL> create table dependonme (x number) 2 / Table created. SQL> SQL> insert into dependonme values (5) 2 / 1 row created. SQL> SQL> create or replace package mypkg is 2 procedure myproc; 3 end mypkg; 4 / Package created. SQL> SQL> create or replace package mypkg_state is 2 v_statevar number := 5; -- package state in seperate package spec 3 end mypkg_state; 4 / Package created. SQL> SQL> create or replace package body mypkg is 2 -- this package has no state area 3 4 procedure myproc is 5 myval number; 6 begin 7 select x 8 into myval 9 from dependonme; 10 11 myval := myval * mypkg_state.v_statevar; -- note: references the mypkg_state package 12 DBMS_OUTPUT.PUT_LINE('My Result is: '||myval); 13 end; 14 end mypkg; 15 / Package body created. SQL> SQL> exec mypkg.myproc My Result is: 25 PL/SQL procedure successfully completed. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY VALID SQL> SQL> alter table dependonme add (y number) 2 / Table altered. SQL> SQL> select object_name, object_type, status from user_objects where object_name = 'MYPKG' 2 / OBJECT_NAME -------------------------------------------------------------------------------------------------- OBJECT_TYPE STATUS ------------------- ------- MYPKG PACKAGE VALID MYPKG PACKAGE BODY INVALID SQL> SQL> exec mypkg.myproc My Result is: 25 PL/SQL procedure successfully completed.
-
installation of 10g on OEL5.5 (Details of the required package)
Hello all;
I need information about the packages required for the installation of 10g.
It's for my free practice only between two VMs on the same host and not for commercial purposes.
Usually I select after to the parcel. IS it enough? or do I have to add a few extra packages?
GNOME desktop environment
Editors in Chief
Internet graphics
Text on Internet
Development libraries
Development tools
Existing software development
Server Configuration Tools
Administration tools
Base
Support for software
System Tools
X Window System
System Tools
If I need additional packages, please provide details.
Thanks in advance...
The valid oracle package is available for Oracle Linux, RHEL not. Oracle-validated packages will fire the installation of the required packages and also configure your account settings and the oracle kernel.
-
Advertise the package as a web service
Hi all
I used the version of JDeveloper: Studio Edition Version 11.1.1.5.0
I had to publish a package of database as a web service.
so I created a connection to the database in JDeveloper and then sailed to the packages and right clicked on the packaging and you click on publish it as a web service.
then deployed to weblogic server code, created the data source required in the weblogic with a size 15 connection.
It went well for a few days, and then I started to receive an error indicating that the connection pool is exhausted and that he cannot get a new connection of it.
see that the web service is still in test phase and there is not a lot of active users at the same time (less), it was weird that this happens.
After inspecting the code generated by JDeveloper, find that the code closes the connection only if there was no error in the call to the database.
something like
which translates the leakage of resources.try{ __onnScopeMethod=__dataSource.getConnection(); java.lang.String __jRt_3=xparam; oracle.xdb.XMLType __jRt_2=null; __jRt_2=null; if(__jRt_3!=null){ __jRt_2=oracle.xdb.XMLType.createXML(__onnScopeMethod,__jRt_3); } __jRt_0=super._callDatabaseMethod(__jRt_2,__onnScopeMethod); if(__jRt_0==null){ __jRt_0_x=null; } else { long __stringLen=__jRt_0.length(); if(__stringLen>Integer.MAX_VALUE){ throw new java.sql.SQLException("CLOB too large: "+__stringLen); } else { __jRt_0_x=__jRt_0.getSubString(1L,(int)__stringLen); } } __onnScopeMethod.close(); } catch(java.sql.SQLException except){ except.printStackTrace(); throw new java.rmi.RemoteException(except.getClass().getName()+": "+ except.getMessage()); }
I have modified the code and deployed.
what I want to ask is: is this the correct behavior? or is this an error in the earlier version of jdeveloper?After you deploy the modified code, I wasn't the same problem again, so should I file a bug report or what?
This is the final version of the code after change:
Connection __onnScopeMethod=null; try{ __onnScopeMethod=__dataSource.getConnection(); java.lang.String __jRt_3=xparam; oracle.xdb.XMLType __jRt_2=null; __jRt_2=null; if(__jRt_3!=null){ __jRt_2=oracle.xdb.XMLType.createXML(__onnScopeMethod,__jRt_3); } __jRt_0=super._callDatabaseMethod(__jRt_2,__onnScopeMethod); if(__jRt_0==null){ __jRt_0_x=null; } else { long __stringLen=__jRt_0.length(); if(__stringLen>Integer.MAX_VALUE){ throw new java.sql.SQLException("CLOB too large: "+__stringLen); } else { __jRt_0_x=__jRt_0.getSubString(1L,(int)__stringLen); } } __onnScopeMethod.close(); } catch(java.sql.SQLException except){ except.printStackTrace(); throw new java.rmi.RemoteException(except.getClass().getName()+": "+ except.getMessage()); }finally{ if(__onnScopeMethod!=null && !__onnScopeMethod.isClosed()){ __onnScopeMethod.close(); } }
Maybe you are looking for
-
Spotty with trackpoint scrolling? (X 250)
When scrolling with the trackpoint, I find that the pages run as smooth as did the older ThinkPad. My T410 scrolls more smoothly than my X 250, and I think it's a driver problem. I have the latest Synaptics driver, that would be 18.1.27.14. I tried r
-
In test report says wireless network wireless radio does not (8500 a909g)
I can't get my HP Officejet Pro 8500 Wireless put A909g in place on the network. I have the correct network name, security type, and the security key, but it does not detect the printer. I ran a test on the printer's wireless network and, at the top
-
Windows update error 8000b 0100 need help serious
I have a x83vb from asus with WinVista SP1 64-bit and every time I have try to launch an update that it gives me Windows update error 8000b 0100 and ive tried system, Ive update readiness tool used the fixit now normal and aggressive, ive run manual
-
One of my friends asked me to help because she has a serious eye problem requiring a transplant, and his other eye is not so good either. To see the screen, it uses the function of magnification of the screen on a 24 "monitor and sits with his eyes o
-
trying to open an empty database in the works of Mrs. Opens a database previously unregistered as if it were a model