[
https://jira.jboss.org/jira/browse/JBSEAM-3404?page=com.atlassian.jira.pl...
]
Luis Tama updated JBSEAM-3404:
------------------------------
Attachment: Identity.java
Hi Pete,
Alright, I just created a completely new project called "siplacad2" with JBoss
Tools 2.1.2.GA (New Seam Web Project). Let's use an empty project, just in case...
It's a WAR project.
I only added my extended Identity component, which is located at
/src/action/org/ostion/siplacad2/session/Identity.java, in the same package as
Authenticator.java. The file seam.properties, which makes these components available to
Seam, is already present in /src/action.
I have attached the source code for my extended Identity component, which includes the
homePage property, and the renderHomePage method, which is called from home.page.xml. I
ommited the code for dynamic assignment of the homePage depending on the user role. The
getter is enough for the example.
Also, I created /WebContent/home.page.xml, which is responsible for redirecting the user
to the real home page, depending on the user role, when accessing /home.xhtml. Here is the
source code:
<?xml version="1.0" encoding="UTF-8"?>
<page
xmlns="http://jboss.com/products/seam/pages"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.com/products/seam/pages
http://jboss.com/products/seam/pages-2.1.xsd">
<!--
== Se muestra la pagina inicial dependiendo del Rol del Identity
== @since 2008-08-23
-->
<action execute="#{identity.renderHomePage}"/>
</page>
When using Seam 2.1.0.BETA1, my extended Identity component is deployed and works fine,
and the renderHomePage method is called:
14:47:19,171 INFO [TomcatDeployer] undeploy, ctxPath=/siplacad2,
warUrl=.../deploy/siplacad2.war/
14:47:19,203 INFO [SessionFactoryImpl] closing
14:47:19,265 INFO [TomcatDeployer] deploy, ctxPath=/siplacad2,
warUrl=.../deploy/siplacad2.war/
14:47:24,828 INFO [ServletContextListener] Welcome to Seam 2.1.0.BETA1
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/security,
package: org.jboss.seam.security, prefix: org.jboss.seam.security
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/international, package: org.jboss.seam.international,
prefix: org.jboss.seam.international
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/document,
package: org.jboss.seam.document, prefix: org.jboss.seam.document
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/persistence,
package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/cache,
package: org.jboss.seam.cache, prefix: org.jboss.seam.cache
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/ui, package:
org.jboss.seam.ui, prefix: org.jboss.seam.ui
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/remoting,
package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/security,
package: org.jboss.seam.security.permission, prefix: org.jboss.seam.security
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/core,
package: org.jboss.seam.core, prefix: org.jboss.seam.core
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/captcha,
package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/async,
package: org.jboss.seam.async, prefix: org.jboss.seam.async
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/drools,
package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/pdf,
package: org.jboss.seam.pdf, prefix:
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/spring,
package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/mail,
package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/transaction,
package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/web,
package: org.jboss.seam.web, prefix: org.jboss.seam.web
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/security,
package: org.jboss.seam.security.management, prefix: org.jboss.seam.security
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/theme,
package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/navigation,
package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/bpm,
package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/framework,
package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
14:47:32,062 INFO [Initialization] Namespace:
http://jboss.com/products/seam/jms,
package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
14:47:32,062 INFO [Initialization] reading /WEB-INF/components.xml
14:47:32,140 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
14:47:32,140 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
14:47:32,140 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
14:47:32,156 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam.jar!/META-INF/components.xml
14:47:32,156 INFO [Initialization] reading properties from: /seam.properties
14:47:32,156 INFO [Initialization] reading properties from: /jndi.properties
14:47:32,156 INFO [Initialization] initializing Seam
14:47:32,296 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.web.isUserInRole
14:47:32,328 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.locale
14:47:32,328 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.transaction.synchronizations
14:47:32,328 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.persistence.persistenceProvider
14:47:32,343 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.cache.cacheProvider
14:47:32,343 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.resourceLoader
14:47:32,343 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.locale
14:47:32,343 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.expressions
14:47:32,359 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.security.identity
14:47:32,359 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.manager
14:47:32,375 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.web.parameters
14:47:32,375 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.web.userPrincipal
14:47:32,406 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION,
type: JAVA_BEAN, class: org.jboss.seam.core.Init
14:47:32,453 INFO [Initialization] Installing components...
14:47:32,593 INFO [Component] Component: authenticator, scope: EVENT, type: JAVA_BEAN,
class: org.ostion.siplacad2.session.Authenticator
14:47:32,671 INFO [Component] Component: entityManager, scope: CONVERSATION, type:
JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
14:47:32,687 INFO [Component] Component: org.jboss.seam.async.dispatcher, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
14:47:32,703 INFO [Component] Component: org.jboss.seam.captcha.captcha, scope: SESSION,
type: JAVA_BEAN, class: org.jboss.seam.captcha.Captcha
14:47:32,718 INFO [Component] Component: org.jboss.seam.captcha.captchaImage, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.captcha.CaptchaImage
14:47:32,718 INFO [Component] Component: org.jboss.seam.core.ConversationIdGenerator,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationIdGenerator
14:47:32,734 INFO [Component] Component: org.jboss.seam.core.contexts, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
14:47:32,734 INFO [Component] Component: org.jboss.seam.core.conversation, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
14:47:32,734 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
14:47:32,734 INFO [Component] Component: org.jboss.seam.core.conversationListFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
14:47:32,750 INFO [Component] Component: org.jboss.seam.core.conversationPropagation,
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
14:47:32,750 INFO [Component] Component: org.jboss.seam.core.conversationStackFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
14:47:32,750 INFO [Component] Component: org.jboss.seam.core.events, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.core.Events
14:47:32,750 INFO [Component] Component: org.jboss.seam.core.expressions, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
14:47:32,750 INFO [Component] Component: org.jboss.seam.core.interpolator, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
14:47:32,750 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.international.Locale
14:47:32,750 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
14:47:32,765 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
14:47:32,765 INFO [Component] Component: org.jboss.seam.core.resourceLoader, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
14:47:32,765 INFO [Component] Component: org.jboss.seam.core.validators, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
14:47:32,765 INFO [Component] Component: org.jboss.seam.debug.contexts, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
14:47:32,765 INFO [Component] Component: org.jboss.seam.debug.hotDeployFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
14:47:32,765 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT,
type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
14:47:32,781 INFO [Component] Component: org.jboss.seam.document.documentStore, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.document.DocumentStore
14:47:32,812 INFO [Component] Component: org.jboss.seam.exception.exceptions, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
14:47:32,812 INFO [Component] Component: org.jboss.seam.faces.dataModels, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
14:47:32,812 INFO [Component] Component: org.jboss.seam.faces.facesContext, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
14:47:32,812 INFO [Component] Component: org.jboss.seam.faces.facesPage, scope: PAGE,
type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
14:47:32,828 INFO [Component] Component: org.jboss.seam.faces.httpError, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
14:47:32,828 INFO [Component] Component: org.jboss.seam.faces.redirect, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
14:47:32,828 INFO [Component] Component: org.jboss.seam.faces.renderer, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
14:47:32,828 INFO [Component] Component: org.jboss.seam.faces.switcher, scope: PAGE,
type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
14:47:32,828 INFO [Component] Component: org.jboss.seam.faces.uiComponent, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
14:47:32,828 INFO [Component] Component: org.jboss.seam.faces.validation, scope: EVENT,
type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
14:47:32,828 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
14:47:32,843 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
14:47:32,843 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
14:47:32,859 INFO [Component] Component: org.jboss.seam.graphicImage.image, scope: EVENT,
type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
14:47:32,859 INFO [Component] Component: org.jboss.seam.international.localeSelector,
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
14:47:32,859 INFO [Component] Component: org.jboss.seam.international.messagesFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
14:47:32,875 INFO [Component] Component: org.jboss.seam.international.statusMessages,
scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
14:47:32,875 INFO [Component] Component: org.jboss.seam.international.timeZone, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
14:47:32,890 INFO [Component] Component: org.jboss.seam.international.timeZoneSelector,
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
14:47:32,890 INFO [Component] Component: org.jboss.seam.mail.mailSession, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
14:47:32,906 INFO [Component] Component: org.jboss.seam.navigation.pages, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
14:47:32,921 INFO [Component] Component: org.jboss.seam.navigation.safeActions, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
14:47:32,921 INFO [Component] Component: org.jboss.seam.persistence.persistenceContexts,
scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.persistence.PersistenceContexts
14:47:32,937 INFO [Component] Component: org.jboss.seam.persistence.persistenceProvider,
scope: STATELESS, type: JAVA_BEAN, class:
org.jboss.seam.persistence.HibernatePersistenceProvider
14:47:32,937 INFO [Component] Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
14:47:32,937 INFO [Component] Component: org.jboss.seam.remoting.remoting, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
14:47:32,937 INFO [Component] Component: org.jboss.seam.security.configurationFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
14:47:32,937 INFO [Component] Component: org.jboss.seam.security.credentials, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.Credentials
14:47:32,953 INFO [Component] Component: org.jboss.seam.security.entityPermissionChecker,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.security.EntityPermissionChecker
14:47:32,953 INFO [Component] Component: org.jboss.seam.security.facesSecurityEvents,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.FacesSecurityEvents
14:47:32,968 INFO [Component] Component: org.jboss.seam.security.identifierPolicy, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.permission.IdentifierPolicy
14:47:32,968 INFO [Component] Component: org.jboss.seam.security.identity, scope:
SESSION, type: JAVA_BEAN, class: org.ostion.siplacad2.session.Identity
14:47:32,984 INFO [Component] Component: org.jboss.seam.security.identityManager, scope:
EVENT, type: JAVA_BEAN, class: org.jboss.seam.security.management.IdentityManager
14:47:32,984 INFO [Component] Component: org.jboss.seam.security.management.roleAction,
scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.RoleAction
14:47:33,000 INFO [Component] Component: org.jboss.seam.security.management.roleSearch,
scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.RoleSearch
14:47:33,031 INFO [Component] Component: org.jboss.seam.security.management.userAction,
scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.UserAction
14:47:33,031 INFO [Component] Component: org.jboss.seam.security.management.userSearch,
scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.UserSearch
14:47:33,046 INFO [Component] Component: org.jboss.seam.security.passwordHash, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.management.PasswordHash
14:47:33,046 INFO [Component] Component:
org.jboss.seam.security.permission.permissionSearch, scope: CONVERSATION, type: JAVA_BEAN,
class: org.jboss.seam.security.permission.action.PermissionSearch
14:47:33,046 INFO [Component] Component: org.jboss.seam.security.permissionManager,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.security.permission.PermissionManager
14:47:33,062 INFO [Component] Component: org.jboss.seam.security.permissionMapper, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.permission.PermissionMapper
14:47:33,062 INFO [Component] Component:
org.jboss.seam.security.persistentPermissionResolver, scope: APPLICATION, type: JAVA_BEAN,
class: org.jboss.seam.security.permission.PersistentPermissionResolver
14:47:33,062 INFO [Component] Component: org.jboss.seam.security.rememberMe, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RememberMe
14:47:33,078 INFO [Component] Component:
org.jboss.seam.security.ruleBasedPermissionResolver, scope: SESSION, type: JAVA_BEAN,
class: org.jboss.seam.security.permission.RuleBasedPermissionResolver
14:47:33,078 INFO [Component] Component: org.jboss.seam.theme.themeFactory, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
14:47:33,078 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
14:47:33,078 INFO [Component] Component: org.jboss.seam.transaction.synchronizations,
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
14:47:33,078 INFO [Component] Component: org.jboss.seam.transaction.transaction, scope:
EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
14:47:33,093 INFO [Component] Component: org.jboss.seam.ui.EntityConverter, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityConverter
14:47:33,093 INFO [Component] Component: org.jboss.seam.ui.entityIdentifierStore, scope:
PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityIdentifierStore
14:47:33,140 INFO [Component] Component: org.jboss.seam.ui.entityLoader, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.JpaEntityLoader
14:47:33,156 INFO [Component] Component: org.jboss.seam.ui.facelet.faceletCompiler,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletCompiler
14:47:33,156 INFO [Component] Component: org.jboss.seam.ui.facelet.faceletsJBossLogging,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.ui.facelet.FaceletsJBossLogging
14:47:33,156 INFO [Component] Component: org.jboss.seam.ui.facelet.facesContextFactory,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.ui.facelet.RendererFacesContextFactory
14:47:33,171 WARN [Component] Component class should be serializable:
org.jboss.seam.ui.facelet.mockHttpSession
14:47:33,171 INFO [Component] Component: org.jboss.seam.ui.facelet.mockHttpSession,
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.MockHttpSessionManager
14:47:33,171 INFO [Component] Component: org.jboss.seam.ui.facelet.mockServletContext,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.ui.facelet.MockServletContextManager
14:47:33,171 INFO [Component] Component:
org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN,
class: org.jboss.seam.ui.graphicImage.GraphicImageResource
14:47:33,171 INFO [Component] Component:
org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.ui.graphicImage.GraphicImageStore
14:47:33,171 INFO [Component] Component: org.jboss.seam.ui.resource.webResource, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
14:47:33,171 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
14:47:33,171 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilterInstantiator,
scope: STATELESS, type: JAVA_BEAN, class:
org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.exceptionFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.identityFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.IdentityFilter
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.isUserInRole, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.loggingFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.multipartFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.parameters, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.redirectFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.servletContexts, scope:
EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.session, scope: SESSION,
type: JAVA_BEAN, class: org.jboss.seam.web.Session
14:47:33,187 INFO [Component] Component: org.jboss.seam.web.userPrincipal, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
14:47:33,203 INFO [Component] Component: securityRules, scope: APPLICATION, type:
JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
14:47:33,203 INFO [Component] Component: siplacad2EntityManagerFactory, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.EntityManagerFactory
14:47:33,203 INFO [Contexts] starting up: siplacad2EntityManagerFactory
14:47:33,250 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
14:47:33,250 INFO [DatasourceConnectionProvider] Using datasource:
java:/siplacad2Datasource
14:47:33,265 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.22-community-nt
14:47:33,265 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
14:47:33,265 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
14:47:33,265 INFO [TransactionFactoryFactory] Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
14:47:33,265 INFO [TransactionManagerLookupFactory] instantiating
TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
14:47:33,265 INFO [TransactionManagerLookupFactory] instantiated
TransactionManagerLookup
14:47:33,265 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
14:47:33,265 INFO [SettingsFactory] Automatic session close at end of transaction:
disabled
14:47:33,265 INFO [SettingsFactory] JDBC batch size: 15
14:47:33,265 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
14:47:33,265 INFO [SettingsFactory] Scrollable result sets: enabled
14:47:33,265 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
14:47:33,265 INFO [SettingsFactory] Connection release mode: auto
14:47:33,265 INFO [SettingsFactory] Maximum outer join fetch depth: 2
14:47:33,265 INFO [SettingsFactory] Default batch fetch size: 1
14:47:33,265 INFO [SettingsFactory] Generate SQL with comments: disabled
14:47:33,265 INFO [SettingsFactory] Order SQL updates by primary key: disabled
14:47:33,265 INFO [SettingsFactory] Order SQL inserts for batching: disabled
14:47:33,265 INFO [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
14:47:33,265 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
14:47:33,265 INFO [SettingsFactory] Query language substitutions: {}
14:47:33,265 INFO [SettingsFactory] JPA-QL strict compliance: enabled
14:47:33,265 INFO [SettingsFactory] Second-level cache: enabled
14:47:33,265 INFO [SettingsFactory] Query cache: disabled
14:47:33,265 INFO [SettingsFactory] Cache provider: org.hibernate.cache.NoCacheProvider
14:47:33,265 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
14:47:33,265 INFO [SettingsFactory] Structured second-level cache entries: disabled
14:47:33,265 INFO [SettingsFactory] Echoing all SQL to stdout
14:47:33,265 INFO [SettingsFactory] Statistics: disabled
14:47:33,265 INFO [SettingsFactory] Deleted entity synthetic identifier rollback:
disabled
14:47:33,265 INFO [SettingsFactory] Default entity-mode: pojo
14:47:33,265 INFO [SettingsFactory] Named query checking : enabled
14:47:33,281 INFO [SessionFactoryImpl] building session factory
14:47:33,281 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name
configured
14:47:33,281 INFO [SchemaUpdate] Running hbm2ddl schema update
14:47:33,281 INFO [SchemaUpdate] fetching database metadata
14:47:33,281 INFO [SchemaUpdate] updating schema
14:47:33,281 INFO [SchemaUpdate] schema update complete
14:47:33,281 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
14:47:33,281 INFO [Contexts] starting up:
org.jboss.seam.security.entityPermissionChecker
14:47:33,281 INFO [Contexts] starting up:
org.jboss.seam.security.persistentPermissionResolver
14:47:33,281 WARN [PersistentPermissionResolver] no permission store available - please
install a PermissionStore with the name
'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are
required.
14:47:33,281 INFO [Contexts] starting up: org.jboss.seam.security.permissionMapper
14:47:33,281 INFO [Contexts] starting up: org.jboss.seam.navigation.pages
14:47:33,328 INFO [Contexts] starting up: org.jboss.seam.ui.facelet.faceletsJBossLogging
14:47:33,421 INFO [Contexts] starting up: org.jboss.seam.security.facesSecurityEvents
14:47:33,421 INFO [Initialization] done initializing Seam
14:47:33,421 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
14:47:33,421 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
14:47:33,593 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache
factory
14:47:33,593 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters:
{com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider,
facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml}
14:47:33,593 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default
capacity
14:47:33,640 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache
factory
14:47:33,640 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters:
{com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider,
facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml}
14:47:33,640 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default
capacity
14:47:33,640 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
14:47:33,640 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
14:47:33,640 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
14:47:33,640 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.identityFilter
14:47:33,640 INFO [SeamFilter] Initializing filter: org.jboss.seam.debug.hotDeployFilter
14:47:55,546 INFO [Contexts] starting up: org.jboss.seam.web.session
14:47:55,546 INFO [Contexts] starting up:
org.jboss.seam.security.ruleBasedPermissionResolver
14:47:57,093 INFO [RuleBase] parsing rules: /security.drl
14:47:57,656 INFO [Contexts] starting up: org.jboss.seam.security.identity
14:47:57,828 INFO [Identity] Rendering Home Page: /home.xhtml
14:47:58,687 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
14:47:58,703 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
14:47:58,718 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
14:47:58,765 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
14:47:58,781 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
14:47:58,812 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
14:47:58,843 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
14:47:58,859 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
14:47:58,890 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
14:47:58,906 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
14:47:58,906 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
14:47:59,046 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
14:47:59,062 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
Note that the message "[Initialization] two components with same name, higher
precedence wins: org.jboss.seam.security.identity" happened before
"[Initialization] Installing components...", which is not the case with the
SNAPSHOT, as I show below... Maybe the problem in the SNAPSHOT occurs over there, when
initializing the default components in the org.jboss.seam.security package, inside
jboss-seam.jar...
When using the last SNAPSHOT (#309), my extended component is not deployed, nor used, and
the method is not resolved:
14:58:06,875 INFO [TomcatDeployer] undeploy, ctxPath=/siplacad2,
warUrl=.../deploy/siplacad2.war/
14:58:06,890 INFO [SessionFactoryImpl] closing
14:58:06,953 INFO [TomcatDeployer] deploy, ctxPath=/siplacad2,
warUrl=.../deploy/siplacad2.war/
14:58:12,296 INFO [ServletContextListener] Welcome to Seam 2.1.0-SNAPSHOT
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/security,
package: org.jboss.seam.security, prefix: org.jboss.seam.security
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/international, package: org.jboss.seam.international,
prefix: org.jboss.seam.international
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/document,
package: org.jboss.seam.document, prefix: org.jboss.seam.document
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/persistence,
package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/cache,
package: org.jboss.seam.cache, prefix: org.jboss.seam.cache
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/ui, package:
org.jboss.seam.ui, prefix: org.jboss.seam.ui
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/remoting,
package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/security,
package: org.jboss.seam.security.permission, prefix: org.jboss.seam.security
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/core,
package: org.jboss.seam.core, prefix: org.jboss.seam.core
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/captcha,
package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/async,
package: org.jboss.seam.async, prefix: org.jboss.seam.async
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/drools,
package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/pdf,
package: org.jboss.seam.pdf, prefix:
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/spring,
package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/mail,
package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/transaction,
package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/web,
package: org.jboss.seam.web, prefix: org.jboss.seam.web
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/security,
package: org.jboss.seam.security.management, prefix: org.jboss.seam.security
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/theme,
package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/excel,
package: org.jboss.seam.excel, prefix: org.jboss.seam.excel
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/navigation,
package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/jms,
package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/bpm,
package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
14:58:20,593 INFO [Initialization] Namespace:
http://jboss.com/products/seam/framework,
package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
14:58:20,609 INFO [Initialization] reading /WEB-INF/components.xml
14:58:20,687 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
14:58:20,687 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
14:58:20,703 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
14:58:20,703 INFO [Initialization] reading
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam.jar!/META-INF/components.xml
14:58:20,703 INFO [Initialization] reading properties from: /seam.properties
14:58:20,703 INFO [Initialization] reading properties from: /jndi.properties
14:58:20,718 INFO [Initialization] initializing Seam
14:58:20,828 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.expressions
14:58:20,859 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.web.parameters
14:58:20,859 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.locale
14:58:20,859 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.web.userPrincipal
14:58:20,859 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.persistence.persistenceProvider
14:58:20,859 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.transaction.synchronizations
14:58:20,875 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.resourceLoader
14:58:20,875 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.locale
14:58:20,875 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.core.manager
14:58:20,875 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.web.isUserInRole
14:58:20,906 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION,
type: JAVA_BEAN, class: org.jboss.seam.core.Init
14:58:20,953 INFO [Initialization] Installing components...
14:58:21,000 INFO [Component] Component: entityManager, scope: CONVERSATION, type:
JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
14:58:21,015 INFO [Component] Component:
org.jboss.seam.async.asynchronousExceptionHandler, scope: STATELESS, type: JAVA_BEAN,
class: org.jboss.seam.async.AsynchronousExceptionHandler
14:58:21,031 INFO [Component] Component: org.jboss.seam.async.dispatcher, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
14:58:21,093 INFO [Component] Component: org.jboss.seam.captcha.captcha, scope: SESSION,
type: JAVA_BEAN, class: org.jboss.seam.captcha.Captcha
14:58:21,093 INFO [Component] Component: org.jboss.seam.captcha.captchaImage, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.captcha.CaptchaImage
14:58:21,093 INFO [Component] Component: org.jboss.seam.core.ConversationIdGenerator,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationIdGenerator
14:58:21,109 INFO [Component] Component: org.jboss.seam.core.contexts, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.conversation, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.conversationListFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.conversationPropagation,
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.conversationStackFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.events, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.core.Events
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.expressions, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.interpolator, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
14:58:21,125 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.international.Locale
14:58:21,140 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type:
JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
14:58:21,140 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
14:58:21,140 INFO [Component] Component: org.jboss.seam.core.resourceLoader, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
14:58:21,156 INFO [Component] Component: org.jboss.seam.core.validators, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
14:58:21,156 INFO [Component] Component: org.jboss.seam.debug.contexts, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
14:58:21,156 INFO [Component] Component: org.jboss.seam.debug.hotDeployFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
14:58:21,156 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT,
type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
14:58:21,171 INFO [Component] Component: org.jboss.seam.document.documentStore, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.document.DocumentStore
14:58:21,187 INFO [Component] Component: org.jboss.seam.excel.excelFactory, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.excel.ExcelFactory
14:58:21,187 INFO [Component] Component: org.jboss.seam.excel.exporter.excelExporter,
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.excel.exporter.ExcelExporter
14:58:21,203 INFO [Component] Component: org.jboss.seam.exception.exceptions, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
14:58:21,218 INFO [Component] Component: org.jboss.seam.faces.dataModels, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
14:58:21,218 INFO [Component] Component: org.jboss.seam.faces.facesContext, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
14:58:21,218 INFO [Component] Component: org.jboss.seam.faces.facesPage, scope: PAGE,
type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
14:58:21,218 INFO [Component] Component: org.jboss.seam.faces.httpError, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
14:58:21,218 INFO [Component] Component: org.jboss.seam.faces.redirect, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
14:58:21,218 INFO [Component] Component: org.jboss.seam.faces.renderer, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
14:58:21,218 INFO [Component] Component: org.jboss.seam.faces.switcher, scope: PAGE,
type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
14:58:21,234 INFO [Component] Component: org.jboss.seam.faces.uiComponent, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
14:58:21,234 INFO [Component] Component: org.jboss.seam.faces.validation, scope: EVENT,
type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
14:58:21,234 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
14:58:21,250 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
14:58:21,359 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
14:58:21,375 INFO [Component] Component: org.jboss.seam.graphicImage.image, scope: EVENT,
type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
14:58:21,390 INFO [Component] Component: org.jboss.seam.international.localeSelector,
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
14:58:21,390 INFO [Component] Component: org.jboss.seam.international.messagesFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
14:58:21,406 INFO [Component] Component: org.jboss.seam.international.statusMessages,
scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
14:58:21,406 INFO [Component] Component: org.jboss.seam.international.timeZone, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
14:58:21,406 INFO [Component] Component: org.jboss.seam.international.timeZoneSelector,
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
14:58:21,421 INFO [Component] Component: org.jboss.seam.mail.mailSession, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
14:58:21,437 INFO [Component] Component: org.jboss.seam.navigation.pages, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
14:58:21,437 INFO [Component] Component: org.jboss.seam.navigation.safeActions, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
14:58:21,437 INFO [Component] Component: org.jboss.seam.persistence.persistenceContexts,
scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.persistence.PersistenceContexts
14:58:21,453 INFO [Component] Component: org.jboss.seam.persistence.persistenceProvider,
scope: STATELESS, type: JAVA_BEAN, class:
org.jboss.seam.persistence.HibernatePersistenceProvider
14:58:21,453 INFO [Component] Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
14:58:21,468 INFO [Component] Component: org.jboss.seam.remoting.remoting, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
14:58:21,468 INFO [Component] Component: org.jboss.seam.security.configurationFactory,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
14:58:21,468 INFO [Component] Component: org.jboss.seam.security.credentials, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.Credentials
14:58:21,468 INFO [Component] Component: org.jboss.seam.security.entityPermissionChecker,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.security.EntityPermissionChecker
14:58:21,468 INFO [Component] Component: org.jboss.seam.security.facesSecurityEvents,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.FacesSecurityEvents
14:58:21,484 INFO [Component] Component: org.jboss.seam.security.identifierPolicy, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.permission.IdentifierPolicy
14:58:21,484 INFO [Component] Component: org.jboss.seam.security.identity, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.Identity
14:58:21,500 INFO [Component] Component: org.jboss.seam.security.identityManager, scope:
EVENT, type: JAVA_BEAN, class: org.jboss.seam.security.management.IdentityManager
14:58:21,515 INFO [Component] Component: org.jboss.seam.security.management.roleAction,
scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.RoleAction
14:58:21,515 INFO [Component] Component: org.jboss.seam.security.management.roleSearch,
scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.RoleSearch
14:58:21,546 INFO [Component] Component: org.jboss.seam.security.management.userAction,
scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.UserAction
14:58:21,562 INFO [Component] Component: org.jboss.seam.security.management.userSearch,
scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.security.management.action.UserSearch
14:58:21,562 INFO [Component] Component: org.jboss.seam.security.passwordHash, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.management.PasswordHash
14:58:21,578 INFO [Component] Component:
org.jboss.seam.security.permission.permissionSearch, scope: CONVERSATION, type: JAVA_BEAN,
class: org.jboss.seam.security.permission.action.PermissionSearch
14:58:21,578 INFO [Component] Component: org.jboss.seam.security.permissionManager,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.security.permission.PermissionManager
14:58:21,593 INFO [Component] Component: org.jboss.seam.security.permissionMapper, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.permission.PermissionMapper
14:58:21,593 INFO [Component] Component:
org.jboss.seam.security.persistentPermissionResolver, scope: APPLICATION, type: JAVA_BEAN,
class: org.jboss.seam.security.permission.PersistentPermissionResolver
14:58:21,593 INFO [Component] Component: org.jboss.seam.security.rememberMe, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RememberMe
14:58:21,609 INFO [Component] Component:
org.jboss.seam.security.ruleBasedPermissionResolver, scope: SESSION, type: JAVA_BEAN,
class: org.jboss.seam.security.permission.RuleBasedPermissionResolver
14:58:21,609 INFO [Component] Component: org.jboss.seam.theme.themeFactory, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
14:58:21,609 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
14:58:21,609 INFO [Component] Component: org.jboss.seam.transaction.synchronizations,
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
14:58:21,625 INFO [Component] Component: org.jboss.seam.transaction.transaction, scope:
EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
14:58:21,640 INFO [Component] Component: org.jboss.seam.ui.EntityConverter, scope:
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityConverter
14:58:21,640 INFO [Component] Component: org.jboss.seam.ui.entityIdentifierStore, scope:
PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityIdentifierStore
14:58:21,656 INFO [Component] Component: org.jboss.seam.ui.entityLoader, scope:
STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.JpaEntityLoader
14:58:21,687 INFO [Component] Component: org.jboss.seam.ui.facelet.faceletCompiler,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletCompiler
14:58:21,687 INFO [Component] Component: org.jboss.seam.ui.facelet.faceletsJBossLogging,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.ui.facelet.FaceletsJBossLogging
14:58:21,687 INFO [Component] Component: org.jboss.seam.ui.facelet.facesContextFactory,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.ui.facelet.RendererFacesContextFactory
14:58:21,703 WARN [Component] Component class should be serializable:
org.jboss.seam.ui.facelet.mockHttpSession
14:58:21,703 INFO [Component] Component: org.jboss.seam.ui.facelet.mockHttpSession,
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.MockHttpSessionManager
14:58:21,703 INFO [Component] Component: org.jboss.seam.ui.facelet.mockServletContext,
scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.ui.facelet.MockServletContextManager
14:58:21,703 INFO [Component] Component:
org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN,
class: org.jboss.seam.ui.graphicImage.GraphicImageResource
14:58:21,703 INFO [Component] Component:
org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.ui.graphicImage.GraphicImageStore
14:58:21,703 INFO [Component] Component: org.jboss.seam.ui.resource.webResource, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
14:58:21,703 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
14:58:21,703 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilterInstantiator,
scope: STATELESS, type: JAVA_BEAN, class:
org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.exceptionFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.identityFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.IdentityFilter
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.isUserInRole, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.loggingFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.multipartFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.parameters, scope: STATELESS,
type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.redirectFilter, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.servletContexts, scope:
EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.session, scope: SESSION,
type: JAVA_BEAN, class: org.jboss.seam.web.Session
14:58:21,718 INFO [Component] Component: org.jboss.seam.web.userPrincipal, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
14:58:21,734 INFO [Component] Component: securityRules, scope: APPLICATION, type:
JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
14:58:21,734 INFO [Component] Component: siplacad2EntityManagerFactory, scope:
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.EntityManagerFactory
14:58:21,781 INFO [Initialization] two components with same name, higher precedence wins:
org.jboss.seam.security.identity
14:58:21,781 INFO [Contexts] starting up: siplacad2EntityManagerFactory
14:58:21,812 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
14:58:21,812 INFO [DatasourceConnectionProvider] Using datasource:
java:/siplacad2Datasource
14:58:21,812 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.22-community-nt
14:58:21,812 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
14:58:21,812 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
14:58:21,812 INFO [TransactionFactoryFactory] Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
14:58:21,812 INFO [TransactionManagerLookupFactory] instantiating
TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
14:58:21,812 INFO [TransactionManagerLookupFactory] instantiated
TransactionManagerLookup
14:58:21,812 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
14:58:21,812 INFO [SettingsFactory] Automatic session close at end of transaction:
disabled
14:58:21,812 INFO [SettingsFactory] JDBC batch size: 15
14:58:21,812 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
14:58:21,812 INFO [SettingsFactory] Scrollable result sets: enabled
14:58:21,812 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
14:58:21,812 INFO [SettingsFactory] Connection release mode: auto
14:58:21,812 INFO [SettingsFactory] Maximum outer join fetch depth: 2
14:58:21,812 INFO [SettingsFactory] Default batch fetch size: 1
14:58:21,812 INFO [SettingsFactory] Generate SQL with comments: disabled
14:58:21,812 INFO [SettingsFactory] Order SQL updates by primary key: disabled
14:58:21,812 INFO [SettingsFactory] Order SQL inserts for batching: disabled
14:58:21,812 INFO [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
14:58:21,812 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
14:58:21,812 INFO [SettingsFactory] Query language substitutions: {}
14:58:21,812 INFO [SettingsFactory] JPA-QL strict compliance: enabled
14:58:21,812 INFO [SettingsFactory] Second-level cache: enabled
14:58:21,812 INFO [SettingsFactory] Query cache: disabled
14:58:21,812 INFO [SettingsFactory] Cache provider: org.hibernate.cache.NoCacheProvider
14:58:21,812 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
14:58:21,812 INFO [SettingsFactory] Structured second-level cache entries: disabled
14:58:21,812 INFO [SettingsFactory] Echoing all SQL to stdout
14:58:21,812 INFO [SettingsFactory] Statistics: disabled
14:58:21,812 INFO [SettingsFactory] Deleted entity synthetic identifier rollback:
disabled
14:58:21,812 INFO [SettingsFactory] Default entity-mode: pojo
14:58:21,812 INFO [SettingsFactory] Named query checking : enabled
14:58:21,812 INFO [SessionFactoryImpl] building session factory
14:58:21,828 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name
configured
14:58:21,828 INFO [SchemaUpdate] Running hbm2ddl schema update
14:58:21,828 INFO [SchemaUpdate] fetching database metadata
14:58:21,828 INFO [SchemaUpdate] updating schema
14:58:21,828 INFO [SchemaUpdate] schema update complete
14:58:21,828 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
14:58:21,828 INFO [Contexts] starting up:
org.jboss.seam.security.entityPermissionChecker
14:58:21,828 INFO [Contexts] starting up:
org.jboss.seam.security.persistentPermissionResolver
14:58:21,843 WARN [PersistentPermissionResolver] no permission store available - please
install a PermissionStore with the name
'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are
required.
14:58:21,843 INFO [Contexts] starting up: org.jboss.seam.security.permissionMapper
14:58:21,843 INFO [Contexts] starting up: org.jboss.seam.navigation.pages
14:58:21,859 INFO [Contexts] starting up: org.jboss.seam.ui.facelet.faceletsJBossLogging
14:58:21,953 INFO [Contexts] starting up: org.jboss.seam.security.facesSecurityEvents
14:58:21,953 INFO [Initialization] done initializing Seam
14:58:21,968 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
14:58:21,968 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
14:58:22,046 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache
factory
14:58:22,046 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters:
{com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider,
facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml}
14:58:22,046 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default
capacity
14:58:22,078 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache
factory
14:58:22,078 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters:
{com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider,
facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, javax.faces.DEFAULT_SUFFIX=.xhtml}
14:58:22,078 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default
capacity
14:58:22,078 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
14:58:22,078 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
14:58:22,078 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
14:58:22,078 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.identityFilter
14:58:22,078 INFO [SeamFilter] Initializing filter: org.jboss.seam.debug.hotDeployFilter
14:58:28,093 INFO [Contexts] starting up: org.jboss.seam.web.session
14:58:28,093 INFO [Contexts] starting up:
org.jboss.seam.security.ruleBasedPermissionResolver
14:58:29,156 INFO [RuleBase] parsing rules: /security.drl
14:58:29,687 INFO [Contexts] starting up: org.jboss.seam.security.identity
14:58:30,812 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-excel.jar!/META-INF/seam-excel.taglib.xml
14:58:30,812 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
14:58:30,828 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
14:58:30,843 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
14:58:30,890 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
14:58:30,906 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
14:58:31,046 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
14:58:31,062 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
14:58:31,078 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
14:58:31,125 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
14:58:31,140 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
14:58:31,140 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
14:58:31,281 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
14:58:31,296 INFO [compiler] Added Library from:
jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/siplacad2.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
And there is an exception when rendering the /home.seam, which redirects me to
/debug.seam. It happens because my component was not used by Seam.
Exception during request processing:
Caused by javax.el.MethodNotFoundException with message: "Method not found:
org.jboss.seam.security.Identity(a)1c46234.renderHomePage()"
org.jboss.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:252)
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
org.jboss.seam.navigation.Page.preRender(Page.java:288)
org.jboss.seam.navigation.Pages.preRender(Pages.java:347)
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:562)
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:473)
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:72)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:150)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:379)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:506)
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
java.lang.Thread.run(Thread.java:595)
So... that's it... Hope this helps reproducing the bug and solving the issue.
Thanks for your patience :-)
Regards,
Luis Tama
Extended Identity component is not being loaded during Initialization
process
-----------------------------------------------------------------------------
Key: JBSEAM-3404
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3404
Project: Seam
Issue Type: Bug
Components: Core, Security
Affects Versions: 2.1.0.BETA1
Environment: Seam 2.1.0-SNAPSHOT # 303
Reporter: Luis Tama
Assignee: Shane Bryzak
Fix For: 2.1.0.CR1
Attachments: Identity.java
I have this Extended Identity component, which lets me render different home pages
according to the user roles:
@Name("org.jboss.seam.security.identity")
@Scope(ScopeType.SESSION)
@Install(precedence = Install.APPLICATION)
@BypassInterceptors
@Startup
public class Identity extends org.jboss.seam.security.Identity {
private static final String DEFAULT_HOME_PAGE = "/home/home.xhtml";
private String homePage = DEFAULT_HOME_PAGE;
// getter and setter for homePage, and business logic
// and some other important properties related to my business model...
}
In Seam 2.1.0.BETA1, it works fine:
...
21:53:16,159 INFO [Initialization] Installing components...
...
21:53:16,921 INFO [Component] Component: org.jboss.seam.security.identity, scope:
SESSION, type: JAVA_BEAN, class: org.ostion.siplacad.session.Identity
...
In Seam 2.1.0-SNAPSHOT # 303, it's not being loaded:
...
21:55:54,125 INFO [Initialization] Installing components...
...
21:55:55,500 INFO [Component] Component: org.jboss.seam.security.identity, scope:
SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.Identity
...
21:55:56,765 INFO [Initialization] two components with same name, higher precedence
wins: org.jboss.seam.security.identity
...
So I can't access identity.homePage from my webapp. I can see this exception in
debug.seam:
Exception during request processing:
Caused by javax.el.MethodNotFoundException with message: "Method not found:
org.jboss.seam.security.Identity(a)9527ee.renderHomePage()"
...
I will not post the full stack trace, because the obvious reason for the problem is that
the extended component is not being loaded by Seam.
I checked Seam source code, comparing versions BETA1 and SNAPSHOT # 303:
Class org.jboss.seam.Component has no changes between versions.
Class org.jboss.seam.security.Identity has changed, but i don't think there is a
problem there.
Class org.jboss.seam.init.Initialization does have some changes, specially regarding
hotDeploymentStrategy. I guess there is a problem is with the hacks over there.
Please check this. I must tell I switched to the SNAPSHOT to not have the "NPE with
hot Redeployment" issue, but now I can't even see my webapp!!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira