Concurrency dependency issues in 2.2-RC3
----------------------------------------

         Key: GEOT-870
         URL: http://jira.codehaus.org/browse/GEOT-870
     Project: GeoTools
        Type: Bug

  Components: core main  
    Versions: 2.2-RC3    
    Reporter: Richard Gould
 Assigned to: Richard Gould 
     Fix For: 2.2-RC4


It is main that has the dependency or should have the dependency.   The arcSDE 
plugin had the same plugin dependency.  I guess when it  got clobbered the 
dependency got removed from the repository as well.

This jar has the class in it:

http://lists.refractions.net/geotools/oswego/jars/concurrent-1.3.4.jar

Main can depend on it instead.

Jesse

On 19-Jun-06, at 1:30 PM, Richard Gould wrote:

> This one seems weird to me. The shapefile plugin pom.xml declares no
> such dependency. What's the name of the jar that should contain this
> ConcurrentHashMap class?
>
> Richard
>
> Jody Garnett wrote:
>
>> todd runstein wrote:
>>
>>> I have a ShapefileDataStore that I'm trying to render
>>> with StreamingRenderer.  I was able to do this in 2.2
>>> M2, but in 2.2 RC3 I get an error (trace follows).  I
>>> am able to render a TigerDataStore with the same code,
>>> but shapefiles throw the error.
>>> The ConcurrentHashMap class isn't in any of the jars
>>> for either version.  Is this a new dependency that I
>>> don't have?  If so, what am I missing and where do I
>>> get it?
>>>
>>
>> I think this error goes out to Richard who put together the  2.2.RC3 list...
>> Richard is their a chance we missed switching something over to the
>> concurrency package?
>>
>> Their is a great set of concurrency classes that has been adopted  first by
>> esri and then by Java 5. The library is available seperatly and we  now use
>> the original in geotools so as to still work with Java 1.4.
>>
>> The motivation for the release of 2.2.RC3 was to remove the direct
>> dependency on ESRI code (even just stuff they repackaged).
>>
>> Jody
>>
>>> Thanks,
>>>
>>> Todd
>>>
>>> Here's the trace:
>>> java.lang.NoClassDefFoundError:
>>> EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap
>>>     at org.geotools.data.Diff.<init>(Diff.java:69)
>>>     at
>>> org.geotools.data.TransactionStateDiff.diff (TransactionStateDiff.java:100)
>>>
>>>     at
>>> org.geotools.data.AbstractDataStore.getFeatureReader 
>>> (AbstractDataStore.java:358)
>>>
>>>     at
>>> org.geotools.data.DefaultFeatureResults.reader 
>>> (DefaultFeatureResults.java:147)
>>>
>>>     at
>>> org.geotools.renderer.lite.StreamingRenderer.getReader 
>>> (StreamingRenderer.java:1090)
>>>
>>>     at
>>> org.geotools.renderer.lite.StreamingRenderer.processStylers 
>>> (StreamingRenderer.java:1188)
>>>
>>>     at
>>> org.geotools.renderer.lite.StreamingRenderer.paint 
>>> (StreamingRenderer.java:506)
>>>
>>>     at
>>> org.geotools.renderer.lite.StreamingRenderer.paint 
>>> (StreamingRenderer.java:412)
>>>
>>>     at
>>> com.mymaps.viewers.AbstractViewer$ImageGenerator.construct 
>>> (AbstractViewer.java:765)
>>>
>>>     at
>>> javax.swing.SwingWorker3.SwingWorker$2.run(SwingWorker.java:108)
>>>     at java.lang.Thread.run(Thread.java:534)
>>>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to