Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 71d40963b505df4524269198e237b3e3 > files > 862

virtuoso-opensource-doc-6.1.4-2.fc14.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head profile="http://internetalchemy.org/2003/02/profile">
  <link rel="foaf" type="application/rdf+xml" title="FOAF" href="http://www.openlinksw.com/dataspace/uda/about.rdf" />
  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
  <meta name="dc.title" content="16. Runtime Hosting" />
  <meta name="dc.subject" content="16. Runtime Hosting" />
  <meta name="dc.creator" content="OpenLink Software Documentation Team ;&#10;" />
  <meta name="dc.copyright" content="OpenLink Software, 1999 - 2009" />
  <link rel="top" href="index.html" title="OpenLink Virtuoso Universal Server: Documentation" />
  <link rel="search" href="/doc/adv_search.vspx" title="Search OpenLink Virtuoso Universal Server: Documentation" />
  <link rel="parent" href="runtimehosting.html" title="Chapter Contents" />
  <link rel="prev" href=".html" title="" />
  <link rel="next" href="rthclr.html" title="CLR, .Net &amp; ASPX Host" />
  <link rel="shortcut icon" href="../images/misc/favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" type="text/css" href="doc.css" />
  <link rel="stylesheet" type="text/css" href="/doc/translation.css" />
  <title>16. Runtime Hosting</title>
  <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
  <meta name="author" content="OpenLink Software Documentation Team ;&#10;" />
  <meta name="copyright" content="OpenLink Software, 1999 - 2009" />
  <meta name="keywords" content="" />
  <meta name="GENERATOR" content="OpenLink XSLT Team" />
 </head>
 <body>
  <div id="header">
    <a name="rthactivation" />
    <img src="../images/misc/logo.jpg" alt="" />
    <h1>16. Runtime Hosting</h1>
  </div>
  <div id="navbartop">
   <div>
      <a class="link" href="runtimehosting.html">Chapter Contents</a> | <a class="link" href="runtimehosting.html" title="Runtime Hosting">Prev</a> | <a class="link" href="rthclr.html" title="CLR, .Net &amp; ASPX Host">Next</a>
   </div>
  </div>
  <div id="currenttoc">
   <form method="post" action="/doc/adv_search.vspx">
    <div class="search">Keyword Search: <br />
        <input type="text" name="q" /> <input type="submit" name="go" value="Go" />
    </div>
   </form>
   <div>
      <a href="http://www.openlinksw.com/">www.openlinksw.com</a>
   </div>
   <div>
      <a href="http://docs.openlinksw.com/">docs.openlinksw.com</a>
   </div>
    <br />
   <div>
      <a href="index.html">Book Home</a>
   </div>
    <br />
   <div>
      <a href="contents.html">Contents</a>
   </div>
   <div>
      <a href="preface.html">Preface</a>
   </div>
    <br />
   <div class="selected">
      <a href="runtimehosting.html">Runtime Hosting</a>
   </div>
    <br />
   <div class="selected">
      <a href="rthactivation.html">Runtime Environments</a>
   </div>
   <div>
      <a href="rthclr.html">CLR, .Net &amp; ASPX Host</a>
   </div>
   <div>
      <a href="rthclrmono.html">CLR &amp; Mono</a>
   </div>
   <div>
      <a href="javaextvm.html">Embedded Java VM API</a>
   </div>
   <div>
      <a href="cinterface.html">Virtuoso Server Extension Interface (VSEI) (C Interface)</a>
   </div>
   <div>
      <a href="vseplugins.html">VSEI Plugins</a>
   </div>
    <br />
  </div>
  <div id="text">
    <a name="rthactivation" />
    <h2>16.1. Runtime Environments</h2>
 <p>The Virtuoso server in its standard build is a single executable.  To
 allow for external customizations based on VSEs the Virtuoso server engine
 becomes a callable library, the main function is re-written to incorporate other
 libraries and a new executable is created.
For example, a Virtuoso server
 that contains PHP support under Windows consists of: </p>

<div>
      <pre class="programlisting">
 65K virtuoso-odbc-php-t.exe
5.2M libvirtuoso-odbc-t.dll
1.2M php4ts.dll
</pre>
    </div>

 <p>which replaces the usual <span class="computeroutput">7M virtuoso-odbc-t.exe</span>.
 <span class="computeroutput">virtuoso.odbc-php-t.exe</span> is then executed
 in the usual way.</p>

 <p>The Linux counterpart would be an
 <span class="computeroutput">8M virtuoso-odbc-php-t</span> binary.</p>

 <p>The Virtuoso executable files provided in the installer are appropriately
 named to indicate which customizations are supported.  e.g. one that
 contains &quot;php&quot; and &quot;clr&quot; in the file name has been built with PHP and
 CLR support.</p>

 <p>The location of the support libraries (.DLL&#39;s) for the various
 customizations of Virtuoso on Windows must either be in the %PATH%;
 environment variable or be the same directory as the virtuoso .EXE file.
 Virtuoso will not be able to start otherwise.</p>

 <div class="note">
      <div class="notetitle">Note:</div>
 <p>If Virtuoso is starting as a system service then the
 SYSTEM PATH must be altered as opposed to the USER PATH.  The USER PATH
 is appropriate to alter if Virtuoso is being started as that user, usually when
 in debug/foreground mode.  This is applicable to any required environment
 variables, not just PATH.</p>
    </div>

 <p>Hosted environments that require SQL access back to the database can
 make use of the in-process client mechanism.  Hosted Runtimes such as PHP
 and ASP .Net would ordinarily use an RPC based (ODBC) connection.  To improve
 the efficiency of the system, keeping it all in-process, a special connection
 can be made with no alteration to the API used in the code for communication.</p>

 <div class="tip">
      <div class="tiptitle">See Also:</div>
   <p>The <a href="inprocess.html">In-Process Client</a> keeps connections
   within Virtuoso avoiding unnecessary RPCs.</p>
    </div>
 <table border="0" width="90%" id="navbarbottom">
    <tr>
        <td align="left" width="33%">
          <a href="runtimehosting.html" title="Runtime Hosting">Previous</a>
          <br />Contents of Runtime Hosting</td>
     <td align="center" width="34%">
          <a href="runtimehosting.html">Chapter Contents</a>
     </td>
        <td align="right" width="33%">
          <a href="rthclr.html" title="CLR, .Net &amp; ASPX Host">Next</a>
          <br />CLR, .Net &amp; ASPX Host</td>
    </tr>
    </table>
  </div>
  <div id="footer">
    <div>Copyright© 1999 - 2009 OpenLink Software All rights reserved.</div>
   <div id="validation">
    <a href="http://validator.w3.org/check/referer">
        <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" />
    </a>
    <a href="http://jigsaw.w3.org/css-validator/">
        <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" height="31" width="88" />
    </a>
   </div>
  </div>
 </body>
</html>