[Geoserver-users] Problem with JBoss

Hi,

I have problems! When put in the Geoserver in JBoss, my application gives an error (500).

Someone has been there?

Best Regards,

Fernando Quadro
fsquadro@anonymised.com


Diversão em dobro: compartilhe fotos enquanto conversa usando o Windows Live Messenger.

Fernando Quadro ha scritto:

Hi,

I have problems! When put in the Geoserver in JBoss, my application gives an error (500).

That's internal server error if my memory serves me right.
Could really be anything, no way to tell what without more information.

Do you have the jboss startup logs and/or the geoserver own logs
(data_directory/logs/geoserver.log)

Cheers
Andrea

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

Andrea,

See the log:

2009-01-28 10:25:48,947 ERROR [rules.FacesConfigRuleSet] - Cannot configure DescriptionTextRule for pattern ‘faces-config/managed-bean/description’
java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:29)
at org.apache.commons.digester.NodeCreateRule.(NodeCreateRule.java:363)
at com.sun.faces.config.rules.DescriptionTextRule.(DescriptionTextRule.java:42)
at com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:376)
at com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
at com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
2009-01-28 10:25:48,947 ERROR [[localhost].[/cmrMap]] - Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.IllegalStateException: Cannot configure DescriptionTextRule for pattern ‘faces-config/managed-bean/description’
at com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:382)
at com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
at com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

Best Regards,

Fernando Quadro
fsquadro@anonymised.com

Date: Wed, 28 Jan 2009 15:26:43 +0100
From: aaime@anonymised.com
To: fsquadro@anonymised.com
CC: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Problem with JBoss

Fernando Quadro ha scritto:

Hi,

I have problems! When put in the Geoserver in JBoss, my application
gives an error (500).

That’s internal server error if my memory serves me right.
Could really be anything, no way to tell what without more information.

Do you have the jboss startup logs and/or the geoserver own logs
(data_directory/logs/geoserver.log)

Cheers
Andrea


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


Diversão em dobro: compartilhe fotos enquanto conversa usando o Windows Live Messenger.

Looks like a conflict with some XML libraries. I would check that your app server does not have any xml libraries in "global" locations. Global meaning that they are visible to deployed applications. An example in tomcat is the "common/lib" directory, i am not sure if there is an equivalent in jboss.

-Justin

Fernando Quadro wrote:

Andrea,

See the log:

2009-01-28 10:25:48,947 ERROR [rules.FacesConfigRuleSet] - Cannot configure DescriptionTextRule for pattern 'faces-config/managed-bean/description'
java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:29)
    at org.apache.commons.digester.NodeCreateRule.<init>(NodeCreateRule.java:363)
    at com.sun.faces.config.rules.DescriptionTextRule.<init>(DescriptionTextRule.java:42)
    at com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:376)
    at com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
    at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
    at com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
2009-01-28 10:25:48,947 ERROR [[localhost].[/cmrMap]] - Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.IllegalStateException: Cannot configure DescriptionTextRule for pattern 'faces-config/managed-bean/description'
    at com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:382)
    at com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
    at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
    at com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

Best Regards,

Fernando Quadro
fsquadro@anonymised.com

> Date: Wed, 28 Jan 2009 15:26:43 +0100
> From: aaime@anonymised.com
> To: fsquadro@anonymised.com
> CC: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Problem with JBoss
>
> Fernando Quadro ha scritto:
> >
> > Hi,
> >
> > I have problems! When put in the Geoserver in JBoss, my application
> > gives an error (500).
>
> That's internal server error if my memory serves me right.
> Could really be anything, no way to tell what without more information.
>
> Do you have the jboss startup logs and/or the geoserver own logs
> (data_directory/logs/geoserver.log)
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.

------------------------------------------------------------------------
Diversão em dobro: compartilhe fotos enquanto conversa usando o Windows Live Messenger. <http://www.microsoft.com/windows/windowslive/messenger.aspx&gt;

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

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

_______________________________________________
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.

Fernando,
which JBoss version are you using?

You might want to tweak the JBoss classloader.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Wed, Jan 28, 2009 at 4:43 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Looks like a conflict with some XML libraries. I would check that your
app server does not have any xml libraries in "global" locations. Global
meaning that they are visible to deployed applications. An example in
tomcat is the "common/lib" directory, i am not sure if there is an
equivalent in jboss.

-Justin

Fernando Quadro wrote:

Andrea,

See the log:

2009-01-28 10:25:48,947 ERROR [rules.FacesConfigRuleSet] - Cannot
configure DescriptionTextRule for pattern
'faces-config/managed-bean/description'
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:29)
    at
