[JBoss Messaging] - Object attributes loosing values
by pander
Hi,
I am testing out JBOSS Messaging to see if it fits in with the new direction in which we want to take some of our applications and have been extending some of the examples to include the passing Java Objects around onto queues and topics instead of just text.
I have got 2 processes working with the "testTopic". The first process fires up first and starts listening for messages... the second process starts, fires off a message (Java Object) which the first process receives, sets a timestamp on the object using the ojects setter method and then fires the message back to onto the "testTopic" which the second process finally picks up and checks. However, despite verifying that the value has been set before sending the message back, the second process thinks that the timestamp field is null.
Am I doing something fundamentally wrong or are objects not writable or something?
Regards,
Paul.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001738#4001738
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001738
19 years, 3 months
[JBossCache] - Re: Problem with JBossCache configuration
by LGSW_Sam
Hi Manik!
I can't see anything in the log for why afterCompletion fails...
This is the first occurence in log.
| 2007-01-13 13:35:40,068 INFO [STDOUT] Creating SchedulerService
| 2007-01-13 13:35:41,221 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@3f8e3f8e
| 2007-01-13 13:35:41,239 INFO [STDOUT] SchedulerService - Starting
|
This is the second occurence.
| 2007-01-13 13:35:58,434 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
| 2007-01-13 13:35:58,434 TRACE [org.jboss.cache.interceptors.TxInterceptor] Running beforeCompletion on gtx GlobalTransaction:<192.194.71.62:41124>:1
| 2007-01-13 13:35:58,434 TRACE [org.jboss.cache.interceptors.TxInterceptor] No modifications in this tx. Skipping beforeCompletion()
| 2007-01-13 13:35:58,869 TRACE [org.jboss.cache.interceptors.TxInterceptor] calling aftercompletion for GlobalTransaction:<192.194.71.62:41124>:1
| 2007-01-13 13:35:58,869 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase. One phase? false
| 2007-01-13 13:35:58,869 TRACE [org.jboss.cache.interceptors.TxInterceptor] running commit for GlobalTransaction:<192.194.71.62:41124>:1
| 2007-01-13 13:35:58,869 DEBUG [org.jboss.cache.interceptors.OptimisticValidatorInterceptor] commiting validated changes
| 2007-01-13 13:35:58,869 TRACE [org.jboss.cache.interceptors.InvalidationInterceptor] (192.194.71.62:41124) method call commit; id:11(GlobalTransaction:<192.1
| 94.71.62:41124>:1)
| 2007-01-13 13:35:58,869 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<192.194.71.62:41124>:1
| 2007-01-13 13:35:58,869 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
| 2007-01-13 13:35:58,871 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@a000a
| 2007-01-13 13:35:58,887 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@523e523e
| 2007-01-13 13:35:58,951 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@4e884e88
| 2007-01-13 13:35:58,951 INFO [STDOUT] Starting checker....
| 2007-01-13 13:35:58,968 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@a760a76
|
This is the third occurence.
| 2007-01-13 13:35:59,548 INFO [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
| 2007-01-13 13:35:59,550 INFO [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - fi
| rst pass
| 2007-01-13 13:35:59,552 INFO [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pa
| ss
| 2007-01-13 13:35:59,594 DEBUG [Sonic Resource Adapter for JCA] Timer-13 XAResource=1456363214
| XAResourceWrapper.leaveTransaction: GlobalId=1--3f3db8c2:a43f:45a8c3c6:12f0, BranchQual=-3f3db8c2:a43f:45a8c3c6:130a
| 2007-01-13 13:35:59,607 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@2caa2caa
| 2007-01-13 13:36:01,023 TRACE [org.jboss.cache.interceptors.TxInterceptor] (192.194.71.62:41124) call on method [_get; id:26(/fi/logiasoftware/messageserver/
| config/Environment/fi.logiasoftware.messageserver.config.Environment#1, item, true)]
| 2007-01-13 13:36:01,023 TRACE [org.jboss.cache.interceptors.TxInterceptor] Creating transaction for thread Thread[Timer-14,5,jboss]
| 2007-01-13 13:36:01,026 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local transaction exists - registering global tx if not present for Thread[Timer-
| 14,5,jboss]
| 2007-01-13 13:36:01,026 TRACE [org.jboss.cache.interceptors.TxInterceptor] Associated gtx in txTable is null
|
Next two log chapters occures very often. And are nearly same each time.
| 2007-01-13 13:36:01,919 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
| 2007-01-13 13:36:01,973 TRACE [org.jboss.cache.interceptors.TxInterceptor] Running beforeCompletion on gtx GlobalTransaction:<192.194.71.62:41124>:2609
| 2007-01-13 13:36:01,974 TRACE [org.jboss.cache.interceptors.TxInterceptor] No modifications in this tx. Skipping beforeCompletion()
| 2007-01-13 13:36:01,975 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@50b050b0
| 2007-01-13 13:36:01,975 TRACE [org.jboss.cache.interceptors.TxInterceptor] calling aftercompletion for GlobalTransaction:<192.194.71.62:41124>:2609
| 2007-01-13 13:36:01,975 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase. One phase? false
| 2007-01-13 13:36:01,975 TRACE [org.jboss.cache.interceptors.TxInterceptor] running commit for GlobalTransaction:<192.194.71.62:41124>:2609
| 2007-01-13 13:36:01,975 DEBUG [org.jboss.cache.interceptors.OptimisticValidatorInterceptor] commiting validated changes
| 2007-01-13 13:36:01,975 TRACE [org.jboss.cache.interceptors.InvalidationInterceptor] (192.194.71.62:41124) method call commit; id:11(GlobalTransaction:<192.1
| 94.71.62:41124>:2609)
| 2007-01-13 13:36:01,975 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<192.194.71.62:41124>:
| 2609
| 2007-01-13 13:36:01,975 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
|
| 007-01-13 13:36:02,150 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
| 2007-01-13 13:36:02,150 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.aft
| erCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@7f547f54
| 2007-01-13 13:36:02,151 TRACE [org.jboss.cache.interceptors.TxInterceptor] (192.194.71.62:41124) call on method [_get; id:26(/fi/logiasoftware/messageserver/
| config/Customer/chains/fi.logiasoftware.messageserver.config.Customer.chains#4, item, true)]
| 2007-01-13 13:36:02,151 TRACE [org.jboss.cache.interceptors.TxInterceptor] Creating transaction for thread Thread[Timer-14,5,jboss]
| 2007-01-13 13:36:02,153 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local transaction exists - registering global tx if not present for Thread[Timer-
| 14,5,jboss]
| 2007-01-13 13:36:02,154 TRACE [org.jboss.cache.interceptors.TxInterceptor] Associated gtx in txTable is null
| 2007-01-13 13:36:02,154 TRACE [org.jboss.cache.TreeCache] created new GTX: GlobalTransaction:<192.194.71.62:41124>:2628, local TX=TransactionImple < ac, Basi
| cAction: -3f3db8c2:a43f:45a8c3c6:14e9 status: 0 >
| 2007-01-13 13:36:02,154 TRACE [org.jboss.cache.interceptors.TxInterceptor] Registering sync handler for tx TransactionImple < ac, BasicAction: -3f3db8c2:a43f
| :45a8c3c6:14e9 status: 0 >, gtx GlobalTransaction:<192.194.71.62:41124>:2628
|
Could this message relate to JBTM-182 or JBTM-183 bug?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001733#4001733
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001733
19 years, 3 months
[JBoss Seam] - Re: dataTable in two windows
by alex.kozlenkov
Using a custom PhaseListener that disables the cache completely on response refreshes the login (home) page and checks for identity.loggedIn status. Perhaps there is an easier way--don;t know at this point.
Now about another problem. I'm getting this exception[PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase.
| java.lang.IllegalStateException: No page context active
| at org.jboss.seam.core.FacesPage.instance(FacesPage.java:88)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:220)
| at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:53)(1) when I log out, (2) when I update the Seam Debug page. I know this exception has been mentioned before but can anyone comment on whether there is a fix underway.
Many thanks,
Alex
Advanced Technology Group, Betfair Limited
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001731#4001731
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001731
19 years, 3 months