[jboss-user] [JBoss Seam] - Seam Tomcat Deployment: EJB beans contained in non-applicati

Nikolay.Chorniy do-not-reply at jboss.com
Sun Feb 17 09:05:40 EST 2008


Hi everyone!

I have a problem in project deployment. For technical requirements of Seam 1.2.1 GA based project I develop,  Tomcat deployment with EJB3 enabled is used.
The result war file structure looks like this:

  application.war
  |
  -  WEB-INF
  |	|
  |	-components.xml
  |	-web.xml
  |	-pages.xml
  |	|
  |	-   lib
  |	|     |
  |	|     -application.jar
  |	|     |      |
  |	|     |      -... {EJB bean classes}
  |	|     |      |
  |	|     |      -seam.properties
  |	|     |      |
  |	|     |      -META-INF
  |	|     |          |
  |	|     |          -ejb-jar.xml
  |	|     |          -jboss-beans.xml
  |	|     |          -persistence.xml
  |	|     |
  |	|     -entities.jar
  |	|     |      |
  |	|     |      -... {Entity bean classes}
  |	|     |      |
  |	|     |      -seam.properties  

The problem is that all EJB beans contained in application.jar are deployed, but entity beans in entities.jar are not deployed, though JBoss MicroContainer determines that file (seam.properties is included).
Copying entities.jar file content to application.jar solves the problem (EJB entitiy beans are deployed), but that is surely far from smart.

Thanks a lot for any help!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129889#4129889

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129889



More information about the jboss-user mailing list