[jboss-user] [JBoss Seam] - IllegalArgumentException: value of context variable is not a

fabricio.lemos do-not-reply at jboss.com
Fri Jan 5 10:20:55 EST 2007


Hi,

I have a problem with a very simple page. When I call the page, I get the following error:


  | INFO  [Events] no events.xml file found
  | INFO  [Pages] no pages.xml file found
  | ERROR [STDERR] 05/01/2007 11:59:08 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jboss-seam-ui-1.1.jar!/META-INF/seam.taglib.xml
  | ERROR [STDERR] 05/01/2007 11:59:08 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jstl-fn.taglib.xml
  | ERROR [STDERR] 05/01/2007 11:59:08 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jstl-core.taglib.xml
  | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jsf-html.taglib.xml
  | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jsf-core.taglib.xml
  | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/jsf-ui.taglib.xml
  | INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
  | INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
  | INFO  [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
  | ERROR [STDERR] 05/01/2007 11:59:09 com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/viewUseCases.xhtml]
  | java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable: displayUseCases
  | 	at org.jboss.seam.Component.getInstance(Component.java:1637)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1592)
  | 	at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1671)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1615)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1592)
  | 	at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46)
  | 	at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
  | 	at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | 	at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | 	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | 	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | 	at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
  | 	at javax.faces.component.UIData.getValue(UIData.java:1019)
  | 	at javax.faces.component.UIData.createDataModel(UIData.java:785)
  | 	at javax.faces.component.UIData.getDataModel(UIData.java:765)
  | 	at javax.faces.component.UIData.getRowCount(UIData.java:191)
  | 	at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:210)
  | 	at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123)
  | 	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | 	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | 	at java.lang.Thread.run(Thread.java:595)
  | ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable: displayUseCases
  | 	at org.jboss.seam.Component.getInstance(Component.java:1637)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1592)
  | 	at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1671)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1615)
  | 	at org.jboss.seam.Component.getInstance(Component.java:1592)
  | 	at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46)
  | 	at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
  | 	at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | 	at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | 	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | 	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | 	at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
  | 	at javax.faces.component.UIData.getValue(UIData.java:1019)
  | 	at javax.faces.component.UIData.createDataModel(UIData.java:785)
  | 	at javax.faces.component.UIData.getDataModel(UIData.java:765)
  | 	at javax.faces.component.UIData.getRowCount(UIData.java:191)
  | 	at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:210)
  | 	at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123)
  | 	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | 	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | 	at java.lang.Thread.run(Thread.java:595)
  | 

This is my page:

  | <!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:ui="http://java.sun.com/jsf/facelets"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:f="http://java.sun.com/jsf/core"
  | 	xmlns:s="http://jboss.com/products/seam/taglib">
  | <body>
  | <ui:composition template="/template.xhtml">
  | 
  | 	<ui:define name="title">
  |     Sistema Cenarios
  | 	</ui:define>
  | 
  | 	<ui:define name="body">
  | 		<h:form id="helloForm">
  | 			<h:dataTable value="#{useCases}" var="uc">
  | 				<h:column>
  | 					<f:facet name="header">Nome</f:facet>
  |       #{uc.name}
  |     </h:column>
  | 			</h:dataTable>
  | 		</h:form>
  | 	</ui:define>
  | </ui:composition>
  | </body>
  | </html>
  | 

This is my session bean:


  | @Stateless
  | @Name("displayUseCases")
  | public class DisplayUseCasesAction implements DisplayUseCases {
  | 
  |     @EJB
  |     private UseCaseBsn useCaseBsn;
  | 
  |     @Factory("useCases")
  |     public List<UseCase> getUseCases() {
  | 	return useCaseBsn.getAll();
  |     }
  | }
  | 

