[jboss-user] [JBoss Seam] - Re: Could not instantiate Seam component:

pasmith do-not-reply at jboss.com
Wed Aug 2 11:44:44 EDT 2006


Hi Sateesh, 
We appreciate your help.

Here is the contents of our console.log:


  | 10:35:23,693 INFO  [EARDeployer] Init J2EE application: file:/var/lib/jbossas/server/all/deploy/projectMgmt.ear
  | 10:35:26,474 INFO  [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to action.LoginAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 23c223c2
  | 10:35:26,543 INFO  [Ejb3Deployment] EJB3 deployment time took: 349
  | 10:35:26,556 INFO  [JmxKernelAbstraction] installing MBean: persistence.units:ear=projectMgmt.ear,jar=projectMgmt.jar,unitName=projectMgmtDatabase with dependencies:
  | 10:35:26,556 INFO  [JmxKernelAbstraction] 	jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
  | 10:35:26,654 INFO  [Version] Hibernate EntityManager 3.2.0.CR1
  | 10:35:26,670 INFO  [Version] Hibernate Annotations 3.2.0.CR1
  | 10:35:26,681 INFO  [Environment] Hibernate 3.2 cr2
  | 10:35:26,690 INFO  [Environment] hibernate.properties not found
  | 10:35:26,694 INFO  [Environment] Bytecode provider name : javassist
  | 10:35:26,701 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | 10:35:26,939 INFO  [Ejb3Configuration] found EJB3 Entity bean: model.Comment
  | 10:35:26,940 INFO  [Ejb3Configuration] found EJB3 Entity bean: model.Project
  | 10:35:26,942 INFO  [Ejb3Configuration] found EJB3 Entity bean: model.Task
  | 10:35:26,943 INFO  [Ejb3Configuration] found EJB3 Entity bean: model.TimeRecord
  | 10:35:26,944 INFO  [Ejb3Configuration] found EJB3 Entity bean: model.User
  | 10:35:26,946 WARN  [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
  | 10:35:27,030 INFO  [Configuration] Reading mappings from resource: META-INF/orm.xml
  | 10:35:27,035 INFO  [Ejb3Configuration] [PersistenceUnit: projectMgmtDatabase] no META-INF/orm.xml found
  | 10:35:27,167 INFO  [AnnotationBinder] Binding entity from annotated class: model.Comment
  | 10:35:27,217 INFO  [EntityBinder] Bind entity model.Comment on table comment
  | 10:35:27,283 INFO  [AnnotationBinder] Binding entity from annotated class: model.Project
  | 10:35:27,283 INFO  [EntityBinder] Bind entity model.Project on table project
  | 10:35:27,352 INFO  [AnnotationBinder] Binding entity from annotated class: model.Task
  | 10:35:27,353 INFO  [EntityBinder] Bind entity model.Task on table task
  | 10:35:27,362 INFO  [AnnotationBinder] Binding entity from annotated class: model.TimeRecord
  | 10:35:27,362 INFO  [EntityBinder] Bind entity model.TimeRecord on table time_record
  | 10:35:27,365 INFO  [AnnotationBinder] Binding entity from annotated class: model.User
  | 10:35:27,365 INFO  [EntityBinder] Bind entity model.User on table user
  | 10:35:28,065 INFO  [CollectionBinder] Mapping collection: model.Task.timeSpent -> time_record
  | 10:35:28,066 INFO  [CollectionBinder] Mapping collection: model.Task.comments -> comment
  | 10:35:28,068 INFO  [CollectionBinder] Mapping collection: model.Project.tasks -> task
  | 10:35:28,071 INFO  [CollectionBinder] Mapping collection: model.Task.tasks -> task
  | 10:35:28,072 INFO  [CollectionBinder] Mapping collection: model.User.tasks -> task
  | 10:35:28,234 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  | 10:35:28,248 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
  | 10:35:28,257 INFO  [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
  | 10:35:28,257 INFO  [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
  | 10:35:28,329 INFO  [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
  | 10:35:28,337 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
  | 10:35:28,342 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
  | 10:35:28,345 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
  | 10:35:28,345 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
  | 10:35:28,345 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
  | 10:35:28,346 INFO  [SettingsFactory] JDBC batch size: 15
  | 10:35:28,346 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
  | 10:35:28,347 INFO  [SettingsFactory] Scrollable result sets: enabled
  | 10:35:28,347 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
  | 10:35:28,347 INFO  [SettingsFactory] Connection release mode: auto
  | 10:35:28,349 INFO  [SettingsFactory] Default batch fetch size: 1
  | 10:35:28,349 INFO  [SettingsFactory] Generate SQL with comments: disabled
  | 10:35:28,349 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
  | 10:35:28,349 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
  | 10:35:28,353 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
  | 10:35:28,354 INFO  [SettingsFactory] Query language substitutions: {}
  | 10:35:28,354 INFO  [SettingsFactory] Second-level cache: enabled
  | 10:35:28,354 INFO  [SettingsFactory] Query cache: disabled
  | 10:35:28,354 INFO  [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
  | 10:35:28,356 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
  | 10:35:28,356 INFO  [SettingsFactory] Structured second-level cache entries: disabled
  | 10:35:28,366 INFO  [SettingsFactory] Statistics: disabled
  | 10:35:28,366 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
  | 10:35:28,367 INFO  [SettingsFactory] Default entity-mode: pojo
  | 10:35:28,432 INFO  [SessionFactoryImpl] building session factory
  | 10:35:29,455 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
  | 10:35:29,475 INFO  [SchemaExport] Running hbm2ddl schema export
  | 10:35:29,475 INFO  [SchemaExport] exporting generated schema to database
  | 10:35:29,486 INFO  [SchemaExport] Executing import script: /import.sql
  | 10:35:29,487 INFO  [SchemaExport] schema export complete
  | 10:35:29,503 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 10:35:29,551 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=projectMgmt.ear,jar=projectMgmt.jar,name=LoginAction,service=EJB3 with dependencies:
  | 10:35:29,551 INFO  [JmxKernelAbstraction] 	persistence.units:ear=projectMgmt.ear,jar=projectMgmt.jar,unitName=projectMgmtDatabase
  | 10:35:30,291 INFO  [EJBContainer] STARTED EJB: action.LoginAction ejbName: LoginAction
  | 10:35:30,317 INFO  [EJB3Deployer] Deployed: file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt.jar
  | 10:35:30,320 INFO  [TomcatDeployer] deploy, ctxPath=/projectMgmt, warUrl=.../tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/
  | 10:35:31,510 INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
  | 10:35:31,593 INFO  [FacesConfigurator] Reading config jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml
  | 10:35:31,597 INFO  [FacesConfigurator] Reading config jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt.jar-contents/jboss-seam.jar!/META-INF/faces-config.xml
  | 10:35:31,601 INFO  [FacesConfigurator] Reading config jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml
  | 10:35:31,605 INFO  [FacesConfigurator] Reading config jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
  | 10:35:31,611 INFO  [FacesConfigurator] Reading config jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
  | 10:35:31,617 INFO  [FacesConfigurator] Reading config jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/tomahawk-1.1.0.jar!/META-INF/faces-config.xml
  | 10:35:31,640 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
  | 10:35:31,761 ERROR [LocaleUtils] Locale name null or empty, ignoring
  | 10:35:32,207 INFO  [StartupServletContextListener] ServletContext '/var/lib/jbossas/server/all/./tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/' initialized.
  | 10:35:32,208 INFO  [ServletContextListener] Welcome to Seam 1.0.1.GA
  | 10:35:32,218 INFO  [Initialization] no components.xml file found
  | 10:35:32,219 INFO  [Initialization] reading properties from: /seam.properties
  | 10:35:32,220 INFO  [Initialization] reading properties from: /jndi.properties
  | 10:35:32,228 INFO  [Initialization] initializing Seam
  | 10:35:32,263 INFO  [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
  | 10:35:32,441 INFO  [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
  | 10:35:32,456 INFO  [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
  | 10:35:32,468 INFO  [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
  | 10:35:32,511 INFO  [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
  | 10:35:32,527 INFO  [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
  | 10:35:32,541 INFO  [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
  | 10:35:32,556 INFO  [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
  | 10:35:32,569 INFO  [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
  | 10:35:32,580 INFO  [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
  | 10:35:32,674 INFO  [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
  | 10:35:32,679 INFO  [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
  | 10:35:32,683 INFO  [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
  | 10:35:32,689 INFO  [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
  | 10:35:32,694 INFO  [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
  | 10:35:32,699 INFO  [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
  | 10:35:32,704 INFO  [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
  | 10:35:32,710 INFO  [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
  | 10:35:32,715 INFO  [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
  | 10:35:32,719 INFO  [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
  | 10:35:32,724 INFO  [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
  | 10:35:32,728 INFO  [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
  | 10:35:32,735 INFO  [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
  | 10:35:32,740 INFO  [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
  | 10:35:32,751 INFO  [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
  | 10:35:32,758 INFO  [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
  | 10:35:32,767 INFO  [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
  | 10:35:32,817 INFO  [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
  | 10:35:32,823 INFO  [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
  | 10:35:32,828 INFO  [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
  | 10:35:32,856 INFO  [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
  | 10:35:32,868 INFO  [Scanner] scanning: /var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt.jar
  | 10:35:32,872 WARN  [Component] Component class should be serializable: user
  | 10:35:32,872 INFO  [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: model.User
  | 10:35:32,876 INFO  [Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: action.LoginAction, JNDI: LoginAction/local
  | 10:35:32,887 INFO  [Initialization] done initializing Seam
  | 10:35:32,958 INFO  [EARDeployer] Started J2EE application: file:/var/lib/jbossas/server/all/deploy/projectMgmt.ear
  | 10:36:02,862 INFO  [Pages] no pages.xml file found
  | 10:36:05,106 ERROR [STDERR] Aug 2, 2006 10:36:05 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
  | 10:36:05,167 ERROR [STDERR] Aug 2, 2006 10:36:05 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
  | 10:36:05,199 ERROR [STDERR] Aug 2, 2006 10:36:05 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
  | 10:36:05,290 ERROR [STDERR] Aug 2, 2006 10:36:05 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam.taglib.xml
  | 10:36:05,337 ERROR [STDERR] Aug 2, 2006 10:36:05 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
  | 10:36:05,400 ERROR [STDERR] Aug 2, 2006 10:36:05 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: jar:file:/var/lib/jbossas/server/all/tmp/deploy/tmp22378projectMgmt.ear-contents/projectMgmt-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
  | 10:36:05,756 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
  | 10:36:05,756 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
  | 10:36:05,756 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
  | 10:36:05,756 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
  | 

Thanks agian.

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

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



More information about the jboss-user mailing list