Integration of htmldb in macosX ?
Hi,
I already have htmldb 2.0 up and running on the mac (tiger 10.4.1) and want to replace the default Apache with the OracleHttpServer in such a way that it is stop/startable from the preferences panel. Did anyone do this ? How should I do this ? (and keep the default functions at the same time)
Ronald.
http://homepage.mac.com/ik_zelf/oracle
There are many third-party programs that do this. Take a look at BravoTunes, for starters.
Regards.
Similar Messages
-
Integration of iTunes into MacOSX
I think that there should be a way to have iTunes integrated with the top bar on MacOSX (ie. where the Battery Life, Time & Date are displayed) so that the user can access track information, change tracks and all-in-all have control over iTunes while they have another program open.
There are many third-party programs that do this. Take a look at BravoTunes, for starters.
Regards. -
Integrating non-htmldb site into htmldb one.
I have a documentation web site that is nothing but straight HTML files converted from msword. However, the individual file are huge. A single file can be up to 2MB. They contain technical documentation and what have you. As it exists today, the site is not secure and I want to move it into an existing hrml-db to secure it. The non-secure site uses Java script to make a navigational tree like control. I want to accomplish something similar in HTML-db. I have done some research in the forum here to see how this can be done. It looks like these are my options:
1- Create HTML-db with regions pointing to the URL of the non-secure site. However, simply pasting the HTML code in the region box of a page works if the HTML code (and its contents) is small. Larger pages produced errors like HTTP-400 Value param too long.
2- Uploading existing HTML pages as static files. I'm not sure if this is really an option, but I could not get it to work any way. The uploaded files were too big to be edited within HTML-db. Also, I could not link to these static files as described using #WORKSPACE_IMAGES# template variable.
My inquiry is 2 folds here,
- What other options do I have to accomplish this (with a brief description please).
- Is uploading static files an appropriate approach?What about loading the HTML files into the database as CLOBS? Then you can write a fairly standard ApEx app that works with them using reports, trees etc, and streams them on demand.
You'd probably want to slim down the files as much as possible: MS Word-produced markup is (a) junk and (b) huge. If you have a copy of Adobe/Macromedia Dreamweaver it has a tool for correcting Word "HTML" and there may be other tools out there that do the same. -
Dear HTML Gurus,
I have a SQL Query Region that returns/executes a dynamic SQL Query. Based on the number of rows a particular query returns I want to hide or show a different HTML region. I have searched all over for this kind of functionality and have come up with absolutely nothing. I would think that this would be integrated into HTMLDB because Pagination shows the total number of rows returned. Any help or direction would be wonderful.
Thanks,
JamesThis is how I would do it:
1. create an (hidden) item,
2. create a computation for that item and run it after submit. This computation could be a function returning the rowcount value into your (hidden) item - rowcount of my dynamic sql.
If my dynamic query is to big to be entered into the computation "container", which accepts only a limited number of characters, then I would slightly change my approach:
3. I would create a function in my schema and and call this function from the computation level - either through a simple sql query (select function(in parameter) from dual) or, again through a function returning a number.
I tested this and it worked.
Denes Kubicek -
Powerbook stuck at black apple on grey background...
Tonight I have witness a strange event with my Powerbook:
I started my Garageband programme and while this was happening suddenly a very high pitch sound took over from iTunes in the background. Also the computer seemed to freeze. I might have panicked a bit as the sound was painful. I switched off the computer by pressing the on/off button for about 6 sec.
When I tried to restart, the dark grey apple icon would on light grey background, the HD seems avtive and nothing happens for hours (I have tried 2-3 hrs). I have then switched it off again, and restarted in T-mode. The Firewire icon would appear on the screen, but the icon would not appear on the iMacG5 I have connected it with.
Unfortunately, there is a non bootable DVD stuck in the optical drive so I cannot try booting from it, as I do not get it to eject.
Not sure what to make of this!
Do you have any suggestions?Bernd,
This is a question for those who know Macs really well, which is not I. Sometimes it's interesting & educational to all to guess, however.
Why didn't you turn down the speakers or pull their plug first? If you were using the computer's speakers, did you have the volume turned up all the way? When GarageBand starts, does it turn on the computer's microphone for input? You see where I'm going with this: could the screech be caused by feedback from the speakers to the microphone?
Also, there was a time (I think) when using Quicktime to handle two different applications that ran audio at different bitrates caused a whine. That was patched some revisions ago. Finally, two sound-producing applications that compete for the speakers can produce a whine as a (faulty) scheduler tries to run both by quickly alternating between the two.
I'm not sure the whine (which you can reproduce?) is related to your boot problems, however. They are more likely related to pressing the on button to shutdown. (I didn't know one could even do that: the PowerBook doesn't have an off button.) MacOSX needs to do many chores as it shutsdown: quit each application you were running (and a decision it can't make, such as whether to save changes you stored in memory or delete them will stop the shutdown), quit the OS's processes, and update the disk's information about the filesystem with changes held in memory. Then it writes a bit of information stating the machine was shutdown cleanly.
If you had held down a mouse or touchpad button when starting, the optical disc should have been ejected, and the computer should have booted Darwin from the hard disk; then, noting the clean-shutdown bit was unchecked, it would have performed a long test of your filesystem's integrity before starting up MacOSX normally.
The grey Apple appears while your computer is looking for the boot drive and reading the booting information off its disc. If it can't find an acceptable boot device, it stays at the Apple. If it is confused, it displays all those it found and asks which you want to boot from. It found two drives, neither in perfect shape for booting.
Why it didn't boot slowly from the hard disk would appear a mystery. It's possible that starting with the 'C' pressed saved in Open Firmware the location of the boot disk: the optical one. Disk Utility doesn't check whether a disk is bootable, so the 'clean shutdown bit' stayed unchecked.
I'm guessing that, with the optical disk removed, the computer showed a grey Apple, then a choice of bootable disks it found; and you chose the hard disk.
Important questions are still unanswered, of course. And, much of the above is guessing (to encourage an expert to correct my guesses and address the whine question definitively); but it gives you bits of information to read about yourself, if you're interested.
Bruce -
OID-Integrated Label Security with HTMLDB?
Hi,
I've followed the how-to document to integrate Oracle Label Security with Oracle Internet Directory.(http://www.oracle.com/technology/deploy/security/database-security/howtos/ols_oid-how-to.html).
I've successfully created a label security policy for the HR.LOCATIONS table. I would like that same policy to be effective on any query regions in an HTMLDB application.
I created a test application in HTMLDB, and changed the authentication scheme to be LDAP. It uses Oracle Internet Directory to authenticate the users, and this works successfully.
However, when I login with an OID user that has been assigned to use the policy, I get no rows returned.
What is a good way to integrate my label security policy with my htmldb applicaton so that it works within HTMLDB and outside of HTMLDB?
I saw the technote to use VPD, but when I tried this, it caused my label security policy to stop working. I somehow made it conflict...(http://www.oracle.com/technology/pub/notes/technote_htmldb_vpd.html)
I guess I'm just not sure what the VPD function should look like after I've already created a Label Security Policy.
I basically want it to look at the APP_USER and then apply the policy appropriately.
Thanks,
NoraScott,
It still worked in SQLPLUS when I typed 'set role none' first.
The way I granted PROFILE_ACCESS was through a label security command:
SQL> exec sa_user_admin.set_user_privs('senspolicy','parse_schema','FULL,PROFILE_ACCESS');
It seems like this is the only way..
It just seems strange that it works in SQLPLUS. I'm trying to figure out what other permissions I need for HTMLDB.
Thanks again,
Nora
SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 16 16:38:20 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: parse_schema/<password>@testls
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining options
SQL> set role none;
Role set.
SQL> select count(*) from hr.locations;
COUNT(*)
23
SQL> exec sa_session.set_access_profile('senspolicy','PUB');
PL/SQL procedure successfully completed.
SQL> select count(*) from hr.locations;
COUNT(*)
17
SQL> -
Need help on integrating htmldb with asp/jsp/php
Hello there, we have a few existing htmldb applications running at the moment, and now we would like to develop some asp/jsp/php applications. However there is one issue we still haven't solved yet, which is the SESSION(Login) problem. We don't know how the session is being generated, how to pull out session values manually from db etc etc.
If you have done this before or any ideas, will be much appreciated.
Thanks very much
JamesJames,
sometimes it makes sense to look at these things from a different (and broader) perspective.
Especially in a context of a corporation it makes sense to use a Single Sign On (SSO) server for authentication (usually against LDAP) . Something like Netegrity Siteminder, Oracle SSO Server (as part of Oracle Internet Application Server) or something similar.
Then you could have all your applications use the authentication method of the SSO server which will keep track of the valid session and the applications that participate in the SSO context.
On the Apex side you would have to write a custom authentication scheme to leverage that functionality, the session handling will no longer be of any concern to you.
Just a different way to look at it.
~Dietmar. -
Integrating JSP code into HTMLDB
All,
I've read a couple posts about using iFrames to integrate existing JSP applications into HTMLDB, but I'm wondering if it is possible to do new development with JSP's and taglib's directly in HTMLDB (i.e. within an HTML region or something like that).
Thanks.All,
I've read a couple posts about using iFrames to integrate existing JSP applications into HTMLDB, but I'm wondering if it is possible to do new development with JSP's and taglib's directly in HTMLDB (i.e. within an HTML region or something like that).
Thanks. -
Regarding Integration of all HTMLDB Applications
Hi all,
We have three apex applications, say 112,149,103.
Can we integrate all of them into single interface?
Such that users no need to give different paths for each application, i.e by giving single path we should access all three of them.
Any ideas most welcome.
Thanks ,
SriniSrini - A user enters (or issues) a request for a page in an application using the browser. The user can type the URL to the page into the browser's location window, the user can use a bookmark, or the user can click on a hyperlink situated in an HTML page.
Links on Application Express pages can be created using HTML in HTML regions or by using other page components that include HTML, by using list items, navbar entries, breadcrumbs, parent tabs, or dynamically generated output to the browser. Links can also be produced from report queries and of course, are the result of page branches. All of these techniques are fundamental in any developer's use of Application Express. The key thing to remember is to include the current session ID in any such links and in your situation, where you want to link to "other" applications, to specify the other application's ID as a hard-coded ID or alias and not as the usual &APP_ID. or equivalent.
Scott -
Is it possible to use mod-osso for htmldb applications
We previously used sso_sdk for registering htmldb(1.4) applications as partner applications to avail single sign-on facility provided in oracle application server.
Can we use mod_osso for registering html db 1.5 applications as partner applications? If so, could you please provide me the links to the documentation on how to achieve this.
Regards,
LavanyaLavanya,
No, mod_osso is not quite ready for PL/SQL applications that share a DAD the way HTML DB does. We're working on getting mod_osso enhanced to allow that integration. In the meantime, you can continue to use the SSO SDK and the pre-configured authentication schemes in HTML DB. They will work fine.
Scott -
Integration of APEX in OBIEE 11g fails after upgrade to APEX 4.2.1
I used a document from the german APEX forum to integrate Oracle Business Intelligence 11g (OBIEE) with APEX.
After login in OBIEE a APEX page will be called without login in APEX.
The Document is called "APEX in Oracle Business Intelligence (Oracle BI) integrieren"
http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/biee-apex/index.html
In APEX 4.0 this worked great. After login in OBIEE I could call a APEX page without new login.
But after upgrading to APEX 4.2.1 now the APEX login mask is displayed.
OBIEE uses this function to create a APEX session and store the APEX session-id and username in the table apex_biee_session:
-- Function GET_APEX_SESSION_ID
-- sets up an APEX session for a BIEE user
FUNCTION get_apex_session_id (p_username IN VARCHAR2,p_days_valid IN NUMBER DEFAULT 1) RETURN VARCHAR2
IS
pragma autonomous_transaction;
l_session_id NUMBER;
l_valid_to DATE;
l_count NUMBER;
l_password VARCHAR2(4000);
BEGIN
l_valid_to := SYSDATE + NVL(p_days_valid,1);
-- Let us delete expired records:
BEGIN
DELETE FROM apex_biee_session
WHERE valid_to < TRUNC(SYSDATE,'DD');
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;
END;
-- get next APEX session id:
l_session_id := apex_custom_auth.get_next_session_id;
-- Insert the BIEE user and the APEX session id in table APEX_BIEE_SESSION
INSERT INTO apex_biee_session (username, sessioN_id, valid_to)
VALUES (UPPER(p_username),l_session_id,l_valid_to);
COMMIT;
-- define an APEX user session:
apex_custom_auth.define_user_session(
p_user => UPPER(p_username),
p_session_id => l_session_id);
htmldb_application.g_unrecoverable_error := TRUE; -- tell apex engine to quit
RETURN l_session_id;
EXCEPTION
WHEN OTHERS THEN RETURN '-99';
END get_apex_session_id;
CREATE TABLE "APEX_BIEE_SESSION"
( "USERNAME" VARCHAR2(60),
"SESSION_ID" NUMBER,
"VALID_TO" DATE,
CONSTRAINT "APEX_BIEE_SESSION_PK" PRIMARY KEY ("USERNAME","SESSION_ID")
In APEX this page sentry function is called:
-- Function PAGE_SENTRY
-- used as page sentry function in APEX applications
FUNCTION page_sentry RETURN BOOLEAN
IS
l_current_sid NUMBER;
l_biee_userid VARCHAR2(255);
l_cookie owa_cookie.cookie;
l_c_value VARCHAR2(255) := NULL;
l_cookie_tom owa_cookie.cookie;
l_c_value_tom VARCHAR2(255) := NULL;
l_session_id NUMBER;
l_biee_auth VARCHAR2(1) := 'N';
BEGIN
BEGIN
-- If normal APEX user authentication is used, cookie LOGIN_USERNAME_COOKIE will be used
l_cookie_tom := owa_cookie.get('LOGIN_USERNAME_COOKIE');
l_c_value_tom := l_cookie_tom.vals(1);
l_biee_userid := UPPER(l_cookie_tom.vals(1));
EXCEPTION
WHEN OTHERS THEN NULL;
END;
l_session_id := apex_custom_auth.get_session_id; -- in APEX 4.2.1 this returns NULL
-- Do we have a record in table APEX_BIEE_SESSION with the current session id
BEGIN
SELECT UPPER(username) INTO l_biee_userid
FROM apex_biee_session
WHERE session_id = l_session_id AND valid_to > SYSDATE;
l_biee_auth := 'Y';
EXCEPTION
WHEN NO_DATA_FOUND THEN l_biee_userid := 'Failed';
END;
IF l_biee_userid = 'Failed' THEN
IF l_c_value_tom IS NULL THEN
l_biee_userid := NULL;
ELSE
l_biee_userid := UPPER(l_c_value_tom);
END IF;
END IF;
-- If l_biee_userid is NULL we need to call the APEX login page (done by RETURN FALSE)
IF l_biee_userid IS NULL THEN
RETURN FALSE;
END IF;
IF l_biee_auth = 'N' THEN
l_current_sid := apex_custom_auth.get_session_id_from_cookie;
ELSE
l_current_sid := l_session_id;
END IF;
-- This is the built-in part of the session verification
IF apex_custom_auth.is_session_valid THEN
wwv_flow.g_instance := l_current_sid;
IF apex_custom_auth.get_username IS NULL THEN
apex_custom_auth.define_user_session(
p_user => UPPER(l_biee_userid),
p_session_id => l_current_sid);
RETURN TRUE;
ELSE
IF UPPER(l_biee_userid) = UPPER(apex_custom_auth.get_username) THEN
apex_custom_auth.define_user_session(
p_user =>UPPER(l_biee_userid),
p_session_id =>l_current_sid);
RETURN TRUE;
ELSE -- username mismatch. Unset the session cookie and redirect back here to take other branch
apex_custom_auth.logout(
p_this_app=>v('APP_ID'),
p_next_app_page_sess=>v('APP_ID')||':'||nvl(v('APP_PAGE_ID'),0)||':'||l_current_sid);
wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
RETURN FALSE;
END IF;
END IF;
ELSE -- application session cookie not valid; we need a new apex session
IF l_biee_auth <> 'Y' THEN
l_session_id := apex_custom_auth.get_next_session_id;
END IF;
apex_custom_auth.define_user_session(
p_user => l_biee_userid,
p_session_id => l_session_id);
wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
IF owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' THEN
wwv_flow_custom_auth.remember_deep_link(
p_url=>'f?'||wwv_flow_utilities.url_decode2(owa_util.get_cgi_env('QUERY_STRING')));
ELSE
wwv_flow_custom_auth.remember_deep_link(
p_url=>'f?p='||
TO_CHAR(wwv_flow.g_flow_id)||':'||
TO_CHAR(nvl(wwv_flow.g_flow_step_id,0))||':'||
TO_CHAR(wwv_flow.g_instance));
END IF;
apex_custom_auth.post_login( -- register session in htmldb sessions table, set cookie, redirect back
p_uname => l_biee_userid,
p_app_page => wwv_flow.g_flow_id||':'||nvl(wwv_flow.g_flow_step_id,0));
RETURN FALSE;
END IF;
END page_sentry;
The problem seems to be that in line "l_session_id := apex_custom_auth.get_session_id;" the call of apex_custom_auth.get_session_id is returning NULL in APEX 4.2.1.
In APEX 4.0 the call of apex_custom_auth.get_session_id returned the APEX session id.
What can I do to get this working again ?
Kind Regards,
Markus
Edited by: asmodius1 on Jan 10, 2013 2:06 PMHi,
this integration relies on session fixation, that's an insecure practice which is not allowed anymore since 4.1:
http://en.wikipedia.org/wiki/Session_fixation
Since the cookie value for the session id is missing, Apex rejects the session id and sets it to null, before calling the sentry function.
If you absolutely want to use this kind of integration, you will have to parse the value of owa_util.get_cgi_env('QUERY_STRING') in the sentry function to get the session id. To make it a bit more secure, the row in APEX_BIEE_SESSION should only be valid for a very short time (e.g. 1 sec). A person from Oracle Support contacted me about possible improvements to this authentication a few weeks ago. I replied with the following suggestions:
I would at least add a Y/N flag (e.g. SESSION_JOINED_BY_APEX) to the
APEX_BIEE_SESSION table. The page sentry should only accept the session
without an accompanying cookie if the flag is still N. It has to set it
to Y afterwards. This way, you ensure that the session joining without
cookie can only be done once. Maybe there should also be an alternative
way to log in to APEX, e.g. via page 101. Currently, this authentication
only accepts session IDs that were generated via OBIEE.
Users could log out of APEX or the APEX session could expire. Therefore,
the APEX app should have a post logout procedure that deletes the row in
the OBIEE session table. On the OBIEE side, APEX_SESSION_ID should
therefore be initialized on each request. The initialization code should
also check APEX_WORKSPACE_SESSIONS to make sure the session still
exists.
Regards,
Christian -
Where is the virtual images directory for an ORACLEXE HTMLDB installation?
Hi,
I've already got a standalone installation of HTMLDB which has an /images/ directory on my file server containing all gifs/themes/templates/css files etc. I've created an application that I'm going to use for my business and I've changed some of the underlying giff's and css files.
On another machine I've just installed Oracle Express Edition (as it's free for commercial use) which has an integrated HTMLDB environment, that is the same as the standalone one as far as I can tell, except that it does not appear to have an /images/ directory stored on the file system??
I've done a complete search and nothing is found. If I type http://127.0.0.1:8080/i/ into my web browser all the files and directories are displayed! Does any one know the location of these files or how the HTTP listener is translating /i/?
I need to mod these existing files in order to correctly display my business application from my other standalone installation of htmldb.
Any help would be greatly appreciated!
KevHi Kev,
you can find detailed instructions here: http://daust.blogspot.com/2006/03/where-are-images-of-application.html
I'll update the instructions if you have more questions,
~Dietmar. -
Integrate UltraSearch in HTMLDB page
I would like to use the Ultra Search query form within a page in HTMLDB, but I am not sure how to do this.
I imagine creating a page with a text box and a button like in the demo query application and call a function (getResult?) in the wksys schema, and give the result to a report with clickable links.
What I would like to know is: Is there any documentation on calling getResult (if that is the right function and if so, which one do I use), or even better: does anyone have an example of integrating Ultra Search in their own html/plsql webapplications?Do you have a solution?
I tried the undocoumented (why?) package wksys.wk_qry-package to get the results of an Ultra Search Query. It works when I start the procedure in the Ultra-Search schema. When I try it from a different schema (DBA), it does not work. -
HTMLDB and Workflows - pl/flow, Oracle Workflow or BPEL?
Hi,
I am looking for a workflow engine to integrate with HTMLDB for workflow applications.
Most of the stuff I try to do will happen in the database (as of now).
Which one should I choose? Which one is easy to use (intuitive, good samples)?
I haven't used any of those, which is the fastest to learn?
Can I graphically model the workflows with pl/flow, so that they can be modified by administrators later?
What about the future? It seems to me that many links to Oracle Workflow seem to disappearing from OTN.
I find pl/flow interesting, but is it used a lot? Is there still development going on?
Any experiences / suggestions will be helpful. Or perhaps you use something completely different?
Thanks,
~Dietmar.Hi Bob,
thanks for thoughts on this.
I was in touch with the lead developer of pl/flow and he explained that there was not much to add since the package was XPDL interface 2 compliant and most of the users were happy with it.
You can even import workflows from XPDL visual workflow modelers which has some charme, since it is standards based.
I was reluctant to use Oracle Workflow for several reasons.
* It appears to be complex
* It is not standards based
* The administration interface looks "aged" (that lead me to believe that Oracle had not much interest in further promoting the product)
* I don't know where the product is heading since BPEL is the big hype and the development of Oracle's former Java based workflow product is being stopped.
The cost shouldn't be an issue since it is included in the database license as far as I have researched.
I would be interested in all developer experiences using Oracle Workflow with HTMLDB or other tools.
Is perhaps the HTMLDB - developer team working on an integration with Oracle Workflow?
Thanks,
~Dietmar. -
How to get htmldb working with rdb ?
if you're asking about accessing your rdb data from htmldb, then the answer is that once you set up your db that runs htmldb to access your rdb (via odbc or whatever), you can use htmldb against that data. the rule of thumb for these types of integration questions is that if you can access it from sql or pl/sql, you can access it from htmldb. that's because you're ultimately executing the code/commands you specify in htmldb as a user in the db. if you're asking something else, please feel free to be much more specific.
regards,
raj
Maybe you are looking for
-
Hi, I am trying to install apex on my linux system. I am doing this on 11g db. As part of post installation, while configuring the HTTP server getting this error. What is the problem? Thanks, Kavitha
-
[Solved] Apache user dir access forbidded
I am getting Access forbidden! when I am trying to connect to http://localhost/~simha/ where simha is my user name my /var/log/httpd/error_log says [Thu Jul 08 17:44:30 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /~simha/ denied
-
Shuttle Control: Keep selection after page submit
Hi @all, I tried out Carl's shuttle control.. GREAT work! Now I have a question: Is it possible to recall the page (after hitting a button) and keep the control with the selections/moves made without writing them into the database? Thank you! Best re
-
How to export hidden field to Excel (CSV)
Hi, I would like to export my report to Excel. There are some hidden fields (lat modification date of the record, primary key column etc.) that are not displayed on the screen but the user would like to have it in the export output. Can I persuade Ap
-
Not able to acess app store .. Tried every thing with ... Dns change .. Time chage.... Reset... Location services .suggest me how to resolve this issue