there was some discussion in the past about this -
http://osgeo-org.1560.x6.nabble.com/Oracle-JNDI-connection-with-JBOSS-EAP-td5091016.html
I think I went with out JNDI in the end
Ian
On 25 October 2016 at 11:03, Andrea Aime <[email protected]>
wrote:
> Hi Carlos,
> in order to read Geometries Oracle forces us to unwrap the pooled
> connections,
> because we need some methods that only the native Oracle connection class
> provides.
>
> For that purpose we have a bunch of UnWrapper classes, it would seem none
> of them
> is working for your setup... it could be a new unwrapper class is needed
> for that case,
> or that there is a bug in the existing ones.
>
> I am not familiar with the JBoss case, but in some connection pools you
> have to configure
> the pool itself to allow connection unwrapping.
>
> It could also be that you're putting the oracle JDBC driver both in
> GeoServer and in JBOSS
> libs, when using JNDI the driver should not be in the GeoServer war.
>
> Cheers
> Andrea
>
>
> On Mon, Oct 24, 2016 at 4:17 PM, Carlos Lacerda <[email protected]>
> wrote:
>
>> Hi guys,
>>
>> I'm trying to standardize somethings here in my GeoServer but I'm facing a
>> problem with Oracle NG (JNDI) driver.
>>
>> If I use a normal connection in GeoServer using Oracle NG driver all is
>> fine
>> but if I create a DataSource in JBoss to use in GeoServer I receive this
>> error:
>> *Error creating data store, check the parameters. Error message: Unable to
>> obtain Oracle Connection require for SDO Geometry access).Check connection
>> pool implementation to unsure unwrap is available
>> *
>>
>> The error is the same using GeoServer 2.6.2 and 2.9.2 that I have
>> tested. I
>> already updated the Oracle Driver and included Oracle Driver module from
>> JBoss in GeoServer using jboss-deployment-structure.xml but without
>> success.
>>
>> I saw this JIRA GEOT-5239 that face a similar problem with the same error
>> message but using GeoServer pool, I can't see where I can act to solve it.
>>
>> Anyone have idea where I need to configure to solve this problem ?
>> I'm using JBoss 6.4 EAP
>>
>> Any help will be very appreciated.
>>
>>
>>
>> --
>> View this message in context: http://osgeo-org.1560.x6.nabbl
>> e.com/Oracle-NG-JNDI-Driver-with-JBoss-connection-pool-
>> problem-tp5292335.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------
>> ------------------
>> The Command Line: Reinvented for Modern Developers
>> Did the resurgence of CLI tooling catch you by surprise?
>> Reconnect with the command line and become more productive.
>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>> http://sdm.link/telerik
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054 Massarosa (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> -------------------------------------------------------
>
> ------------------------------------------------------------
> ------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Ian Turton
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users