1 Reply Latest reply on Feb 28, 2006 5:32 AM by theute

    Scanning Archive, What am I missing?

    hurzeler

      Hello there,

      I just built an application in Eclipse3.1.2 with JBoss4.0.4RC1 that is more or less identical to the Booking example. I used the Ear Project and some other tools to build the Ear file. I can deploy the appliaction without any errors however it seems that my jar file does not get scanned. In the original Booking example I get these lines:

      20:36:02,234 INFO [ResourceBundle] resource bundle missing: messages
      20:36:02,250 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
      20:36:02,265 INFO [Scanner] scanning: /C:/Program Files/jboss-4.0.4RC1/server/default/tmp/deploy/tmp35371jboss-seam-booking.ear-contents/jboss-seam-booking.jar
      20:36:02,281 INFO [Component] Component: changePassword, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.ChangePasswordAction, JNDI: jboss-seam-booking/ChangePasswordAction/local
      20:36:02,296 INFO [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.User
      20:36:02,296 INFO [Component] Component: hotelBooking, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: jboss-seam-booking/HotelBookingAction/local
      20:36:02,312 INFO [Component] Component: logout, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LogoutAction, JNDI: jboss-seam-booking/LogoutAction/local
      20:36:02,328 INFO [Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, JNDI: jboss-seam-booking/LoginAction/local
      20:36:02,328 INFO [Component] Component: booking, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Booking
      20:36:02,328 INFO [Component] Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel
      20:36:02,328 INFO [Component] Component: bookingList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, JNDI: jboss-seam-booking/BookingListAction/local
      20:36:02,343 INFO [Component] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.RegisterAction, JNDI: jboss-seam-booking/RegisterAction/local
      20:36:02,359 INFO [Initialization] done initializing Seam

      but in my example the scanning part is not happening.

      20:38:00,640 INFO [ResourceBundle] resource bundle missing: messages
      20:38:00,640 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
      20:38:00,656 INFO [Initialization] done initializing Seam
      20:38:00,671 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
      20:38:00,765 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4RC1/server/default/tmp/deploy/tmp35373mhl.ear-contents/mhl-jsf-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
      20:38:00,765 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
      20:38:00,796 ERROR [LocaleUtils] Locale name null or empty, ignoring
      20:38:00,968 INFO [StartupServletContextListener] ServletContext 'C:\Program Files\jboss-4.0.4RC1\server\default\.\tmp\deploy\tmp35373mhl.ear-contents\mhl-jsf-exp.war\' initialized.
      20:38:01,000 INFO [EARDeployer] Started J2EE application: file:/C:/Program Files/jboss-4.0.4RC1/server/default/deploy/mhl.ear

      What am I missing? Please help thanks!