And this is the log of my application deployment:

  | INFO  [EARDeployer] Init J2EE application: file:/C:/workspacePrototipos/Cenarios/cenarios-ear/target/cenarios-ear-1.0.ear
  | INFO  [Ejb3Deployment] EJB3 deployment time took: 812
  | INFO  [Ejb3Deployment] EJB3 deployment time took: 469
  | INFO  [JmxKernelAbstraction] installing MBean: persistence.units:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,unitName=prototipo with dependencies:
  | INFO  [JmxKernelAbstraction] 	jboss.jca:name=cenariosDS,service=DataSourceBinding
  | INFO  [Version] Hibernate EntityManager 3.2.0.GA
  | INFO  [Version] Hibernate Annotations 3.2.0.GA
  | INFO  [Environment] Hibernate 3.2.0.ga
  | INFO  [Environment] hibernate.properties not found
  | INFO  [Environment] Bytecode provider name : javassist
  | INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | INFO  [Ejb3Configuration] found EJB3 Entity bean: br.gov.serpro.cenarios.model.UseCase
  | INFO  [Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.registration.User
  | WARN  [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
  | INFO  [Configuration] Reading mappings from resource: META-INF/orm.xml
  | INFO  [Ejb3Configuration] [PersistenceUnit: prototipo] no META-INF/orm.xml found
  | INFO  [AnnotationBinder] Binding entity from annotated class: br.gov.serpro.cenarios.model.UseCase
  | INFO  [EntityBinder] Bind entity br.gov.serpro.cenarios.model.UseCase on table UseCase
  | INFO  [AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.registration.User
  | INFO  [EntityBinder] Bind entity org.jboss.seam.example.registration.User on table users
  | INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  | INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
  | INFO  [SettingsFactory] RDBMS: PostgreSQL, version: 8.2.0
  | INFO  [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.1 JDBC3 with SSL (build 407)
  | INFO  [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
  | INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
  | INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
  | INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
  | INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
  | INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
  | INFO  [SettingsFactory] JDBC batch size: 15
  | INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
  | INFO  [SettingsFactory] Scrollable result sets: enabled
  | INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
  | INFO  [SettingsFactory] Connection release mode: auto
  | INFO  [SettingsFactory] Default batch fetch size: 1
  | INFO  [SettingsFactory] Generate SQL with comments: disabled
  | INFO  [SettingsFactory] Order SQL updates by primary key: disabled
  | INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
  | INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
  | INFO  [SettingsFactory] Query language substitutions: {}
  | INFO  [SettingsFactory] JPA-QL strict compliance: enabled
  | INFO  [SettingsFactory] Second-level cache: enabled
  | INFO  [SettingsFactory] Query cache: disabled
  | INFO  [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
  | INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
  | INFO  [SettingsFactory] Structured second-level cache entries: disabled
  | INFO  [SettingsFactory] Statistics: disabled
  | INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
  | INFO  [SettingsFactory] Default entity-mode: pojo
  | INFO  [SessionFactoryImpl] building session factory
  | INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
  | INFO  [SchemaExport] Running hbm2ddl schema export
  | INFO  [SchemaExport] exporting generated schema to database
  | WARN  [JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000
  | WARN  [JDBCExceptionReporter] CREATE TABLE / PRIMARY KEY will create implicit index "usecase_pkey" for table "usecase"
  | WARN  [JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000
  | WARN  [JDBCExceptionReporter] CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users"
  | INFO  [SchemaExport] schema export complete
  | INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,name=UseCaseBsnBean,service=EJB3 with dependencies:
  | INFO  [JmxKernelAbstraction] 	jboss.j2ee:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,name=UseCaseDAOBean,service=EJB3
  | INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,name=UseCaseDAOBean,service=EJB3 with dependencies:
  | INFO  [JmxKernelAbstraction] 	persistence.units:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,unitName=prototipo
  | INFO  [EJBContainer] STARTED EJB: br.gov.serpro.cenarios.persistence.UseCaseDAOBean ejbName: UseCaseDAOBean
  | INFO  [EJBContainer] STARTED EJB: br.gov.serpro.cenarios.business.UseCaseBsnBean ejbName: UseCaseBsnBean
  | INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,name=DisplayUseCasesAction,service=EJB3 with dependencies:
  | INFO  [JmxKernelAbstraction] 	jboss.j2ee:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,name=UseCaseBsnBean,service=EJB3
  | INFO  [EJBContainer] STARTED EJB: br.gov.serpro.cenarios.web.DisplayUseCasesAction ejbName: DisplayUseCasesAction
  | INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,name=RegisterAction,service=EJB3 with dependencies:
  | INFO  [JmxKernelAbstraction] 	persistence.units:ear=cenarios-ear-1.0.ear,jar=cenarios-ejb-1.0.jar,unitName=prototipo
  | INFO  [EJBContainer] STARTED EJB: org.jboss.seam.example.registration.RegisterAction ejbName: RegisterAction
  | INFO  [EJB3Deployer] Deployed: file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-ejb-1.0.jar
  | INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=cenarios-ear-1.0.ear,jar=jboss-seam-1.1.jar,name=Dispatcher,service=EJB3 with dependencies:
  | INFO  [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher
  | INFO  [EJB3Deployer] Deployed: file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/jboss-seam-1.1.jar
  | INFO  [TomcatDeployer] deploy, ctxPath=/seam-reg, warUrl=.../tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/
  | INFO  [ServletContextListener] Welcome to Seam 1.1.0.GA
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
  | INFO  [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-ejb-1.0.jar
  | INFO  [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/cenarios-ejb-1.0.jar
  | INFO  [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/jboss-seam-1.1.jar
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
  | INFO  [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
  | INFO  [Initialization] reading /WEB-INF/components.xml
  | INFO  [Initialization] reading jar:file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/jboss-seam-1.1.jar!/META-INF/components.xml
  | INFO  [Initialization] reading properties from: /seam.properties
  | INFO  [Initialization] reading properties from: /jndi.properties
  | INFO  [Initialization] initializing Seam
  | INFO  [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-ejb-1.0.jar
  | INFO  [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/cenarios-ejb-1.0.jar
  | INFO  [Scanner] scanning: /C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/jboss-seam-1.1.jar
  | INFO  [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
  | INFO  [Initialization] Installing components...
  | INFO  [Component] Component: org.jboss.seam.core.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
  | INFO  [Component] Component: org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
  | INFO  [Component] Component: org.jboss.seam.core.conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
  | INFO  [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
  | INFO  [Component] Component: org.jboss.seam.core.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
  | INFO  [Component] Component: org.jboss.seam.core.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
  | INFO  [Component] Component: displayUseCases, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: br.gov.serpro.cenarios.web.DisplayUseCasesAction, JNDI: cenarios-ear-1.0/DisplayUseCasesAction/local
  | INFO  [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
  | INFO  [Component] Component: org.jboss.seam.core.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
  | INFO  [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
  | INFO  [Component] Component: useCase, scope: CONVERSATION, type: ENTITY_BEAN, class: br.gov.serpro.cenarios.model.UseCase
  | INFO  [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
  | INFO  [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
  | INFO  [Component] Component: org.jboss.seam.core.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
  | INFO  [Component] Component: org.jboss.seam.core.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.PersistenceContexts
  | INFO  [Component] Component: org.jboss.seam.core.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SafeActions
  | INFO  [Component] Component: org.jboss.seam.core.validation, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validation
  | INFO  [Component] Component: org.jboss.seam.core.businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
  | INFO  [Component] Component: org.jboss.seam.core.sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
  | INFO  [Component] Component: org.jboss.seam.core.messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
  | INFO  [Component] Component: org.jboss.seam.core.conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
  | INFO  [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
  | INFO  [Component] Component: org.jboss.seam.core.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.FacesPage
  | INFO  [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
  | INFO  [Component] Component: org.jboss.seam.core.resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
  | INFO  [Component] Component: org.jboss.seam.theme.theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
  | INFO  [Component] Component: org.jboss.seam.core.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
  | INFO  [Component] Component: org.jboss.seam.remoting.remotingConfig, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.RemotingConfig
  | INFO  [Component] Component: org.jboss.seam.core.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
  | INFO  [Component] Component: org.jboss.seam.core.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
  | INFO  [Component] Component: org.jboss.seam.core.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
  | INFO  [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
  | INFO  [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.registration.User
  | INFO  [Component] Component: org.jboss.seam.core.events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
  | INFO  [Component] Component: org.jboss.seam.core.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
  | INFO  [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
  | INFO  [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
  | INFO  [Component] Component: org.jboss.seam.core.eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
  | INFO  [Component] Component: org.jboss.seam.core.pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
  | INFO  [Component] Component: org.jboss.seam.core.conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
  | INFO  [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
  | INFO  [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Expressions
  | INFO  [Component] Component: org.jboss.seam.core.pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
  | INFO  [Component] Component: register, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.registration.RegisterAction, JNDI: cenarios-ear-1.0/RegisterAction/local
  | INFO  [Initialization] done initializing Seam
  | INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
  | INFO  [FacesConfigurator] Reading config jar:file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/jboss-seam-1.1.jar!/META-INF/faces-config.xml
  | INFO  [FacesConfigurator] Reading config jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jboss-seam-ui-1.1.jar!/META-INF/faces-config.xml
  | INFO  [FacesConfigurator] Reading config jar:file:/C:/Java/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp38516cenarios-ear-1.0.ear-contents/cenarios-web-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.jar!/META-INF/faces-config.xml
  | INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
  | WARN  [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : pt_BR
  | INFO  [StartupServletContextListener] ServletContext 'C:\Java\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp38516cenarios-ear-1.0.ear-contents\cenarios-web-1.0-exp.war\' initialized.
  | INFO  [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
  | INFO  [EARDeployer] Started J2EE application: file:/C:/workspacePrototipos/Cenarios/cenarios-ear/target/cenarios-ear-1.0.ear
  | 

I´m using Sean 1.1 and JbossAS 4.0.5.

What could be possibly wrong?

thanks in advance,
Fabricio Lemos

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

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




More information about the jboss-user mailing list