[Geoserver-users] problems to deploy geoserver 1.7.2 under tomcat5/ubuntu 6.06 TLS

Hello,

I have tried to to deploy geoserver.war (v1.7.2) under my system
tomcat5.0.30/ubuntu 6.06 TLS but ) I got this error:

GRAVE: Error reading tld listeners javax.servlet.ServletException:
Exception processing TLD at resource path /WE
B-INF/struts-tiles.tld in context /geoserver
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-INF/struts-tiles.tld in context /
geoserver
        at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:549)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
        at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4412)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
        at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121)
        at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
        at org.apache.catalina.core.StandardService.start(StandardService.java:480)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
24-feb-2009 10.15.24 org.apache.commons.digester.Digester endElement
GRAVE: End event threw exception
org.apache.commons.logging.LogConfigurationException:
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.log4j.LogManager (Caused by
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.lo
g4j.LogManager)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
....

Googling around I read that is a possible problem with version of
taglib xml format. Anyone can give me same hint how to resolve this
problem?
should I have to change the tomcat version?

Thank you really much in advance.
Best regards Antonello

--
Perché una società vada bene si muova nel progresso, nell'esaltazione
dei valori della famiglia, dello spirito, del bene, dell'amicizia,
perché prosperi senza contrasti, per avviarsi serena nel cammino verso
un domani migliore basta che ognuno faccia il suo dovere.
Giovanni Falcone

Antonello Moneta wrote:

Hello,

I have tried to to deploy geoserver.war (v1.7.2) under my system
tomcat5.0.30/ubuntu 6.06 TLS but ) I got this error:

GRAVE: Error reading tld listeners javax.servlet.ServletException:
Exception processing TLD at resource path /WE
B-INF/struts-tiles.tld in context /geoserver
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-INF/struts-tiles.tld in context /
geoserver
        at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:549)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
        at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4412)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
        at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121)
        at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
        at org.apache.catalina.core.StandardService.start(StandardService.java:480)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
24-feb-2009 10.15.24 org.apache.commons.digester.Digester endElement
GRAVE: End event threw exception
org.apache.commons.logging.LogConfigurationException:
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.log4j.LogManager (Caused by
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.lo
g4j.LogManager)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
....

Googling around I read that is a possible problem with version of
taglib xml format. Anyone can give me same hint how to resolve this
problem?
should I have to change the tomcat version?

Mumble, don't remember seen this problem, but yeah, try installing your own version of tomcat, don't use the one shipped with the distribution,
as it's usually crippled in a number of ways.

Also, make sure you're using a Sun Java runtime, stay away from gcj or
openjdk, as GeoServer won't work with them (generally speaking, try to
get the latest JDK release you can put your hands on, as they get
faster every release).

Cheers
Andrae

Thank you, for the help!

I resolved the problem using tomcat 6.0.18, and installing it
manually. I tried also in windows environment using tomcat5.5 and I
couldn't deploy geoserver neither. I think this issue is caused from
tomcat version. I will add a comment in geoserver install guide, in
the war file section.

Thank you again for your fast answer.

Best regards Antonello.

On Tue, Feb 24, 2009 at 2:12 PM, Andrea Aime <aaime@anonymised.com> wrote:

Antonello Moneta wrote:

Hello,

I have tried to to deploy geoserver.war (v1.7.2) under my system
tomcat5.0.30/ubuntu 6.06 TLS but ) I got this error:

GRAVE: Error reading tld listeners javax.servlet.ServletException:
Exception processing TLD at resource path /WE
B-INF/struts-tiles.tld in context /geoserver
javax.servlet.ServletException: Exception processing TLD at resource
path /WEB-INF/struts-tiles.tld in context /
geoserver
at
org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:549)
at
org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4412)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121)
at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
24-feb-2009 10.15.24 org.apache.commons.digester.Digester endElement
GRAVE: End event threw exception
org.apache.commons.logging.LogConfigurationException:
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.log4j.LogManager (Caused by
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.lo
g4j.LogManager)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
....

