RE: [OpenMap Users] OpenMap Over X Speed Changes in Solaris 9 vs. 8

From: Ellwein, Brent A <baellwe_at_sandia.gov>
Date: Mon, 18 Apr 2005 12:57:04 -0600

Andrew et al.
 
I am also having a problem running openMap on a Solaris 9 machine. I
don't currently have access to a Solaris 8 box, but my source throws I/O
exceptions while trying to read the shapefile distributed with openMap.
I can run the same source locally on my Windows box and it does not
throw errors. I don't know if this helps you or not, but at least we
should add it to the body of knowledge associated with OpenMap and
Solaris 9. For the sake of reference, here is the output when starting
my application on Solaris9.
 
com.bbn.openmap.io.FormatException: assertSize IOException: null
        at
com.bbn.openmap.io.BinaryBufferedFile.assertSize(BinaryBufferedFile.java
:193)
        at
com.bbn.openmap.io.BinaryBufferedFile.readInteger(BinaryBufferedFile.jav
a:454)
        at
com.bbn.openmap.layer.shape.SpatialIndex.locateRecords(SpatialIndex.java
:286)
        at
com.bbn.openmap.layer.shape.ShapeLayer.prepare(ShapeLayer.java:433)
        at
com.bbn.openmap.layer.policy.StandardRenderPolicy.prepare(StandardRender
Policy.java:67)
        at
com.bbn.openmap.layer.OMGraphicHandlerLayer$LayerWorker.construct(OMGrap
hicHandlerLayer.java:648)
        at com.bbn.openmap.util.SwingWorker$2.run(SwingWorker.java:117)
        at java.lang.Thread.run(Thread.java:534)
 
*** ERROR ***
SpatialIndex.locateRecords: IOException.
*************
java.io.InterruptedIOException
        at java.io.RandomAccessFile.readBytes(Native Method)
        at java.io.RandomAccessFile.read(RandomAccessFile.java:307)
        at
com.bbn.openmap.io.FileInputReader.read(FileInputReader.java:211)
        at com.bbn.openmap.io.BinaryFile.read(BinaryFile.java:472)
        at
com.bbn.openmap.io.BinaryBufferedFile.refillBuffer(BinaryBufferedFile.ja
va:143)
        at
com.bbn.openmap.io.BinaryBufferedFile.read(BinaryBufferedFile.java:304)
        at
com.bbn.openmap.layer.shape.SpatialIndex.locateRecords(SpatialIndex.java
:352)
        at
com.bbn.openmap.layer.shape.ShapeLayer.prepare(ShapeLayer.java:433)
        at
com.bbn.openmap.layer.policy.StandardRenderPolicy.prepare(StandardRender
Policy.java:67)
        at
com.bbn.openmap.layer.OMGraphicHandlerLayer$LayerWorker.construct(OMGrap
hicHandlerLayer.java:648)
        at com.bbn.openmap.util.SwingWorker$2.run(SwingWorker.java:117)
        at java.lang.Thread.run(Thread.java:534)

 
Anybody have any insight?
 
Thanks!
--Brent

________________________________

From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]
On Behalf Of Andrew Hnatiw
Sent: Monday, April 18, 2005 10:06 AM
To: openmap-users_at_bbn.com
Subject: [OpenMap Users] OpenMap Over X Speed Changes in Solaris 9 vs. 8



OpenMap has always run very slowly when I send it over a network from
the Solaris 9 machine I run it on to a Windows machine running Cygwin.
Just recently I ran OpenMap with the same plugins on a Solaris 8 machine
and found that it ran much faster remotely. Could this be a threading
change that happened from Solaris 8 to 9? Has anybody had a similar
experience when switching between Solaris versions?

And I am running the same version of Java on both computers - 1.4.2.

Thanks,

Andrew Hnatiw


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Apr 18 2005 - 14:58:03 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT