Created DAD using DBMS_EPG but having trouble in getting it to work
Hi
As sys , I ran this
SQL> call dbms_xdb.sethttpport(8068);
Call completed.
SQL> alter system register;
System altered.
SQL> ALTER USER anonymous ACCOUNT UNLOCK;
SET SERVEROUTPUT ON SIZE UNLIMITED;
SQL> grant execute on dbms_epg to apps;
Grant succeeded.
SQL> grant execute on dbms_xdb to apps;
Grant succeeded.
SQL>
Add to init.ora
dispatchers="(PROTOCOL=TCP)(SERVICE=OF1TCHXDB)"
local_listener="(ADDRESS=(PROTOCOL=TCP)(HOST=ofdbdev4.mydomain.com)(port=1568))"
DECLARE
l_dad VARCHAR2(30) := 'OF1TCH';
l_path VARCHAR2(30) := NULL;
l_dbUser VARCHAR2(30) := 'apps';
l_docTable VARCHAR2(30) := 'apps.fnd_lobs_document';
l_docpath VARCHAR2(30) := 'docs';
l_attrNames DBMS_EPG.VARCHAR2_TABLE;
l_attrValues DBMS_EPG.VARCHAR2_TABLE;
BEGIN
l_dbUser := UPPER(l_dbUser);
DBMS_EPG.CREATE_DAD
( dad_name => l_dad,
path => l_path );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'database-username',
attr_value => l_dbUser);
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'authentication-mode',
attr_value => 'CustomOwa');
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'document-table-name',
attr_value => l_docTable );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'document-path',
attr_value => l_docpath );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'max-requests-per-session',
attr_value => 1000 );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'default-page',
attr_value => 'fnd_web.ping' );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'path-alias',
attr_value => 'fndgfm' );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'path-alias-procedure',
attr_value => 'fnd_gfm.dispatch' );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'cgi-environment-list',
attr_value => 'SERVER_NAME=of1tch.mydomain.com,REQUEST_PROTOCOL=https,SERVER_PORT=8068,HOST=of1tch.mydomain.com:8068,HTTP_WEBAUTHPROXY, HTTP_X_WEBAUTH_USER, SERVER_ADDR' );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'session-state-management',
attr_value => 'StatelessWithResetPackageState' );
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'nls-language',
attr_value => 'american_america.we8mswin1252' );
DBMS_EPG.AUTHORIZE_DAD
( dad_name => l_dad,
user => l_dbUser );
DBMS_EPG.GET_ALL_DAD_ATTRIBUTES(l_dad,l_attrNames,l_attrValues);
FOR i IN 1..l_attrNames.COUNT LOOP
DBMS_OUTPUT.PUT_LINE(LPAD(l_attrNames(i),20)||' : '||l_attrValues(i));
END LOOP;
END;
I then created a test procedure
SQL> CREATE OR REPLACE PROCEDURE testPage IS
2 l_instance v$instance%ROWTYPE;
3 BEGIN
SELECT * INTO l_instance FROM v$instance;
htp.htmlOpen;
htp.bodyOpen;
htp.p('<h1>Test Page</h1>');
htp.preOpen;
htp.p('<b>Username.:</b> '||USER);
htp.p('<b>HostName.:</b> '||l_instance.host_name);
htp.p('<b>Instance.:</b> '||l_instance.instance_name);
htp.p('<b>Version..:</b> '||l_instance.version);
htp.p('<b>Time Now.:</b> '||TO_CHAR(SYSTIMESTAMP));
htp.preClose;
htp.bodyClose;
htp.htmlClose;
END;
/ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Procedure created.
SQL> grant execute on testPage to public;
I am trying to access the above procedure
http://of1tch.mydomain.com:8068/OF1TCH/testprocedure
This shows squares instead of the variables and values. I think this is because 8068 is configured for https but the dbms_epg configured the port as http port. Not sure though.
or
https://of1tch.mydomain.com:8068/OF1TCH/testprocedure
This gives page not found.
Thank you
MSK
Edited by: MSK on Dec 29, 2009 7:14 AM
I just came across this thread in my searches
Only 5 months late but here is the problem!
DBMS_EPG.SET_DAD_ATTRIBUTE
( dad_name => l_dad,
attr_name => 'authentication-mode',
attr_value => 'CustomOwa');
DBMS_EPG (unlike MOD/PLSQL) only allows basic authentication mode
(contrary to the docs).
There is an enhancement request filed for this in bug:5278049.
John
Similar Messages
-
using ICloud however having no luck in getting my IPhone nor IPad to sync with ICal.
What OS version do you have on the Mac? Click the Apple menu (upper left), then "About this Mac."
-
i have an itunes library with 1,000+ songs on a pc. my daughter has a macbook air and i loaded my apple ID onto it. how do i get the songs from my itunes account to show up? This works fine on her iPhone, but having trouble on the new macbook air
Hey kbert73
I would do a transfer of purchases from the phone and not sync. If you sync then it will want to start over and sync music that is on the MacBook Pro. If you want to transfer the music, check out the article below that will give you multiple options on how to move. I have also provided on how to sync with multiple computers.
iTunes: How to move your music to a new computer
http://support.apple.com/kb/ht4527
Using iPhone, iPad, or iPod with multiple computers
http://support.apple.com/kb/ht1202
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
I have an iPhone and just goy I pad but no computer I'm trying to synch them together but having trouble with iCloud and I can't seem to subscribe for iTunes match from either devise
You first have to subscribe to iTunes Match through iTunes on your computer and have your music library in iTunes uploaded/matched before you can enable it on your iOS devices (see http://www.apple.com/itunes/itunes-match/). Without a computer you won't be able to use iTunes Match.
-
I AM TRYING TO DOWNLOAD A FRESH COPY OF CS6 BUT HAVING TROUBLE WITH MY SERIAL NUMBER
I AM TRYING TO DOWNLOAD A FRESH COPY OF CS6 BUT HAVING TROUBLE WITH MY SERIAL NUMBER?
Hi Rob,
Please share few more details about the issue you facing.
Which Operating system you have?
Which product are you using?
What exact error message/code you get?
Thanks,
Ratandeep Arora -
Trying to record with an external mic, but having trouble getting a good record or playback volume. As far as i know all my settings in system preference are correct. What am i missing?
MartyJames777 wrote:
Trying to record with an external mic, but having trouble getting a good record or playback volume.
http://www.bulletsandbones.com/GB/GBFAQ.html#micline
(Let the page FULLY load. The link to your answer is at the top of your screen) -
Using Firefox (and having ZoneAlarm), when logging into my work email (Lotus Notes) through a secure Citrix program, a question mark types as and accented "E". This does not happen when using IE (which I prefer not to use). I have turned off the anti-keylogger in ZA (an old, and no longer successful fix). Can anyone help? I need my question marks at work.
Thanks!
PS. my keyboard language is not set to French.
== This happened ==
Every time Firefox opened
== I tried to type a "?" in a work email using remote access.Perform the suggestions mentioned in the following articles:
* [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
* [[Troubleshooting extensions and themes]]
Check and tell if its working.
May not be related to your problem but some of your Firefox Plugins are out-dated
* Update All your Firefox Plugins -> https://www.mozilla.org/en-US/plugincheck/
* '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)''' -
have an airplay enabled AV Receiver - how do i set up Airplay
I have a Yamaha RX-V673 which is Airplay enabled, but i can't get Airplay to work either on my Mac book or my iphone. The receiver is connected to my network and i can control it using the iphone App and via the web browser option.
Do I need Apple TV or to change some settings somewhere?
Any help would be greatly appreciatedYou are making some progress with setup of wireless network. Apparently there is reliability problem with the wireless connection. Perhaps you want to refer to following Apple support documents and start tweaking parameters in the router to improve the reliability. I used to have third-party routers such as Belkin and Netgear but switched to Apple Airport routers (Time Capsule then Airport Extreme for now) because of incompatibility issues whenever Apple upgrade Mac OS X. But since Apple develops Airplay protocol as alternative to Bluetooth for wireless audio/video streaming (with much better bandwidth) and must be deployed in any wireless network, there is no reason third-party routers not working for Airplay protocol.
About AirPlay Mirroring in OS X Mountain Lion:
http://support.apple.com/kb/HT5404
iOS: Recommended settings for Wi-Fi routers and access points:
http://support.apple.com/kb/HT4199
Troubleshooting AirPlay and AirPlay Mirroring:
http://support.apple.com/kb/TS4215
Good luck in setting up 802.11 wirelesss network. -
I want to burn my imovie to a dvd. All the help info says to use idvd but I can't get it to open. The applecare guy said idvd is no longer included in new macs, so why are all the instructions still saying to use it? Is one of the other software offerings, like dvd Cfreator for Mac, ok to use for this? What's the best one?
Please clarify what you mean by "you can't get it to open". Is iDVD on your system or not? If this is a new iMac, iDVD is no longer bundled with new Macs, so the application just isn't there and hence of course can't be opened. You can still purchase it as part of the retail iLife '11 box, though, if you want it, and it would be less expensive than DVD Creator (which I have no experience with), even though you'll get some redundant applications.
Regards. -
I can't seem to use the 'Check seats' link on the Delta Airlines site when I use Firefox but Safari works fine. I get the message 'not available at this time' when using Firefox but when I go to Safari it works fine. I love Firefox but this sucks!
That issue can be caused by corrupted cookies.
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox > Preferences > Privacy > Cookies: "Show Cookies"
*http://kb.mozillazine.org/Cookies -
Best I have been trying for a week to order greeting cards using iPhoto but do I always get the same statement:
there has been an error occurred while connecting to Apple's online store try againBest I have been trying for a week to order greeting cards using iPhoto but do I always get the same statement:
there has been an error occurred while connecting to Apple's online store try again -
I am having trouble with my speakers not working while online particular on facebook. My audio works when playing audio files.
Hi,
Did it happen all the time or sometime?
Please check online browser status:
Click Volume icon in the taskbar, click Mixer link button as below:
If it's fine, follow this guide to run troubleshooter to detect and fix the issue:
Tips for fixing common sound problems
http://windows.microsoft.com/en-in/windows/tips-fixing-common-sound-problems#tips-fixing-common-sound-problems=windows-7
Meanwhile, this similar thread also could be referred:
https://social.technet.microsoft.com/forums/ie/en-US/a4a1cfe5-93a5-4c0b-9bf6-f7db0304f2ba/no-sound-on-youtube-or-any-other-webpage
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
I have just got an iPad and I want the music to be transferred through my iPod touch using iCloud but I didn't get the music from iTunes so I don't think it will let me do it. Do you have any tips that could help me?
Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view.
Photos that were synced from a computer are deleted by moving/removing/de-selecting them from where they were synced from and then re-syncing. If you want to remove them all then normally you could just sync an empty folder (in terms of photos) to the iPad, but as you don't want to sync at the moment you can't do that.
You can reset the iPad back to factory settings and start from scratch with it : Settings > General > Reset > Erase All Content And Settings -
Having trouble with getting on messages and facetime
having trouble with getting on messages and facetime. Got two new ipods, one works fine, the other keeps giving us the error: iMessage Activation Could not sign in. Please check your network connection and try again. We have tried to reset the factory settings, and verified that the internet is working. Please help!
FaceTime, Game Center, Messages: Troubleshooting sign in issues
-
I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?
Welcome to the Apple community.
AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.
Maybe you are looking for
-
300 GB iphoto library on a 1tb time capsule disk is locked
iPhoto library 300GB on a Time capsule I use this so I can access my photos and back up the library wirelessly. I navigate to the backup I was using the Finder to go through the Time Capsule, when I click on the iPhoto library to access pictures .
-
My screen is very dim what do i do?
i have a very dim screen and im not sure what to do
-
SQL Loader - read 1st line to one table, rest of data to another
Hi I looked around the FAQs and forums and find similar cases but not mine... I am running Oracle 9i and have a text file which has the 1st line as a control header and everything beneath it as data, something like this: 14/07/2010|8 12345678|0 12345
-
Mass reallocation of payment methods in APP
How to make a mass reallocation of payment methods in APP?
-
Stop() not working in presentation slide
I have a very simple stop() action in my first and last frames of a slide that is under the master slide. No other code. The oddest thing is that the first stop() does not work, though, the last stop() action does work. I figured this is something to