<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.highlight
        {mso-style-name:highlight;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Have you determined there are no missing libraries that the OGR provider requires? Using. &#8216;ldd&#8217;, etc&#8230;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">OGR should successfully connect with Oracle Spatial databases.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Greg
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> fdo-users-bounces@lists.osgeo.org [mailto:fdo-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Jan Malysiak<br>
<b>Sent:</b> Monday, August 22, 2011 8:24 AM<br>
<b>To:</b> FDO Users Mail List<br>
<b>Subject:</b> [fdo-users] OGR Oracle connection problem<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi,<br>
<br>
I would like to connect MapGuide OpenSource to Oracle Spatial database, I use Ubuntu and I've already learned that KingOracle Provider does not work on Linux, so now I attempt to make a connection using OSGeo FDO Provider for OGR. When I test connection in
 MapGuide Maestro I get &quot;The remote server returned an error: (559) MgFdoException.: An exception occurred in FDO component.&quot;. For more details, I looked at error log and that's what I read:<br>
<br>
&lt;2011-08-22T14:08:14&gt; &nbsp;&nbsp;&nbsp; -1388410000&nbsp;&nbsp;&nbsp; MapGuide Maestro v2.1.4.5245&nbsp;&nbsp;&nbsp; 127.0.0.1&nbsp;&nbsp;&nbsp; Administrator<br>
&nbsp;Error: An exception occurred in FDO component.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connect failed: <br>
&nbsp;StackTrace:<br>
&nbsp; - MgFeatureServiceHandler.ProcessOperation() line 83 file FeatureServiceHandler.cpp<br>
&nbsp; - MgOpTestFeatureSourceConnection.Execute() line 100 file OpTestFeatureSourceConnection.cpp<br>
&nbsp; - MgFdoConnectionManager.Open() line 893 file FdoConnectionManager.cpp&nbsp;&nbsp;&nbsp; <br>
<br>
I've searched a lot for similar problems, but I couldn't find any working solution. I've tried multiple various configurations of connection parameters, I've tried also adding Oracle client path to LD_LIBRARY_PATH, but still all my attempts were unsuccessful.<br>
<br>
I use:<br>
<span class="highlight">MapGuide</span> Open Source 2.1.0 <br>
FDO 3.4.0 <br>
<span class="highlight">MapGuide</span> Maestro 2.1.4 <br>
Ubuntu 10.10 <br>
Oracle Instant Client 10.2.0.4 <br>
<br>
Thank you for any help.<br>
<br>
Best regards,<br>
Jan Małysiak<o:p></o:p></p>
</div>
</body>
</html>