JBoss Community

Re: Accessing spring beans that are deployed in a war.

created by Tejas Mehta in Snowdrop - View the full discussion

Hello Bas Ven,

 

For your first post could you check in your jboss management (http://127.0.0.1:9990/management) to make sure that the Commander factory is indeed registered with JNDI. Also for sportsclub, I am not sure where you downloaded the sportsclub example, but you could try from here: https://github.com/snowdrop/snowdrop-examples/tree/master/sportsclub (with the spring version you are using), these are the most up to date.

 

As for the spring jars conflicting, you could try adding a jboss-deployment-structure.xml file in your WEB-INF dir, with contents:

 

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">

    <deployment>

        <exclusions>

            <module name="org.springframework.spring" slot="snowdrop"/>

        </exclusions>

    </deployment>

</jboss-deployment-structure>

 

Cheers,

 

Tejas M.

 



Reply to this message by going to Community

Start a new discussion in Snowdrop at Community