As of today, there is no way to tell Seam which one to pick first.

What i meant is that from the log you can tell which one is being used. (This 
is just informative that something is wrong)

Here is a log sample with two components named "booking". The latest replace 
the previous one picked by the scanner.


  | 11:21:38,850 INFO  [Scanner] scanning: 
/home/theute/jboss-5.0.0.Alpha/server/default/tmp/deploy/tmp53108jboss-seam-booking.ear-contents/jboss-seam-booking.jar
  | 11:21:38,962 INFO  [Component] Component: hotelSearch, scope: SESSION, 
type: STATEFUL_SESSION_BEAN, class: 
org.jboss.seam.example.booking.HotelSearchingAction, JNDI: 
jboss-seam-booking/HotelSearchingAction/local
  | 11:21:39,058 INFO  [Component] Component: changePassword, scope: EVENT, 
type: STATEFUL_SESSION_BEAN, class: 
org.jboss.seam.example.booking.ChangePasswordAction, JNDI: 
jboss-seam-booking/ChangePasswordAction/local
  | 11:21:39,061 INFO  [Component] Component: user, scope: SESSION, type: 
ENTITY_BEAN, class: org.jboss.seam.example.booking.User
  | 11:21:39,063 INFO  [Component] Component: logout, scope: STATELESS, type: 
STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LogoutAction, 
JNDI: jboss-seam-booking/LogoutAction/local
  | 11:21:39,064 INFO  [Component] Component: hotelBooking, scope: 
CONVERSATION, type: STATEFUL_SESSION_BEAN, class: 
org.jboss.seam.example.booking.HotelBookingAction, JNDI: 
jboss-seam-booking/HotelBookingAction/local
  | 11:21:39,073 INFO  [Component] Component: hotel, scope: CONVERSATION, type: 
ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel
  | 11:21:39,075 INFO  [Component] Component: booking, scope: CONVERSATION, 
type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Booking
  | 11:21:39,078 INFO  [Component] Component: register, scope: EVENT, type: 
STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.RegisterAction, 
JNDI: jboss-seam-booking/RegisterAction/local
  | 11:21:39,080 INFO  [Component] Component: login, scope: STATELESS, type: 
STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, 
JNDI: jboss-seam-booking/LoginAction/local
  | 11:21:39,082 WARN  [Initialization] Component with name booking has been 
previously registered and is being redefined.
  | 11:21:39,083 INFO  [Component] Component: booking, scope: SESSION, type: 
STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, 
JNDI: jboss-seam-booking/BookingListAction/local
  | 


What would be a good strategy for you ?

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to