APEX WITH HTMLDB
Hi everyone,
We've already developped applications with prior release (it means HTML-DB 1.6)
Now, we are insterested to use also APEX 4.0 to run other applications.
Is it possible to have two different releases HTML-DB 1.6 and APEX 4.0 in the same data base ?
If yes, what we have to do to get success with both releases, in two different schemas ?
If not, why you don't suggest me to go forward with this idea ?
Could you help me to find a very good solution ?
Thank you very much. Bye.
Hello,
>> Is it possible to have two different releases HTML-DB 1.6 and APEX 4.0 in the same data base ?
No, this is not possible. Only a single instance (i.e. single version) can run in each database.
>> Could you help me to find a very good solution ?
The best solution will be to install the latest version of APEX 4.0 and upgrade your old application. There is a direct upgrade path from 1.6 to 4.0 (actually, all you need to do is to install APEX 4.0 on the same server as the 1.6 and the installation script will upgrade your application. After the upgrade, you’ll probably need to make some adjustment to the old application, but as 1.6 didn’t support AJAX and other advanced features, I’m assuming the main adjustments will be in the theme and templates area).
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
Similar Messages
-
Integrating Oracle Apex with Oracle eBusiness Suite
Hi All,
Can someone give me details about how we can integrate Oracle Apex with eBusiness Suite. We have few custom forms/ reports which are being developed in Apex. We want to register these in oracle applications as standard functions and link them to user responsibilities. Is it a good idea to create ApEx as separate application or can we use an existing application (like OM).
Any pointers, references, documents with reference to this would be very useful.
Thanks in advance.or view: http://skrajend.blogspot.com/2007/06/htmldb-authentication-with-oracle.html
There are other excelent tip from Rod West
http://www.oracle.com/technology/products/database/application_express/pdf/Extend_Oracle_Applications_11i.pdf
regards
Rolando
Edited by: RolandP on May 12, 2009 6:56 PM -
Problem in Integration of Apex with R12
Hello,
I followed the paper apex-ebs-extension-white-paper-345780.pdf to do Integration of Apex with R12. but stuck on one step.
I am done with all the steps in R12. Now if i click the menu in R12, its going to my existing Apex aplication but still asking username and password.
Can anyone help me out in what exactly I need to change in Apex Authentication scheme in Apex. Right now I am using Authentication scheme as Application Express.
Please help me out
Thanks in advance
Ananya
Edited by: Ananya on 26 Dec, 2011 8:51 PMHi Mini,
Thanks a lot for ur replies. But it is not working for me. I am not able to figure out whats going wrong.
My Requirement is to redirect to the first page of my application without asking for the APEX login page from the EBS menu.
So summarizing whatever I steps i have followed:-
(1) Created Profile and function in APPS as given in "apex-ebs-extension-white-paper-345780.pdf"
(2) I created the following package in APPS schema
CREATE OR REPLACE PACKAGE APPS.XXAPX_SECURITY_PKG AUTHID DEFINER AS
FUNCTION generate_hash (
p_string IN VARCHAR2
, p_offset IN NUMBER DEFAULT 0) RETURN VARCHAR2;
FUNCTION validate_hash (
p_string IN VARCHAR2
, p_hash IN VARCHAR2
, p_delay IN NUMBER DEFAULT 5) RETURN BOOLEAN;
END XXAPX_SECURITY_PKG;
CREATE OR REPLACE PACKAGE BODY APPS.XXAPX_SECURITY_PKG AS
g_key VARCHAR2(100);
FUNCTION generate_hash (
p_string IN VARCHAR2
, p_offset IN NUMBER DEFAULT 0) RETURN VARCHAR2
IS
BEGIN
IF p_string IS NULL THEN RETURN NULL; END IF;
RETURN RAWTOHEX(UTL_RAW.cast_to_raw(
DBMS_OBFUSCATION_TOOLKIT.MD5(
input_string=>p_string||':'||
TO_CHAR(SYSDATE-(p_offset/24*60*60), 'YYYYMMDD HH24MISS')||g_key)));
END generate_hash;
FUNCTION validate_hash (
p_string IN VARCHAR2
, p_hash IN VARCHAR2
, p_delay IN NUMBER DEFAULT 5) RETURN BOOLEAN
IS
BEGIN
FOR i IN 0..p_delay LOOP
IF p_hash = generate_hash (p_string, i) THEN RETURN TRUE; END IF;
END LOOP;
RETURN FALSE;
END validate_hash;
BEGIN
SELECT encrypted_user_password INTO g_key
FROM FND_USER WHERE user_name = 'SYSADMIN';
END XXAPX_SECURITY_PKG;
(3) Created a function in the APPS schema:-
create or replace FUNCTION ebs_authenticate (
p_username IN VARCHAR2
, p_password IN VARCHAR2) RETURN BOOLEAN
AS
BEGIN
IF apps.XXAPX_SECURITY_PKG.validate_hash (p_username, p_password) THEN RETURN TRUE; END IF;
RETURN (apps.FND_WEB_SEC.validate_login (p_username, p_password) = 'Y');
END ebs_authenticate;
(4) In my authentication scheme of my apex application i have changed it to use custom authentication to use the below function
return apps.ebs_authenticate
(5) Created a procedure in the APPS schema:-
create or replace PROCEDURE apps_logon
IS
v_username VARCHAR2(100);
v_password VARCHAR2(32);
BEGIN
wfa_sec.getsession(v_username);
v_password := xxapx_security_pkg.generate_hash(FND_GLOBAL.user_name);
IF v_password IS NOT NULL THEN
APEX_CUSTOM_AUTH.login(
P_UNAME => v_username,
P_PASSWORD => v_password,
P_SESSION_ID => v('APP_SESSION'),
P_APP_PAGE => apex_application.g_flow_id||':38'
ELSE
RAISE_APPLICATION_ERROR(-20001, 'Password is null, session id = '||icx_sec.g_session_id);
END IF;
END apps_logon;
(6) In my login page, i have created a process Get Username Cookie and with the process point: onload(Before Header)
BEGIN
apps.apps_logon;
EXCEPTION WHEN OTHERS THEN NULL;
END;
Now I am getting this error with the login page :-
ORA-06502: PL/SQL: numeric or value error: character string buffer too small Content-type: text/html; charset=UTF-8 Set-Cookie: WWV_CUSTOM-F_1120314105059329_811=B4134623EB436033; path=/; Location: f?CallFromForm='Y'&p=811:38
Please help me figure out the problem as I am struggling a lot with this from last few days :(
Thanks in advance. -
How to set user friendly URL in ApEx with OHS 11g ?
Hi,
How to set user friendly URL in ApEx with OHS 11g ?
I want change the link http://190.148.xxx.xxx:8080/pls/apex to something like http://xxx.com.
I dont want to use iFrame solution. Please suggest any other method to acheive the same.
Thanks & Regards,
RanuHi all
Iam using apex 4.0 -oracle 11g with OHS on linux os
I need to change my apex url http://x.x.x.x:xxxx/apex to http://x.com
What are the settings i need to do.
If any one knows please share the solution with me
Thanks & In advance -
How to create a Shuttle box in Apex with simple copy and move option..
I want to create a shuttle box in Apex with simple copy option. the demo application I downloaded from oracle had a two level selection query option which I dont need and was not even compatible with my version. All I need is a way to shuttle single query values between two multiple select lists. I could not find any demo.
My Apex version 2.1 with XE
query : select distinct fieldid d, fieldid r from field order by 1
What kind of buttons do I need.. ? submitting or url redirecting ?Hello,
>>
The demo is not working in my apex 2.1 as I mentioned in the post.
>>
Not working is not enough of a description to help you out. I assume that what you mean is it won't install into XE since the demo was built in 2.2 and uses some 2.2 specific technology for the install.
The way to get around that issue like I said was to get a free workspace on apex.oracle.com install the demo application there and then using some cutting and pasting recreate the demo app in your XE instance.
Carl -
Integration of Oracle Apex with EBS R12.1.1
Dear All,
We are in process of integrating Oracle Apex 4.0.2 with EBS R12.1.1 with the help of http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf.
After doing all the steps, the moment when we navigate from EBS application to Apex application by clicking on the EBS menu link it ends up with below error
"404 Not Found
Resource /OA_HTML/null/pls/apex/f not found on this server"
After some analysis i found the below code in "LaunchApex.jsp" for getting the profile value (supposed to be 'http://myserver:port') from custom system profile "APEX_HTTP_SERVER" and prefixing to "/apex/f?p=applicationid:page::APPS:::" is not happening properly
String l_launcher = ctx.getProfileStore().getProfile("APEX_HTTP_SERVER");
l_launcher = l_launcher + "/apex/f?p=" + p_application + ":" + p_page;
l_launcher = l_launcher + "::APPS:::" + p_item_names + ":" + p_item_values;
as we found that the custom system profile "APEX_HTTP_SERVER" not exist in EBS system. But it works without any page error if we hard code the entire apex application URL in l_launcher variable, but this takes us to EBS login page instead of Apex application page.
So i feel we can't bypass using profile value from "APEX_HTTP_SERVER" as it has some relation with EBS application session.
So could anyone please help me how we could create custom system profile "APEX_HTTP_SERVER" or any other options to make the seamless integration of Oracle apex with EBS works without any second login page
Thanks in advance
Edited by: 805196 on Aug 25, 2011 12:23 AMHi,
Create a profile under Application Developer Responsibility as follow:
Name OAE_LAUNCHER
Application <whatever>
User Profile Name Oracle Application Express Launcher
Description Oracle Application Express Launcher
2. Set above profile value under System Administrator Responsibility -> Profile -> System, and search for the ‘OAE_LAUNCHER’.
Set the value at Site Level as:
http://<hostname>:<Apex port>/pls/apex
Then instead of hardcoding the URL in the jsp, just give the profile name OAE_LAUNCHER that you have just created in the jsp.
Hope this helps you
Brgds,
Mini
If this is helpful or correct, assign points promptly. -
Integrating Apex with Cocoon (does it make pdf from taking data from DB)
Friends,
I integrated Apex with appache with cocoon. Its working fine with reports but i want it to work with form on a table or view.The steps below which i have followed for integrating Apex with Cocoon
Steps of pdf Printing of Report with cocoon:
1) Download and unzip the following needed files in D:\Apex_fop directory.
2) Open your command prompt .
Change the directory to D:\Apex_fop\cocoon-2.1.11.
Set the Java_Home environment variable as: set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_21
then type build war
3) After getting the prompt back as D:>Apex_fop>cocoon-2.1.11>
Copy coocon.war file from the folder D:\Apex_fop\cocoon-2.1.11\build\cocoon.
Paste this file into webapps subdirectory in main tomcat directory having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps.....place it in the top
level of webapps directory.
4) Now just startup tomcat as D:>APEX_FOP>apache-tomcat-6.0.26>bin>startup.bat
The cocoon.war file will automatically uncompressed as directory.
5) To change the port of apache tomcat , edit apache-tomcat-6.0.26\conf\server.xml & change port attribute of Connector element from 8080 to 8181.
Just check whether Tomcat is running or not as http://localhost:8181/
& to check cocoon type http://localhost:8181/cocoon/
6) Now copy fop_post directory & paste it undes new cocoon directory in webapps having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps
\cocoon.
7) Now you need to do some apex settings as follows:
In APEX, just log in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
- Print Serverr: Standard Support
- Print Server Protocol: HTTP
- Print Server Host Address:localhost
- Print Server Port: 8181
- Print Server Script: /cocoon/fop_post
In your APEX application, in the Regions section, Click on the Print link next to your report and do the following settings:
- Enable Report Printing: Yes
- Link Label: Print
- Response Header: Report Settings
- View File As: Attachment
- Output Format: PDF
- Report Layout: Default Report Layout
- Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
8) Open up the Report Page and click Print , You will get the pdf report.
But my requirement is bit different. I have made form on a table or view , so when i am submitting my form the record is getting updated in my database and at the same time a new button is appearing at same page as i have branched it in same page. The new button name is print. I want when i click this print button it should print the record which submitted recently. How can i enable the print functionality on form. Its simple in report but how can it be done on form?
Looking forward for this to know wthr it is achievable or not and if yes what all are the ways?
Thanks in advance for all who is going to post here and to them also who is giving their time in reading my thread
Regards
Adi
Edited by: Adi's on Mar 23, 2010 8:54 PM
Edited by: Adi's on Mar 23, 2010 8:54 PMYou could redirect to a report page instead of to the form page. Then simply print the report.
This makes sense. You would have one page for entering the data and another page for displaying and printing it. -
How to integrating APEX with the Oracle eBusiness suite release 11i
I need to integrate Apex with Oracle eBusiness Suite Release11. APEX need to use ERP authentication (user name/password) and oracle APEX pages will be called from oracle eBusiness Relese 11i menu.
I have followed metalink doc. 373604.1 and also looked into http://www.oracle.com/technology/products/database/application_express/pdf/Extend_Oracle_Applications_11i.pdf
I have setup DAD on Apache server, oracle Apps functions/menu and created apex_authorise function and added to my APEX application. I have followed the all the steps from above pdf file.
Here is my issues:
1. When I try to launch a APEX page again it asking me for the user name password
2. If I remove login page from APEX application then I can launch my APEX application but I cannot see any images
3. I need to pass oracle ERP 11i user and responsibility information to APEX. How should I do this?
Any help will be really appreciated
Thanks in advanceMany customers want this and would have hoped that Oracle would have included this as an option. Unfortunately, the left hand(Oracle Apps product managers) don't talk to the right hand(Apex product managers). They totally missed this great opportunity to make life much easier for Oracle Apps customers who have been waiting for this capability that Apex provides. At the present time this is somewhat a black hole. There are people who have figured it out but no one has provided the recipe for everyone else. It's very unfortunate and a complete oversight by Oracle in my opinion. They've got thousands of people developing code but no one had any foresight to see who would use Apex and how they would use it.
-
How to connect APEX with MYSQL via Apex's Database link
How do i connect APEX with MYSQL via Apex's Database link? The OBE doesn't go into specific detail about how to link the two.
can someone please elaborate on what these are and where i can find them in mysql:
Database Link Name
Connect To Schema
Password
Remote Hostname or IP
Remote Host Port
SID or Service Name
I need to link to mysql database so I can set up a 3D pie chart in apexHi jononioo
A database link is a device for connecting between Oracle database instances only. Oracle does have a method for connecting to other database systems (Transparent Gateway) but this is restricted to other commercial databases and I don't believe there is a gateway for Mysql. (I could be wrong)
I don't know Mysql but maybe there is some way to push data to the Oracle instance. Other than that, is there any reason why the data has to reside in the Mysql database?
Regards
Andre -
Has anyone needed to integrate Apex with SharePoint?
Need to perform a query on a SharePoint server.
I created a page in html to perform a test and it worked.
The same code within the Apex did not work.
The query does not return and does not return errors.
The request was made via AJAX.
follows:
$. ajax ({
url: "http://../lists.asmx"
type: "POST",
dataType: "xml",
date: soapenv,
complete: processResult,
contentType: "text / xml; charset = \" utf-8 \ ""
Does anyone know how to do this query?
thank youThe query does not return and does not return errors.
The request was made via AJAX.Use Chrome's network monitor to see details of the request and the response you get.
If you want to do the query/request from the server side, ie using PL/SQL instead of Javascript, then the following may be of help: http://ora-00001.blogspot.no/2011/08/ntlm-for-plsql.html
- Morten
http://ora-00001.blogspot.com -
Using APex with Airtunes from an iMAc can you control playing tunes?
Hi, got an imac at Xmas, am looking into Airport stuff, and found this APex, with wireless play of iTunes music, Ive been looking into the Philips streamium and stuff doe playing tunes.
My question is once setup from your iMac to play music wirelessly how can you control it? Ive read the manual but doesnt say anything. So can all you do is press shuffle on the iMac and then it plays everything?
I know you could do playlists and stuff, but I have all my music, kids music, wife's music in my library, so theres a real mixture, and Im sick of listening to High School Musical!!
So can you contol the song playing, ie skip etc with it?
cheersiTunes needs to be running in order to stream music to the Airport Express so therefore - no - the Mac running iTunes cannot be in sleep mode. It must be powered up and running, though you could blank the screen if you wish.
Why did Apple not build the function of the Keyspan Express remote into the Airport Express. Likely because it would have increased the cost of the product by 50%, while at the same time adding a feature most people would be happy to live without - in other words, not a great idea from a product marketing perspective. -
Integration of APEX with Cognos BI SDK
Hi All,
Is it possible to integrate APEX with cognos BI SDK.
If yes, how do we integrate both of the.
What are the pre-requisites for his.
Please name the jar, and also the process of intgrationHi,
Apart from single sign-on, its very straight forward.
I guess, when you render a Cognos report you will have report URL right?
use that url in iframe
<iframe src="url" height=500px,width=500px />
But if you don't have single sign-on , you will be asked to login and once you login to Cognos, you should be good to render any report from cognos through browser.
I have integrated OBIEE and BO into our stack so, the need to train normal users is eliminated. -
Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex FOP.WAR
Apex with XE10g/Tomcat 6.0.13 PDF Print with Apex fop.war/apex_fop.jsp
Hello,
Excuse me bad english.
I have a problem with Oracle XE and Printing from Reports over Tomcat 6.0.13.
I have update Oracle XE with Apex 3.1 and it works fine.
Now i have tried to Print a report to PDF. So i have deployed the FOP.WAR from Apex Utilities under Tomcat.
I see in Tomcat Manager http://localhost:8888/manager/html/list that the FOO
has been deployed and is running.
If i try to print then i get this Message down to this page.
Can anybody give me a hint to solve this problem???
Hint
To resolve the problem i have installed Oracle OC4J with same Port and deployed
the same foo.war file.
Then works and all printing from Oracle Apex work fine and okay.
So i thing the Apex and Oracle work correct.
But we have a small Application so i would prefer to work with Tomcat a application Server.
Becaus of previous Errors have copied some *.jar files to C:\tomcat6.0.13\lib
but i thing this is not the Problem.
18.03.2007 18:12 546.765 xml.jar
18.03.2007 18:07 634.772 xmlmesg.jar
18.03.2007 18:14 1.238.899 xmlparserv2.jar
10.06.2007 22:59 674.005 xquery.jar
18.03.2007 18:11 3.059 xsqlserializers.jar
18.03.2007 18:14 194.691 xsu12.jar
10.11.2005 13:13 7.043.169 tools.jar
.... and preinstalled files
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.IllegalStateException: getOutputStream() has already been called for this response
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.IllegalStateException: getOutputStream() has already been called for this response
org.apache.catalina.connector.Response.getWriter(Response.java:604)
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:186)
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)
org.apache.jsp.apex_005ffop_jsp._jspService(apex_005ffop_jsp.java:120)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
------------------------------------------------------------------------at the end of the apex_fop.jsp put the follow code just before the driver.run(); line:
out.clear();
out = pageContext.pushBody();
and explanation of why this works is here:
http://forums.sun.com/thread.jspa?threadID=5307942 -
Integration of Oracle Apex with Oracle Applications R12
How can I integrate Oracle Apex with Oracle Applications R12? The requirement is like by clicking a menu the user will see an apex report without giving again the user name and password. By simple menu attachment it's asking for apex login credentials. But I want it will redirect to the apex page without asking for user name and password.
Please help.Hi,
Have a look at this thread.
Installation Procedure for APEX
Installation Procedure for APEX
Regards,
Hussein -
Hi,
Has any one tried integrate JSpell HTML 2004 version with HTMLDB. I have few issues.
1) Can we setup HTMLDB to use Jar files.
2) JSpell is installed in a OC4J instance on mount point /jspellhtml2k4 on same server. How to access full application with in HTMLDB.
I added a virtual path /jspellhtml2k4 in apache httpd.conf but not successful.
Thanks
S.AnupindiWhat is JSpell? If it's a spell checker there is already a built-in spell checker in HTML DB that you can use with HTML textareas.
If it's just a spell checker this sounds like a lot of trouble to use something different from what's already built-in.
Is there any reason that you need to use JSpell?
Earl
Maybe you are looking for
-
I use Flash Cs4 and all of a sudden when I try to export to avi I get "error creating avi file." Any ideas why or how to fix this? I can still export to quicktime. thanks
-
Changing themes of application in Flex 3
Hi All ,below is my mxml file , in which i am trying to change theme of my flex application by selecting the themes in combo box, but it is not working fine.Is there any bug in code ??? How to change the theme of flex application in Flex 3.. Plzz he
-
I have loads of photos to send 3 to 4 times a week at the moment I am only sending 5 at a time
How to send large files of photos in one email from my IPad via a email
-
Supress message in status bar when using Call Transaction
Hi, I have designed a RF program and I am using a BDC program to call LT11 transaction for confirming TO. As this was a Flowrack storage type we will assign Source HU during TO confirmation. So I went for a BDC. But after confirmation I am getting a
-
Column store errors during runtime
Hi, I created a HANA instance in the trial landscape and directed my application to use the HANA instance schema. Over time, I get errors: SAP DBTech JDBC: [2048]: column store error: search table error: [29] attribute not defined for physical index;