org.apache.commons.digester.NodeCreateRule.<init>(NodeCreateRule.java:363)
    at
com.sun.faces.config.rules.DescriptionTextRule.<init>(DescriptionTextRule.java:42)
    at
com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:376)
    at
com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
    at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
    at
com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
    at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
2009-01-28 10:25:48,947 ERROR [[localhost].[/cmrMap]] - Exception
sending context initialized event to listener instance of class
com.sun.faces.config.ConfigureListener
java.lang.IllegalStateException: Cannot configure DescriptionTextRule
for pattern 'faces-config/managed-bean/description'
    at
com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:382)
    at
com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
    at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
    at
com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
    at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
    at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
    at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

Best Regards,

Fernando Quadro
fsquadro@anonymised.com

> Date: Wed, 28 Jan 2009 15:26:43 +0100
> From: aaime@anonymised.com
> To: fsquadro@anonymised.com
> CC: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Problem with JBoss
>
> Fernando Quadro ha scritto:
> >
> > Hi,
> >
> > I have problems! When put in the Geoserver in JBoss, my application
> > gives an error (500).
>
> That's internal server error if my memory serves me right.
> Could really be anything, no way to tell what without more information.
>
> Do you have the jboss startup logs and/or the geoserver own logs
> (data_directory/logs/geoserver.log)
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.

------------------------------------------------------------------------
Diversão em dobro: compartilhe fotos enquanto conversa usando o Windows
Live Messenger.
<http://www.microsoft.com/windows/windowslive/messenger.aspx&gt;

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

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

_______________________________________________
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.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Simone,

I’m using version 4.2.0.CR1

Best Regards,

Fernando Quadro
fsquadro@anonymised.com

Date: Wed, 28 Jan 2009 16:49:44 +0100
Subject: Re: [Geoserver-users] Problem with JBoss
From: simone.giannecchini@anonymised.com
To: jdeolive@anonymised.com
CC: fsquadro@anonymised.com; geoserver-users@lists.sourceforge.net

Fernando,
which JBoss version are you using?

You might want to tweak the JBoss classloader.

Simone.

Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini


On Wed, Jan 28, 2009 at 4:43 PM, Justin Deoliveira jdeolive@anonymised.com wrote:

Looks like a conflict with some XML libraries. I would check that your
app server does not have any xml libraries in “global” locations. Global
meaning that they are visible to deployed applications. An example in
tomcat is the “common/lib” directory, i am not sure if there is an
equivalent in jboss.

-Justin

Fernando Quadro wrote:

Andrea,

See the log:

2009-01-28 10:25:48,947 ERROR [rules.FacesConfigRuleSet] - Cannot
configure DescriptionTextRule for pattern
‘faces-config/managed-bean/description’
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:29)
at
org.apache.commons.digester.NodeCreateRule.(NodeCreateRule.java:363)
at
com.sun.faces.config.rules.DescriptionTextRule.(DescriptionTextRule.java:42)
at
com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:376)
at
com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
at
com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
2009-01-28 10:25:48,947 ERROR [[localhost].[/cmrMap]] - Exception
sending context initialized event to listener instance of class
com.sun.faces.config.ConfigureListener
java.lang.IllegalStateException: Cannot configure DescriptionTextRule
for pattern ‘faces-config/managed-bean/description’
at
com.sun.faces.config.rules.FacesConfigRuleSet.addFeatureRules(FacesConfigRuleSet.java:382)
at
com.sun.faces.config.rules.FacesConfigRuleSet.addRuleInstances(FacesConfigRuleSet.java:200)
at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1663)
at
com.sun.faces.config.ConfigureListener.digester(ConfigureListener.java:973)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:270)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

Best Regards,

Fernando Quadro
fsquadro@anonymised.com

Date: Wed, 28 Jan 2009 15:26:43 +0100
From: aaime@anonymised.com
To: fsquadro@anonymised.com5…
CC: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Problem with JBoss

Fernando Quadro ha scritto:

Hi,

I have problems! When put in the Geoserver in JBoss, my application
gives an error (500).

That’s internal server error if my memory serves me right.
Could really be anything, no way to tell what without more information.

Do you have the jboss startup logs and/or the geoserver own logs
(data_directory/logs/geoserver.log)

Cheers
Andrea


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


Diversão em dobro: compartilhe fotos enquanto conversa usando o Windows
Live Messenger.
http://www.microsoft.com/windows/windowslive/messenger.aspx



This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword



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.


This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword


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


Notícias direto do New York Times, gols do Lance, videocassetadas e muitos outros vídeos no MSN Videos! Confira já!