Make geoserver.war working on JBoss 6 Final
-------------------------------------------

                 Key: GEOS-4399
                 URL: http://jira.codehaus.org/browse/GEOS-4399
             Project: GeoServer
          Issue Type: Improvement
    Affects Versions: 2.1-RC2
            Reporter: Fredrik Holmqvist
            Assignee: Andrea Aime
            Priority: Minor


JBoss 6 Final have several issues with GeoServer:
 * annotation scanning get stuck in recursive loop causing stack overflow
 * incompatible versions of xml parsers causing class cast exception.

While this is not a problem in GeoServer, adding configuration for jboss can 
solve this. I do not know if this is desirable, but at least I document it here.
The following files need to be added to WEB-INF:
 * context.xml
 * jboss-classloading.xml
 * jboss-scanning.xml

{code:title=WEB-INF/context.xml|borderStyle=solid}
<?xml version="1.0" encoding="UTF-8"?>
<!-- To use GeoServers xml parsers and not JBoss6 as they seem incompatible -->
<Context/>
{code}

{code:title=WEB-INF/jboss-classloading.xml|borderStyle=solid}
<?xml version="1.0" encoding="UTF-8"?>
<!-- To use GeoServers xml parsers and not JBoss6 as they seem incompatible -->
<classloading xmlns="urn:jboss:classloading:1.0"
    name="geoserver.war"
    domain="GeoserverDomain"
    export-all="NON_EMPTY"
    import-all="true">
</classloading>
{code}

{code:title=WEB-INF/jboss-scanning.xml|borderStyle=solid}
<?xml version="1.0" encoding="UTF-8"?>
<!-- Turn of jee annotation scanning. JBoss 6 don't handle cyclic dependcies, 
and GeoServer don't have annotations so it is faster anyways. -->
<scanning xmlns="urn:jboss:scanning:1.0"/>
{code}



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to