Hi,

I followed the instructions in two posts and could then successfully deploy
the geoserver.war in JBoss AS7. All credit to the original posters.

First, I followed the instructions here:
http://www.blogger.com/comment.g?blogID=5176900881057973693&postID=1109167334820075904

which involved:

1. Isolate the WAR
Creating a specific classloading definition file for theGeoServer WAR by
putting the file jboss-classloading.xml defined as below into the
geoserver.war/WEB-INF directory.

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

2. Remove the following jars from geoserver.war/WEB-INF/lib directory
servlet-api-2.4.jar
stax-api-1.0.1.jar
xalan-2.7.0.jar
xercesImpl-2.6.2.jar
xml-apis-1.3.04.jar
xml-apis-xerces-2.7.1.jar

Then I followed the instructions here:
https://community.jboss.org/thread/177472?start=15&tstart=0

3. Add a jboss-deployment-structure.xml in the .war/WEB-INF folder with the
following contents:

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
    <deployment>
        <dependencies>
            <system>
                <paths>
                    <path name="com/sun/imageio/spi"/>
                </paths>
            </system>
        </dependencies>
    </deployment>
</jboss-deployment-structure>

Then I was able to successfully deploy GeoServer 2.1.3 onto JBoss AS 7.1.1
Final. I still have a few problems but suspect that they are config related
but at least I get a successful install in the management console and the
start web page on localhost:8080/geoserver.

Hope that helps

Rick

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Deploying-geoserver-2-1-3-in-Jboss-7-1-tp4692969p4903244.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to