[jboss-user] [Snowdrop] - Re: Accessing spring beans that are deployed in a war.

Tejas Mehta do-not-reply at jboss.com
Wed Jul 24 16:42:36 EDT 2013


Tejas Mehta [https://community.jboss.org/people/tmehta] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/829606#829606

--------------------------------------------------------------
Hello Bas Ven,

For your first post could you check in your jboss management ( http://127.0.0.1:9990/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 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
[https://community.jboss.org/message/829606#829606]

Start a new discussion in Snowdrop at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130724/f30d325c/attachment.html 


More information about the jboss-user mailing list