Hi Sherman,

The server has been restarted please try again. Will also see how if can add some tracing for client responses should the problem persist ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support



On 31 May 2009, at 00:52, Sherman Monroe wrote:

Hugh,

I'm calling the API from within the Java framework, here is the code:

            HttpURLConnection c = null;
            try {

                URL url = new URL(Proxy.ENDPOINT_FACETS);
                c = (HttpURLConnection) url.openConnection();
                c.setRequestMethod("POST");
c.setRequestProperty("Content-Type", "text/xml; charset=\"UTF-8\"");
//                 c.setRequestProperty("Content-Type", "text/xml");
                c.setDoOutput(true);
// OutputStreamWriter out = new OutputStreamWriter (c.getOutputStream(), "UTF8");
                System.out.print("Query xml string: ");
                System.out.println(document.toString());
document.output(c.getOutputStream()); // takes stream or printwriter
                // out.write(xmlText);
                c.getOutputStream().close();

DataInputStream input = new DataInputStream (c.getInputStream());

Error occurs at the last line there when I get the response from the server. I get 500 and 501 errors now 100% of the time. Are you tracing the responses you send back to client? Here's what I get:

Query xml string:
<?xml version="1.0" standalone="yes"?><query timeout='2000' xmlns='http://openlinksw.com/services/facets/1.0'><text property='http://www.w3.org/2000/01/rdf-schema#label'>Microsoft</ text><property iri='http://www.w3.org/1999/02/22-rdf-syntax- ns#type'></property><view offset='0' limit='25' type='list'></ view></query>


Error sent from server:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
  <head>
    <title>Error 37000</title>
  </head>
  <body>
    <h3>Error 37000</h3><pre>
SOH03: There is no such procedure
  </pre></body>
</html>

ResponseHeader:
sun.net.www.MessageHeader@1b9b03{null: HTTP/1.1 500 Internal Server Error}{Server: Virtuoso/06.00.3119 (Linux) x86_64-unknown-linux- gnu VDB}{Connection: Keep-Alive}{Content-Type: text/html; charset=ISO-8859-1}{Date: Sat, 30 May 2009 23:51:02 GMT}{Accept- Ranges: bytes}{Content-Length: 201}{null: null}


-sherman

On Sat, May 30, 2009 at 6:27 PM, Hugh Williams <[email protected]> wrote:
Hi Sherman,

What is the client application you are using when receiving these intermittent errors, if curl is not also producing them ?

Checking the server logs we see not occurrence of such errors either.

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support



On 30 May 2009, at 17:20, Sherman Monroe wrote:

Hugh,

The error rate is back up to 80%, still the same "no such procedure" error. I've commented out code that attempts to read the error buffer.

-sherman

On Sat, May 30, 2009 at 9:16 AM, Sherman Monroe <[email protected]> wrote:
Hugh,

I discovered that when trying to read the error buffer, it's sometimes null, which was causing many of the errors.

Now that I've removed that code, the error rate is about 30%, still the "no such procedure" error.

-sherman


On Fri, May 29, 2009 at 8:06 PM, Sherman Monroe <[email protected]> wrote:
Hugh,

I get normal results via CURL, but keep in mind that CURL failed to expose the error the last time.

I now get errors 80% of the time from the Facet API now.

-sherman


On Fri, May 29, 2009 at 5:09 PM, Hugh Williams <[email protected]> wrote:
Hi Sherman,

Are you getting this error performing curl queries as I am not:

hugh-williams-computer-1668:~ hughwilliams$ more sherman1.xml
<?xml version="1.0" standalone="yes"?><query timeout='2000' xmlns='http://openlinks w.com/services/facets/1.0'><property iri='http://www.w3.org/ 1999/02/22-rdf-syntax-n s#type'><value datatype='uri'>http://umbel.org/umbel/sc/Person</ value></property><v alue datatype='uri'>http://dbpedia.org/resource/Drew_Barrymore</ value><property iri ='http://dbpedia.org/property/reference'></property><value datatype='uri'>http://db pedia.org/resource/Drew_Barrymore</value><view offset='0' limit='250' type='text'><
/view></query>
hugh-williams-computer-1668:~ hughwilliams$ curl -H "Content-Type: text/html" -d @sherman1.xml http://lod.openlinksw.com
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<title>Entity Search, Find, and Explore</title>
<link rel="stylesheet" media="screen" type="text/css" href="styles/ default.css"/>
<script type="text/javascript" >
    var featureList=["map", "combolist", "ajax2", "tab", "json"];
</script>
<script type="text/javascript" src="oat/toolkit/loader.js"></script>
<script type="text/javascript" src="facet.js"></script>
</head>
<body>
<div id="PG">
<div id="HD">
  <a href="http://www.openlinksw.com"; class="logo">
<img id="opl_logo" src="/fct/images/openlink_site_logo.png" alt="OpenLink Software"/>
  </a>
</div><!-- #HD -->
<div id="MD">

  <div id="main_srch" style="display: none">
    <div id="TAB_ROW">
      <div class="tab" id="TAB_TXT">Text Search</div>
      <div class="tab" id="TAB_URILBL">URI Lookup (by Label)</div>
      <div class="tab" id="TAB_URI">URI Lookup</div>
      <div class="tab_act">
<a href="/fct/facet.vsp? cmd=featured&sid=72665&no_qry=1">Featured Queries</a>
        &nbsp;|&nbsp;
        <a href="/b3s/">Demo Queries</a>
        &nbsp;|&nbsp;
        <a href="facet_doc.html">About</a>
      </div>
    </div> <!-- #TAB_ROW -->
    <div id="TAB_CTR">
    </div> <!-- #TAB_CTR -->
    <div id="TAB_PAGE_TXT" class="tab_page" style="display: none">
      <h2>Entity Search, Find, and Explore</h2>
      <form method="post"
            action="/fct/facet.vsp?cmd=text&sid=72665" >
        <div id="new_srch">
          <label class="left_txt"
                 for="new_search_txt">Search Text</label>
          <input id=  "new_search_txt"
                 size="60"
                 type="text"
                 name="search_for"/>
          <input type=submit  value="Search"><br/>
        </div>
      </form>
    </div> <!-- #TAB_PAGE_TXT -->
    <div id="TAB_PAGE_URILBL" class="tab_page" style="display: none">
      <h2>Entity Search, Find, and Explore</h2>
      <form method="get" action="/describe/" id="new_lbl_fm">
        <input type="hidden" name="url" id="new_lbl_val"/>
        <input type="hidden" name="sid" value="72665"/>
        <input type="hidden" name="urilookup" value="1"/>
      </form>
      <div id="new_uri">
        <label class="left_txt"
               for=  "new_lbl_txt">Label</label>

        <input id=  "new_lbl_txt"
               size="60"
               type="text"
               autocomplete="off"/>

        <button id="new_lbl_btn">Describe</button><br/>
      </div>

    </div>
    <div id="TAB_PAGE_URI" class="tab_page" style="display: none">
      <h2>Entity Search, Find, and Explore</h2>
      <form method="get" action="/describe/" id="new_uri_fm">
        <input type="hidden" name="url" id="new_uri_val"/>
        <input type="hidden" name="sid" value="72665"/>
        <input type="hidden" name="urilookup" value="1"/>
      </form>
      <div id="new_uri">
        <label class="left_txt"
               for=  "new_uri_txt">URI</label>

        <input id=  "new_uri_txt"
               size="60"
               type="text"
               autocomplete="off"/>
        <button id="new_uri_btn">Describe</button><br/>
      </div>
    </div> <!-- #TAB_PAGE_URI -->
  </div> <!-- #main_srch -->
  <div class="main_expln"><br/>
    Faceted Search &amp; Find Service<br/>
  </div>

</div><!-- #MD -->
<div id="FT">
<a href="http://virtuoso.openlinksw.com/";><img src="/fct/images/ virt_power_no_border.png" alt="Powered by OpenLink Virtuoso"/></a> <a href="http://linkeddata.org";><img src="/fct/images/ LoDLogo.gif" alt="Linked Data"/></a><br/> <span class="copyright">Copyright &copy; 2009 OpenLink Software</ span>
  <div id="FT_L"></div>
  <div id="FT_R"></div>
</div>
</div> <!-- #PG -->
</body>
</html>


Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support



On 29 May 2009, at 22:27, Sherman Monroe wrote:

Hi All,

I continue to get the following error from the Facets API, seems to happen on any query:

Error: Error 37000 Error 37000 SOH03: There is no such procedure



--

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)
-------------------------------------------------------------------- ----------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat- com _______________________________________________
Virtuoso-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-devel




--

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)



--

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)



--

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)
--------------------------------------------------------------------- ---------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat- com _______________________________________________
Virtuoso-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-devel




--

Thanks,
-sherman

I pray that you may prosper in all things and be healthy, even as your soul prospers
(3 John 1:2)
---------------------------------------------------------------------- --------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________
Virtuoso-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-devel

Reply via email to