Christy, here is the offending XML file (from the log you sent me):
2013-03-11 08:03:38,291 ERROR [complex.config] - parsing file:/var/lib/tomcat6/webapps/geoserver/data/workspaces/aasg/azboreholetemperatures/BoreholeTemperature2.xml org.xml.sax.SAXParseException: Content is not allowed in prolog. I also do not like this: 2013-03-11 08:21:03,601 ERROR [org.geoserver] - Error occurred while saving configuration java.io.FileNotFoundException: /var/lib/tomcat6/webapps/geoserver/data/wms.xml (Permission denied) If you manually deployed the WAR file or edited files as root, you should also ensure the permissions are fixed with: chmod -R go+rX /var/lib/tomcat6/webapps/geoserver chown -R tomcat6:tomcat6 /var/lib/tomcat6/webapps/geoserver Otherwise, tomcat will not be able to persist changes. This might not be an issue for app-schema deployments, but it will cause strange errors. Kind regards, Ben. On 13/03/13 09:27, Ben Caradoc-Davies wrote: > 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(AppSchemaDataAccessFactory.java:96) >> > -- 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