[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

hsiung do-not-reply at jboss.com
Fri Apr 27 17:04:21 EDT 2007


Hi Peter

sorry to disturbe you again. I just wanted to clean up some issues.
"petemuir" wrote : 
  | I must admit I haven't the first clue as to how IDEAs packaging stuff works, and from your startup log you seem to have some jars in odd places being scanned (outside the jboss deploy directory) 
My packaging is not IDEA specific but EJB standard. The libraries are referenced in the manifest that is located in META-INF. It works without Seam. And Seam scans these seam libraries that are outside the JBoss deploy directory.
Correct me if I'm wrong but if Seam scans the libraries, it means that Seams is happy with this kind of external references in the packaging.

"petemuir" wrote : 
  | I can't see your ejb jar being scanned.
My ejb jar is being scanned. I cannot explain why it isn't shown in the log I published, but it is definitely there in all other logs I looked at, for example:
21:36:39,031 INFO  [Initialization] initializing Seam
  | 21:36:39,051 INFO  [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp27960FBN-JSF-exp.war/WEB-INF/lib/jboss-seam-ui.jar
  | 21:36:39,471 INFO  [Scanner] scanning: /D:/Ideartis/Software-assets/FBN/FBN-EJB/jboss-seam-debug.jar
  | 21:36:39,481 INFO  [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp27960FBN-JSF-exp.war/WEB-INF/lib/jboss-seam-debug.jar
  | 21:36:39,501 INFO  [Scanner] scanning: D:\opt\jboss-4.0.5\server\default\.\tmp\deploy\tmp27960FBN-JSF-exp.war\WEB-INF\classes
  | 21:36:39,511 INFO  [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/tmp/deploy/tmp27961FBN-EJB.jar
  | 21:36:40,493 INFO  [Scanner] scanning: /D:/Ideartis/Software-assets/FBN/FBN-EJB/jboss-seam.jar
  | 21:36:41,855 INFO  [Scanner] scanning: /D:/opt/jboss-4.0.5/server/default/./tmp/deploy/tmp27960FBN-JSF-exp.war/WEB-INF/lib/jboss-seam.jar
So when my ejb.jar is being scanned and the location of seam.properties in my ejb.jar is correct, and the packaging was working without Seam (the EJB is deployed and accessible by lookup) do you think that there might be something wrong in the packaging?
I mean which file might to wrongly packaged?

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

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



More information about the jboss-user mailing list