Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-17 Thread Kajar
I thought this old bug is fixed. 
So King Oracle provider not working with any distribution of linux?

How to use OGR Provider to connect to Oracle base.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5168004.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-17 Thread Gabriele Monfardini
Hi Kajar,


 I thought this old bug is fixed.
 So King Oracle provider not working with any distribution of linux?

 How to use OGR Provider to connect to Oracle base.



Is it indeed possible to use OGR Provider to connect to Oracle Base, but as
said by Riccardo Pucci, you need to recompile gdal/ogr library with oracle
support.
FDO libOGR provider links against libgdal found in FDO-x.x.x/lib. So you
can recompile it using the same maior version and enabling oracle support.

Regards,

Gabriele Monfardini
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-17 Thread Riccardo Pucci
I'm pretty sure is Linux-wide. It depends on sizeof wchar_t which is 
compiler specific: on Windows (visual c++) is 2 byte while on Linux 
(gcc) 4 byte.
When Haris switched from UTF-8 to UTF-16 charset to perform oracle 
connection, used wchar_t to pass/retrieve string to oracle. In windows 
it's ok because UTF-16 and wchar_t have the same size, in Linux a 
shrink/deflate should be performed each time there's need to copy data 
from/to wchar_t array to/from the UTF-16 array, as some OCI wrapper 
does.  (OCILIB for example).
I tried in the past to modify the provider in a such way, but I never 
been able to have a fully functional provider, and finally I gave up.


Il 17/10/2014 02:18, Jackie Ng ha scritto:

Is this a Linux-wide issue or specific to one particular distro?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167915.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-16 Thread Kajar
Now all files are istalled and Oracle Instant client is configured but I got
error when I want to connect to oracle database using Maestro:

The remote server returned an error: (559) MgFdoException.: 
An exception occurred in FDO component.
Error occurred in Feature Source
(Session:4643b2a8-5508-11e4-8000-227fbd1e24c6_en_MTI3LjAuMC4x0AFC0AFB0AFA//7558decb-3d62-4d53-a8c2-874ec9389065.FeatureSource):
An exception occurred in FDO component.
Failed to retrieve the third party exception mesage. This message may not be
unicode compliant.

- MgFdoConnectionManager.Open() line 333 file FdoConnectionManager.cpp
- MgFdoConnectionManager.CacheFdoConnection() line 1097 file
FdoConnectionManager.cpp
- MgFdoConnectionManager.Open() line 1089 file FdoConnectionManager.cpp
 (Cause: , Root Cause: )
- MgFeatureServiceHandler.ProcessOperation() line 83 file
FeatureServiceHandler.cpp
- MgOpTestFeatureSourceConnection.Execute() line 100 file
OpTestFeatureSourceConnection.cpp
- MgServerFeatureService.TestConnection() line 243 file
ServerFeatureService.cpp
- MgFdoConnectionManager.Open() line 366 file FdoConnectionManager.cpp
The remote server returned an error: (559) MgFdoException.

Configuration i have:Centos 6.5(32 bit), Oracle instant client is 11ver(32
bit), Mapguide 2.6(32bit) Oracle database is 10ver(64bit). 
Maybe 32 vs 64bit problems?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167763.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-16 Thread Riccardo Pucci

Hi Kajar,
Sadly this old bug http://trac.osgeo.org/fdo/ticket/562 prevent king 
oracle provider to work on Linux.
I think there are more chance with OGR Provider, but it should be 
compiled with Oracle Spatial support.


Riccardo.

Il 16/10/2014 10:17, Kajar ha scritto:

Now all files are istalled and Oracle Instant client is configured but I got
error when I want to connect to oracle database using Maestro:

The remote server returned an error: (559) MgFdoException.:
An exception occurred in FDO component.
Error occurred in Feature Source
(Session:4643b2a8-5508-11e4-8000-227fbd1e24c6_en_MTI3LjAuMC4x0AFC0AFB0AFA//7558decb-3d62-4d53-a8c2-874ec9389065.FeatureSource):
An exception occurred in FDO component.
Failed to retrieve the third party exception mesage. This message may not be
unicode compliant.

- MgFdoConnectionManager.Open() line 333 file FdoConnectionManager.cpp
- MgFdoConnectionManager.CacheFdoConnection() line 1097 file
FdoConnectionManager.cpp
- MgFdoConnectionManager.Open() line 1089 file FdoConnectionManager.cpp
  (Cause: , Root Cause: )
- MgFeatureServiceHandler.ProcessOperation() line 83 file
FeatureServiceHandler.cpp
- MgOpTestFeatureSourceConnection.Execute() line 100 file
OpTestFeatureSourceConnection.cpp
- MgServerFeatureService.TestConnection() line 243 file
ServerFeatureService.cpp
- MgFdoConnectionManager.Open() line 366 file FdoConnectionManager.cpp
The remote server returned an error: (559) MgFdoException.

Configuration i have:Centos 6.5(32 bit), Oracle instant client is 11ver(32
bit), Mapguide 2.6(32bit) Oracle database is 10ver(64bit).
Maybe 32 vs 64bit problems?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167763.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-16 Thread Jackie Ng
Is this a Linux-wide issue or specific to one particular distro?

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167915.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-14 Thread Jackie Ng
Does libKingOracleProvider-3.9.0.so and libKingOracleProvider.so exist in
/usr/local/fdo-3.9.0/lib ?

If so, you're probably missing a providers.xml entry for this provider.

Also make sure that you have the Oracle Instant Client installed and that
ldd libKingOracleProvider.so can pick up the Instant Client sos.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167334.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-14 Thread Kajar
Is this xml entry is correct:

FeatureProvider
NameKing.Oracle.3.9/Name
DisplayNameOracle Provider/DisplayName
DescriptionRead/write access to spatial and attribute data in an
Oracle Spatial. (requires Oracle Instant Client libraries)/Description
IsManagedFalse/IsManaged
Version3.9.0.0/Version
FeatureDataObjectsVersion3.9.0.0/FeatureDataObjectsVersion
LibraryPath.\libKingOracleProvider.so/LibraryPath
  /FeatureProvider



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167418.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-14 Thread Jackie Ng
If the said .so file is there, then yes.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167422.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-14 Thread Kajar
Thanks for help.
But can you help where to find King Oracle FDO 3.9 version
files(libKingOracleProvider-3.9.0.so).
I found only 3.8 version to download.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167431.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing

2014-10-14 Thread Jackie Ng
It should be part of the FDO tarball that the CentOS installer script will
download:

http://download.osgeo.org/mapguide/releases/2.6.0/Release/fdosdk-centos6-i386-3.9.0_7090.tar.gz

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167441.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users