11 Replies Latest reply on Jun 28, 2006 9:57 AM by c_eric_ray

    Seam 1.0.1 GA Examples don't work

    mrfloppy2

      Hello

      I'm in a Evaluation-Process for a Project, which we would like to realize with the EJB 3.0 technology.

      I tried to test the seam-framework. So I installed
      - JBoss 4.0.4 GA
      - Seam 1.0.1 GA

      Then I tryed the Seam Registration-Example (Wich is the first Example in the Seam-Reference). The Deployment works and I can invoke the first page on 'http://localhost:8080/seam-registration'. But when i push the "Register" Button an Exception occours:

      javax.servlet.ServletException: Error calling action method of component with id _idJsp0:_idJsp5
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      root cause

      javax.faces.FacesException: Error calling action method of component with id _idJsp0:_idJsp5
      org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
      javax.faces.component.UICommand.broadcast(UICommand.java:106)
      javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
      javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
      org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
      org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      I did the installation step by step as it is mentioned in the reference.

      What am I doing wrong?

      Thanks for Help!


        • 1. Re: Seam 1.0.1 GA Examples don't work

          What reference did you follow ?

          Did you follow these directions:

          http://labs.jboss.com/portal/jbossseam/gettingstarted ?

          To quote Thomas Heute:

          You need to install JBoss AS using the JEMS installer (or update the EJB3 libs of your installed AS with libs from EJB3 RC8 but previous oprion is easier)


          Pål O.

          • 2. Re: Seam 1.0.1 GA Examples don't work
            mrfloppy2

            hmmm... interesting.

            I've installed the JBoss 4.0.4 GA by downloading it from the JBoss Homepage - not with the JEMS installer.

            Now I uninstalled my JBoss and reinstalled it with JEMS.
            Now it works! :)

            but...where is the difference between installing JBoss 4.0.4 GA with the JEMS installer and downloading it from the JBoss Homepage?

            Ralph

            • 3. Re: Seam 1.0.1 GA Examples don't work

              I guess the JEMS installer include the latest EJB3 RC8 needed by Seam while the JBoss AS 404GA does not.

              • 4. Re: Seam 1.0.1 GA Examples don't work
                mrfloppy2

                ah..ok. :)

                Thanks for your Help!
                Ralph

                • 5. Re: Seam 1.0.1 GA Examples don't work
                  rsmithaa

                  I'm seeing the same issue...

                  I've tried installing via download, and JEMS, with or without the RC8 updates but continue to get the same results.

                  Below is the output of a clean install of 4.0.4GA AS using the jems-installer-1.2.0.BETA.jar installation with ejb3 selected. The booking example is from jboss-seam-1.0.1.GA

                  Any suggestions would be helpful.

                  ===============================================================================
                  .
                  JBoss Bootstrap Environment
                  .
                  JBOSS_HOME: C:\AppServers\jboss-4.0.4.GA\bin\\..
                  .
                  JAVA: C:\Java\jdk1.5.0_06\bin\java
                  .
                  JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
                  .
                  CLASSPATH: C:\Java\jdk1.5.0_06\lib\tools.jar;C:\AppServers\jboss-4.0.4.GA\bin\\run.jar
                  .
                  ===============================================================================
                  .
                  07:14:42,948 INFO [Server] Starting JBoss (MX MicroKernel)...
                  07:14:42,948 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
                  07:14:42,963 INFO [Server] Home Dir: C:\AppServers\jboss-4.0.4.GA
                  07:14:42,963 INFO [Server] Home URL: file:/C:/AppServers/jboss-4.0.4.GA/
                  07:14:42,963 INFO [Server] Patch URL: null
                  07:14:42,963 INFO [Server] Server Name: default
                  07:14:42,963 INFO [Server] Server Home Dir: C:\AppServers\jboss-4.0.4.GA\server\default
                  07:14:42,963 INFO [Server] Server Home URL: file:/C:/AppServers/jboss-4.0.4.GA/server/default/
                  07:14:42,963 INFO [Server] Server Log Dir: C:\AppServers\jboss-4.0.4.GA\server\default\log
                  07:14:42,963 INFO [Server] Server Temp Dir: C:\AppServers\jboss-4.0.4.GA\server\default\tmp
                  07:14:42,963 INFO [Server] Root Deployment Filename: jboss-service.xml
                  07:14:43,323 INFO [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
                  07:14:43,323 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-b64,Sun Microsystems Inc.
                  07:14:43,323 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                  07:14:43,995 INFO [Server] Core system initialized
                  07:14:45,307 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
                  07:14:46,760 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://64.41.42.100:3873/]
                  07:14:47,354 INFO [AspectDeployer] Deployed AOP: file:/C:/AppServers/jboss-4.0.4.GA/server/default/deploy/ejb3-interceptors-aop.xml
                  07:14:49,494 INFO [WebService] Using RMI server codebase: http://work3-rock:8083/
                  07:14:51,603 INFO [MailService] Mail Service bound to java:/Mail
                  07:14:51,916 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
                  07:14:51,931 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
                  07:14:52,572 INFO [Embedded] Catalina naming disabled
                  07:14:52,634 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
                  07:14:52,634 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
                  07:14:52,962 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
                  07:14:52,962 INFO [Catalina] Initialization processed in 328 ms
                  07:14:52,962 INFO [StandardService] Starting service jboss.web
                  07:14:52,978 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
                  07:14:53,009 INFO [StandardHost] XML validation disabled
                  07:14:53,040 INFO [Catalina] Server startup in 78 ms
                  07:14:53,181 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
                  07:14:53,525 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
                  07:14:53,978 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp12576jbossws-exp.war/
                  07:14:54,197 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                  07:14:55,462 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
                  07:14:55,650 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
                  07:14:55,728 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
                  07:14:55,728 INFO [QuartzResourceAdapter] start quartz!!!
                  07:14:55,821 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                  07:14:55,853 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                  07:14:55,853 INFO [RAMJobStore] RAMJobStore initialized.
                  07:14:55,853 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
                  07:14:55,853 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                  07:14:55,853 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                  07:14:56,556 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                  07:14:56,821 INFO [A] Bound to JNDI name: queue/A
                  07:14:56,821 INFO [B] Bound to JNDI name: queue/B
                  07:14:56,821 INFO [C] Bound to JNDI name: queue/C
                  07:14:56,821 INFO [D] Bound to JNDI name: queue/D
                  07:14:56,821 INFO [ex] Bound to JNDI name: queue/ex
                  07:14:56,853 INFO [testTopic] Bound to JNDI name: topic/testTopic
                  07:14:56,853 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                  07:14:56,853 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
                  07:14:56,853 INFO [testQueue] Bound to JNDI name: queue/testQueue
                  07:14:56,868 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
                  07:14:56,915 INFO [DLQ] Bound to JNDI name: queue/DLQ
                  07:14:57,337 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                  07:14:57,368 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                  07:14:57,587 INFO [EARDeployer] Init J2EE application: file:/C:/AppServers/jboss-4.0.4.GA/server/default/deploy/jboss-seam-booking.ear
                  07:14:58,962 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.BookingListAction org.jboss.annotation.inter
                  nal.DefaultInterceptorMarkerImpl@43b5bb
                  07:14:59,009 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.ChangePasswordAction org.jboss.annotation.in
                  ternal.DefaultInterceptorMarkerImpl@1768b0a
                  07:14:59,024 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.HotelBookingAction org.jboss.annotation.inte
                  rnal.DefaultInterceptorMarkerImpl@11201a1
                  07:14:59,040 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.HotelSearchingAction org.jboss.annotation.in
                  ternal.DefaultInterceptorMarkerImpl@1c1f2
                  07:14:59,055 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.LoginAction org.jboss.annotation.internal.De
                  faultInterceptorMarkerImpl@1feb3a6
                  07:14:59,055 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.LogoutAction org.jboss.annotation.internal.D
                  efaultInterceptorMarkerImpl@12e0e2f
                  07:14:59,071 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.RegisterAction org.jboss.annotation.internal
                  .DefaultInterceptorMarkerImpl@19bc716
                  07:14:59,134 INFO [Ejb3Deployment] EJB3 deployment time took: 438
                  07:14:59,149 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase with dependencies:
                  07:14:59,149 INFO [JmxKernelAbstraction] jboss.jca:name=bookingDatasource,service=ManagedConnectionFactory
                  07:14:59,274 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3 with dependencies:
                  07:14:59,274 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
                  07:14:59,274 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3 with dependencies:
                  07:14:59,290 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
                  07:14:59,290 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3 with dependencies:
                  07:14:59,290 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
                  07:14:59,290 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3 with dependencies:
                  07:14:59,290 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
                  07:14:59,290 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=LoginAction,service=EJB3 with dependencies:
                  07:14:59,290 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
                  07:14:59,290 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=LogoutAction,service=EJB3 with dependencies:
                  07:14:59,509 INFO [EJBContainer] STARTED EJB: org.jboss.seam.example.booking.LogoutAction ejbName: LogoutAction
                  07:14:59,540 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3 with dependencies:
                  07:14:59,540 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
                  07:14:59,540 INFO [EJB3Deployer] Deployed: file:/C:/AppServers/jboss-4.0.4.GA/server/default/tmp/deploy/tmp12608jboss-seam-booking.ear-contents/jboss-seam-booking.jar
                  07:14:59,540 INFO [TomcatDeployer] deploy, ctxPath=/seam-booking, warUrl=.../tmp/deploy/tmp12608jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/
                  07:14:59,727 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA
                  07:14:59,743 INFO [Initialization] reading components.xml
                  07:14:59,758 INFO [Initialization] reading properties from: /seam.properties
                  07:14:59,758 INFO [Initialization] reading properties from: /jndi.properties
                  07:14:59,758 INFO [Initialization] initializing Seam
                  07:14:59,805 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
                  07:15:00,024 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
                  07:15:00,024 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
                  07:15:00,040 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
                  07:15:00,071 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
                  07:15:00,071 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
                  07:15:00,087 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
                  07:15:00,087 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
                  07:15:00,102 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
                  07:15:00,118 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
                  07:15:00,118 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
                  07:15:00,133 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
                  07:15:00,133 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
                  07:15:00,149 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
                  07:15:00,180 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
                  07:15:00,180 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
                  07:15:00,180 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
                  07:15:00,196 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
                  07:15:00,196 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
                  07:15:00,196 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
                  07:15:00,212 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
                  07:15:00,227 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
                  07:15:00,227 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
                  07:15:00,243 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
                  07:15:00,258 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
                  07:15:00,258 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
                  07:15:00,274 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
                  07:15:00,274 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
                  07:15:00,290 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
                  07:15:00,290 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
                  07:15:00,321 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
                  07:15:00,337 INFO [Scanner] scanning: /C:/AppServers/jboss-4.0.4.GA/server/default/tmp/deploy/tmp12608jboss-seam-booking.ear-contents/jboss-seam-booking.jar
                  07:15:00,352 INFO [Component] Component: booking, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Booking
                  07:15:00,399 INFO [Component] Component: logout, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LogoutAction, JNDI: jboss-seam-booking/LogoutAction/local
                  07:15:00,399 INFO [Component] Component: hotelSearch, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelSearchingAction, JNDI: jboss-seam-booking/HotelSearchingA
                  ction/local
                  07:15:00,415 INFO [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.User
                  07:15:00,415 INFO [Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, JNDI: jboss-seam-booking/LoginAction/local
                  07:15:00,415 INFO [Component] Component: hotelBooking, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: jboss-seam-booking/HotelBookin
                  gAction/local
                  07:15:00,430 INFO [Component] Component: bookingList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, JNDI: jboss-seam-booking/BookingListAction/
                  local
                  07:15:00,430 INFO [Component] Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel
                  07:15:00,446 INFO [Component] Component: changePassword, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.ChangePasswordAction, JNDI: jboss-seam-booking/ChangePassword
                  Action/local
                  07:15:00,446 INFO [Component] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.RegisterAction, JNDI: jboss-seam-booking/RegisterAction/local
                  07:15:00,446 INFO [Initialization] done initializing Seam
                  07:15:00,961 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
                  07:15:01,040 INFO [FacesConfigurator] Reading config jar:file:/C:/AppServers/jboss-4.0.4.GA/server/default/tmp/deploy/tmp12608jboss-seam-booking.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml

                  07:15:01,055 INFO [FacesConfigurator] Reading config jar:file:/C:/AppServers/jboss-4.0.4.GA/server/default/tmp/deploy/tmp12608jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jb
                  oss-seam-debug.jar!/META-INF/faces-config.xml
                  07:15:01,071 INFO [FacesConfigurator] Reading config jar:file:/C:/AppServers/jboss-4.0.4.GA/server/default/tmp/deploy/tmp12608jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jb
                  oss-seam-ui.jar!/META-INF/faces-config.xml
                  07:15:01,071 INFO [FacesConfigurator] Reading config jar:file:/C:/AppServers/jboss-4.0.4.GA/server/default/tmp/deploy/tmp12608jboss-seam-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/js
                  f-facelets.jar!/META-INF/faces-config.xml
                  07:15:01,086 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
                  07:15:01,196 ERROR [LocaleUtils] Locale name null or empty, ignoring
                  07:15:01,540 INFO [StartupServletContextListener] ServletContext 'C:\AppServers\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp12608jboss-seam-booking.ear-contents\jboss-seam-booking-exp.war\' initial
                  ized.
                  07:15:01,586 INFO [EARDeployer] Started J2EE application: file:/C:/AppServers/jboss-4.0.4.GA/server/default/deploy/jboss-seam-booking.ear
                  07:15:01,586 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                  --- MBeans waiting for other MBeans ---
                  ObjectName: persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase
                  State: NOTYETINSTALLED
                  I Depend On:
                  jboss.jca:name=bookingDatasource,service=ManagedConnectionFactory
                  Depends On Me:
                  jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3
                  jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3
                  jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3
                  jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3
                  jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=LoginAction,service=EJB3
                  jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3

                  ObjectName: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3
                  State: NOTYETINSTALLED
                  I Depend On:
                  persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase

                  ObjectName: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3
                  State: NOTYETINSTALLED
                  I Depend On:
                  persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase

                  ObjectName: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3
                  State: NOTYETINSTALLED
                  I Depend On:
                  persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase

                  ObjectName: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3
                  State: NOTYETINSTALLED
                  I Depend On:
                  persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase

                  ObjectName: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=LoginAction,service=EJB3
                  State: NOTYETINSTALLED
                  I Depend On:
                  persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase

                  ObjectName: jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3
                  State: NOTYETINSTALLED
                  I Depend On:
                  persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase

                  --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                  ObjectName: jboss.jca:name=bookingDatasource,service=ManagedConnectionFactory
                  State: NOTYETINSTALLED
                  Depends On Me:
                  persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase


                  07:15:01,649 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
                  07:15:01,743 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
                  07:15:01,743 INFO [JkMain] Jk running ID=0 time=0/47 config=null
                  07:15:01,758 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 18s:795ms

                  • 6. Re: Seam 1.0.1 GA Examples don't work

                    Hm.
                    Try deploying the /examples/booking/resources/booking-ds.xml
                    file. Then redeploy you booking app.

                    Pål O.

                    • 7. Re: Seam 1.0.1 GA Examples don't work

                      I get the same exact error and i've installed jboss twice using the installer with the ejb 3.0 option.

                      btw, is there anything specific to installing seam or do the apps just include a seam library when deployed to any given appserver?

                      • 8. Re: Seam 1.0.1 GA Examples don't work
                        rsmithaa

                        twistah, thank you. Deploying the file to the ${jboss.home}/server/default/deploy worked great. Seems like this file was included in the jboss-seam-booking.jar file at one time? Do you know why this was removed, and having the ?ds.xml file separate from the jar is this considered a best practice?

                        • 9. Re: Seam 1.0.1 GA Examples don't work
                          theute

                          It gets deployed automatically when you type "ant" (along with the .jar)

                          Yes the -ds.xml must be outside the war. And it lets you change the database without having to change anything but this descriptor (change from HSQL to MySQL for example)

                          • 10. Re: Seam 1.0.1 GA Examples don't work
                            rsmithaa

                            Thanks Thomas. The more I think about this.. that certainly makes sense. Also, this would apply when deploying to different environments, say development versus production. Thank again for the quick response, and keep up the great work!

                            • 11. Re: Seam 1.0.1 GA Examples don't work

                              Yes you are correct. The jems installer downloaded from sourceforge works just fine. The installer that is linked from the main jboss web page was the installer that was giving me problems.