Oracle canProcess(Map) shoudl be true iff oracle jars present

Description

This bug is marked as Major because it "hits the screen" in GeoServer.
(It is not a showstopper as GeoServer has protected itself during loading)

GeoServer recently ran into a problem when the oracle DataStore recognized a Map provided to the canProcess function - even though the required oracle drivers were not in the classpath.

This allowed the GeoServer user to set up a DataStore that appeared to work correctly up until it was actually used.

oracle module bug:
The oracle DataStore canProcess(Map) method should return false if the required JDBC Driver is unavailable at runtime.

data module request:
It would be even better if the OracleDataStore did not appear in the list of available DataStores returned by DataStoreFinder.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:05 PM

CodeHaus Comment From: jgarnett - Time: Wed, 17 Mar 2004 12:41:07 -0600
---------------------
We could just remove the oracle datastore jar, it would prevent oracle from showing up in the list - meeting my ui requirements "if it does not work don't show it".

The instructions would then be modified to describe the installation of three jars for oracle (rather than the current two).

codehaus
April 10, 2015, 3:05 PM

CodeHaus Comment From: cholmes - Time: Sun, 18 Apr 2004 12:15:26 -0500
---------------------
Hey, anyone have suggestions as to how to best implement this? I really want this done, as the alternative is to make a seperate download for oracle. People really didn't like our solution for the beta, mainly because it wasn't documented enough. I want rc1 out very soon, and it seems like more work for me to make an oracle download and explain the whole procedure of what will be much more of a bitch for users. It seems like it would be less work for me to just resolve this issue myself. So I'll play with it tomorrow, but suggestions as to how to go about it would be appreciated.

codehaus
April 10, 2015, 3:05 PM

CodeHaus Comment From: jmacgill - Time: Wed, 28 Apr 2004 14:46:32 -0500
---------------------
is this now resolved / resolvable by the addition of isAvailable() to the DataStore api.

codehaus
April 10, 2015, 3:05 PM

CodeHaus Comment From: cholmes - Time: Fri, 1 Oct 2004 14:58:34 -0500
---------------------
This was fixed awhile ago. Now I'd like to do something elegant form my new OCI oracle factory, but I can make another task for it.

codehaus
April 10, 2015, 3:05 PM

CodeHaus Comment From: - Time: Fri, 27 May 2005 10:50:35 -0500
---------------------
<a href="http://www.mylosoft.com/">http://www.mylosoft.com/</a> &lt;a href=&quot;<a href="http://www.mylosoft.com/">http://www.mylosoft.com/</a>&quot;&gt;world series portable poker table&lt;/a&gt; thanks for your site

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure