[Geoserver-users] wfs

Hi,

I have a strange problem with geoserver 1.7.1 : I can't use WFS anymore even for a getCapabilities. Instead I get :

<ServiceExceptionReport version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;

<ServiceException>

       java.lang.NoSuchMethodError: org.apache.xml.utils.DefaultErrorHandler.<init>(Z)V
org.apache.xml.utils.DefaultErrorHandler.<init>(Z)V
</ServiceException>
</ServiceExceptionReport>

It's installed on Glassfish on Mac OS (Leopard).

Has anyboby an idea on that ?

Cheers

Laurent Pierre

Hi Laurent,

My guess is that there is a version of xalan somewhere in the glassfish container that is shared with all webapps. GeoServer also unpacks a version of xalan so the two are probably conflicting. This is a relatively common problem with Tomcat as well. I don;t know much about Glassfish so i am not exactly sure where the library would be.

-Justin

laurent pierrre wrote:

Hi,

I have a strange problem with geoserver 1.7.1 : I can't use WFS anymore even for a getCapabilities. Instead I get :

<ServiceExceptionReport version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;

<ServiceException>

       java.lang.NoSuchMethodError: org.apache.xml.utils.DefaultErrorHandler.<init>(Z)V
org.apache.xml.utils.DefaultErrorHandler.<init>(Z)V
</ServiceException>
</ServiceExceptionReport>

It's installed on Glassfish on Mac OS (Leopard).

Has anyboby an idea on that ?

Cheers

Laurent Pierre
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Thanks Justin,

the funny thing is that it was still working 2 weeks before and I’m pretty sure I didn’t change anything in my config since then. And it works on my linux machine … .

Cheers

Laurent

2009/1/8 Justin Deoliveira <jdeolive@anonymised.com>

Hi Laurent,

My guess is that there is a version of xalan somewhere in the glassfish
container that is shared with all webapps. GeoServer also unpacks a
version of xalan so the two are probably conflicting. This is a
relatively common problem with Tomcat as well. I don;t know much about
Glassfish so i am not exactly sure where the library would be.

-Justin

laurent pierrre wrote:

Hi,

I have a strange problem with geoserver 1.7.1 : I can’t use WFS
anymore even for a getCapabilities. Instead I get :



java.lang.NoSuchMethodError:
org.apache.xml.utils.DefaultErrorHandler.(Z)V
org.apache.xml.utils.DefaultErrorHandler.(Z)V

It’s installed on Glassfish on Mac OS (Leopard).

Has anyboby an idea on that ?

Cheers

Laurent Pierre


Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

les Pierre ha scritto:

Thanks Justin,

the funny thing is that it was still working 2 weeks before and I'm
pretty sure I didn't change anything in my config since then. And it
works on my linux machine ... .

What about:
- jdk upgrades
- glassfish upgrades
- deploy of other apps in the same container
- someone added other jars in a shared lib folder (Tomcat has one,
  I guess Glassfish might have one as well?)

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi,

I resolved my problem with a new Glassfish version (Enterprise Server v3 Prelude). I still don’t understand why it went wrong but now it’s good.

Thanks for your interest.

Cheers
Laurent

2009/1/8 Andrea Aime <aaime@anonymised.com>

les Pierre ha scritto:

Thanks Justin,

the funny thing is that it was still working 2 weeks before and I’m
pretty sure I didn’t change anything in my config since then. And it
works on my linux machine … .

What about:

  • jdk upgrades
  • glassfish upgrades
  • deploy of other apps in the same container
  • someone added other jars in a shared lib folder (Tomcat has one,
    I guess Glassfish might have one as well?)

Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.


Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users