FactorySPI confuses GeoServer

Description

GeoServer is not recognizing DataStores loaded from multiple jars, usually one jar for each DataStore. This problem occurs in resin 2.X but not in Tomcat.

This bug prevents GeoServer from being protable across WebContainers.

Environment

None

Activity

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

CodeHaus Comment From: jmacgill - Time: Mon, 19 Jan 2004 16:51:26 -0600
---------------------
Technicaly this appears to be a bug in resin and I think it may just have been fixed.

The change log for a recent release of resin notes:

"DirectoryClassLoader was only return first resource in getResources"

See the last entry on the release notes for 2.1.9 on:

<a href="http://www.caucho.com/resin/changes.xtp">http://www.caucho.com/resin/changes.xtp</a>

getResources is the KEY method in makeing SPI work so a but in this would cause the problem you are reporting.

Can you test against resin &gt; 2.1.9 and see if the issue still exists.

Assignee

Unassigned

Reporter

codehaus

Triage

None

Affects versions

Priority

Medium
Configure