On 08/07/2010, at 6:15 AM, Alexandre Pretyman wrote:
> Hi Felix,
>
> I too tried to use the CRS class on the server side of a GWT application
> running inside Jetty and wrote the list about it.
>
> I also tried with epsg-wkt as Jody mentioned, but didn't succeed either.
It is really hard to mess that one up; it does not make use of the disk at all.
As long as the codes you are using are supported.
> I was using GeoTools to convert from UTM to WGS84, and vice-versa, from an
> application which ran stand alone. When I had to migrate it to Jetty, it
> would fail with the error you stated.
>
What version of Jetty are you guys using? GeoServer is using ...
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.8</version>
<configuration>
<contextPath>geoserver</contextPath>
<connectors>
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>8080</port>
<maxIdleTime>10000</maxIdleTime>
</connector>
</connectors>
<contextPath>geoserver</contextPath>
<!-- uncomment following to set a GEOSERVER_DATA_DIR -->
<!--
<systemProperties> <systemProperty> <name>GEOSERVER_DATA_DIR</name>
<value>/home/ak/geoserver_data</value> </systemProperty>
</systemProperties>
-->
</configuration>
</plugin>
You should look into what has changed with Jetty; especially anything that
would be restricting your ability to create temporary files.
Finally you could look at the code and go about using the database while it is
still compressed in the jar; or use the WKT option.
Not sure what else to suggest - what restrictions is Jetty imposing on you that
are so difficult?
> The solution for me was to drop GeoTools from the project and go with JCoord
> and that worked really well.
Interesting; has that project had a recent release?------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users