[JBoss JIRA] Created: (JBESB-250) Listeners fail after a lengthy period of being active.
by Mark Little (JIRA)
Listeners fail after a lengthy period of being active.
------------------------------------------------------
Key: JBESB-250
URL: http://jira.jboss.com/jira/browse/JBESB-250
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ESB Core
Reporter: Mark Little
Assigned To: Kevin Conner
Fix For: 4.0
>From Burr:
"It is really simple, when a service is auto-reloaded via its parameterReloadSecs="10" attribute in the esb-config.xml it sometimes fails to properly go through the self-registration process with the registry. Unfortunately it is not consistent.
We'll just need to leave a few listeners running some place to see how they behave over time."
>From Kurt:
"I see this in the logs when it reloads the config (sometimes):
[JmsQueueListener] Unregistering this EPR done: creditagency
[java] 14:36:10,880 DEBUG [SocketManager] End ReadTask.run
[java] 14:36:10,880 DEBUG [UILClientILService] Stopping
[java] 14:36:10,880 DEBUG [SocketManager] End WriteTask.run
[java] 14:36:10,927 INFO [JmsQueueListener] Unregistering this EPR done: creditagency
[java] 14:36:10,942 DEBUG [SocketManager] End ReadTask.run
[java] 14:36:10,942 DEBUG [UILClientILService] Stopping
[java] 14:36:10,942 DEBUG [SocketManager] End WriteTask.run
[java] 14:36:19,348 INFO [JmsQueueListener] Unregistering this EPR, we're going to reload: creditagency
so it goes to unregister twice.. the second time we get a stacktrace, since it's already gone. Do we have more then 1 JmsQueueListener thread??"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (JBCACHE-861) JDBC tests failing on the packaged distribution
by Rajesh Rajasekaran (JIRA)
JDBC tests failing on the packaged distribution
-----------------------------------------------
Key: JBCACHE-861
URL: http://jira.jboss.com/jira/browse/JBCACHE-861
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.ALPHA1
Reporter: Rajesh Rajasekaran
Assigned To: Manik Surtani
Fix For: 2.0.0.ALPHA1
The following tests which involve Derby database are failing on the packaged distribution.
Build JBossCache-all-2.0.0.ALPHA1.zip
Unzip and run the following tests.
1.)
org.jboss.cache.loader.JDBCCacheLoaderDerbyDSTest
java:/DerbyDS not bound
junit.framework.AssertionFailedError: java:/DerbyDS not bound at org.jboss.cache.loader.JDBCCacheLoaderDerbyDSTest.configureCache(JDBCCacheLoaderDerbyDSTest.java:49) at org.jboss.cache.loader.CacheLoaderTestsBase.setUp(CacheLoaderTestsBase.java:72)
2.)
org.jboss.cache.loader.JDBCCacheLoaderTest
org.jboss.cache.passivation.PassivationToJDBCCacheLoaderTest
org.jboss.cache.statetransfer.StateTransfer200Test
Failed to load driver null: null
java.lang.IllegalStateException: Failed to load driver null: null at org.jboss.cache.loader.JDBCCacheLoader.loadDriver(JDBCCacheLoader.java:945) at org.jboss.cache.loader.JDBCCacheLoader.start(JDBCCacheLoader.java:479) at org.jboss.cache.loader.CacheLoaderManager.startCacheLoader(CacheLoaderManager.java:328) at org.jboss.cache.TreeCache.start(TreeCache.java:750) at org.jboss.cache.loader.CacheLoaderTestsBase.setUp(CacheLoaderTestsBase.java:73)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (JBCACHE-895) ClassCastException in GlobalTransaction#equals()
by Stas Chizhov (JIRA)
ClassCastException in GlobalTransaction#equals()
------------------------------------------------
Key: JBCACHE-895
URL: http://jira.jboss.com/jira/browse/JBCACHE-895
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.ALPHA1
Reporter: Stas Chizhov
Assigned To: Manik Surtani
Looks like GobalTransaction semantics allows addr property to be null.
GlobalTransaction#compareTO(other) method (used by equals()) handles this.adrr == null situation, but does not check for other.adrr == null.
Here is corresponding line from from GlobalTransaction#compareTO()
comp=addr != null ? addr.compareTo(other.addr) : 0;
Nearly any Adress#comapreTO() implementation treats null as illegal argument.
IpAdress#compareTO() for instance throws ClassCastException in this case.
So if globalTransaction1.addr!= null & globalTransaction2.addr==null globaltransaction1.equals(globalTransaction2) will fail with ClassCastException,
but globaltransaction2.equals(globalTransaction1) will not.
We observe this issue running JBoss 4.0.2 with default JBossCache and JGroups under following conditions:
1) Have 2 JBoss nodes being put under moderate transaction rate
2) have 1 node paused inside a transaction (either manually via debugger or long GC pause) for a time greater then JGroups FD timeout.
After cluster node rejoin we observe this issue in logs:
Caused by: java.lang.ClassCastException: IpAddress.compareTo(): comparison between different classes
at org.jgroups.stack.IpAddress.compareTo(IpAddress.java:134)
at org.jboss.cache.GlobalTransaction.compareTo (GlobalTransaction.java:72)
at org.jboss.cache.GlobalTransaction.equals(GlobalTransaction.java:63
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months