Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Config XDB for https ssl access

960445Sep 6 2012 — edited Sep 10 2012
Hello,
I’m trying to configure an Oracle DB 11g for https access. I tried to set the port to 8089 and the protocol to tcps.
When I execute the following lines of code, I always get an Error, that the xml-file is not ok. But when validate the output of my modification on the XML, it says that it is OK.
Screenshot of the Error-Massage: https://dl.dropbox.com/u/13247554/fb_comments/ORA-ERROR.JPG


DECLARE

configxml SYS.XMLType;
configxml2 SYS.XMLType;

begin
SELECT insertXMLBefore((insertXMLBefore(DBMS_XDB.cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',
XMLType('<http2-protocol xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">tcps</http2-protocol>'))),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',
XMLType('<http2-port xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">8080</http2-port>'))
into configxml2
from dual;

-- Update the configuration to use the modified version
DBMS_XDB.cfg_update(configxml2);

END;

Does anybody has the same problem and can help me?_
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2012
Added on Sep 6 2012
5 comments
1,666 views