11 Replies Latest reply on Feb 13, 2008 10:37 AM by Walter Diego Luque

    I can't run a simple stateless bean with my Jboss and Seam

    Xavier Boubés Newbie

      Hi Community,

      I'm trying to run a simple example with this Stateless bean:

      package org.pruebasoft.prueba;
      
      import java.util.List;
      
      import javax.ejb.Stateless;
      import javax.interceptor.Interceptors;
      import javax.persistence.EntityManager;
      import javax.persistence.PersistenceContext;
      
      import org.jboss.seam.annotations.In;
      import org.jboss.seam.annotations.Logger;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.ejb.SeamInterceptor;
      import org.jboss.seam.faces.FacesMessages;
      import org.jboss.seam.log.Log;
      
      @Stateless
      @Name("register")
      public class RegisterAction implements Register
      {
      
       @In
       private User user;
       @Logger
       private static Log log;
      
       public RegisterAction() {} // I tried it with and without contructor
      
       public String register()
       {
       log.info("Action RegisterAcion running......");
       return "";
       }
      
      }
      


      My server is a Jboss 4.2.2 GA and it start without errors

      this is the log when I deploy my app:

      18:05:58,155 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      18:05:58,183 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:05:58,236 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 25s:634ms
      18:06:38,039 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=pruebaDatasource' to JNDI name 'java:pruebaDatasource'
      18:06:38,063 INFO [TomcatDeployer] deploy, ctxPath=/prueba, warUrl=.../deploy/prueba.war/
      18:06:40,232 INFO [ServletContextListener] Welcome to Seam 2.0.1.GA
      18:06:41,961 INFO [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
      18:06:41,962 INFO [Initialization] Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/security/management, package: org.jboss.seam.security.management, prefix: org.jboss.seam.security.management
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
      18:06:41,963 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
      18:06:41,964 INFO [Initialization] reading /WEB-INF/components.xml
      18:06:41,992 INFO [Initialization] reading jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
      18:06:41,994 INFO [Initialization] reading jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
      18:06:41,995 INFO [Initialization] reading jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam.jar!/META-INF/components.xml
      18:06:41,997 INFO [Initialization] reading jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
      18:06:41,999 INFO [Initialization] reading properties from: /seam.properties
      18:06:41,999 INFO [Initialization] reading properties from: /jndi.properties
      18:06:42,000 INFO [Initialization] initializing Seam
      18:06:42,037 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
      18:06:42,041 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
      18:06:42,057 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
      18:06:42,082 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.expressions
      18:06:42,087 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
      18:06:42,088 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
      18:06:42,089 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
      18:06:42,107 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
      18:06:42,108 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
      18:06:42,110 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
      18:06:42,110 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity
      18:06:42,111 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters
      18:06:42,128 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
      18:06:42,153 WARN [Initialization] Did not install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
      18:06:42,153 INFO [Initialization] Installing components...
      18:06:42,173 INFO [Component] Component: authenticator, scope: EVENT, type: JAVA_BEAN, class: org.pruebasoft.prueba.Authenticator
      18:06:42,206 INFO [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
      18:06:42,230 INFO [Component] Component: org.jboss.seam.async.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
      18:06:42,240 INFO [Component] Component: org.jboss.seam.captcha.captcha, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.captcha.Captcha
      18:06:42,246 INFO [Component] Component: org.jboss.seam.captcha.captchaImage, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.captcha.CaptchaImage
      18:06:42,251 INFO [Component] Component: org.jboss.seam.core.ConversationIdGenerator, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationIdGenerator
      18:06:42,279 INFO [Component] Component: org.jboss.seam.core.contexts, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
      18:06:42,285 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
      18:06:42,297 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
      18:06:42,303 INFO [Component] Component: org.jboss.seam.core.conversationListFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
      18:06:42,310 INFO [Component] Component: org.jboss.seam.core.conversationPropagation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
      18:06:42,316 INFO [Component] Component: org.jboss.seam.core.conversationStackFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
      18:06:42,327 INFO [Component] Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
      18:06:42,332 INFO [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
      18:06:42,337 INFO [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
      18:06:42,342 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Locale
      18:06:42,352 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
      18:06:42,359 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
      18:06:42,371 INFO [Component] Component: org.jboss.seam.core.resourceLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
      18:06:42,398 INFO [Component] Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
      18:06:42,404 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
      18:06:42,414 INFO [Component] Component: org.jboss.seam.debug.hotDeployFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
      18:06:42,484 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
      18:06:42,498 INFO [Component] Component: org.jboss.seam.exception.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
      18:06:42,507 INFO [Component] Component: org.jboss.seam.faces.dataModels, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
      18:06:42,557 INFO [Component] Component: org.jboss.seam.faces.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
      18:06:42,563 INFO [Component] Component: org.jboss.seam.faces.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
      18:06:42,569 INFO [Component] Component: org.jboss.seam.faces.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
      18:06:42,576 INFO [Component] Component: org.jboss.seam.faces.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
      18:06:42,581 INFO [Component] Component: org.jboss.seam.faces.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
      18:06:42,591 INFO [Component] Component: org.jboss.seam.faces.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
      18:06:42,598 INFO [Component] Component: org.jboss.seam.faces.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
      18:06:42,606 INFO [Component] Component: org.jboss.seam.faces.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
      18:06:42,613 INFO [Component] Component: org.jboss.seam.faces.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
      18:06:42,621 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
      18:06:42,632 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
      18:06:42,643 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
      18:06:42,653 INFO [Component] Component: org.jboss.seam.graphicImage.image, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
      18:06:42,659 INFO [Component] Component: org.jboss.seam.international.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
      18:06:42,669 INFO [Component] Component: org.jboss.seam.international.messagesFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
      18:06:42,676 INFO [Component] Component: org.jboss.seam.international.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
      18:06:42,681 INFO [Component] Component: org.jboss.seam.international.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
      18:06:42,690 INFO [Component] Component: org.jboss.seam.mail.mailSession, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
      18:06:42,705 INFO [Component] Component: org.jboss.seam.navigation.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
      18:06:42,715 INFO [Component] Component: org.jboss.seam.navigation.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
      18:06:42,720 INFO [Component] Component: org.jboss.seam.pdf.documentStore, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.pdf.DocumentStore
      18:06:42,728 INFO [Component] Component: org.jboss.seam.persistence.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceContexts
      18:06:42,739 INFO [Component] Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
      18:06:42,789 INFO [Component] Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
      18:06:42,796 INFO [Component] Component: org.jboss.seam.remoting.remoting, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
      18:06:42,802 INFO [Component] Component: org.jboss.seam.security.configurationFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
      18:06:42,849 INFO [Component] Component: org.jboss.seam.security.facesSecurityEvents, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.FacesSecurityEvents
      18:06:42,933 INFO [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RuleBasedIdentity
      18:06:42,957 INFO [Component] Component: org.jboss.seam.security.identityManager, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.management.IdentityManager
      18:06:42,963 INFO [Component] Component: org.jboss.seam.theme.themeFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
      18:06:42,970 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
      18:06:42,976 INFO [Component] Component: org.jboss.seam.transaction.synchronizations, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
      18:06:42,992 INFO [Component] Component: org.jboss.seam.transaction.transaction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
      18:06:43,001 INFO [Component] Component: org.jboss.seam.ui.EntityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverter
      18:06:43,008 INFO [Component] Component: org.jboss.seam.ui.entityIdentifierStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.EntityIdentifierStore
      18:06:43,016 INFO [Component] Component: org.jboss.seam.ui.entityLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.EntityLoader
      18:06:43,025 INFO [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageResource
      18:06:43,031 INFO [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageStore
      18:06:43,037 INFO [Component] Component: org.jboss.seam.ui.hibernateEntityLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.HibernateEntityLoader
      18:06:43,044 INFO [Component] Component: org.jboss.seam.ui.resource.styleResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.StyleResource
      18:06:43,056 INFO [Component] Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
      18:06:43,062 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
      18:06:43,072 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilterInstantiator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
      18:06:43,079 INFO [Component] Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
      18:06:43,085 INFO [Component] Component: org.jboss.seam.web.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
      18:06:43,091 INFO [Component] Component: org.jboss.seam.web.loggingFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
      18:06:43,095 INFO [Component] Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
      18:06:43,100 INFO [Component] Component: org.jboss.seam.web.parameters, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
      18:06:43,105 INFO [Component] Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
      18:06:43,111 INFO [Component] Component: org.jboss.seam.web.servletContexts, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
      18:06:43,117 INFO [Component] Component: org.jboss.seam.web.session, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.web.Session
      18:06:43,123 INFO [Component] Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
      18:06:43,136 INFO [Component] Component: pruebaEntityManagerFactory, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.EntityManagerFactory
      18:06:43,140 INFO [Component] Component: register, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.pruebasoft.prueba.RegisterAction, JNDI: prueba/RegisterAction/local
      18:06:43,148 INFO [Component] Component: securityRules, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
      18:06:43,150 INFO [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.pruebasoft.prueba.User
      18:06:43,154 INFO [Contexts] starting up: pruebaEntityManagerFactory
      18:06:43,182 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      18:06:43,182 INFO [DatasourceConnectionProvider] Using datasource: java:/pruebaDatasource
      18:06:43,439 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.51-3
      18:06:43,439 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.5 ( Revision: ${svn.Revision} )
      18:06:43,463 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
      18:06:43,540 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
      18:06:43,548 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      18:06:43,552 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      18:06:43,553 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
      18:06:43,553 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
      18:06:43,553 INFO [SettingsFactory] JDBC batch size: 15
      18:06:43,553 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
      18:06:43,554 INFO [SettingsFactory] Scrollable result sets: enabled
      18:06:43,554 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
      18:06:43,554 INFO [SettingsFactory] Connection release mode: auto
      18:06:43,556 INFO [SettingsFactory] Maximum outer join fetch depth: 2
      18:06:43,556 INFO [SettingsFactory] Default batch fetch size: 1
      18:06:43,556 INFO [SettingsFactory] Generate SQL with comments: disabled
      18:06:43,556 INFO [SettingsFactory] Order SQL updates by primary key: disabled
      18:06:43,556 INFO [SettingsFactory] Order SQL inserts for batching: disabled
      18:06:43,560 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      18:06:43,565 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      18:06:43,565 INFO [SettingsFactory] Query language substitutions: {}
      18:06:43,565 INFO [SettingsFactory] JPA-QL strict compliance: enabled
      18:06:43,565 INFO [SettingsFactory] Second-level cache: enabled
      18:06:43,565 INFO [SettingsFactory] Query cache: disabled
      18:06:43,565 INFO [SettingsFactory] Cache provider: org.hibernate.cache.NoCacheProvider
      18:06:43,565 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
      18:06:43,565 INFO [SettingsFactory] Structured second-level cache entries: disabled
      18:06:43,576 INFO [SettingsFactory] Echoing all SQL to stdout
      18:06:43,576 INFO [SettingsFactory] Statistics: disabled
      18:06:43,576 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      18:06:43,577 INFO [SettingsFactory] Default entity-mode: pojo
      18:06:43,577 INFO [SettingsFactory] Named query checking : enabled
      18:06:43,626 INFO [SessionFactoryImpl] building session factory
      18:06:43,634 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
      18:06:43,640 INFO [SchemaUpdate] Running hbm2ddl schema update
      18:06:43,640 INFO [SchemaUpdate] fetching database metadata
      18:06:43,642 INFO [SchemaUpdate] updating schema
      18:06:43,644 INFO [SchemaUpdate] schema update complete
      18:06:43,651 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      18:06:43,654 INFO [Contexts] starting up: org.jboss.seam.security.facesSecurityEvents
      18:06:43,656 INFO [Initialization] done initializing Seam
      18:06:43,661 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
      18:06:43,661 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
      18:06:43,685 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      18:06:43,688 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml}
      18:06:43,688 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      18:06:43,707 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      18:06:43,707 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml}
      18:06:43,707 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      18:06:43,708 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
      18:06:43,708 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
      18:06:43,708 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
      18:06:43,708 INFO [SeamFilter] Initializing filter: org.jboss.seam.debug.hotDeployFilter
      


      My components.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <components xmlns="http://jboss.com/products/seam/components"
       xmlns:core="http://jboss.com/products/seam/core"
       xmlns:persistence="http://jboss.com/products/seam/persistence"
       xmlns:drools="http://jboss.com/products/seam/drools"
       xmlns:bpm="http://jboss.com/products/seam/bpm"
       xmlns:security="http://jboss.com/products/seam/security"
       xmlns:mail="http://jboss.com/products/seam/mail"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation=
       "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
       http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
       http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
       http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd
       http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
       http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd
       http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
      
       <core:init jndi-pattern="prueba/#{ejbName}/local" debug="true" />
      
       <core:manager concurrent-request-timeout="500"
       conversation-timeout="120000"
       conversation-id-parameter="cid"/>
      
       <persistence:managed-persistence-context name="entityManager"
       auto-create="true"
       entity-manager-factory="#{pruebaEntityManagerFactory}"/>
      
       <persistence:entity-manager-factory name="pruebaEntityManagerFactory"
       persistence-unit-name="prueba"/>
      
       <drools:rule-base name="securityRules">
       <drools:rule-files><value>/security.drl</value></drools:rule-files>
       </drools:rule-base>
      
       <security:identity authenticate-method="#{authenticator.authenticate}"
       security-rules="#{securityRules}"
       remember-me="true"/>
      
       <event type="org.jboss.seam.security.notLoggedIn">
       <action execute="#{redirect.captureCurrentView}"/>
       </event>
       <event type="org.jboss.seam.security.loginSuccessful">
       <action execute="#{redirect.returnToCapturedView}"/>
       </event>
      
       <mail:mail-session host="localhost" port="2525" username="test" password="test" />
      
       <!-- For use with jBPM pageflow or process management -->
       <!--
       <bpm:jbpm>
       <bpm:process-definitions></bpm:process-definitions>
       <bpm:pageflow-definitions></bpm:pageflow-definitions>
       </bpm:jbpm>
       -->
      
      </components>
      


      I tried editing my jndi-pattern components.xml at server like this:

       <core:init jndi-pattern="prueba/#{ejbName}/local" debug="true" />
      


      and lilke this:

       <core:init jndi-pattern="#{ejbName}/local" debug="true" />
      


      And when I invoke register.register action in this view:

      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:s="http://jboss.com/products/seam/taglib"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core">
      
       <head>
       <title>Register New User</title>
       </head>
       <body>
       <f:view>
       <h:form>
       <h:commandButton value="Register" action="#{register.register}"/>
       </h:form>
       </f:view>
       </body>
      
      </html>
      


      I obtain always this exception:

      18:13:36,270 WARN [lifecycle] Could not instantiate Seam component: register
      org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
       at org.jboss.seam.Component.newInstance(Component.java:1970)
       at org.jboss.seam.Component.getInstance(Component.java:1873)
       at org.jboss.seam.Component.getInstance(Component.java:1840)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
       at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
       at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
       at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
       at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
       at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
       at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
       at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
       at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
       at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
       at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
       at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
       at javax.faces.component.UICommand.broadcast(UICommand.java:383)
       at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
       at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
       at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
       at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.naming.NameNotFoundException: prueba not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
       at org.jboss.seam.Component.instantiate(Component.java:1273)
       at org.jboss.seam.Component.newInstance(Component.java:1966)
       ... 60 more
      18:13:36,271 WARN [lifecycle] executePhase(INVOKE_APPLICATION 5,com.sun.faces.context.FacesContextImpl@365dc0) threw exception
      javax.faces.FacesException: Could not instantiate Seam component: register
       at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
       at org.jboss.seam.Component.newInstance(Component.java:1970)
       at org.jboss.seam.Component.getInstance(Component.java:1873)
       at org.jboss.seam.Component.getInstance(Component.java:1840)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
       at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
       at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
       at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
       at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
       at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
       at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
       at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
       at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
       at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
       at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
       at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
       at javax.faces.component.UICommand.broadcast(UICommand.java:383)
       at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
       at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
       at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
       at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
       ... 40 more
      Caused by: javax.naming.NameNotFoundException: prueba not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
       at org.jboss.seam.Component.instantiate(Component.java:1273)
       at org.jboss.seam.Component.newInstance(Component.java:1966)
       ... 60 more
      18:13:36,274 ERROR [ExceptionFilter] handling uncaught exception
      javax.servlet.ServletException: Could not instantiate Seam component: register
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
       at org.jboss.seam.Component.newInstance(Component.java:1970)
       at org.jboss.seam.Component.getInstance(Component.java:1873)
       at org.jboss.seam.Component.getInstance(Component.java:1840)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
       at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
       at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
       at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
       at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
       at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
       at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
       at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
       at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
       at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
       at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
       at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
       at javax.faces.component.UICommand.broadcast(UICommand.java:383)
       at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
       at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
       at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
       at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       ... 37 more
      Caused by: javax.naming.NameNotFoundException: prueba not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
       at org.jboss.seam.Component.instantiate(Component.java:1273)
       at org.jboss.seam.Component.newInstance(Component.java:1966)
       ... 60 more
      18:13:36,274 ERROR [ExceptionFilter] exception root cause
      org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
       at org.jboss.seam.Component.newInstance(Component.java:1970)
       at org.jboss.seam.Component.getInstance(Component.java:1873)
       at org.jboss.seam.Component.getInstance(Component.java:1840)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
       at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
       at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
       at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
       at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
       at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
       at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
       at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
       at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
       at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
       at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
       at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
       at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
       at javax.faces.component.UICommand.broadcast(UICommand.java:383)
       at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
       at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
       at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
       at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.naming.NameNotFoundException: prueba not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
       at org.jboss.seam.Component.instantiate(Component.java:1273)
       at org.jboss.seam.Component.newInstance(Component.java:1966)
       ... 60 more
      18:13:36,716 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
      18:13:36,719 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
      18:13:36,722 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      18:13:36,726 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      18:13:36,736 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
      18:13:36,740 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
      18:13:36,743 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
      18:13:36,750 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
      18:13:36,755 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
      18:13:36,759 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
      18:13:36,764 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
      18:13:36,770 ERROR [STDERR] 09/02/2008 18:13:36 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
      


      I readed seam documentation and searched forums, but I can't find a solution. ¿Can anybody help me please?

      Regards.



        • 1. Re: I can't run a simple stateless bean with my Jboss and Se
          Kenneth Christensen Novice

          I guess the name of the EAR file don't equals 'prueba'?

          <core:init jndi-pattern="prueba/#{ejbName}/local" debug="true" />
           ^^^^^^
           Should be the name of the EAR file.
          


          • 2. Re: I can't run a simple stateless bean with my Jboss and Se
            Norman Richards Master

            If you look at the output, you'll see there is no EAR file. Woops!

            • 3. Re: I can't run a simple stateless bean with my Jboss and Se
              Xavier Boubés Newbie

               

              "msystems" wrote:
              I guess the name of the EAR file don't equals 'prueba'?

              <core:init jndi-pattern="prueba/#{ejbName}/local" debug="true" />
               ^^^^^^
               Should be the name of the EAR file.
              


              You are right, my app is deployed as a WAR (prueba.war).

              I edited my deployed components.xml:

              <?xml version="1.0" encoding="UTF-8"?>
              <components xmlns="http://jboss.com/products/seam/components"
               xmlns:core="http://jboss.com/products/seam/core"
               xmlns:persistence="http://jboss.com/products/seam/persistence"
               xmlns:drools="http://jboss.com/products/seam/drools"
               xmlns:bpm="http://jboss.com/products/seam/bpm"
               xmlns:security="http://jboss.com/products/seam/security"
               xmlns:mail="http://jboss.com/products/seam/mail"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation=
               "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
               http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
               http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
               http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd
               http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
               http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd
               http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
              
               <core:init jndi-pattern="#{ejbName}/local" debug="true" />
              
               <core:manager concurrent-request-timeout="500"
               conversation-timeout="120000"
               conversation-id-parameter="cid"/>
              
               <persistence:managed-persistence-context name="entityManager"
               auto-create="true"
               entity-manager-factory="#{pruebaEntityManagerFactory}"/>
              
               <persistence:entity-manager-factory name="pruebaEntityManagerFactory"
               persistence-unit-name="prueba"/>
              
               <drools:rule-base name="securityRules">
               <drools:rule-files><value>/security.drl</value></drools:rule-files>
               </drools:rule-base>
              
               <security:identity authenticate-method="#{authenticator.authenticate}"
               security-rules="#{securityRules}"
               remember-me="true"/>
              
               <event type="org.jboss.seam.security.notLoggedIn">
               <action execute="#{redirect.captureCurrentView}"/>
               </event>
               <event type="org.jboss.seam.security.loginSuccessful">
               <action execute="#{redirect.returnToCapturedView}"/>
               </event>
              
               <mail:mail-session host="localhost" port="2525" username="test" password="test" />
              
               <!-- For use with jBPM pageflow or process management -->
               <!--
               <bpm:jbpm>
               <bpm:process-definitions></bpm:process-definitions>
               <bpm:pageflow-definitions></bpm:pageflow-definitions>
               </bpm:jbpm>
               -->
              
              </components>
              
              


              And the exception was this:

              16:02:20,762 WARN [lifecycle] Could not instantiate Seam component: register
              org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
               at org.jboss.seam.Component.newInstance(Component.java:1970)
               at org.jboss.seam.Component.getInstance(Component.java:1873)
               at org.jboss.seam.Component.getInstance(Component.java:1840)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
               at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
               at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
               at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
               at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
               at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
               at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
               at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
               at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
               at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
               at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
               at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
               at javax.faces.component.UICommand.broadcast(UICommand.java:383)
               at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
               at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
               at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
               at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
               at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
               at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
               at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
               at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
               at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
               at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: javax.naming.NameNotFoundException: RegisterAction not bound
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
               at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
               at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
               at javax.naming.InitialContext.lookup(InitialContext.java:351)
               at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
               at org.jboss.seam.Component.instantiate(Component.java:1273)
               at org.jboss.seam.Component.newInstance(Component.java:1966)
               ... 60 more
              16:02:20,763 WARN [lifecycle] executePhase(INVOKE_APPLICATION 5,com.sun.faces.context.FacesContextImpl@b34bf3) threw exception
              javax.faces.FacesException: Could not instantiate Seam component: register
               at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
               at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
               at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
               at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
               at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
               at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
               at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
               at org.jboss.seam.Component.newInstance(Component.java:1970)
               at org.jboss.seam.Component.getInstance(Component.java:1873)
               at org.jboss.seam.Component.getInstance(Component.java:1840)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
               at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
               at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
               at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
               at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
               at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
               at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
               at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
               at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
               at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
               at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
               at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
               at javax.faces.component.UICommand.broadcast(UICommand.java:383)
               at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
               at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
               at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
               at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
               ... 40 more
              Caused by: javax.naming.NameNotFoundException: RegisterAction not bound
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
               at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
               at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
               at javax.naming.InitialContext.lookup(InitialContext.java:351)
               at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
               at org.jboss.seam.Component.instantiate(Component.java:1273)
               at org.jboss.seam.Component.newInstance(Component.java:1966)
               ... 60 more
              16:02:20,765 ERROR [ExceptionFilter] handling uncaught exception
              javax.servlet.ServletException: Could not instantiate Seam component: register
               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
               at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
               at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
               at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
               at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
               at org.jboss.seam.Component.newInstance(Component.java:1970)
               at org.jboss.seam.Component.getInstance(Component.java:1873)
               at org.jboss.seam.Component.getInstance(Component.java:1840)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
               at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
               at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
               at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
               at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
               at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
               at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
               at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
               at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
               at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
               at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
               at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
               at javax.faces.component.UICommand.broadcast(UICommand.java:383)
               at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
               at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
               at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
               at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
               at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
               at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
               ... 37 more
              Caused by: javax.naming.NameNotFoundException: RegisterAction not bound
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
               at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
               at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
               at javax.naming.InitialContext.lookup(InitialContext.java:351)
               at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
               at org.jboss.seam.Component.instantiate(Component.java:1273)
               at org.jboss.seam.Component.newInstance(Component.java:1966)
               ... 60 more
              16:02:20,766 ERROR [ExceptionFilter] exception root cause
              org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
               at org.jboss.seam.Component.newInstance(Component.java:1970)
               at org.jboss.seam.Component.getInstance(Component.java:1873)
               at org.jboss.seam.Component.getInstance(Component.java:1840)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
               at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
               at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
               at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
               at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
               at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
               at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
               at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
               at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
               at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
               at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
               at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
               at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
               at javax.faces.component.UICommand.broadcast(UICommand.java:383)
               at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
               at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
               at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
               at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
               at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
               at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
               at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
               at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
               at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
               at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
               at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
               at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: javax.naming.NameNotFoundException: RegisterAction not bound
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
               at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
               at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
               at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
               at javax.naming.InitialContext.lookup(InitialContext.java:351)
               at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
               at org.jboss.seam.Component.instantiate(Component.java:1273)
               at org.jboss.seam.Component.newInstance(Component.java:1966)
               ... 60 more
              16:02:21,312 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
              16:02:21,315 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
              16:02:21,318 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
              16:02:21,322 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
              16:02:21,324 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
              16:02:21,327 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
              16:02:21,330 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
              16:02:21,332 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
              16:02:21,335 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
              16:02:21,338 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
              16:02:21,340 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
              16:02:21,343 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
              16:02:21,346 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
              16:02:21,349 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
              16:02:21,352 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
              16:02:21,356 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
              16:02:21,359 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
              16:02:21,364 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
              16:02:21,369 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
              16:02:21,373 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
              16:02:21,378 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
              16:02:21,383 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
              16:02:21,388 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
              16:02:21,393 ERROR [STDERR] 10/02/2008 16:02:21 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
              INFO: Added Library from: jar:file:/home/xavier/Programas/jboss-4.2.2.GA/server/default/deploy/prueba.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
              
              


              "norman.richards@jboss.com" wrote:

              If you look at the output, you'll see there is no EAR file. Woops!


              Yes, because my application is deployed as WAR, I think that my components.xml posted in this thread is correct.

              If I comment the Stateless annotation un my class:

              //$Id: RegisterAction.java 5298 2007-06-20 00:08:47Z gavin $
              package org.pruebasoft.prueba;
              
              import java.util.List;
              
              import javax.ejb.Stateless;
              import javax.interceptor.Interceptors;
              import javax.persistence.EntityManager;
              import javax.persistence.PersistenceContext;
              
              import org.jboss.seam.annotations.In;
              import org.jboss.seam.annotations.Logger;
              import org.jboss.seam.annotations.Name;
              import org.jboss.seam.ejb.SeamInterceptor;
              import org.jboss.seam.faces.FacesMessages;
              import org.jboss.seam.log.Log;
              
              //@Stateless
              @Interceptors(SeamInterceptor.class)
              @Name("register")
              public class RegisterAction implements Register
              {
              
               /*@In
               private User user;*/
              
               /*@PersistenceContext
               private EntityManager em;*/
              
               @Logger
               private static Log log;
              
               public RegisterAction() {}
              
               public String register()
               {
               log.info("prueba");
               return "";
               }
              
              }
              
              


              It works fine, I can't use Stateless beans? why?

              Thanks a lot for your comments.

              • 4. Re: I can't run a simple stateless bean with my Jboss and Se
                Nicklas Karlsson Master

                State(less/ful) EJBs must be packaged in EARs

                • 6. Re: I can't run a simple stateless bean with my Jboss and Se
                  Xavier Boubés Newbie

                   

                  "nickarls" wrote:

                  State(less/ful) EJBs must be packaged in EARs


                  wopps!! I created a test app and deployed it as an EAR and now all works fine.

                  Sorry for my newbie mistake, and thanks a lot for your patience.


                  Yes, it must be an EAR file - here is a little more information :-)

                  http://www.developer.com/java/ejb/article.php/10931_3670496_1


                  Thanks for the usefull link too.

                  Best regards.

                  xavybb

                  • 7. Re: I can't run a simple stateless bean with my Jboss and Se
                    Walter Diego Luque Newbie

                    Hello, i have the same problem , i understand .. i need to make EAR deployment ...

                    I Working in eclipse 3311 ....

                    I create a seam web project "registrationExample" , it automatic generated in my workspace this projects:

                    registrationExample ( Web Project )
                    registrationExample-test ( Java Project )

                    .. I create the tutorial example #1 (Registration Example) ...

                    and running "Run on server" ( jbosss 4.2.2 ) ... this generate a WAR an automatic deployment ...

                    but , off course , no instantiate registryAction ( stateles ejb ) ...
                    Exception : Could not instantiate Seam component: register

                    ** i don´t understand how to make the packaging , and how to arquitect the projects ... EJB classes / xhtml,jsp Presentation

                    Anybody can send me a example simple project in eclipse ?

                    thanks a lot !

                    Walter

                    • 8. Re: I can't run a simple stateless bean with my Jboss and Se
                      Nicklas Karlsson Master

                      Try Eclipse + JBoss Tools, they have wizards for creating sample projects (including EARs)

                      • 9. Re: I can't run a simple stateless bean with my Jboss and Se
                        Walter Diego Luque Newbie

                        Thanks for help me ...

                        you say :

                        jboss tools web / JSF / JSF Project ?

                        I created my project from /seam/Seam Web Project , called "registrationExample"

                        in src/action

                        ... Register (local interface)
                        ... RegisterAction ( EJB )

                        in WebContent

                        ... register.xhtml
                        ... regisdtered.xhtml

                        Project Archives ( JAR / WAR / EAR )

                        registrationExample.jar
                        All .class
                        META-INF
                        persistence.xml
                        ejb-jar.xml

                        registrationExample.war ( generated automatic definition )
                        WEB-INF
                        webcontent

                        registrationExample.ear
                        META-INF
                        application.xml
                        *.jar
                        *.lib
                        *.war


                        when i deployment the EAR to server ... NO ERRORS !

                        12:33:42,680 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=registrationExample.ear,jar=registrationExample.jar,name=RegisterAction,service=EJB3 with dependencies:

                        12:33:42,680 INFO [JmxKernelAbstraction] persistence.units:ear=registrationExample.ear,jar=registrationExample.jar,unitName=registrationExample

                        12:33:42,680 INFO [EJBContainer] STARTED EJB: RegisterAction ejbName: RegisterAction

                        ............
                        i test with :

                        <core:init jndi-pattern="registrationExample/#{ejbName}/local" debug="true" />

                        or

                        <core:init jndi-pattern="#{ejbName}/local" debug="true" />

                        andthe same error ...

                        Could not instantiate Seam component: register
                        RegisterAction not bound

                        thank for you help !

                        • 10. Re: I can't run a simple stateless bean with my Jboss and Se
                          Walter Diego Luque Newbie

                          my application.xml .... in the EAR

                          <?xml version="1.0" encoding="UTF-8"?>
                          <application xmlns="http://java.sun.com/xml/ns/javaee"
                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                          http://java.sun.com/xml/ns/javaee/application_5.xsd"
                          version="5">

                          <display-name>Seam Registration</display-name>



                          <web-uri>registrationExample.war</web-uri>
                          <context-root>/registrationExample</context-root>



                          registrationExample.jar


                          jboss-seam.jar


                          jboss-el.jar


                          • 11. Re: I can't run a simple stateless bean with my Jboss and Se
                            Walter Diego Luque Newbie

                            OK ! , New Seam Project ( EAR ! ) .