Hi Justin, Gabriel,
thanks for the tips.
I got it working by removing xml-apis.jar from the endorsed lib, like they
said here:
http://forums.sun.com/thread.jspa?threadID=699041
Best regards,
Bart
Bart check this out
<http://www.velocityreviews.com/forums/t144510-problems-with-jboss-an-xerces.html>
what justin just said seems correct, can you please check what xerces
version is jboss using? (or rather what xml library if not using xerces
at all). It may be just a matter of upgrading that library and you
should be set.
Cheers,
Gabriel
Justin Deoliveira wrote:
Hi Bart,
Unfortunately folks having problems with deployments on jboss has been a
community occurrence. That said, the error in questions seems to
indicate a conflict in some xml libraries. The first thing to check
would be that there are no xml related "global" jars. By global I mean
jars that are placed somewhere in the jboss container and visible to all
web applications. Basically the equivalent of server/common in tomcat.To rule out that this is indeed an issue with those versions I will
install jboss and try a deployment to see what I find.-Justin
bartvde@anonymised.com wrote:
Hi list,
I am trying to deploy Geoserver 1.7.3a on JBoss 4.0.2 but it fails
somehow.
Java version info is:
java version "1.5.0_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode, sharing)The stack trace is:
Any pointers? TIA.
Best regards,
Bartchris Wild ha scritto:
Hi Justin,
The native projection is reading as
Native SRS WKT: GEOGCS["WGS 84", DATUM["World Geodetic System 1984",
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich", 0.0,
AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4326"]]The image is projected in NZMG (EPSG 27200) so should its native be that
also?
No matter what projection any image I load Geoserver always gives WGS84
as its native.Hum, which file format is your raster data into?
If you're using the world image format, and you only have a world
file, but not a projection file (.prj), the reader will blindly
assume that the raster is in WGS84, as the coverage readers cannot
work without a projection set.
If this is your problem, and your main file is named, for example,
myimage.tiff, create a myimage.prj and paste the wkt definition
of EPSG:27200 inside of it:PROJCS["NZGD49 / New Zealand Map Grid",
GEOGCS["NZGD49",
DATUM["New Zealand Geodetic Datum 1949",
SPHEROID["International 1924", 6378388.0, 297.0,
AUTHORITY["EPSG","7022"]],
TOWGS84[59.47, -5.04, 187.44, 0.47, 0.1, -1.024,
-0.9486737233722704],
AUTHORITY["EPSG","6272"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4272"]],
PROJECTION["New Zealand Map Grid", AUTHORITY["EPSG","9811"]],
PARAMETER["latitude_of_origin", -41.0],
PARAMETER["central_meridian", 173.0],
PARAMETER["false_easting", 2510000.0],
PARAMETER["false_northing", 6023150.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","27200"]]Then reload the image data in GeoServer, it should come out
with the proper epsg code.Cheers
Andrea--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based
development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users