[Back on the list so anyone seeing this error can apply your fix.]

Good to hear.

On 13/03/13 23:28, Christy Caudill wrote:
> Hi Ben,
>
> You were right about the first error - there were some funky characters that 
> were found before the first line. We removed those and that error went away, 
> to be replaced by the same error that I was getting with the tutorial. So, 
> onto the "Cannot inherit from final class" error ...
> Geoserver version: 2.1.2
> App-Schema jar files: 8.2.jars and 9.0-RC1.jars downloaded; I have downloaded 
> the geoserver 2.0 beta2 app-schema plugin.
> I do not have Oracle plug-ins, as I am connecting to PostGIS database.
>
> I assume that I need a different version of the app-schema files? Perhaps 
> instead I need to get this extension: 
> http://sourceforge.net/projects/geoserver/files/GeoServer%20Extensions/2.1.2/
>
> Thanks again for your time and consideration.
>
> Christy
>
>
> -----Original Message-----
> From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au]
> Sent: Tuesday, March 12, 2013 6:27 PM
> To: christy.caud...@azgs.az.gov
> Cc: geoserver-users@lists.sourceforge.net
> Subject: Re: App Schema Resolution
>
> Christy,
>
> this is a serious configuration error: "org.xml.sax.SAXParseException:
> Content is not allowed in prolog." It means that an XML file is not 
> well-formed. An XML declaration like '<?xml version="1.0"
> encoding="UTF-8"?>' if present must be the very first bytes in the file.
> Any XML comment must be after the declaration, and there cannot be any 
> non-comment bare text before the root element. Please also check that you do 
> not have a byte order mark (Notepad is notorious for adding these):
> http://en.wikipedia.org/wiki/Byte_order_mark
>
> This is also a very serious Java error: "java.lang.VerifyError: Cannot 
> inherit from final class". It suggests that you have plugins from different 
> versions of GeoServer with incompatible APIs. What version of GeoServer, 
> app-schema, and oracle plugins are you using? They should all come from the 
> same build.
>
> Kind regards,
> Ben.
>
> On 13/03/13 00:55, Christy Caudill wrote:
>> Perhaps this bit, with the "Cannot inherit from final class" error is most 
>> useful for the tutorial error I'm experiencing:
>>
>> org.xml.sax.SAXParseException: Content is not allowed in prolog.
>>      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>      at org.apache.commons.digester.Digester.parse(Digester.java:1685)
>>      at 
>> org.geotools.data.complex.config.XMLConfigDigester.digest(XMLConfigDigester.java:166)
>>      ... 114 more
>> 2013-03-11 07:48:27,266 INFO [org.geoserver] - Loaded feature type
>> 'BoreholeTemperature', enabled
>> 2013-03-11 07:48:27,280 INFO [org.geoserver] - Loaded feature type 
>> 'azboreholetemperatures'
>> 2013-03-11 07:48:27,297 INFO [org.geoserver] - Loaded layer 
>> 'BoreholeTemperature'
>> 2013-03-11 07:48:27,313 INFO [org.geoserver] - Loaded store
>> 'azdrillstemtests', enabled
>> 2013-03-11 07:48:27,314 INFO [org.geoserver] - Loaded data store 
>> 'azdrillstemtests'
>> 2013-03-11 07:48:27,477 INFO [org.geoserver] - Loaded feature type
>> 'DrillStemTestx', enabled
>> 2013-03-11 07:48:27,478 INFO [org.geoserver] - Loaded feature type 
>> 'azdrillstemtests'
>> 2013-03-11 07:48:27,497 INFO [org.geoserver] - Loaded layer 'DrillStemTestx'
>> 2013-03-11 07:48:27,533 INFO [org.geoserver] - Loaded feature type
>> 'DrillStemTest', enabled
>> 2013-03-11 07:48:27,539 INFO [org.geoserver] - Loaded feature type 
>> 'azdrillstemtests'
>> 2013-03-11 07:48:27,551 INFO [org.geoserver] - Loaded layer 'DrillStemTest'
>> 2013-03-11 07:48:27,575 INFO [org.geoserver] - Loaded store
>> 'tut_RoadSegment', enabled
>> 2013-03-11 07:48:27,576 INFO [org.geoserver] - Loaded data store 
>> 'tut_RoadSegment'
>> 2013-03-11 07:48:39,815 WARN [org.geoserver] - Error connecting to 
>> 'tut_RoadSegment'. Disabling.
>> 2013-03-11 07:48:39,816 INFO [org.geoserver] -
>> java.lang.VerifyError: Cannot inherit from final class
>>      at java.lang.ClassLoader.defineClass1(Native Method)
>>      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>>      at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>>      at 
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>>      at 
>> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2818)
>>      at 
>> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)
>>      at 
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)
>>      at 
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>>      at 
>> org.geotools.xml.AppSchemaConfiguration.<init>(AppSchemaConfiguration.java:54)
>>      at 
>> org.geotools.data.complex.config.EmfAppSchemaReader.parse(EmfAppSchemaReader.java:126)
>>      at 
>> org.geotools.data.complex.config.AppSchemaDataAccessConfigurator.parseGmlSchemas(AppSchemaDataAccessConfigurator.java:557)
>>      at 
>> org.geotools.data.complex.config.AppSchemaDataAccessConfigurator.buildMappings(AppSchemaDataAccessConfigurator.java:189)
>>      at 
>> org.geotools.data.complex.config.AppSchemaDataAccessConfigurator.buildMappings(AppSchemaDataAccessConfigurator.java:168)
>>      at
>> org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(A
>> ppSchemaDataAccessFactory.java:96)
>
> --
> Ben Caradoc-Davies<ben.caradoc-dav...@csiro.au>  Software Engineer CSIRO 
> Earth Science and Resource Engineering Australian Resources Research Centre
>

-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to