Googling around I read that is a possible problem with version of
taglib xml format. Anyone can give me same hint how to resolve this
problem?
should I have to change the tomcat version?

Mumble, don't remember seen this problem, but yeah, try installing your own
version of tomcat, don't use the one shipped with the distribution,
as it's usually crippled in a number of ways.

Also, make sure you're using a Sun Java runtime, stay away from gcj or
openjdk, as GeoServer won't work with them (generally speaking, try to
get the latest JDK release you can put your hands on, as they get
faster every release).

Cheers
Andrae

--
Perché una società vada bene si muova nel progresso, nell'esaltazione
dei valori della famiglia, dello spirito, del bene, dell'amicizia,
perché prosperi senza contrasti, per avviarsi serena nel cammino verso
un domani migliore basta che ognuno faccia il suo dovere.
Giovanni Falcone

Antonello Moneta wrote:

Thank you, for the help!

I resolved the problem using tomcat 6.0.18, and installing it
manually. I tried also in windows environment using tomcat5.5 and I
couldn't deploy geoserver neither. I think this issue is caused from
tomcat version. I will add a comment in geoserver install guide, in
the war file section.

Strange, I definitely use GeoServer on some Tomcat 5.5 version and it
works just fine? I'm offsite so I don't remember the precise version
of Tomcat thought.

Cheers
Andrea

Antonello on ubuntu and windows which jdk are you using to run Tomcat 5.5 ?

I wonder if more than tomcat version jvm version could be the difference.
Could you make a try deployng a tomcat 5.5 on the linux bos where you have the geoserver running on the tomcat 6.0.18 ?
Of course using the same jdk on both Tomcat.

2009/2/24 Andrea Aime <aaime@anonymised.com>

Antonello Moneta wrote:

Thank you, for the help!

I resolved the problem using tomcat 6.0.18, and installing it
manually. I tried also in windows environment using tomcat5.5 and I
couldn’t deploy geoserver neither. I think this issue is caused from
tomcat version. I will add a comment in geoserver install guide, in
the war file section.

Strange, I definitely use GeoServer on some Tomcat 5.5 version and it
works just fine? I’m offsite so I don’t remember the precise version
of Tomcat thought.

Cheers
Andrea


Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H


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

Sorry Stefano, you mean try a deploy geoserver in a tomcat5.5 in the
same linux box and same jdk where now I am using tomcat6.0.18, right?

2009/2/24 Stefano Iacovella <stefano.iacovella@anonymised.com>:

Antonello on ubuntu and windows which jdk are you using to run Tomcat 5.5 ?

I wonder if more than tomcat version jvm version could be the difference.
Could you make a try deployng a tomcat 5.5 on the linux bos where you have the geoserver running on the tomcat 6.0.18 ?
Of course using the same jdk on both Tomcat.

2009/2/24 Andrea Aime <aaime@anonymised.com>

Antonello Moneta wrote:
> Thank you, for the help!
>
> I resolved the problem using tomcat 6.0.18, and installing it
> manually. I tried also in windows environment using tomcat5.5 and I
> couldn't deploy geoserver neither. I think this issue is caused from
> tomcat version. I will add a comment in geoserver install guide, in
> the war file section.

Strange, I definitely use GeoServer on some Tomcat 5.5 version and it
works just fine? I'm offsite so I don't remember the precise version
of Tomcat thought.

Cheers
Andrea

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Perché una società vada bene si muova nel progresso, nell'esaltazione
dei valori della famiglia, dello spirito, del bene, dell'amicizia,
perché prosperi senza contrasti, per avviarsi serena nel cammino verso
un domani migliore basta che ognuno faccia il suo dovere.
Giovanni Falcone

Yes

I guess geoserver should be run on the tomcat 5.5 as on Tomcat 6.0.18

Which jdk release are you using?

2009/2/24 Antonello Moneta <antonello.monetsen@anonymised.com>

