Oracle ApEx bug?
My environment:
Windows 7 32 bit
Oracle 11g XE R2
GlassFish Server Open Source Edition 3.1.2.2 (build 5)
ApEx Listener 2.0.0.354.17.05 (deployed as an application in the above web server)
ApEx 4.2.1
My Problem:
1. Define a RESTful Resource Service Module in ApEx with the following attributes:
URI template: test/
Method: Get
Source Type: Media Resource
Requires Secure Access: No
Pagination Size:
Source:
SELECT 'application/xml', XMLAGG(XMLELEMENT("EmpId", e.employee_id))
FROM hr.employees e
2. Click the "Test" button in the ApEx Resource Handler UI and witness the following error:
500 - Internal Server Error
resource.template.evaluationError during evaluation of resource template: GET geo/, SQL Error Code: 600, SQL Error Message: ORA-00600: internal error code, arguments: [kolrghte: hash table not exist], [], [], [], [], [], [], [], [], [], [], []
3. Modify the "Source" attribute for the Media Resource as follows:
SELECT 'application/xml', XMLELEMENT("EmpId", e.employee_id)
FROM hr.employees e
WHERE ROWNUM = 1
4. Click the "Test" button in the ApEx Resource Handler UI and note that XML is returned as expected.
Both of the above queries used to populate the "Source" attribute can be executed from SQLPlus without issue.
I am not experiencing any issues with the other Resource Handler types.
Any assistance would be much appreciated.
JR.
Does anyone have any ideas on this?
Similar Messages
-
I would like to find a copy of the APEX bug tracker that used to be on the apex.oracle.com web page. Does anyone know where I can find that?
I know they moved this to the cloud and I am exploring that but I would also like a local copy to experiment with.I have a copy
source
https://docs.google.com/open?id=0B_eVXQ_oe4tsSXNXUVpGQkNURWF6TmthTEQ4Nnpadw
readme
https://docs.google.com/document/d/1e3PerYZZ4K-lzMA85SCgVPpUyDSA2_I3ARuy0nQpJIQ/edit
Scott -
Integrating Google Maps in Oracle Apex and 404 Not found error page
Currently using APEX version 3.2.0.00.27 installed in OracleXE version 10.2.0.1.0. Have been attempting to recreate some examples of Google Maps within APEX. Found a nice set of examples here that build up to what I'm looking to ultimately do by incorporating google maps into APEX:
http://blog.whitehorses.nl/2009/10/04/integrating-google-maps-in-oracle-apex/
Unfortunatly, I'm getting the "404 Not Found, Not found, The requested URL /apex/wwv_flow.accept was not found on this server" page when I try to recreate the "Map with Search" example. I'd like to see if this really works using the html input and button tags in the body/region source versus creating APEX items to pass the address values to the javascript in the html header of the apex page. I'm thinking it's just an html thing within APEX that you have to do it a certain way, but I haven't managed to hit that magic combination. have gone to the google maps api v2 and looked at the html they use (it's what these examples with apex are based on) and tried that just to see. Same 404 result.
I've seen suggestions at this forum and elsewhere that the 404 error is due to a bug. have been to metalink, and really haven't seen anything that spells out what the bug is and how to patch it or work around it. May be I just haven't found the right note/doc yet. have seen suggestions to change something associated with the Anonymous account that APEX uses. Have turned on authentication in the application to use an APEX user account with a logon page to the application. Still get the 404. Although, I have not adjusted anything elsewhere, like a DADS config file, because the apex/xe configuration is using the plsql gateway. Not sure of any procedure for changing settings on anonymous account when using plsql gateway.
Open to suggestions. APEX 3.2 is customer version, so going to 4 may not be an option yet. XE, on the other hand, can certainly be swapped for an 11g version standard or enterprise edition if need be. I don't think this is a db version problem though. I think it's more on the APEX side of things.
Anyway, any help or suggestions are appreciated.
thanks
rtp
Edited by: RTP on Jun 24, 2011 10:30 AMHi I have the same problem.... if you found the solution, please put it here to see it... I need a solution to this its urgent!!
Thanks!! -
Is Oracle Apex 4.2.3 certified with Oracle EBS 12.1.3?
Is Oracle Apex 4.2.3 certified with Oracle EBS 12.1.3?
Yes it is certified as outlined in the Extending Oracle E-Business Suite Release 12 Using Oracle Application Express white paper.
Within this white paper the Prerequisites listed are:
Oracle E-Business Suite 12.1.3 or above
Oracle E-Business Suite Patch 12316083
{Go to My Oracle Support Patches & Updates: https://updates.oracle.com/Orion/PatchSearch/process_form?bug=12316083}
Fully Licensed Oracle Database1, Release 10.2.0.3 or above
Oracle Application Express 4.0 or above
The white paper is available from APEX OTN Page > Collateral > White Papers or from My Oracle Support (Note 1306563.1). -
Hi,
I have a requirement to provide a screen to user where they can import data from excel to existing table and i have seen a functionality in Data Workshop in Oracle Apex, but i am unable to use that since i have additional things needs to added into that. The requirment is mentioned below,
1) Need a screen where user can select the excel file and start importing to one temp table without any validation
2) those temp table data should be visible in Multi row form format in screen and user should able to modify the data
3) Need a mapping screen or functionality like where user can map the column from temp table to original table before moving the data to original table (like Data Workshop)
4) Data should be moved to original table and respective data should be deleted from temp table ( In case if any error occurs, error record should be displayed in temp table until unless user corrected data and move to original table)
5) Need to add different kind of validation like, update the record in original record if same id is available or insert a record, not null value etc..
Please suggest me how do i achive this in Apex.
Is there any way to use the existing data workshop fuctionality code and design in my new screen?You will probably have to code this all by yourself... There are some packages that have been written to import Excel files and CSV style files..
Here is a blog entry on doing the Excel file upload: http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Once you call that you could have a tabular form display the data to the user..
The other processes would need to be written by you (migrating data from temp table to live data table..
Thank you,
Tony Miller
Webster, TX
On the road of life...There are 'windshields', and there are 'bugs'
(splat!)
"Squeegees Wanted" -
APEX Bug: Page Copy with Items in Region on Page 0
I've created a region on Page 0 which is a common place holder for items. On all the pages developers will link several items to this region.
If I copy a page that has items associated to a region on Page 0 those items are not copied. Items that are associated to regions on the current page get copied
Martin
http://www.talkapex.comHi Martin,
I have filed bug# 10386419.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Data load uses wrong character set, where to correct? APEX bug/omission?
Hi,
I created a set of Data Load pages in my application, so the users can upload a CSV file.
But unlike the Load spreadsheet data (under SQL Workshop\Utilities\Data Workshop), where you can set the 'File Character Set', I didn't see where to set the Character set for Data Load pages in my application.
Now there is a character set mismatch, "m³/h" and "°C" become "m�/h" and "�C"
Where to set?
Seems like an APEX bug or at least omission, IMHO the Data Load page should ask for the character set, as clients with different character sets could be uploading CSV.
Apex 4.1 (testing on the apex.oracle.com website)Hello JP,
Please give us some more details about your database version and its character set, and the character set of the CSV file.
>> …But unlike the Load spreadsheet data (under SQL Workshop\Utilities\Data Workshop), where you can set the 'File Character Set', I didn't see where to set the Character set for Data Load pages in my application.
It seems that you are right. I was not able to find any reference to the (expected/default) character set of the uploaded file in the current APEX documentation.
>> If it's an APEX omission, where could I report that?
Usually, an entry on this forum is enough as some of the development team members are frequent participants. Just to be sure, I’ll draw the attention of one of them to the thread.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
Ora-06502 pl/sql numeric or value error in Report Query in oracle apex
Hello all,
I need your help...
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
I am using bi publisher to generate PDF reports in oracle apex.
We were using APEX 4.0 and migrated to 4.2 just a week ago.
Now we have apex 4.2.
When I try to Create report query,
Shared Components >> Report Queries then create.
and test a report in a create wizard I am getting a error "ORA-06502: PL/SQL: numeric or value error: character string buffer too small".
I have also applied a patch "16760897".
This issue is because of number of columns in a query is more then 26.
If I run a report with 26 or less number of columns then the is working fine, otherwise getting this error.
My before migration report queries working perfectly even now, but not new queries.
This issue is also in apex.oracle.com.
You can see
Not working - http://apex.oracle.com/pls/apex/f?p=619:4
Working - http://apex.oracle.com/pls/apex/f?p=619:2:
Please give a solution.
Thanks you.check the DB version compatibility with apex 4 or your DB version to apex 4.0 support for upgrade!
Oracle Application Express Installation Requirements for 4.0 -
How to pass a value to a bind variable in a query report in oracle apex
Hi Guys,
I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
Can anyone help me on this issue or suggest a better approach?
Thanks,
SanYou need to use dynamic sql
But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
This forum is specifically for SQL Server
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Report in pdf format in oracle apex
how can i save the contents of a form as a report in pdf format by clicking on tha print button in oracle apex???
plz help if anyone knows tha solution
Edited by: user9139675 on Mar 9, 2010 11:14 PMhow can i save the contents of a form as a report in pdf format by clicking on tha print button in oracle apex???You may create a report and call it in an Apex process fired by press a button.
in the process:
l_utl_http := utl_http.request(l_url);
where set l_url like:
http://167.165.243.209/dev60cgi/rwcgi60?repdevi_key&server=Rep60&report=my_rpt.rdf&DESFORMAT=PDF&DESTYPE=FILE&DESNAME=/arch/chrisweb/devi/cache/my_rpt.PDF&BACKGROUND=YES&P_1=PC00980
The generated pdf report my_rpt.PDF is kept at /arch/chrisweb/devi/cache/ -
Hi,
I have a requirement to fetch the view data from client instance(which is different server) to another instance lets say Development instance
Requirement:
Need to get the Apps View data from the Desired EBS instance(which is accessible online) using webservices,and display it in the Oracle Apex Development Instance.
Kindly provide your inputs how to achieve this.
Thanks in advance
keertyAre you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.
-
Getting error while importing the application in Oracle Apex
Hi,
I am facing an issue while importing an application into my new Oracle Apex installation. Installation was successful with out any issue. I exported an application from my old Apex (version 3.0.0.00.20) and importing the same into new apex (version 3.0.1.00.08). I am getting the following error.
============================================================
The requested URL /pls/apex/wwv_flow.accept was not found on this server.
============================================================
When I click on import in Application Builder page and then browse the required file it gives the progress saying "Importing File" and after some time it displays the above error.
I tried bouncing the application also and there is not error in alert log.
Could any one please suggest, if there is some problem here. Or my approach is not correct.
Thanks in advance.
Regards,
Advait DeoOsacar, I recommend that you try to import the application into your workspace on apex.oracle.com and see what happens. Also, refine the problem statement as much as you can, e.g., you get this error importing "the application" or when importing "any" application. How big is the file you're trying to import? Where did it come from? Can you upload images?
Scott -
HTTP status 500 error while importing an application in Oracle Apex workspace
Hello everybody,
I am facing an issue while importing an Oracle Apex application in one of my workspace. Below is the screen of error. But if I try to import the same export file in other workspace in other database, the import works perfectly. Any clue?
Thanks in advanceOsacar, I recommend that you try to import the application into your workspace on apex.oracle.com and see what happens. Also, refine the problem statement as much as you can, e.g., you get this error importing "the application" or when importing "any" application. How big is the file you're trying to import? Where did it come from? Can you upload images?
Scott -
Escape ' ' while creating a collection in Oracle APEX
Hi all
I am creating a collection where I am using substr and instr functions and it does give an error message as below
• ORA-06550: line 14, column 79: PLS-00103: Encountered the symbol ", -1)) OWSR, null PRIM_ADD , null PRIMA" when expecting one of the following: ) , * & = - + < / > at in is mod remainder not rem <an exponent (**)> <> or != or ~= >= <= <> and or like like2 like4 likec between || multiset member submultiset
Relevant Portion where the error pops up:
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
p_collection_name => 'RANGE_COLLECTION',
p_query => 'SELECT
:P999_LOC_TYPE ADD_TYPE_ID
, TRIM(:P999_OWSR) PRIM_ST
, SUBSTR(TRIM(:P999_OWSR),1,1) PRIM_DIR
, SUBSTR(TRIM(:P999_OWSR),INSTR(TRIM(:P999_OWSR), ' ', -1)) PRIM_SUF
......... on the line below
SUBSTR(TRIM(:P999_OWSR),INSTR(TRIM(:P999_OWSR), ' ', -1)) PRIM_SUF
Does anyone have any solution how to escape the single quotes in Oracle APEX 4.2. - like \' or something? I already tried using backslash but had no luck.
Would really appreciate your help ASAP.
Thanks,
RadsRads wrote:
Does anyone have any solution how to escape the single quotes in Oracle APEX 4.2. - like \' or something? I already tried using backslash but had no luck.Quotes in string liberals in Oracle are escaped by doubling them up:
execute immediate 'update emp set sal = sal * 1.2 where ename = ''SCOTT''';However a better approach when dealing with SQL strings is to use the alternative quoting mechanism:
execute immediate q'{update emp set sal = sal * 1.2 where ename = 'SCOTT'}';as this allows the original string to be left unaltered. -
Issue in Upgrading Oracle APEX 2.1 to 3.1
Hi,
I have recently installed Oracle Database 10g Express Edition (Oracle Database XE) which includes Oracle Application Express (Oracle APEX) release 2.1
I have upgraded from Oracle APEX 2.1 to 3.1 by following instructions in http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
Following is the sequence of steps I followed
1. @apexins SYSAUX SYSAUX TEMP /i/
2. @APEX_HOME/apex/apxldimg.sql APEX_HOME
3. @APEX_HOME/apex/apxxepwd.sql password
Now Oracle Database express home page changes to
http://127.0.0.1:8080/apex/f?p=4550:1:723721796272276
All gif logos are missing and font appears differently. More importantly nothing happens after entering workspace/username/password and clicking login button. I am using internet exlorer 7 and it says "Error on Page" on the bottom status bar.
Please let me know if any one encounterd similar issue and if you were able to fix the issue.
Thanks for your help
RSNAIKHello,
For all of you who have the same problem that we had.
After two installs and desinstall, I have finally found what to do.
You must stop the OracleXETNSListener service when upgrading Oracle Database 10g Express Edition.
Here the steps to follow assuming that you have installed Oracle Database 10g Express Edition into C:\oraclexe
and unzipped apex_3.1.2 into C:\apex on a Windows XP System :
1. On Windows XP, Startup Menu, go to the Configuration panel, open Administration Tools, open Services, then you will click on the OracleXETNSListener service, stop it.
2. On Windows XP, Startup Menu, select Execute, type cmd and press OK to open a DOS window.
3. At the DOS prompt, type cd apex.
4. At the DOS prompt, type sqlplus /nolog
5. At the SQL prompt, type connect SYS as SYSDBA
6. Type the password of the user SYSTEM that you choose when installing Oracle XE.
7. At the SQL prompt, type *@apexins SYSAUX SYSAUX TEMP /i/* (may take 15 minutes or more)
8. At the DOS prompt, be sure to be in the apex directory (C:\apex) then type sqlplus /nolog
9. At the SQL prompt, type connect SYS as SYSDBA
10. Type the password of the user SYSTEM that you choose when installing Oracle XE.
11. At the SQL prompt, type *@apxchpwd*
12. Choose a password for ADMIN, type it then press Enter
13. At the SQL prompt, type *@apxldimg* C:\ (you will perhaps obtain a message like an error but the upgrade works fine)
14. At the SQL prompt, type *@apxxepwd* password (where password is the ADMIN password choosen at step 12)
15. At the SQL prompt, type quit
16. At the DOS prompt, type exit
17. Then go to the OracleXETNSListener service and start it.
To connect as ADMIN, type the url http://127.0.0.1:8080/apex/apex_admin
username : ADMIN
password : your admin password
You will be able to create workspaces (schemas) and users
Now you will be able to connect to APEX at http://127.0.0.1:8080/apex
workspace : your login name (workspace created in apex_admin)
username : your login name (user created in apex_admin)
password : your password (password defined for the user in apex_admin)
I hope that this steps will be clear for all of you.
Thank you to user10570446 who have provided a clear step through. So that I'd take the time to clarified my solution to my type of configuration.
I hope that RSNAIK has been able to make the upgrade to APEX 3.1.2.
Good day to everyone
Edited by: Practos on 2008-12-10 09:37
Maybe you are looking for
-
I don't know of anything else to tell.
-
Acrobat 9 Pro - limiterte Druckstückzahl
Seit Acrobat 9 Pro kann man im Drucken-Dialog unter Stückzahl nur noch maximal 999 Stück manuell eintragen. In den vorigen Versionen war dieses Feld noch mit 4 Zahlen zu befüllen. Gibt es einen Work-Around für dieses Problem? Gerade im Digitaldruck-B
-
Problems with Image Disk, fantom CD on desktop and DVD burning
Hello, I met the last days a lot of problems related with logical volumes. 1) image disk which refuse to disapear when unmount 2) CD which are duplicate once burnt (the both icons disaperar when one is ejected) 3) Servers (anonymous ftp) who stays on
-
Problem calling servlet from doget method of another servlet
hi, Iam trying to post an html form written in the doGet() method of a servlet to pass this information to another servlet's doPost() method. Iam giving the following URL: "<FORM ACTION=http://localhost:8080/examples/servlet/UpdateProcessServlet" + "
-
Define logical Key on Logical Dimension Table
It's recommended to define a logical key for any logical dimension table - in 10g there was a function on the right mouse button, as far as I remember - but in 11g there is no such functionality ? the foreign key can be added by "green plus" button,