[Geoserver-users] GetCapabilities issue using Geoserver on tomcat

Hi,

I have a strange issue with Geoserver.
Installing on tomcat (6 or 7) doing a WMS GetCapabilities request I get
always an exception:

java.lang.IllegalArgumentException at
oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:796)
at
org.geotools.xml.transform.TransformerBase.createTransformer(TransformerBase.java:90)
...
etc.

With the binary version, using embedded jetty, works all fine. Other
requests, for example GetMap, work fine.

I'm using the latest stable version (2.2.5) on a Debian GNU/Linux
testing and stable installations.
I tried all the combination of tomcat (6 and 7) and jvm (6 and 7).

Any suggest?
Any missing library?

Alberto

On Thu, Feb 28, 2013 at 3:01 PM, Alberto Brosich <abrosich@anonymised.com> wrote:

Hi,

I have a strange issue with Geoserver.
Installing on tomcat (6 or 7) doing a WMS GetCapabilities request I get
always an exception:

java.lang.IllegalArgumentException at
oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:796)
at
org.geotools.xml.transform.TransformerBase.createTransformer(TransformerBase.java:90)
…
etc.

You should include the whole stack trace

With the binary version, using embedded jetty, works all fine. Other
requests, for example GetMap, work fine.

I’m using the latest stable version (2.2.5) on a Debian GNU/Linux
testing and stable installations.
I tried all the combination of tomcat (6 and 7) and jvm (6 and 7).

Which JVM? The only officially supported JDK is Oracle JDK 6
(not 7, not OpenJDK)

Cheers
Andrea

–

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Thu, Feb 28, 2013 at 4:10 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Which JVM? The only officially supported JDK is Oracle JDK 6

(not 7, not OpenJDK)

Btw, it might also be this one:
http://geo-solutions.blogspot.it/2010/05/fix-geotools-and-geoserver-not-able-to.html

Cheers
Andrea

–

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Ok, it works with Oracle jvm 1.6 and tomcat 6.
Just a remark. The documentation says:

GeoServer requires Java to be installed on your system. Oracle Java SE 6
or newer is strongly recommended.

Should be better remove the word "newer".

Anyway, many thanks.
Wonderful software.

Alberto

On Thu, 2013-02-28 at 16:10 +0100, Andrea Aime wrote:

On Thu, Feb 28, 2013 at 3:01 PM, Alberto Brosich
<abrosich@anonymised.com> wrote:
        
        Hi,
        
        I have a strange issue with Geoserver.
        Installing on tomcat (6 or 7) doing a WMS GetCapabilities
        request I get
        always an exception:
        
        java.lang.IllegalArgumentException at
        oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:796)
        at
        org.geotools.xml.transform.TransformerBase.createTransformer(TransformerBase.java:90)
        ...
        etc.

You should include the whole stack trace

        With the binary version, using embedded jetty, works all fine.
        Other
        requests, for example GetMap, work fine.
        
        I'm using the latest stable version (2.2.5) on a Debian
        GNU/Linux
        testing and stable installations.
        I tried all the combination of tomcat (6 and 7) and jvm (6 and
        7).

Which JVM? The only officially supported JDK is Oracle JDK 6
(not 7, not OpenJDK)

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Ciao Alberto,

Indeed there are more information here:

http://docs.geoserver.org/stable/en/user/production/java.html#production-java

that is linked from the general page about installation, "please see
the section on Java Considerations"
Probably it makes sense to stress the Java 7 considerations also in
the general section.

Kid Regards,

Stefano
---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

2013/3/1 Alberto Brosich <abrosich@anonymised.com>:

Ok, it works with Oracle jvm 1.6 and tomcat 6.
Just a remark. The documentation says:

GeoServer requires Java to be installed on your system. Oracle Java SE 6
or newer is strongly recommended.

Should be better remove the word "newer".

Anyway, many thanks.
Wonderful software.

Alberto

On Thu, 2013-02-28 at 16:10 +0100, Andrea Aime wrote:

On Thu, Feb 28, 2013 at 3:01 PM, Alberto Brosich
<abrosich@anonymised.com> wrote:

        Hi,

        I have a strange issue with Geoserver.
        Installing on tomcat (6 or 7) doing a WMS GetCapabilities
        request I get
        always an exception:

        java.lang.IllegalArgumentException at
        oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:796)
        at
        org.geotools.xml.transform.TransformerBase.createTransformer(TransformerBase.java:90)
        ...
        etc.

You should include the whole stack trace

        With the binary version, using embedded jetty, works all fine.
        Other
        requests, for example GetMap, work fine.

        I'm using the latest stable version (2.2.5) on a Debian
        GNU/Linux
        testing and stable installations.
        I tried all the combination of tomcat (6 and 7) and jvm (6 and
        7).

Which JVM? The only officially supported JDK is Oracle JDK 6
(not 7, not OpenJDK)

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
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_feb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users