[Geoserver-devel] Config changes

Hi,

Working on geoserver trunk, with a config that worked before the last round of SVN updates...

Got an issue loading configurations - something seems to have changed and I keep
getting some opaque error messages:

Embedded error: Error creating bean with name 'config' defined in URL [jar:file:
/C:/Documents%20and%20Settings/Rob/.m2/repository/org/geoserver/main/1.6-SNAPSHO
T/main-1.6-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.NoSuchMethodError: org.geotools.referencing.opera
tion.transform.LogarithmicTransform1D$Provider.createDescriptorGroup([Lorg/openg
is/metadata/Identifier;[Lorg/opengis/parameter/GeneralParameterDescriptor;)Lorg/
opengis/parameter/ParameterDescriptorGroup;

now, when I use the minimal config, it works, but when I try to load the community-schema config (also in the svn repo) it throws this. I dont expect anyone else to be able to load the config, but I would like to know what changed, and how to get some error messages that are a little more user friendly if there is indeed something wrong. I couldnt find docs on what the new data dir is supposed to look like, but trunk/configuration/minimal does not match the doco for the last stable release - so I'm presuming something has changed,

Rob A

Rob Atkinson ha scritto:

Hi,

Working on geoserver trunk, with a config that worked before the last round of SVN updates...

Got an issue loading configurations - something seems to have changed and I keep
getting some opaque error messages:

Embedded error: Error creating bean with name 'config' defined in URL [jar:file:
/C:/Documents%20and%20Settings/Rob/.m2/repository/org/geoserver/main/1.6-SNAPSHO
T/main-1.6-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.NoSuchMethodError: org.geotools.referencing.opera
tion.transform.LogarithmicTransform1D$Provider.createDescriptorGroup([Lorg/openg
is/metadata/Identifier;[Lorg/opengis/parameter/GeneralParameterDescriptor;)Lorg/
opengis/parameter/ParameterDescriptorGroup;

now, when I use the minimal config, it works, but when I try to load the community-schema config (also in the svn repo) it throws this. I dont expect anyone else to be able to load the config, but I would like to know what changed, and how to get some error messages that are a little more user friendly if there is indeed something wrong. I couldnt find docs on what the new data dir is supposed to look like, but trunk/configuration/minimal does not match the doco for the last stable release - so I'm presuming something has changed,

Not in the data dir as far as I know (I just added handling of a "palettes" directory, but it's not required).
No, it seems to me more an issue with some CRS transformation that gets
triggered during data loading. Can you provide the full log, or at least
the full stack trace? The exception is isolation is pretty much useless.
Moreover, since it's a missing method exception, it may be some .class
compiled by Eclipse and not overwritten by maven during the build.
Did you do a mvn clean install on geotools trunk before trying with geoserver?

Cheers
Andrea

This problem went away when I moved from jdk1.4 to jdk 1.5.

if we intend to keep supporting 1.4, might be a good idea for someone who understands this better to test this.

Rob

Andrea Aime wrote:

Rob Atkinson ha scritto:

Hi,

Working on geoserver trunk, with a config that worked before the last round of SVN updates...

Got an issue loading configurations - something seems to have changed and I keep
getting some opaque error messages:

Embedded error: Error creating bean with name 'config' defined in URL [jar:file:
/C:/Documents%20and%20Settings/Rob/.m2/repository/org/geoserver/main/1.6-SNAPSHO

T/main-1.6-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed;
nested exception is java.lang.NoSuchMethodError: org.geotools.referencing.opera
tion.transform.LogarithmicTransform1D$Provider.createDescriptorGroup([Lorg/openg

is/metadata/Identifier;[Lorg/opengis/parameter/GeneralParameterDescriptor;)Lorg/

opengis/parameter/ParameterDescriptorGroup;

now, when I use the minimal config, it works, but when I try to load the community-schema config (also in the svn repo) it throws this. I dont expect anyone else to be able to load the config, but I would like to know what changed, and how to get some error messages that are a little more user friendly if there is indeed something wrong. I couldnt find docs on what the new data dir is supposed to look like, but trunk/configuration/minimal does not match the doco for the last stable release - so I'm presuming something has changed,

Not in the data dir as far as I know (I just added handling of a "palettes" directory, but it's not required).
No, it seems to me more an issue with some CRS transformation that gets
triggered during data loading. Can you provide the full log, or at least
the full stack trace? The exception is isolation is pretty much useless.
Moreover, since it's a missing method exception, it may be some .class
compiled by Eclipse and not overwritten by maven during the build.
Did you do a mvn clean install on geotools trunk before trying with geoserver?

Cheers
Andrea