5 Replies Latest reply on Jul 30, 2008 4:53 PM by ganix

    Stateless Bean as Component in JBoss 5.0.0.CR1

    ganix

      Hi,


      we are running JBoss 5.0.0.CR1 with Seam 2.0.3.CR1 here, and there are some problems i can not fix.


      Here ist the scenario:


      I create a seam EAR Project with Eclipse JBoss Tools.
      There are 4 Projects:
      testseam (WebModule)
      testseam-ejb
      testseam-ear
      testseam-test


      In testseam-ejb there is HelloBean class and HelloLocal interface.
      In testseam there is hello.xhtml with the following code:



      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                                   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
                      xmlns:s="http://jboss.com/products/seam/taglib"
                      xmlns:ui="http://java.sun.com/jsf/facelets"
                      xmlns:f="http://java.sun.com/jsf/core"
                      xmlns:h="http://java.sun.com/jsf/html"
                      xmlns:rich="http://richfaces.org/rich"
                      xmlns:a="http://richfaces.org/a4j"
                      template="layout/template.xhtml">
                             
      <ui:define name="body">
              <s:remote include="hello"/>
                <script type="text/javascript">
          //<![CDATA[
          
          function sayHello() {
            var name = document.getElementById("textinput1").value;
            Seam.Component.getInstance("hello").hello(name);
          }
      
          function sayHelloCallback(result) {
                      textinput1.value = "result";
          }
      
          // ]]>
        </script>  
          <h:messages globalOnly="true" styleClass="message"/>
          <!-- h:form id="helloForm"-->
              <rich:panel>
                  <f:facet name="header">hello</f:facet>
                  Give a name:
                  <h:inputText id="textinput1" value=""/>
                              <h:outputText value="" />
                              <br/>
                              <button onclick="javascript:sayHello()">Say Hello</button>
                  <div style="clear:both"/>
              </rich:panel>
          <!--/h:form-->
      </ui:define>
      
      </ui:composition>



      As you can see, by clicking on the button, the remote method is called.
      This works fine on the client side, and the call arrives at JBoss, but when i comes to seam, it raises the following exception:

        • 1. Re: Stateless Bean as Component in JBoss 5.0.0.CR1
          ganix

          01:44:02,031 INFO  [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
          01:44:02,046 INFO  [Initialization] Installing components...
          01:44:02,062 INFO  [Component] Component: authenticator, scope: EVENT, type: JAVA_BEAN, class: org.domain.testseam.session.Authenticator
          01:44:02,062 INFO  [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
          01:44:02,062 INFO  [Component] Component: hello, scope: SESSION, type: STATELESS_SESSION_BEAN, class: org.domain.testseam.session.HelloBean, JNDI: testseam-ear/HelloBean/local
          01:44:02,062 INFO  [Component] Component: org.jboss.seam.async.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.captcha.captcha, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.captcha.Captcha
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.captcha.captchaImage, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.captcha.CaptchaImage
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.ConversationIdGenerator, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationIdGenerator
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.contexts, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.conversationListFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.conversationPropagation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.conversationStackFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Locale
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.resourceBundle, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.resourceLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
          01:44:02,078 INFO  [Component] Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
          01:44:02,093 INFO  [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
          01:44:02,093 INFO  [Component] Component: org.jboss.seam.debug.hotDeployFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
          01:44:02,093 INFO  [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.exception.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.dataModels, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
          01:44:02,109 INFO  [Component] Component: org.jboss.seam.faces.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.graphicImage.image, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.international.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.international.messagesFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.international.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.international.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.mail.mailSession, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.navigation.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
          01:44:02,125 INFO  [Component] Component: org.jboss.seam.navigation.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.pdf.documentStore, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.pdf.DocumentStore
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.persistence.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceContexts
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.remoting.remoting, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.security.configurationFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.security.entityPermissionChecker, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.HibernateEntityPermissionChecker
          01:44:02,156 INFO  [Component] Component: org.jboss.seam.security.facesSecurityEvents, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.FacesSecurityEvents
          01:44:02,171 INFO  [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RuleBasedIdentity
          01:44:02,171 INFO  [Component] Component: org.jboss.seam.theme.themeFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
          01:44:02,171 INFO  [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
          01:44:02,171 INFO  [Component] Component: org.jboss.seam.transaction.synchronizations, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
          01:44:02,171 INFO  [Component] Component: org.jboss.seam.transaction.transaction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
          01:44:02,171 INFO  [Component] Component: org.jboss.seam.ui.EntityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverter
          01:44:02,187 INFO  [Component] Component: org.jboss.seam.ui.entityIdentifierStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.EntityIdentifierStore
          01:44:02,187 INFO  [Component] Component: org.jboss.seam.ui.entityLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.EntityLoader
          01:44:02,187 INFO  [Component] Component: org.jboss.seam.ui.facelet.faceletCompiler, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletCompiler
          01:44:02,187 INFO  [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageResource
          01:44:02,187 INFO  [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageStore
          01:44:02,187 INFO  [Component] Component: org.jboss.seam.ui.hibernateEntityLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.HibernateEntityLoader
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.ui.resource.safeStyleResources, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.SafeStyleResources
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.ui.resource.styleResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.StyleResource
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.web.ajax4jsfFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.web.ajax4jsfFilterInstantiator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.web.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.web.loggingFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
          01:44:02,203 INFO  [Component] Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
          01:44:02,218 INFO  [Component] Component: org.jboss.seam.web.parameters, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
          01:44:02,218 INFO  [Component] Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
          01:44:02,218 INFO  [Component] Component: org.jboss.seam.web.servletContexts, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
          01:44:02,218 INFO  [Component] Component: org.jboss.seam.web.session, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.web.Session
          01:44:02,218 INFO  [Component] Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
          01:44:02,218 INFO  [Component] Component: securityRules, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
          01:44:02,218 INFO  [Contexts] starting up: org.jboss.seam.security.facesSecurityEvents
          01:44:02,218 INFO  [Contexts] starting up: org.jboss.seam.navigation.pages
          01:44:02,234 INFO  [Initialization] done initializing Seam
          01:44:02,234 INFO  [SeamFilter] Initializing filter: org.jboss.seam.debug.hotDeployFilter
          01:44:02,234 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
          01:44:02,234 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
          01:44:02,265 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
          01:44:02,265 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, javax.faces.DEFAULT_SUFFIX=.xhtml}
          01:44:02,265 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
          01:44:02,296 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
          01:44:02,296 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, javax.faces.DEFAULT_SUFFIX=.xhtml}
          01:44:02,296 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
          01:44:02,296 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
          01:44:02,296 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
          01:44:02,296 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
          01:44:38,640 INFO  [Contexts] starting up: org.jboss.seam.security.identity
          01:44:39,312 INFO  [RuleBase] parsing rules: /security.drl
          01:44:39,500 INFO  [Contexts] starting up: org.jboss.seam.web.session
          01:45:59,203 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jboss-seam-ui.jar/META-INF/s.taglib.xml
          01:45:59,203 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jboss-seam-mail.jar/META-INF/seam-mail.taglib.xml
          01:45:59,234 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jboss-seam-pdf.jar/META-INF/seam-pdf.taglib.xml
          01:45:59,250 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/richfaces-ui.jar/META-INF/a4j.taglib.xml
          01:45:59,281 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/richfaces-ui.jar/META-INF/ajax4jsf.taglib.xml
          01:45:59,421 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/richfaces-ui.jar/META-INF/rich.taglib.xml
          01:45:59,437 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/richfaces-ui.jar/META-INF/richfaces.taglib.xml
          01:45:59,468 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jsf-facelets.jar/META-INF/jsf-core.taglib.xml
          01:45:59,484 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jsf-facelets.jar/META-INF/jsf-html.taglib.xml
          01:45:59,500 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jsf-facelets.jar/META-INF/jsf-ui.taglib.xml
          01:45:59,515 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jsf-facelets.jar/META-INF/jstl-core.taglib.xml
          01:45:59,531 ERROR [STDERR] 24.07.2008 01:45:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
          INFO: Added Library from: vfszip:/C:/eclipse/jboss-wasabi/server/default/deploy/testseam-ear.ear/testseam.war/WEB-INF/lib/jsf-facelets.jar/META-INF/jstl-fn.taglib.xml
          
          


          • 2. Re: Stateless Bean as Component in JBoss 5.0.0.CR1
            ganix

            01:46:18,125 ERROR [ContextualHttpServletRequest] ended request due to exception
            java.lang.reflect.InvocationTargetException
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.jboss.seam.remoting.Call.processInvocation(Call.java:181)
                    at org.jboss.seam.remoting.Call.execute(Call.java:124)
                    at org.jboss.seam.remoting.ExecutionHandler$1.process(ExecutionHandler.java:89)
                    at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
                    at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:78)
                    at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:111)
                    at org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:75)
                    at org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:92)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                    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.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.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                    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:235)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
                    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
                    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:325)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                    at java.lang.Thread.run(Unknown Source)
            Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application
                    at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:67)
                    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
                    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:157)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:326)
                    at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:291)
                    at org.jboss.ejb3.proxy.handler.stateless.StatelessLocalProxyInvocationHandler.invoke(StatelessLocalProxyInvocationHandler.java:89)
                    at $Proxy173.hello(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                    at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                    at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                    at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
                    at org.javassist.tmp.java.lang.Object_$$_javassist_1.hello(Object_$$_javassist_1.java)
                    ... 52 more
            Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application
                    at org.jboss.ejb3.EJBContainer.invokeCallback(EJBContainer.java:1036)
                    at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:1042)
                    at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:1048)
                    at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:99)
                    at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
                    at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:51)
                    at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:53)
                    at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:93)
                    at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:58)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                    ... 85 more
            Caused by: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application
                    at org.jboss.seam.contexts.Lifecycle.getApplication(Lifecycle.java:36)
                    at org.jboss.seam.contexts.Lifecycle.mockApplication(Lifecycle.java:111)
                    at org.jboss.seam.Seam.componentForName(Seam.java:298)
                    at org.jboss.seam.intercept.SessionBeanInterceptor.postConstruct(SessionBeanInterceptor.java:102)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.jboss.ejb3.interceptors.aop.LifecycleCallbackInterceptorMethodInterceptor.invoke(LifecycleCallbackInterceptorMethodInterceptor.java:80)
                    at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:79)
                    at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
                    at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_8204368.invoke(InvocationContextInterceptor_z_setup_8204368.java)
                    at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:79)
                    at org.jboss.ejb3.EJBContainer.invokeCallback(EJBContainer.java:1032)
                    ... 95 more
            01:46:18,171 ERROR [Remoting] Error
            javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
                    at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:74)
                    at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:78)
                    at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:111)
                    at org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:75)
                    at org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:92)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                    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.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.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                    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:235)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
                    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
                    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:325)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                    at java.lang.Thread.run(Unknown Source)
            Caused by: java.lang.reflect.InvocationTargetException
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.jboss.seam.remoting.Call.processInvocation(Call.java:181)
                    at org.jboss.seam.remoting.Call.execute(Call.java:124)
                    at org.jboss.seam.remoting.ExecutionHandler$1.process(ExecutionHandler.java:89)
                    at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:53)
                    ... 44 more
            Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application
                    at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:67)
                    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
                    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:157)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:326)
                    at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:291)
                    at org.jboss.ejb3.proxy.handler.stateless.StatelessLocalProxyInvocationHandler.invoke(StatelessLocalProxyInvocationHandler.java:89)
                    at $Proxy173.hello(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                    at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                    at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                    at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
                    at org.javassist.tmp.java.lang.Object_$$_javassist_1.hello(Object_$$_javassist_1.java)
                    ... 52 more
            Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application
                    at org.jboss.ejb3.EJBContainer.invokeCallback(EJBContainer.java:1036)
                    at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:1042)
                    at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:1048)
                    at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:99)
                    at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
                    at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:51)
                    at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:53)
                    at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:93)
                    at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:58)
                    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
                    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                    ... 85 more
            Caused by: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application
                    at org.jboss.seam.contexts.Lifecycle.getApplication(Lifecycle.java:36)
                    at org.jboss.seam.contexts.Lifecycle.mockApplication(Lifecycle.java:111)
                    at org.jboss.seam.Seam.componentForName(Seam.java:298)
                    at org.jboss.seam.intercept.SessionBeanInterceptor.postConstruct(SessionBeanInterceptor.java:102)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                    at java.lang.reflect.Method.invoke(Unknown Source)
                    at org.jboss.ejb3.interceptors.aop.LifecycleCallbackInterceptorMethodInterceptor.invoke(LifecycleCallbackInterceptorMethodInterceptor.java:80)
                    at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:79)
                    at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)
                    at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_8204368.invoke(InvocationContextInterceptor_z_setup_8204368.java)
                    at org.jboss.aop.joinpoint.ConstructionInvocation.invokeNext(ConstructionInvocation.java:79)
                    at org.jboss.ejb3.EJBContainer.invokeCallback(EJBContainer.java:1032)
                    ... 95 more


            • 3. Re: Stateless Bean as Component in JBoss 5.0.0.CR1
              ganix

              I can not figure out what this exception means. Everything is packed up in the same EAR. What is meant with Application here? Which one? (the an screws me).


              The second Problem:
              When i have deloyed the ear to JBoss, and then i restart JBoss, the ear is not properly deployed. It throws a NullPointerException. Then nothing helps, than shutting down JBoss, to remove the EAR Project from the server, start JBoss, an then deploy it again. This is quite annoying for developing some Webapplications. Is there a workaround to this?


              Thanks for reading so far,
              H.

              • 4. Re: Stateless Bean as Component in JBoss 5.0.0.CR1
                pmuir

                Please post the hello component.

                • 5. Re: Stateless Bean as Component in JBoss 5.0.0.CR1
                  ganix

                  The hello component was a statelessbean with a echo method.
                  The exception Attempted to invoke a Seam component outside the an initialized application could be fixes. It was not a problem with the component, but with eclipse's manifest file. jboss-seam.jar was loaded multiple times within the same ear, and so there was no local access to the beans.


                  But the second problem still persists. This does not depend on some special component. You can reproduce this by deploying the seam example seam-bay or booking.
                  i found out there is already a bug reported in jira, but no solution so far :(