[JBoss Seam] - inject into EJB with @In doesnot work under SeamTest
by coolfish
With the code:
| @Local
| @Stateless
| @Name("register")
| @Scope(ScopeType.CONVERSATION)
| public class Register implements IRegister{
| @Logger
| private static Log log;
|
| @In
| private EntityManager em;
| @In
| private User user;
|
| public String regist(){
| System.out.println("+++++EM++++++++"+em);
| System.out.println("+++++USER++++++++"+user);
| }
| }
|
|
it print trace :
[Parser] Running:
D:\Work\Revenco\revenco-work-redhat\jboss-seam2-learn\temp-testng-customsuite.xml
WARN 29-11 19:29:49,656 (UnifiedLoaderRepository3.java:addClassLoader:675) -Tried to add non-URLClassLoader. Ignored
INFO 29-11 19:29:51,125 (TransactionManagerService.java:startService:126) -JBossTS Transaction Service (JTA version) - JBoss Inc.
INFO 29-11 19:29:51,125 (TransactionManagerService.java:startService:128) -Setting up property manager MBean and JMX layer
WARN 29-11 19:29:51,312 (TxControl.java::266) -[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using ac81a91:54c6:474ea2af:0
INFO 29-11 19:29:51,359 (TransactionStatusManager.java:addService:110) -[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 21702
INFO 29-11 19:29:51,359 (?:?:?) -TransactionStatusManagerItem - host: 10.200.26.145 port: 21702
INFO 29-11 19:29:51,828 (TransactionStatusManager.java:start:161) -[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - TransactionStatusManager started on port 21702 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
INFO 29-11 19:29:51,843 (?:?:?) -Registering mbean for module 'arjuna'
INFO 29-11 19:29:51,859 (?:?:?) -Initialising JMX agent com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
INFO 29-11 19:29:51,875 (TransactionManagerService.java:startService:163) -Starting recovery manager
INFO 29-11 19:29:51,890 (?:?:?) -
--- Start RecoveryActivators
INFO 29-11 19:29:51,906 (RecoveryManagerImple.java::142) -[com.arjuna.ats.internal.arjuna.recovery.ready] RecoveryManagerImple is ready on port 21,703
INFO 29-11 19:29:51,921 (TransactionManagerService.java:startService:168) -Recovery manager started
INFO 29-11 19:29:51,921 (TransactionManagerService.java:startService:191) -Binding TransactionManager JNDI Reference
INFO 29-11 19:29:54,515 (RARDeployment.java:startService:146) -Required license terms exist, view vfsfile:/D:/Work/Revenco/revenco-work-redhat/jboss-seam2-learn/bootstrap/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
INFO 29-11 19:29:54,609 (ConnectionFactoryBindingService.java:bindConnectionFactory:148) -Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
INFO 29-11 19:29:54,609 (RARDeployment.java:startService:146) -Required license terms exist, view vfsfile:/D:/Work/Revenco/revenco-work-redhat/jboss-seam2-learn/bootstrap/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
INFO 29-11 19:29:54,609 (RARDeployment.java:startService:146) -Required license terms exist, view vfsfile:/D:/Work/Revenco/revenco-work-redhat/jboss-seam2-learn/bootstrap/deploy/jms-ra.rar/META-INF/ra.xml
WARN 29-11 19:29:55,343 (JDBCPersistenceManager.java:start:143) -
JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
INFO 29-11 19:29:55,578 (ServerPeer.java::187) -ServerPeer[0] creating server peer with ID 0
INFO 29-11 19:29:55,984 (ServerPeer.java:startService:278) -JBoss Messaging 1.2.0.sp1 server [0] started
INFO 29-11 19:29:56,046 (QueueService.java:startService:149) -Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,046 (QueueService.java:startService:149) -Queue[/queue/QueueWithOwnDLQAndExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,046 (QueueService.java:startService:149) -Queue[/queue/QueueWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,046 (TopicService.java:startService:122) -Topic[/topic/TopicWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,062 (QueueService.java:startService:149) -Queue[/queue/PrivateDLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,062 (QueueService.java:startService:149) -Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,062 (TopicService.java:startService:122) -Topic[/topic/TopicWithOwnDLQAndExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,125 (ConnectionFactory.java:startService:148) -Connector bisocket://10.200.26.145:4457 has leasing enabled, lease period 10000 milliseconds
INFO 29-11 19:29:56,125 (ConnectionFactory.java:startService:149) -[/ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConnectionFactory] started
INFO 29-11 19:29:56,140 (QueueService.java:startService:149) -Queue[/queue/PrivateExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
INFO 29-11 19:29:56,140 (ConnectionFactoryBindingService.java:bindConnectionFactory:148) -Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JmsXA' to JNDI name 'java:JmsXA'
INFO 29-11 19:29:56,234 (ConnectionFactoryBindingService.java:bindConnectionFactory:148) -Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=test-mysql' to JNDI name 'java:test-mysql'
INFO 29-11 19:29:56,562 (MCKernelAbstraction.java:install:119) -installing bean: jboss.j2ee:jar=classes.java,name=Register,service=EJB3 with dependencies:
INFO 29-11 19:29:56,796 (EJBContainer.java:start:580) -STARTED EJB: org.fish.seam.regist.Register ejbName: Register
INFO 29-11 19:29:57,500 (MCKernelAbstraction.java:install:119) -installing bean: jboss.j2ee:jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 with dependencies:
INFO 29-11 19:29:57,578 (EJBContainer.java:start:580) -STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
WARN 29-11 19:29:57,609 (JBossTimerServiceFactory.java:restoreTimerService:112) -TIMER SERVICE IS NOT INSTALLED
INFO 29-11 19:29:57,609 (MCKernelAbstraction.java:install:119) -installing bean: jboss.j2ee:jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 with dependencies:
INFO 29-11 19:29:57,656 (EJBContainer.java:start:580) -STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
INFO 29-11 19:29:57,750 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-ui.jar
INFO 29-11 19:29:57,765 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-ioc.jar
INFO 29-11 19:29:57,765 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam.jar
INFO 29-11 19:29:57,796 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-remoting.jar
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
INFO 29-11 19:29:57,796 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
INFO 29-11 19:29:57,812 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
INFO 29-11 19:29:57,812 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
INFO 29-11 19:29:57,812 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
INFO 29-11 19:29:57,812 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-pdf.jar
INFO 29-11 19:29:57,812 (Scanner.java:scan:124) -scanning: D:\Work\Revenco\revenco-work-redhat\jboss-seam2-learn\bin\classes.java
INFO 29-11 19:29:57,812 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-debug.jar
INFO 29-11 19:29:57,812 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-mail.jar
INFO 29-11 19:29:57,812 (Initialization.java:addNamespace:771) -Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
INFO 29-11 19:29:57,812 (Initialization.java:initComponentsFromXmlDocument:129) -reading /WEB-INF/components.xml
INFO 29-11 19:29:57,843 (Initialization.java:initComponentsFromXmlDocuments:113) -reading jar:file:/D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam.jar!/META-INF/components.xml
INFO 29-11 19:29:57,859 (Initialization.java:initComponentsFromXmlDocuments:113) -reading jar:file:/D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-ioc.jar!/META-INF/components.xml
INFO 29-11 19:29:57,859 (Initialization.java:initComponentsFromXmlDocuments:113) -reading jar:file:/D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-remoting.jar!/META-INF/components.xml
INFO 29-11 19:29:57,859 (Initialization.java:initComponentsFromXmlDocuments:113) -reading jar:file:/D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-ui.jar!/META-INF/components.xml
INFO 29-11 19:29:57,859 (Initialization.java:loadFromResource:834) -reading properties from: /seam.properties
INFO 29-11 19:29:57,859 (Initialization.java:loadFromResource:834) -reading properties from: /jndi.properties
INFO 29-11 19:29:57,875 (Initialization.java:init:531) -initializing Seam
INFO 29-11 19:29:57,890 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-pdf.jar
INFO 29-11 19:29:58,046 (Scanner.java:scan:124) -scanning: D:\Work\Revenco\revenco-work-redhat\jboss-seam2-learn\bin\classes.java
INFO 29-11 19:29:58,046 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-debug.jar
INFO 29-11 19:29:58,062 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-mail.jar
INFO 29-11 19:29:58,109 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-ui.jar
INFO 29-11 19:29:58,500 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-ioc.jar
INFO 29-11 19:29:58,609 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam.jar
INFO 29-11 19:30:00,125 (Scanner.java:scan:124) -scanning: /D:/Develop/jboss/Seam/jboss-seam-2.0.0.GA/jboss-seam-2.0.0.GA/lib/jboss-seam-remoting.jar
INFO 29-11 19:30:00,500 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.transaction.transaction
INFO 29-11 19:30:00,500 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.core.locale
INFO 29-11 19:30:00,515 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.core.expressions
INFO 29-11 19:30:00,515 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.core.manager
INFO 29-11 19:30:00,515 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
INFO 29-11 19:30:00,531 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
INFO 29-11 19:30:00,531 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
INFO 29-11 19:30:00,531 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.security.identity
INFO 29-11 19:30:00,531 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.web.parameters
INFO 29-11 19:30:00,531 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
INFO 29-11 19:30:00,531 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
INFO 29-11 19:30:00,546 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.core.locale
INFO 29-11 19:30:00,546 (Initialization.java:addComponentDescriptor:452) -two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
INFO 29-11 19:30:00,578 (Component.java::245) -Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
INFO 29-11 19:30:00,609 (Initialization.java:installComponents:891) -Installing components...
INFO 29-11 19:30:00,671 (Component.java::245) -Component: database, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.EntityManagerFactory
INFO 29-11 19:30:00,687 (Component.java::245) -Component: em, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
INFO 29-11 19:30:00,703 (Component.java::245) -Component: org.jboss.seam.async.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
INFO 29-11 19:30:00,750 (Component.java::245) -Component: org.jboss.seam.captcha.captcha, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.captcha.Captcha
INFO 29-11 19:30:00,765 (Component.java::245) -Component: org.jboss.seam.captcha.captchaImage, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.captcha.CaptchaImage
INFO 29-11 19:30:00,781 (Component.java::245) -Component: org.jboss.seam.core.contexts, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
INFO 29-11 19:30:00,796 (Component.java::245) -Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
INFO 29-11 19:30:00,812 (Component.java::245) -Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
INFO 29-11 19:30:00,812 (Component.java::245) -Component: org.jboss.seam.core.conversationListFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
INFO 29-11 19:30:00,828 (Component.java::245) -Component: org.jboss.seam.core.conversationPropagation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
INFO 29-11 19:30:00,843 (Component.java::245) -Component: org.jboss.seam.core.conversationStackFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
INFO 29-11 19:30:00,859 (Component.java::245) -Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
INFO 29-11 19:30:00,875 (Component.java::245) -Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
INFO 29-11 19:30:00,890 (Component.java::245) -Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
INFO 29-11 19:30:00,906 (Component.java::245) -Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Locale
INFO 29-11 19:30:00,921 (Component.java::245) -Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
INFO 29-11 19:30:00,937 (Component.java::245) -Component: org.jboss.seam.core.pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
INFO 29-11 19:30:00,953 (Component.java::245) -Component: org.jboss.seam.core.resourceBundle, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
INFO 29-11 19:30:00,953 (Component.java::245) -Component: org.jboss.seam.core.resourceLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
INFO 29-11 19:30:00,984 (Component.java::245) -Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
INFO 29-11 19:30:00,984 (Component.java::245) -Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
INFO 29-11 19:30:01,015 (Component.java::245) -Component: org.jboss.seam.debug.hotDeployFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
INFO 29-11 19:30:01,031 (Component.java::245) -Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
INFO 29-11 19:30:01,062 (Component.java::245) -Component: org.jboss.seam.exception.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
INFO 29-11 19:30:01,078 (Component.java::245) -Component: org.jboss.seam.faces.dataModels, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
INFO 29-11 19:30:01,093 (Component.java::245) -Component: org.jboss.seam.faces.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
INFO 29-11 19:30:01,109 (Component.java::245) -Component: org.jboss.seam.faces.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
INFO 29-11 19:30:01,125 (Component.java::245) -Component: org.jboss.seam.faces.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
INFO 29-11 19:30:01,125 (Component.java::245) -Component: org.jboss.seam.faces.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
INFO 29-11 19:30:01,140 (Component.java::245) -Component: org.jboss.seam.faces.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
INFO 29-11 19:30:01,156 (Component.java::245) -Component: org.jboss.seam.faces.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
INFO 29-11 19:30:01,171 (Component.java::245) -Component: org.jboss.seam.faces.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
INFO 29-11 19:30:01,187 (Component.java::245) -Component: org.jboss.seam.faces.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
INFO 29-11 19:30:01,203 (Component.java::245) -Component: org.jboss.seam.faces.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
INFO 29-11 19:30:01,218 (Component.java::245) -Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
INFO 29-11 19:30:01,234 (Component.java::245) -Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
INFO 29-11 19:30:01,234 (Component.java::245) -Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
INFO 29-11 19:30:01,265 (Component.java::245) -Component: org.jboss.seam.graphicImage.image, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
INFO 29-11 19:30:01,281 (Component.java::245) -Component: org.jboss.seam.international.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
INFO 29-11 19:30:01,296 (Component.java::245) -Component: org.jboss.seam.international.messagesFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
INFO 29-11 19:30:01,296 (Component.java::245) -Component: org.jboss.seam.international.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
INFO 29-11 19:30:01,312 (Component.java::245) -Component: org.jboss.seam.international.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
INFO 29-11 19:30:01,328 (Component.java::245) -Component: org.jboss.seam.ioc.spring.springELResolver, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ioc.spring.SpringELResolver
INFO 29-11 19:30:01,343 (Component.java::245) -Component: org.jboss.seam.mail.mailSession, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
INFO 29-11 19:30:01,375 (Component.java::245) -Component: org.jboss.seam.navigation.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
INFO 29-11 19:30:01,390 (Component.java::245) -Component: org.jboss.seam.navigation.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
INFO 29-11 19:30:01,406 (Component.java::245) -Component: org.jboss.seam.pdf.documentStore, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.pdf.DocumentStore
INFO 29-11 19:30:01,421 (Component.java::245) -Component: org.jboss.seam.persistence.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceContexts
INFO 29-11 19:30:01,437 (Component.java::245) -Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
INFO 29-11 19:30:01,468 (Component.java::245) -Component: org.jboss.seam.remoting.gwt.gwtRemoteService, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWT14Service
INFO 29-11 19:30:01,468 (Component.java::245) -Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
INFO 29-11 19:30:01,500 (Component.java::245) -Component: org.jboss.seam.remoting.remoting, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
INFO 29-11 19:30:01,500 (Component.java::245) -Component: org.jboss.seam.security.configurationFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
INFO 29-11 19:30:01,515 (Component.java::245) -Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RuleBasedIdentity
INFO 29-11 19:30:01,531 (Component.java::245) -Component: org.jboss.seam.theme.themeFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
INFO 29-11 19:30:01,546 (Component.java::245) -Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
INFO 29-11 19:30:01,562 (Component.java::245) -Component: org.jboss.seam.transaction.synchronizations, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
INFO 29-11 19:30:01,578 (Component.java::245) -Component: org.jboss.seam.transaction.transaction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.EntityTransaction
INFO 29-11 19:30:01,593 (Component.java::245) -Component: org.jboss.seam.ui.EntityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverter
INFO 29-11 19:30:01,609 (Component.java::245) -Component: org.jboss.seam.ui.entityConverterStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverterStore
INFO 29-11 19:30:01,625 (Component.java::245) -Component: org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageResource
INFO 29-11 19:30:01,640 (Component.java::245) -Component: org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageStore
INFO 29-11 19:30:01,656 (Component.java::245) -Component: org.jboss.seam.ui.resource.styleResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.StyleResource
INFO 29-11 19:30:01,671 (Component.java::245) -Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
INFO 29-11 19:30:01,687 (Component.java::245) -Component: org.jboss.seam.web.ajax4jsfFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
INFO 29-11 19:30:01,703 (Component.java::245) -Component: org.jboss.seam.web.ajax4jsfFilterInstantiator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
INFO 29-11 19:30:01,718 (Component.java::245) -Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
INFO 29-11 19:30:01,718 (Component.java::245) -Component: org.jboss.seam.web.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
INFO 29-11 19:30:01,734 (Component.java::245) -Component: org.jboss.seam.web.loggingFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
INFO 29-11 19:30:01,750 (Component.java::245) -Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
INFO 29-11 19:30:01,765 (Component.java::245) -Component: org.jboss.seam.web.parameters, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
INFO 29-11 19:30:01,781 (Component.java::245) -Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
INFO 29-11 19:30:01,796 (Component.java::245) -Component: org.jboss.seam.web.servletContexts, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
INFO 29-11 19:30:01,812 (Component.java::245) -Component: org.jboss.seam.web.session, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.web.Session
INFO 29-11 19:30:01,828 (Component.java::245) -Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
INFO 29-11 19:30:01,828 (Component.java::245) -Component: register, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.fish.seam.regist.Register, JNDI: Register/local
INFO 29-11 19:30:01,843 (Component.java::245) -Component: user, scope: CONVERSATION, type: ENTITY_BEAN, class: org.fish.seam.regist.User
INFO 29-11 19:30:01,859 (Contexts.java:startup:303) -starting up: org.jboss.seam.ui.resource.styleResource
INFO 29-11 19:30:01,859 (Contexts.java:startup:303) -starting up: database
INFO 29-11 19:30:03,218 (Contexts.java:startup:303) -starting up: org.jboss.seam.remoting.remoting
INFO 29-11 19:30:03,218 (Contexts.java:startup:303) -starting up: org.jboss.seam.ui.graphicImage.graphicImageResource
INFO 29-11 19:30:03,218 (Contexts.java:startup:303) -starting up: org.jboss.seam.captcha.captchaImage
INFO 29-11 19:30:04,296 (Contexts.java:startup:303) -starting up: org.jboss.seam.ioc.spring.springELResolver
INFO 29-11 19:30:04,296 (Contexts.java:startup:303) -starting up: org.jboss.seam.ui.resource.webResource
INFO 29-11 19:30:04,296 (Contexts.java:startup:303) -starting up: org.jboss.seam.remoting.gwt.gwtRemoteService
INFO 29-11 19:30:04,312 (Initialization.java:init:556) -done initializing Seam
INFO 29-11 19:30:04,312 (SeamFilter.java:init:96) -Initializing filter: org.jboss.seam.web.loggingFilter
INFO 29-11 19:30:04,312 (SeamFilter.java:init:96) -Initializing filter: org.jboss.seam.web.ajax4jsfFilter
INFO 29-11 19:30:04,453 (SeamFilter.java:init:96) -Initializing filter: org.jboss.seam.web.redirectFilter
INFO 29-11 19:30:04,453 (SeamFilter.java:init:96) -Initializing filter: org.jboss.seam.web.exceptionFilter
INFO 29-11 19:30:04,453 (SeamFilter.java:init:96) -Initializing filter: org.jboss.seam.web.multipartFilter
INFO 29-11 19:30:04,453 (SeamFilter.java:init:96) -Initializing filter: org.jboss.seam.debug.hotDeployFilter
INFO 29-11 19:30:04,453 (Contexts.java:startup:303) -starting up: org.jboss.seam.web.session
INFO 29-11 19:30:04,468 (Contexts.java:startup:303) -starting up: org.jboss.seam.security.identity
WARN 29-11 19:30:04,468 (RuleBasedIdentity.java:initSecurityContext:72) -no security rule base available - please install a RuleBase with the name 'securityRules' if permission checks are required.
++++++++++++++++++++org.jboss.seam.log.LogImpl@1ca029b
INFO 29-11 19:30:04,593 (User.java:sayHello:64) -+++++++HELLO+++
+++++EM++++++++null
+++++USER++++++++null
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108844#4108844
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108844
18 years, 5 months
[JBossCache] - What replicates in JBC 1.4?
by jorgemoralespou_2
Hi,
We have a large application, with large amount of data stored in cache. For some data, we store it as nodes, for some other data, we store it as attributes, in order to find a good compromise between number of nodes, data in each node. We use SYNC_REPL to replicate data between our 2 node cluster, and use multicast for replication.
I would like to know?
For a 10000 atribute node, what data is replicating when we change on of the attributes? Is it replicating the whole node data, or only the changed attribute?
What is faster, access to a 10000 attribute node, or access to 10000 nodes single attributed?
Would REPL_ASYNC signify a performance gain?
Would the be deadlocking issues when more threads access cache. It seems our application doesn`t scale clients very well. (I have already seen http://www.jboss.com/index.html?module=bb&op=viewtopic&t=122400 which I gues will not be backported to 1.4)
Is it better to set up TCP replication?
Is there any performance tunning guide?
Thanks, like always.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108839#4108839
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108839
18 years, 5 months
[JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode
by lovelyliatroim
Just to correct my last post, it is misleading.
The first one was suppressed and the rest wasnt. I played around with the placing of setCacheModeLocal and what i discovered was that it doesnt replicate the first one when i have code like this (not shown in first snippet because i didnt think it was a factor.
| cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true);
| for(int i = 0; i <noOfItems;i++){
| Quote quote1 = new Quote(nodeName+requestCounter,"EWX","EUR");
| String path = "/quotes/"+quote1.getTreePath();
| TNode root = cache.getRoot();
| TNode child = root.addChild(path);
| cache.getInvocationContext().getOptionOverrides().setCacheModeLocal(true);
| child.put("quote", quote1);
| requestCounter++;
| }
|
If i remove the first line before the loop then everything replicates and if i move setCacheLOcal to the first line inside of the loop, that doesnt make a difference either. Weird ..........
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108834#4108834
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108834
18 years, 5 months