Can not access google app Chrome apex

Hello

I just installed the long wait for 11g Xe, the installation is ok, but I have a problem with access to my google chrome application, it prompted a pop-up box let me enter connection information for XDB.

I don't know why, the other browsers like firefox is ok, not this kind of problem.

Hello

I had the same problem when I started using Oracle10g Express and APEX, and I found the solution in this thread: http://kr.forums.oracle.com/forums/thread.jspa?threadID=641846&start=0&tstart=0

Specifically, to avoid having the XDB login prompt you must enable anonymous access to the ML DB repository. You can do this by using the following code, which creates the element '' if it is absent, or update if it is already present in the xdbconfig.xml file.

CONN sys/password AS SYSDBA

SET SERVEROUTPUT ON
DECLARE
l_configxml XMLTYPE;
l_value VARCHAR2(5) := 'true'; -- (true/false)
BEGIN
l_configxml := DBMS_XDB.cfg_get();

IF l_configxml.existsNode('/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access') = 0 THEN
-- Add missing element.
SELECT insertChildXML
(
l_configxml,
'/xdbconfig/sysconfig/protocolconfig/httpconfig',
'allow-repository-anonymous-access',
XMLType('' ||
l_value ||
''),
'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
)
INTO l_configxml
FROM dual;

DBMS_OUTPUT.put_line('Element inserted.');
ELSE
-- Update existing element.
SELECT updateXML
(
DBMS_XDB.cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/allow-repository-anonymous-access/text()',
l_value,
'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd"'
)
INTO l_configxml
FROM dual;

DBMS_OUTPUT.put_line('Element updated.');
END IF;

DBMS_XDB.cfg_update(l_configxml);
DBMS_XDB.cfg_refresh;
END;
/

Hope this helps (and thanks to Pravednik, the user who posted this code originally),

Sergio

Published by: srecio on April 6, 2011 09:22

Tags: Oracle

Similar Questions

Maybe you are looking for

  • Vibrating and sound crackles on Satellite L30 PSL33E

    Help, please. I have the laptop above, and the sound is driving me crazy, whenever I try to play music distortion, vibrating and cracking which makes it completely ruins the pleasure to try to listen to music, it seems worse, when the hard drive ligh

  • USB devices drivers not installed

    Hello I NI USB-6212 device, LabVIEW 2010 and DAQmx 9.1.5 on Windows 7 (x 64) device drivers. Device is normally recognized on another computer, but not on my computer. When I plugin device, searching for drivers to boot Windows, but they are not. The

  • graph XY Zoom

    Hi guys,. I have a xy chart. I can check how Zoom on the chart as (my changes to data in the millimeter range) so I hope to zoom to display the result significantly. See you soon,. Scott

  • ink message

    "The C4750 seems to print normally, but has a message:" "clean printer ink blots." He wants the attention to something, but I can't find the procedure in the manual.

  • [request] Signature of the App using RBR, CPR, RRT

    Hi all I want to create a new version of the app. The app is built using Webworks 1.0. But when I tried to sign, it always displays error because I'm not using the same key signature. How to find the old signature key? Could we ask the signing key us