Sorry Stefano, you mean try a deploy geoserver in a tomcat5.5 in the
same linux box and same jdk where now I am using tomcat6.0.18, right?

2009/2/24 Stefano Iacovella <stefano.iacovella@anonymised.com>:

Antonello on ubuntu and windows which jdk are you using to run Tomcat 5.5 ?

I wonder if more than tomcat version jvm version could be the difference.
Could you make a try deployng a tomcat 5.5 on the linux bos where you have the geoserver running on the tomcat 6.0.18 ?
Of course using the same jdk on both Tomcat.

2009/2/24 Andrea Aime <aaime@anonymised.com.1671…>

Antonello Moneta wrote:

Thank you, for the help!

I resolved the problem using tomcat 6.0.18, and installing it
manually. I tried also in windows environment using tomcat5.5 and I
couldn’t deploy geoserver neither. I think this issue is caused from
tomcat version. I will add a comment in geoserver install guide, in
the war file section.

Strange, I definitely use GeoServer on some Tomcat 5.5 version and it
works just fine? I’m offsite so I don’t remember the precise version
of Tomcat thought.

Cheers
Andrea


Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H


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


Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H


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


Perché una società vada bene si muova nel progresso, nell’esaltazione
dei valori della famiglia, dello spirito, del bene, dell’amicizia,
perché prosperi senza contrasti, per avviarsi serena nel cammino verso
un domani migliore basta che ognuno faccia il suo dovere.
Giovanni Falcone

I am using (build 1.6.0-b105). As soon as I can do this proof I'll
advice you about the resalt.

Thank you really much, Antonello.

---------- Forwarded message ----------
From: Stefano Iacovella <stefano.iacovella@anonymised.com>
Date: 2009/2/24
Subject: Re: [Geoserver-users] problems to deploy geoserver 1.7.2
under tomcat5/ubuntu 6.06 TLS
To: geoserver-users <geoserver-users@lists.sourceforge.net>

Yes

I guess geoserver should be run on the tomcat 5.5 as on Tomcat 6.0.18

Which jdk release are you using?

2009/2/24 Antonello Moneta <antonello.monetsen@anonymised.com>

Sorry Stefano, you mean try a deploy geoserver in a tomcat5.5 in the
same linux box and same jdk where now I am using tomcat6.0.18, right?

2009/2/24 Stefano Iacovella <stefano.iacovella@anonymised.com>:
> Antonello on ubuntu and windows which jdk are you using to run Tomcat 5.5 ?
>
> I wonder if more than tomcat version jvm version could be the difference.
> Could you make a try deployng a tomcat 5.5 on the linux bos where you have the geoserver running on the tomcat 6.0.18 ?
> Of course using the same jdk on both Tomcat.
>
>
>
>
> 2009/2/24 Andrea Aime <aaime@anonymised.com>
>>
>> Antonello Moneta wrote:
>> > Thank you, for the help!
>> >
>> > I resolved the problem using tomcat 6.0.18, and installing it
>> > manually. I tried also in windows environment using tomcat5.5 and I
>> > couldn't deploy geoserver neither. I think this issue is caused from
>> > tomcat version. I will add a comment in geoserver install guide, in
>> > the war file section.
>>
>> Strange, I definitely use GeoServer on some Tomcat 5.5 version and it
>> works just fine? I'm offsite so I don't remember the precise version
>> of Tomcat thought.
>>
>> Cheers
>> Andrea
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
Perché una società vada bene si muova nel progresso, nell'esaltazione
dei valori della famiglia, dello spirito, del bene, dell'amicizia,
perché prosperi senza contrasti, per avviarsi serena nel cammino verso
un domani migliore basta che ognuno faccia il suo dovere.
Giovanni Falcone

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Perché una società vada bene si muova nel progresso, nell'esaltazione
dei valori della famiglia, dello spirito, del bene, dell'amicizia,
perché prosperi senza contrasti, per avviarsi serena nel cammino verso
un domani migliore basta che ognuno faccia il suo dovere.
Giovanni Falcone