This content has been marked as final.
Show 1 reply
-
1. Re: EJB Module & Seam 2.2: @In attribute requires non-null value
roar109 Jun 28, 2013 6:56 PM (in response to meinereiner85)We have an app like yours, our app had this structure:
ear
war
ejb1.jar (with META-INF/ejb-jar.xml and seam.properties)
...
ejb6.jar
/META-INF/application.xml,jboss-app.xml
So it should work, maybe a configuration in the xml's, this is how ejb-jar.xml looks like:
<interceptors> <interceptor> <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class> </interceptor> </interceptors> <assembly-descriptor> <interceptor-binding> <ejb-name>*</ejb-name> <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class> </interceptor-binding> </assembly-descriptor>
And my applications.xml looks like this:
<display-name>App-ear</display-name> <module> <ejb>jboss-seam.jar</ejb> </module> <module> <ejb>ejb1-ejb.jar</ejb> </module> <module> <web> <web-uri>App.war</web-uri> <context-root>App</context-root> </web> </module>