Hi Pete, Thanks for the reply. You may be right. My test environment config may not be correct.. I get following messages when container starts up. note that seam complains that is find 2 instances of identity component.. I am not sure why this happens..
| [Parser] Running: | [testng] ...\test\testng.xml | [testng] 09:49:08,621 INFO [Scanner] scanning: projectdir/WebContent/WEB-INF/lib/jboss-seam.jar | [testng] 09:49:08,637 INFO [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security | [testng] 09:49:08,637 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools | [testng] 09:49:08,637 INFO [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail | [testng] 09:49:08,637 INFO [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web | [testng] 09:49:08,637 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme | [testng] 09:49:08,637 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core | [testng] 09:49:08,653 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms | [testng] 09:49:08,653 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework | [testng] 09:49:08,653 INFO [Scanner] scanning: projectdir\WebContent\WEB-INF\classes | [testng] 09:49:08,668 INFO [Scanner] scanning: projectdir/WebContent/WEB-INF/lib/jboss-seam-ui.jar | [testng] 09:49:08,668 INFO [Scanner] scanning: projectdir/WebContent/WEB-INF/lib/jboss-seam-debug.jar | [testng] 09:49:08,684 INFO [Initialization] reading jar:file:/projectdir/WebContent/WEB-INF/lib/jboss-seam.jar!/META-INF/components.xml | [testng] 09:49:08,825 INFO [Initialization] reading properties from: /seam.properties | [testng] 09:49:08,825 INFO [Initialization] reading properties from: /jndi.properties | [testng] 09:49:08,840 INFO [Initialization] initializing Seam | [testng] 09:49:08,887 INFO [Scanner] scanning: projectdir\WebContent\WEB-INF\classes | [testng] 09:49:08,903 INFO [Scanner] scanning: projectdir/WebContent/WEB-INF/lib/jboss-seam-ui.jar | [testng] 09:49:09,200 INFO [Scanner] scanning: projectdir/WebContent/WEB-INF/lib/jboss-seam-debug.jar | [testng] 09:49:09,231 INFO [Scanner] scanning: projectdir/WebContent/WEB-INF/lib/jboss-seam.jar | [testng] 09:49:10,293 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity | [testng] 09:49:10,372 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider | [testng] 09:49:10,418 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | [testng] 09:49:10,450 INFO [Initialization] Installing components... | [testng] 09:49:10,481 INFO [Component] Component: org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext | [testng] 09:49:10,481 INFO [Component] Component: org.jboss.seam.core.businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext | [testng] 09:49:10,481 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation | [testng] 09:49:10,481 INFO [Component] Component: org.jboss.seam.core.conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext | [testng] 09:49:10,481 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries | [testng] 09:49:10,497 INFO [Component] Component: org.jboss.seam.core.conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList | [testng] 09:49:10,497 INFO [Component] Component: org.jboss.seam.core.conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack | [testng] 09:49:10,497 INFO [Component] Component: org.jboss.seam.core.eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext | [testng] 09:49:10,497 INFO [Component] Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events | [testng] 09:49:10,497 INFO [Component] Component: org.jboss.seam.core.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions | [testng] 09:49:10,497 INFO [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Expressions | [testng] 09:49:10,528 INFO [Component] Component: org.jboss.seam.core.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext | [testng] 09:49:10,528 INFO [Component] Component: org.jboss.seam.core.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages | [testng] 09:49:10,543 INFO [Component] Component: org.jboss.seam.core.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.FacesPage | [testng] 09:49:10,543 INFO [Component] Component: org.jboss.seam.core.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError | [testng] 09:49:10,543 INFO [Component] Component: org.jboss.seam.core.image, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Image | [testng] 09:49:10,543 INFO [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator | [testng] 09:49:10,543 INFO [Component] Component: org.jboss.seam.core.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole | [testng] 09:49:10,559 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale | [testng] 09:49:10,559 INFO [Component] Component: org.jboss.seam.core.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector | [testng] 09:49:10,559 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager | [testng] 09:49:10,559 INFO [Component] Component: org.jboss.seam.core.messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages | [testng] 09:49:10,559 INFO [Component] Component: org.jboss.seam.core.methodContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.MethodContext | [testng] 09:49:10,559 INFO [Component] Component: org.jboss.seam.core.pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext | [testng] 09:49:10,559 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages | [testng] 09:49:10,606 INFO [Component] Component: org.jboss.seam.core.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.PersistenceContexts | [testng] 09:49:10,606 INFO [Component] Component: org.jboss.seam.core.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect | [testng] 09:49:10,622 INFO [Component] Component: org.jboss.seam.core.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer | [testng] 09:49:10,622 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle | [testng] 09:49:10,622 INFO [Component] Component: org.jboss.seam.core.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SafeActions | [testng] 09:49:10,622 INFO [Component] Component: org.jboss.seam.core.sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext | [testng] 09:49:10,622 INFO [Component] Component: org.jboss.seam.core.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher | [testng] 09:49:10,637 INFO [Component] Component: org.jboss.seam.core.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent | [testng] 09:49:10,637 INFO [Component] Component: org.jboss.seam.core.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal | [testng] 09:49:10,637 INFO [Component] Component: org.jboss.seam.core.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Validation | [testng] 09:49:10,637 INFO [Component] Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators | [testng] 09:49:10,637 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate | [testng] 09:49:10,762 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime | [testng] 09:49:10,778 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime | [testng] 09:49:10,778 INFO [Component] Component: org.jboss.seam.security.configuration, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration | [testng] 09:49:10,778 INFO [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.Identity | [testng] 09:49:10,778 INFO [Component] Component: org.jboss.seam.servlet.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter | [testng] 09:49:10,793 INFO [Component] Component: org.jboss.seam.servlet.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter | [testng] 09:49:10,793 INFO [Component] Component: org.jboss.seam.servlet.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter | [testng] 09:49:10,793 INFO [Component] Component: org.jboss.seam.theme.theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme | [testng] 09:49:10,793 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector | [testng] 09:49:10,793 INFO [Component] Component: org.jboss.seam.ui.entityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityConverter | [testng] 09:49:10,809 INFO [Component] Component: org.jboss.seam.ui.entityConverterStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityConverterStore | [testng] 09:49:10,809 INFO [Component] Component: org.jboss.seam.ui.graphicImage.dynamicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.DynamicImageResource | [testng] 09:49:10,809 INFO [Component] Component: org.jboss.seam.ui.graphicImage.dynamicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.DynamicImageStore | [testng] 09:49:10,809 INFO [Component] Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource | [testng] 09:49:10,809 INFO [Lifecycle] starting up: org.jboss.seam.servlet.exceptionFilter | [testng] 09:49:10,809 INFO [Lifecycle] starting up: org.jboss.seam.ui.graphicImage.dynamicImageResource | [testng] 09:49:10,809 INFO [Lifecycle] starting up: org.jboss.seam.servlet.multipartFilter | [testng] 09:49:10,809 INFO [Lifecycle] starting up: org.jboss.seam.ui.resource.webResource | [testng] 09:49:10,825 INFO [Lifecycle] starting up: org.jboss.seam.servlet.redirectFilter | [testng] 09:49:10,825 INFO [Initialization] done initializing Seam | [testng] 09:49:11,059 ERROR [SeamLoginModule] Error invoking login method | I have included files in embedded-ejb/conf in my classpath. I am not sure how to customize login-config.xml. Also adding or removing <core:ejb/> to components.xml does not seem to make any difference. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086206#4086206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086206 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
