[jboss-user] [JBoss Seam] - Accessing entity beans from separate EAR file
hubaer
do-not-reply at jboss.com
Tue Feb 12 10:49:17 EST 2008
Hi all,
I have a problem deploying my seam application.
In my application structure I have 2 EARs. One with the services and one with the web-frontend (with seam). In the service-ear I have entity beans which have Seam annotations. Now when I deploy both ears Seam only install the component from web-frontend and skip the entity beans from the service-ear. I found following lines in the log-file, so Seam seems to find the entity but doesn't want to deploy it:
| 2008-02-12 16:30:14,593 DEBUG [org.jboss.seam.deployment.URLScanner] scanning: C:/Programme/jboss/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37003webFrontend.ear-contents/jboss-seam-2.0.1.GA.jar
| 2008-02-12 16:30:14,593 DEBUG [org.jboss.seam.deployment.URLScanner] archive: C:\Programme\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp37003webFrontend.ear-contents\jboss-seam-2.0.1.GA.jar
| 2008-02-12 16:30:14,828 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 125ee71, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 7588c{ url=null ,addedOrder=0}
| 2008-02-12 16:30:16,187 DEBUG [org.jboss.seam.deployment.URLScanner] scanning: /C:/Programme/jboss/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37003webFrontend.ear-contents/webFrontend-war-exp.war/WEB-INF/lib/jboss-seam-debug-2.0.1.GA.jar
| 2008-02-12 16:30:16,187 DEBUG [org.jboss.seam.deployment.URLScanner] archive: C:\Programme\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp37003webFrontend.ear-contents\webFrontend-war-exp.war\WEB-INF\lib\jboss-seam-debug-2.0.1.GA.jar
| 2008-02-12 16:30:16,203 DEBUG [org.jboss.seam.deployment.URLScanner] scanning: /C:/Programme/jboss/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37002service.ear-contents/entity-jar-1.0-SNAPSHOT.jar
| 2008-02-12 16:30:16,203 DEBUG [org.jboss.seam.deployment.URLScanner] archive: C:\Programme\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp37002service.ear-contents\entity-jar-1.0-SNAPSHOT.jar
| 2008-02-12 16:30:16,421 DEBUG [org.jboss.seam.deployment.URLScanner] scanning: /C:/Programme/jboss/jboss-4.2.2.GA/server/default/tmp/deploy/tmp37003webFrontend.ear-contents/webFrontend-war-exp.war/WEB-INF/lib/jboss-seam-ui-2.0.1.GA.jar
| 2008-02-12 16:30:16,421 DEBUG [org.jboss.seam.deployment.URLScanner] archive: C:\Programme\jboss\jboss-4.2.2.GA\server\default\tmp\deploy\tmp37003webFrontend.ear-contents\webFrontend-war-exp.war\WEB-INF\lib\jboss-seam-ui-2.0.1.GA.jar
|
Have someone else try to deploy entity beans outside a Seam application and got Seam to use them? What is the best practice for such kind of scenario?
The environement is Seam 2.0.1.GA on JBoss 4.2.2
Thank in advance
Marco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128821#4128821
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128821
More information about the jboss-user
mailing list