The answer for the below question is at

http://docs.geoserver.org/stable/en/user/advanced/logging.html


I added  the below lines to geoserver.war/WEB-INF/web.xml .  Doing this lets 
jboss retain control of the logs.  The link also contains information to create 
a different log for each cluster. This might be required because currently, the 
log file is created in the data directory and the data directory might have to 
be shared among the clusters.

<context-param>
       <param-name>RELINQUISH_LOG4J_CONTROL</param-name>
        <param-value>true</param-value>
  </context-param>


Looks like I am asking questions first ...reading afterwards.

Thanks
Ashok



From: Guntu, Ashok (IS) (Contr)
Sent: Friday, July 20, 2012 8:37 AM
To: [email protected]
Subject: Geoserver - Jboss logging issue.

Hi

I am using geoserver 2.1.4 with Jboss 5.2.  Out of the box all my WMS calls 
were working but the WFS calls were causing class loading errors. To get around 
this based on Andrea's and a suggestion from a previous post 
(http://geo-solutions.blogspot.com/2009/07/deploying-geoserver-on-jboss-as-5x.html),
 I created
jboss-classloading.xml and dropped it into the geoserver.war/WEB-INF directory. 
 The contents of the file are below

                <classloading xmlns="urn:jboss:classloading:1.0"
                                name="geoserver.war"
                                domain="GeoServerDomain"
                                export-all="NON_EMPTY"
                                import-all="true">
                </classloading>


After this, the WFS and the WMS calls went through fine, no issues.  However, 
once jboss loads geoserver.war, it stops the logging process.  I don't get how 
the class loader is affecting the jboss logging.  Is there any settings that 
need to be changed somewhere.  Any help is appreciated.

Thanks in Advance
Ashok
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to