11g http2-port http2-protocol xdbconfig.xml

Hi,
I'm using 11g, I tried to configure HTTPS for my xdb.
I followed "Oracle® XML DB Developer's Guide" -> "28 Using Protocols to Access the Repository"
to setup "http2-port" and "http2-protocol" parameters, but it didn't work.
Here's what I did:
SQL>DECLARE
*2 v_cfg XMLType;*
*3 BEGIN*
*4 SELECT updateXML(DBMS_XDB.cfg_get(),*
*5 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http2-port/text()',*
*6 '433',*
*7 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http2-protocol/text()',*
*8 'TCPS')*
*9 INTO v_cfg*
*10 FROM DUAL;*
*11 DBMS_XDB.cfg_update(v_cfg);*
*12 COMMIT;*
*13 exception*
*14 when others then*
*15 dbms_output.put_line(sqlerrm);*
*16 END;*
*17 /*
PL/SQL procedure successfully completed.
SQL> SELECT DBMS_XDB.cfg_get() FROM DUAL;
DBMS_XDB.CFG_GET()
*<xdbconfig xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/xdbconfig.xsd http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<sysconfig>*
*<acl-max-age>15</acl-max-age>*
*<acl-cache-size>32</acl-cache-size>*
*<invalid-pathname-chars/>*
*<case-sensitive>true</case-sensitive>*
*<call-timeout>6000</call-timeout>*
*<max-link-queue>65536</max-link-queue>*
*<max-session-use>100</max-session-use>*
*<persistent-sessions>false</persistent-sessions>*
*<default-lock-timeout>3600</default-lock-timeout>*
*<xdbcore-logfile-path>/sys/log/xdblog.xml</xdbcore-logfile-path>*
*<xdbcore-log-level>0</xdbcore-log-level>*
*<resource-view-cache-size>1048576</resource-view-cache-size>*
*<protocolconfig>*
*<common>*
*<extension-mappings>*
*<mime-mappings>*
*<mime-mapping>*
*<extension>au</extension>*
*<mime-type>audio/basic</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>avi</extension>*
*<mime-type>video/x-msvideo</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>bin</extension>*
*<mime-type>application/octet-stream</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>bmp</extension>*
*<mime-type>image/bmp</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>css</extension>*
*<mime-type>text/css</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>doc</extension>*
*<mime-type>application/msword</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>eml</extension>*
*<mime-type>message/rfc822</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>gif</extension>*
*<mime-type>image/gif</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>htm</extension>*
*<mime-type>text/html</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>html</extension>*
*<mime-type>text/html</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>jpe</extension>*
*<mime-type>image/jpeg</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>jpeg</extension>*
*<mime-type>image/jpeg</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>jpg</extension>*
*<mime-type>image/jpeg</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>js</extension>*
*<mime-type>application/x-javascript</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>jsp</extension>*
*<mime-type>text/html</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>mid</extension>*
*<mime-type>audio/mid</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>mov</extension>*
*<mime-type>video/quicktime</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>movie</extension>*
*<mime-type>video/x-sgi-movie</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>mp3</extension>*
*<mime-type>audio/mpeg</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>mpe</extension>*
*<mime-type>video/mpg</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>mpeg</extension>*
*<mime-type>video/mpg</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>mpg</extension>*
*<mime-type>video/mpg</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>msa</extension>*
*<mime-type>application/x-msaccess</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>msw</extension>*
*<mime-type>application/x-msworks-wp</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>pcx</extension>*
*<mime-type>application/x-pc-paintbrush</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>pdf</extension>*
*<mime-type>application/pdf</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>png</extension>*
*<mime-type>image/png</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>ppt</extension>*
*<mime-type>application/vnd.ms-powerpoint</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>ps</extension>*
*<mime-type>application/postscript</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>qt</extension>*
*<mime-type>video/quicktime</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>ra</extension>*
*<mime-type>audio/x-realaudio</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>ram</extension>*
*<mime-type>audio/x-realaudio</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>rm</extension>*
*<mime-type>audio/x-realaudio</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>rtf</extension>*
*<mime-type>application/rtf</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>rv</extension>*
*<mime-type>video/x-realvideo</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>sgml</extension>*
*<mime-type>text/sgml</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>svg</extension>*
*<mime-type>image/svg+xml</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>tif</extension>*
*<mime-type>image/tiff</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>tiff</extension>*
*<mime-type>image/tiff</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>txt</extension>*
*<mime-type>text/plain</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>url</extension>*
*<mime-type>text/plain</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>vrml</extension>*
*<mime-type>x-world/x-vrml</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>wav</extension>*
*<mime-type>audio/wav</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>wpd</extension>*
*<mime-type>application/wordperfect5.1</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>xls</extension>*
*<mime-type>application/vnd.ms-excel</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>xml</extension>*
*<mime-type>text/xml</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>xsd</extension>*
*<mime-type>text/xml</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>xsl</extension>*
*<mime-type>text/xml</mime-type>*
*</mime-mapping>*
*<mime-mapping>*
*<extension>zip</extension>*
*<mime-type>application/x-zip-compressed</mime-type>*
*</mime-mapping>*
*<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<extension>htc</extension>*
*<mime-type>text/x-component</mime-type>*
*</mime-mapping>*
*<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<extension>xbl</extension>*
*<mime-type>text/xml</mime-type>*
*</mime-mapping>*
*</mime-mappings>*
*<lang-mappings>*
*<lang-mapping>*
*<extension>en</extension>*
*<lang>english</lang>*
*</lang-mapping>*
*</lang-mappings>*
*<charset-mappings/>*
*<encoding-mappings>*
*<encoding-mapping>*
*<extension>gzip</extension>*
*<encoding>zip file</encoding>*
*</encoding-mapping>*
*<encoding-mapping>*
*<extension>tar</extension>*
*<encoding>tar file</encoding>*
*</encoding-mapping>*
*</encoding-mappings>*
*</extension-mappings>*
*<session-pool-size>50</session-pool-size>*
*<session-timeout>6000</session-timeout>*
*</common>*
*<ftpconfig>*
*<ftp-port>0</ftp-port>*
*<ftp-listener>local_listener</ftp-listener>*
*<ftp-protocol>tcp</ftp-protocol>*
*<logfile-path>/sys/log/ftplog.xml</logfile-path>*
*<log-level>0</log-level>*
*<session-timeout>6000</session-timeout>*
*<buffer-size>8192</buffer-size>*
*</ftpconfig>*
*<httpconfig>*
*<http-port>80</http-port>*
*<http-listener>local_listener</http-listener>*
*<http-protocol>tcp</http-protocol>*
*<max-http-headers>64</max-http-headers>*
*<max-header-size>16384</max-header-size>*
*<max-request-body>2000000000</max-request-body>*
*<session-timeout>6000</session-timeout>*
*<server-name>XDB HTTP Server</server-name>*
*<logfile-path>/sys/log/httplog.xml</logfile-path>*
*<log-level>0</log-level>*
*<servlet-realm>Basic realm=&quot;XDB&quot;</servlet-realm>*
*<webappconfig>*
*<welcome-file-list>*
*<welcome-file>index.html</welcome-file>*
*<welcome-file>index.htm</welcome-file>*
*</welcome-file-list>*
*<error-pages/>*
*<servletconfig>*
*<servlet-mappings>*
*<servlet-mapping>*
*<servlet-pattern>/Test</servlet-pattern>*
*<servlet-name>TestServlet</servlet-name>*
*</servlet-mapping>*
*<servlet-mapping>*
*<servlet-pattern>/oradb/*</servlet-pattern>*
*<servlet-name>DBURIServlet</servlet-name>*
*</servlet-mapping>*
*<servlet-mapping>*
*<servlet-pattern>/orarep/*</servlet-pattern>*
*<servlet-name>ReportFmwkServlet</servlet-name>*
*</servlet-mapping>*
*<servlet-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<servlet-pattern>/i/*</servlet-pattern>*
*<servlet-name>PublishedContentServlet</servlet-name>*
*</servlet-mapping>*
*<servlet-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<servlet-pattern>/*</servlet-pattern>*
*<servlet-name>APEX</servlet-name>*
*</servlet-mapping>*
*<servlet-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<servlet-pattern>/apex/*</servlet-pattern>*
*<servlet-name>APEX</servlet-name>*
*</servlet-mapping>*
*</servlet-mappings>*
*<servlet-list>*
*<servlet>*
*<servlet-name>TestServlet</servlet-name>*
*<servlet-language>Java</servlet-language>*
*<display-name>XDB Test Servlet</display-name>*
*<description>A servlet to test the internals of the XDB Servlet API</description>*
*<servlet-class>xdbtserv</servlet-class>*
*<servlet-schema>xdb</servlet-schema>*
*</servlet>*
*<servlet>*
*<servlet-name>DBURIServlet</servlet-name>*
*<servlet-language>C</servlet-language>*
*<display-name>DBURI</display-name>*
*<description>Servlet for accessing DBURIs</description>*
*<security-role-ref>*
*<role-name>authenticatedUser</role-name>*
*<role-link>authenticatedUser</role-link>*
*</security-role-ref>*
*</servlet>*
*<servlet>*
*<servlet-name>ReportFmwkServlet</servlet-name>*
*<servlet-language>C</servlet-language>*
*<display-name>REPT</display-name>*
*<description>Servlet for accessing reports</description>*
*<security-role-ref>*
*<role-name>authenticatedUser</role-name>*
*<role-link>authenticatedUser</role-link>*
*</security-role-ref>*
*</servlet>*
*<servlet xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<servlet-name>PublishedContentServlet</servlet-name>*
*<servlet-language>C</servlet-language>*
*<display-name>Unauthenticated File Access Servlet</display-name>*
*<description>Servlet for files for unauthenticated users</description>*
*<init-param>*
*<param-name>RootFolder</param-name>*
*<param-value>/images</param-value>*
*<description>RootFolder</description>*
*</init-param>*
*<security-role-ref>*
*<role-name>anonymousServletRole</role-name>*
*<role-link>anonymousServletRole</role-link>*
*</security-role-ref>*
*</servlet>*
*<servlet xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<servlet-name>APEX</servlet-name>*
*<servlet-language>PL/SQL</servlet-language>*
*<display-name>APEX</display-name>*
*<plsql xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<database-username xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">ANONYMOUS</database-username>*
*<default-page xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">apex</default-page>*
*<document-table-name xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">wwv_flow_file_objects$</document-table-name>*
*<document-path xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">docs</document-path>*
*<document-procedure xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">wwv_flow_file_mgr.process_download</document-procedure>*
*<nls-language xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">american_america.al32utf8</nls-language>*
*<request-validation-function xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">wwv_flow_epg_include_modules.authorize</request-validation-function>*
*</plsql>*
*<security-role-ref xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">*
*<role-name>anonymousServletRole</role-name>*
*<role-link>anonymousServletRole</role-link>*
*</security-role-ref>*
*</servlet>*
*</servlet-list>*
*</servletconfig>*
*</webappconfig>*
*<authentication>*
*<allow-mechanism>basic</allow-mechanism>*
*<digest-auth>*
*<nonce-timeout>300</nonce-timeout>*
*</digest-auth>*
*</authentication>*
*</httpconfig>*
*</protocolconfig>*
*<xdbcore-xobmem-bound>1024</xdbcore-xobmem-bound>*
*<xdbcore-loadableunit-size>16</xdbcore-loadableunit-size>*
*<acl-evaluation-method>ace-order</acl-evaluation-method>*
*</sysconfig>*
*</xdbconfig>*
you can see that there's no "http2-port" or "http2-protocol" in xdbconfig.xml.
then, I tried this:
SQL> DECLARE
*2 v_cfg XMLType;*
*3 BEGIN*
*4 SELECT insertXMLbefore(DBMS_XDB.cfg_get(),*
*5 '/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',*
*6 XMLType('<http2-port>433</http2-port>'))*
*7 INTO v_cfg*
*8 FROM DUAL;*
*9 DBMS_XDB.cfg_update(v_cfg);*
*10 COMMIT;*
*11 exception*
*12 when others then*
*13 dbms_output.put_line(sqlerrm);*
*14 END;*
*15 /*
ORA-30937: No schema definition for 'http2-port' (namespace '##local') in parent '/xdbconfig/sysconfig/protocolconfig/httpconfig'
it seems I can't insert "http2-port" into xdbconfig.xml either.
I don't know why...
Please help, thanks in advance!

Namespaces :)
SQL>   SELECT insertXMLBefore
  2           (
  3             DBMS_XDB.cfg_get(),
  4             '/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',
  5             XMLType('<http2-port xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">433</http2-port>'),
  6             'xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd'
  7           )
  8    from dual;
<xdbconfig xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd" xmlns:xsi="http://w
ww.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/x
db/xdbconfig.xsd http://xmlns.oracle.com/xdb/xdbconfig.xsd">
  <sysconfig>
    <acl-max-age>15</acl-max-age>
    <acl-cache-size>32</acl-cache-size>
    <invalid-pathname-chars/>
    <case-sensitive>true</case-sensitive>
    <call-timeout>6000</call-timeout>
    <max-link-queue>65536</max-link-queue>
    <max-session-use>100</max-session-use>
    <persistent-sessions>false</persistent-sessions>
    <default-lock-timeout>3600</default-lock-timeout>
    <xdbcore-logfile-path>/sys/log/xdblog.xml</xdbcore-logfile-path>
    <xdbcore-log-level>0</xdbcore-log-level>
    <resource-view-cache-size>1048576</resource-view-cache-size>
    <protocolconfig>
      <common>
        <extension-mappings>
          <mime-mappings>
          </mime-mappings>
          <lang-mappings>
            <lang-mapping>
              <extension>en</extension>
              <lang>english</lang>
            </lang-mapping>
          </lang-mappings>
          <charset-mappings/>
          <encoding-mappings>
            <encoding-mapping>
              <extension>gzip</extension>
              <encoding>zip file</encoding>
            </encoding-mapping>
            <encoding-mapping>
              <extension>tar</extension>
              <encoding>tar file</encoding>
            </encoding-mapping>
          </encoding-mappings>
        </extension-mappings>
        <session-pool-size>50</session-pool-size>
        <session-timeout>6000</session-timeout>
      </common>
      <ftpconfig>
        <ftp-port>21</ftp-port>
        <ftp-listener>local_listener</ftp-listener>
        <ftp-protocol>tcp</ftp-protocol>
        <logfile-path>/sys/log/ftplog.xml</logfile-path>
        <log-level>0</log-level>
        <session-timeout>6000</session-timeout>
        <buffer-size>8192</buffer-size>
      </ftpconfig>
      <httpconfig>
        <http-port>80</http-port>
        <http-listener>local_listener</http-listener>
        <http-protocol>tcp</http-protocol>
        <max-http-headers>64</max-http-headers>
        <max-header-size>16384</max-header-size>
        <max-request-body>2000000000</max-request-body>
        <session-timeout>6000</session-timeout>
        <server-name>XDB HTTP Server</server-name>
        <logfile-path>/sys/log/httplog.xml</logfile-path>
        <log-level>0</log-level>
        <servlet-realm>Basic realm=&quot;XDB&quot;</servlet-realm>
        <webappconfig>
        </webappconfig>
        <allow-repository-anonymous-access xmlns="http://xmlns.oracle.com/xdb/xd
bconfig.xsd">true</allow-repository-anonymous-access>
        <http2-port xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">433</http2
-port>
        <authentication>
          <allow-mechanism>basic</allow-mechanism>
          <digest-auth>
            <nonce-timeout>300</nonce-timeout>
          </digest-auth>
        </authentication>
      </httpconfig>
    </protocolconfig>
    <schemaLocation-mappings xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
      <schemaLocation-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
        <namespace>http://earth.google.com/kml/2.1</namespace>
        <element>kml</element>
        <schemaURL>http://code.google.com/apis/kml/schema/kml21.xsd</schemaURL>
      </schemaLocation-mapping>
      <schemaLocation-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
        <namespace>http://earth.google.com/kml/2.2</namespace>
        <element>kml</element>
        <schemaURL>http://code.google.com/apis/kml/schema/kml21.xsd</schemaURL>
      </schemaLocation-mapping>
    </schemaLocation-mappings>
    <xdbcore-xobmem-bound>1024</xdbcore-xobmem-bound>
    <xdbcore-loadableunit-size>16</xdbcore-loadableunit-size>
    <acl-evaluation-method>ace-order</acl-evaluation-method>
  </sysconfig>
</xdbconfig>
Elapsed: 00:00:01.03
SQL>

Similar Messages

  • PL/SQL Page hangs in a Redirect Loop, after access from xdbconfig.xml

    Hello
    My Problem:
    when i try to Access a PL/SQL Page, it seems that is in a redirect loop to himself.
    In the Log File from $ORACLE_HOME/network/log/listener.log comes mass Messages from connects like:
    26-FEB-2007 14:59:31 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=45720)) * handoff * http * 0
    26-FEB-2007 14:59:31 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=45721)) * handoff * http * 0
    26-FEB-2007 14:59:31 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=45722)) * handoff * http * 0
    26-FEB-2007 14:59:31 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=45723)) * handoff * http * 0
    26-FEB-2007 14:59:31 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=45724)) * handoff * http * 0
    26-FEB-2007 14:59:31 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=45725)) * handoff * http * 0
    26-FEB-2007 14:59:31 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=45726)) * handoff * http * 0
    think the Problem is in the Configuration from mod_plsql.
    When i try to access a PL/SQL Page through the Gateway, then it comes the same issue.
    I can reconstruct the Problem on a fesh installed Database XE on Windows XP and on Linux.
    After installation, i can Access the Login Page from APEX. The System works correct.
    After i try to get the URL "http://127.0.0.1:8080/xdbconfig.xml" i get a Browser Login.
    I typed in the System Account, then i can see the xdbconfig.xml.
    After that i can't access APEX or any other PL/SQL Page
    I can only access the XML DB Repository Directories.
    Can someone help?
    Thanks
    Jan Hoelscher

    I noticed the same issue with session info (after login in and then unlocking anonymous) still in the cookie or in memory (at least I think so).
    After restarting the browser windows (all windows of the same "brand") - problem has disappeared

  • XdbConfig.xml and XDB version 9.2.0.3

    Since we've upgraded to 9.2.0.3 W2k, Enterprise Manager Console 9.2.0.1 will no longer update the xdbconfig.xml file. Only blanks show up under the configuration section of EMC. This component is aparently not upgraded in the 9.2.0.3 RDBMS patch, and this is one of the problems we've had with it.
    Additionally, we have servers with Multiple databases and only default xdbconfg.xml files. This is BAD, because they want to use the same FTP 2100 and http 8080 ports. It appears that the last database started maintains control over the default ports, and if you shut that database down, one of the other instances will take over the ports.
    How do you change the xdbconfig.xml file with out using ECM?
    I've tried two methods and both have failed.
    First simply using FTP logged in with SYS as sysdba, and copying a modified xdbconfig.xml into the root, and then shutting down the database with a restart. This had no effect to the xdbconfig.xml file.
    Second I attempted to use the code blurb on Page A-14 in the XML Database Development Guide - Oralce XML DB Part #A99620-02.
    Here is the code:
    begin
    DBMS_XDB.CFG_UPDATE(UPDATEXML(UPDATEXML
    (DBMS_XDB.CFG_GET(),
    '/xdbconfig/decendant::ftp-port/text()','2101'),
    '/xdbconfig/decendant::http-port/text()',
    '8001'));
    DBMS_XDB.CFG_REFRESH();
    end;
    Here is the error result:
    SQL&gt; @c:\Xdb\changeXdbconfigORG.sql
    DBMS_XDB.CFG_UPDATE(UPDATEXML(UPDATEXML
    ERROR at line 2:
    ORA-06550: line 2, column 22:
    PLS-00201: identifier 'UPDATEXML' must be declared
    ORA-06550: line 2, column 2:
    PL/SQL: Statement ignored
    I spent some time tooling around the forums, and I've seen reference to a permissions violation on updateXML, and I've also seen reference that the UpdateXML has to be out side the Begin Block. I've not been able to take advantage of either of references, and make it work. Can someone help me out with this?

    Have a look at the xdbConfig.sql file in the zip file attached to the following post...
    Posting Guidelines...

  • Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING

    hello colleagues,
    In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
    Error,
    Connect Diagnostics Agent
    The table does not contain any data
    Agent availables in all SLD
    SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
    Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
    Thanks

    OK, then pls follow below steps;
    - Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
    - Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
    - If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
    Let me know the results.
    Regards,
    Vivek

  • Java.lang.NullPointerException no protocol: database.xml

    * In Order To Handle XML Operations
    package edu.yeditepe.cse.util;
    import java.util.*;
    import java.io.File;
    import java.io.IOException;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    * @author xx
    public class XMLHandler {
         public final static String ATTRIBUTE           = "value";
         public final static String DOCTYPE_PUBLIC   = "databases";
         public final static String DOCTYPE_SYSTEM   = "database.dtd";
         public final static String ParentElement    = "variable";
         public final static String databaseName          = "databasename";
         public final static String urlName            = "urlname";
         public final static String userName           = "username";
         public final static String passWord           = "password";
         public XMLHandler()
         //     This Function returns the XML File .
         private static Document getDocument(){
                    try {             
                     DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                     factory.setIgnoringComments(true);
                     factory.setIgnoringElementContentWhitespace(true);
                     factory.setValidating(true);
                     DocumentBuilder builder = factory.newDocumentBuilder();
                      builder.setErrorHandler(new MyErrorHandler());
                     return builder.parse(new InputSource("database.xml"));
                 } catch (Exception e) {
                     System.out.println(e.getMessage());
              return null;
         //Adds new Element to The database.Xml File.
         public boolean addElement(String databasename , String urlname, String username , String password ){
              Document doc = getDocument();
              Element root = doc.getDocumentElement();
              Element parentElement = (Element)doc.createElement(ParentElement);//Take parent Element. We have to take this parent Element since we will add new Element to this Parent Element.
              Element databaseNameElement = (Element)doc.createElement(databaseName);//Create Name Element To Bind Value of New Element.
              databaseNameElement.setAttribute(ATTRIBUTE , databasename );//set the attribute of this child.
              Element urlnameElement = (Element)doc.createElement(urlName);//Create Name Element To Bind Value of New Element.
              urlnameElement.setAttribute(ATTRIBUTE , urlname );//set the attribute of this child.
              Element usernameElement = (Element)doc.createElement(userName);//Create Value Element To Bind Value of the new Element.
              usernameElement.setAttribute(ATTRIBUTE , username );//set the attribute of this second child.
              Element passwordElement = (Element)doc.createElement(passWord);//Create Value Element To Bind Value of the new Element.
              passwordElement.setAttribute(ATTRIBUTE , password );//set the attribute of this second child.
              //Form New Variable  via appending its name and value child to itself.
              parentElement.appendChild(databaseNameElement);
              parentElement.appendChild(urlnameElement);
              parentElement.appendChild(usernameElement);
              parentElement.appendChild(passwordElement);
              //Add This Variable To The Root Element.
              root.appendChild(parentElement);
              try{          
                   saveDocument(doc);//Save And Close The XML File. Catch any Exception Occured.
                   return true;
              }catch(Exception e){
                   System.out.println("##error: " + e);     
                   e.printStackTrace();
                   return false;
         }//add Element Function.
         //     Save changes of the Document doc.
         private boolean saveDocument(Document doc){
              try{
                Transformer xformer = TransformerFactory.newInstance().newTransformer();
              xformer.setOutputProperty(OutputKeys.INDENT, "yes");//For INDENTED PRINTING OF THE FILE
              xformer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-9");//Determining Encoding Type.
              xformer.setOutputProperty(OutputKeys.DOCTYPE_PUBLIC, DOCTYPE_PUBLIC);//PRESERVE ROOT ELEMENT
              xformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, DOCTYPE_SYSTEM);//REFERENCE TO DTD FILE
              Source source = new DOMSource(doc);
              Result result = new StreamResult(new File("database.xml"));
              xformer.transform(source, result);
                return true;
              }catch(TransformerConfigurationException e){
                   System.out.println(e);
              }catch(TransformerException e){
                   System.out.println(e);
              return false;
         }//Save
    package edu.yeditepe.cse.util;
    * @author xx
    public class Deneme {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              XMLHandler xh = new XMLHandler();     
              System.out.println(xh.addElement("dasd","asda","adadad","das"));
    }it gives error in linse "Element root = doc.getDocumentElement();"
    i am using jre 1.5.0_ 09
    xalan-2.7.0.jar
    Error on the console is :
    no protocol: database.xml
    Exception in thread "main" java.lang.NullPointerException
         at edu.yeditepe.cse.util.XMLHandler.addElement(XMLHandler.java:69)
         at edu.yeditepe.cse.util.Deneme.main(Deneme.java:16)
    Problem is related with
    return builder.parse(new InputSource("database.xml"));
    when i am trying to type file:///database.xml instead of database.xml
    it adds some more path therefore it doesn't work
    Any help appreciated..

    It seems that the file you are trying to parse is not in your current working directory. The solution, if that is the problem, would be to specify the full path of the file.

  • List of Port and Protocols used by OBIA and Informatica

    Hi Guys
    Please Let me know the List of Port and Protocols used by OBIA,Informatica.
    Regards
    Rama

    Re: OBIEE Ports

  • Exchange 2010 Required Communication (Firewall Ports and Protocols)

    Forgive me if this question has been asked before, but a search did not give me much on my scenario.
    We currently have one Forest with multiple Domains and Child Domains. We have two departments that have Exchange 2010 running and control their own individual users and mailboxes inside their Domains. These two Exchange servers communicate with each other
    just fine.
    We now have a department (another domain) that needs control of their own Exchange 2010 server, but here is the catch. They are behind a Firewall. My question is, what Ports and Protocols do I need opened for the Exchange server behind the Firewall to properly
    communicate to the two other Exchange servers knowing that the Exchange Environment is  a Forest wide activity.
    At this point in time, we cannot get Exchange installed as the prereq check fails with an error that we need to prep the AD schema for Exchange, but we know this has been done since we have to other servers in the Forest.
    Perhaps we need ports not only opened to the two other exchange servers, but also the Forest Root controller?
    Any help is appreciated.

    Exchange needs to be able to fully access all other Exchange servers, Active Directory Domain Controllers, and Active Directory Global Catalogs. Additionally, if I remember correctly, there was a blog from the Exchange team a couple of years ago that said
    Exchange wasn't supported with firewalls between the various Exchange servers in the environment.
    I will ask one question - why aren't you centralizing your Exchange management and servers, and granting rights to these groups for their mailbox management (based on an Organizational Unit that their accounts are in, and granted at the Active Directory
    level)?  You would no longer have this issue each time another group decides they want to host their own Exchange system.

  • Urgent- Any way to recreate xdbconfig.xml???

    Hello! A good '?' :
    Is there any way to recreate the config file xdbconfig.xml file in xml/db without reinstalling xml/db. Our file was renamed to xdbconfig_old.xml.
    It was just renamed earlier today. I have a copy of the old xdbconfig.xml file but cannot put it in the directory using WEBDAV because you have to have the xdbconfig.xml file to access the webdav folders. Is
    there is a way to recreate it in its default directory with a package/procedure without reinstalling?
    Thanks~

    Have your friend, in iTunes, go to iTunes menu View -> View options.
    Tick the columns you want to see.
    Go to Library - Music, select all the songs then copy and paste into a spreadsheet
    You can then sort everything as you want.

  • How to make a program that shuts off either ports or protocols on a network

    I'd like to set up a program, one that I can run on three computers on the same network. I have very basic networking experience (Ive made a server that can have one client connection at a time, with simple commands).
    My roomates are addicted to bittorent, and I can't stand it because I can never use the internet except at a crawl when they torrent. So I was going to make a small application to where anyone can press a stop or start button to possibly block the connection.
    I know it uses port 6881, and was thinking I could close that port and block it that way. But I don't know how to do that. I don't know how to do a server with 3 clients either but I dont think that will be hard to figure out. My main problem is finding a way to block bittorent traffic at the push of a button, any suggestions?

    All you can do in Java is get in first by opening a ServerSocket and a DatagramChannel on that port number. If they both succeed, the other application can't. If you're too late, bad luck. You can't control protocols or external ports from Java.

  • Oracle Http server 11g, change ports with command-line tool

    I have installed the WLS11g webtier's Oracle Http server 11g. I installed the OH 11g only.
    The OH is runing fine with ports: non-ssl 7779 and ssl 4444
    I want to change the ssl port to 443 such that we can have the url without showing the port as https://hostname.domain/
    I have looked up the documnet http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJIFHB for "managing port".
    it states "You can change the port numbers for some Oracle Fusion Middleware components, using Fusion Middleware Control, Oracle WebLogic Server Administration Console, or *the command line*."
    Because I only installed the OH, I have no the Fusion Middleware control , admin console available for making the port change. And I cannot find out how to the command line tool to make the change.
    I followed the steps in section 5.3.2.1 Enabling Oracle HTTP Server to Run as Root for Ports Set to Less Than 1024 (UNIX Only) http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/ports.htm#CIHJEEJH
    And I did edit ssl.conf for port change to 443 ---- this is not documented in the document. I think because Oracle wants you to use the console to make the change.
    OH is not working after I made the change.
    Does anyone know how to use the commend line tool for making the port changes for OH11g?
    Thanks

    Hi,
    if u want to achieve it using JMX then u can try :
    http://middlewaremagic.com/weblogic/?p=613
    Using Command Line Option WLST you can do it in ONLINE Mode...like:
    Step1). Please run the ". ./setWLSEnv.sh" script to set the CLASSPATH & PATH in the shell prompt.
    <b><font color=red>NOTE:</font></b> Run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the <BEA_HOME>/wlserver_10.3/server/bin) then run the following command….
    *. ./setWLSEnv.sh*
    Note: the first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
    Step2). Now in the same Shell Prompt please run the WLST Utility like following:
    <b><font color=maroon>
    java weblogic.WLST
    wls:/offline> connect()
    Please enter your username [weblogic] : weblogic
    Please enter your password [weblogic] : weblogic
    Please enter your server URL [t3://localhost:7001] : t3://localhost:7001
    Connecting to t3://localhost:7001 with userid weblogic ...
    edit()
    startEdit()
    cd ('Servers/AdminServer')
    cmo.setListenPort(9999)
    save()
    activate()
    </font></b>
    Now you NEED NOT to restart your Server to reflact these Changes....
    The Above JMX Code is also able to do it in Runtime only on the Fly.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

  • Port Forwarding Protocol Doesn't Save W330N Gaming Router

    When trying to forward ports on the Single Port Forwarding setup page I cannot change the protocol to anything besides TCP.  I can select "both" or "UDP" but after I click save and the page reloads the setting is reverted back to TCP.  Is there something that stops this setting from working?  Is there a way around this problem?  When using the Range setup I change the protocol and save the setting, but then I can only forward a limited number of ports.  Is there a bug in the software?

    Hi.
    Yeah,may be it's a bug,but upgrade the firmware and reset the router and configurate it again.It should b work
    Good Luck!!!
    Thanks
    Kind Regards
    ing.George Gochev
    DSL and Telecommunications Engineer

  • Jdev 11g - Error while opening struts-config.xml

    Hi,
    could you help me please, I have this error when I try to open my struts-config.xml file:
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.bm.diagrammer.shape.helper.Polyline.getExtent(Polyline.java:314)
         at oracle.bm.diagrammer.shape.BaseDiagramEdge.getExtent(BaseDiagramEdge.java:1482)
         at oracle.bm.diagrammer.util.BaseShapeSet.getExtent(BaseShapeSet.java:569)
         at oracle.bm.diagrammer.BaseDiagram.getDiagramResizeSize(BaseDiagram.java:3933)
         at oracle.bm.diagrammer.BaseDiagram$DiagramRemovePagesLockMonitor.doReleaseAction(BaseDiagram.java:2548)
         at oracle.bm.diagrammer.DistributableLockMonitor.releaseDistributableLock(DistributableLockMonitor.java:99)
         at oracle.bm.diagrammer.DistributableLockMonitor.performLockedAction(DistributableLockMonitor.java:79)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramRemovePagesLockedAction(BaseDiagram.java:2581)
         at oracle.bm.addinUtil.IDEAppContext.buildDiagramImpl(IDEAppContext.java:2509)
         at oracle.bm.addinUtil.IDEAppContext.buildDiagram(IDEAppContext.java:2327)
         at oracle.bm.addinUtil.DiagAppPanel.buildDiagram(DiagAppPanel.java:50)
         at oracle.bm.addinUtil.IDEAppContext.openLoad(IDEAppContext.java:3857)
         at oracle.bm.addinUtil.IDEAppContext.open(IDEAppContext.java:3517)
         at oracle.adfdt.controller.diagram.PageFlowEditor.open(PageFlowEditor.java:82)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:276)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:181)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:379)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1400)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1334)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1260)
         at oracle.ideimpl.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
         at oracle.ideimpl.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
         at oracle.ide.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:199)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:412)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1792)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2127)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2148)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:198)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    Hi,
    I have recreate my file from scratch and it is working now... JDev replace its old oxd file and it is working, maybe it was during the migration process from 10.1.3.4 to 11.1.1.0.2.

  • Customizing server.name and server.port in services-config.xml

    Hi
    How can i find out what does BlazeDs use for server.name and server.port in
    url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
    can i customize those values?
    thank you

    Mete
    Thank you for your reply
    So context.root is resolved at compile time and server & port at runtime
    Do you have an example or a link that shows / explain how to create custom tokens replaced by JVM options?
    I have an issue where if i install my app on http://www.mydomain.com/mycontext/, it loads but will display the following message when making server call using Safari
    FAULT: faultCode:Client.Error.MessageSend faultString:Send failed faultDetail:Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: http://www.mydomain.com/context/messagebroker/amf
    Notte that it works on IE7 when accessing http://www.mydomain.com/mycontext/
    and that it works great with all browsers on http://localhost:8080/mycontextroot
    Would you know what is the best way to debug this issue?
    Thank you
    matt

  • What port and protocol uses icloud and app find my phone on wi-fi?

    Hi, Apple comunity !
    Here's my problem.
    I have an ipad(3rd gen) - Wi-fi only.
    When I'm connected to wi-fi at home, I'm unable to locate my ipad, but on open wi-fi (public wi-fi) I can locate my ipad.
    I guess it has something to do with my router secutity/outgoing port exclusion etc.  or with my ISP.
    Any help or hint would be much appreciated
    Best regards

    Change the password for the account...
    To manage the Apple ID:
    https://appleid.apple.com
    If you need to change the password, under the Manage your Apple ID section on the right, click the link to Change your password.

  • 10g report port ans 11g report port number

    Hi
    We are using linux box 10g report url http://server1:9704/analytics
    Now the same box we installed obiee11g url http://server1:7704/analytics
    Now could you please let me know how we can change obiee11g port number 7704 to 9704?
    Can i uninstall 10g install or no need to uninstall ?
    Thanks
    Gram

    please i need help as soon as you can
    i will be very thankful for all

Maybe you are looking for

  • Error while creating adf table in jdev 11.1.1.2.0

    Hi I am getting below error while running the jsf page. ======= <UIXInclude><_setupIncludeContext> Illegal call to setup the context of an include that is already in context <UIXInclude><_tearDownIncludeContext> Illegal call to tear down the context

  • ALUI + Windows server 2003 + WebLogic server + SSO via WIA

    Hello, I'm trying to configurate SSO on ALUI in my environment. I've got two servers. On server 1 is installed ALUI 6.5 on WebLogic server. On server 2 is installed Active Directory. Both servers are attached to one domain from active directory and b

  • Where can i get a voice recorder for my ipod???

    Hi i was just wondering where can i get a voice recorder for my ipod because i haven't seen them around thanx

  • Re-Installation of MAC OS X 10.5

    Hello To everyone. New year Greetings. I am having multiple problems in my system. I am using MAC OS X 10.5.8 So i have decided to install the whole set up again. I want to know how we can re-install the complete setup once again. Is it same like ins

  • Updating properties file with values containing characters like slash (/)

    Hi, I am writing a java class that would create/update properties file. I am passing a string that contains colons. e.g. a path like http://xyz.com I am using the java.util.Properties.setProperty(String arg0, String arg1) method to set the key value