5 Replies Latest reply: Sep 24, 2012 11:05 AM by Marco Gralike RSS

    Native Web Services and Timeout

    pearceg
      We are experiencing intermittent Timeouts when consuming Web Services published via Oracle Native Web Services.

      The PL/SQL procedure the web service is based on completes in sub second times (when know this as we have logging in the code). The request and response are produced and logged.

      The client is a BizTalk .Net WCF adaptor which times out after 60 seconds.

      It is only intermittent but regular.

      Does anyone have any ideas on what might be causing this ?

      Are there any settings in the XDBCONFIG that I could change that might affect this ?

      How do I change the logging levels in XDBCONFIG so I get some log files, they levels are all set to 0 at the moment.

      Thanks in advance

      XDBCONFIG below

      <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>
      <session-pool-size>50</session-pool-size>
      <session-timeout>6000</session-timeout>
      </common>
      <httpconfig>
      <http-port>8512</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>XDB</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>/orawsv/*</servlet-pattern>
      <servlet-name>orawsv</servlet-name>
      </servlet-mapping>
      </servlet-mappings>
      <servlet-list>
      <servlet xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
      <servlet-name>orawsv</servlet-name>
      <servlet-language>C</servlet-language>
      <display-name>Oracle Query Web Service</display-name>
      <description>Servlet for issuing queries as a Web Service</description>
      <servlet-schema>XDB</servlet-schema>
      <security-role-ref xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
      <description/>
      <role-name>XDB_WEBSERVICES</role-name>
      <role-link>XDB_WEBSERVICES</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>