[jboss-user] [JBoss Seam] - Re: Seam cannot find component
norman.richards@jboss.com
do-not-reply at jboss.com
Wed Nov 15 16:29:22 EST 2006
seam.properties does need to be at the root of the JAR file. I'm not an eclipse user, so I'm not really sure. I believe Seam 1.1 will allow you to not use seam.properties if you have a META-INF/components.xml, but for now you'll need your seam.properties in the right place.
To verify that Seam is finding your classes, you'll need to look at your server log when you deploy the application. You should see a message like this one that indicates seam is canning your JAR for components.
| 14:05:01,891 INFO [Scanner] scanning: /Users/orb/proj/jboss/jboss-4.0/build/output/jboss-4.0.5.GA-ejb3/server/default/tmp/deploy/tmp41693jboss-seam-pay.ear-contents/jboss-seam-pay.jar
You should also see component registration messages for your components. They will look like this:
14:05:02,503 INFO [Component] Component: paymentHome, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.example.seampay.PaymentController
If you aren't seeing those, you have packaging problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986312#3986312
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986312
More information about the jboss-user
mailing list