[Fwd: Build failed in Hudson: JBoss-AS-5.1.x-testSuite-sun15 #214]
by Brian Stansberry
The $subject testsuite run is the second time in the last few testsuite
runs where the process for one of the AS instances being tested seems to
have failed. If you look at the forwarded email below, the testsuite
fails because when it tries to stop an AS instance the AS isn't running.
Logs from the problematic AS show it just stops logging without any error.
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/214/...
Same thing happened on run 212, with the logging from the failed node
ending in the same place:
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/212/...
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/212/...
The failure occurs during the startup of a second node in the cluster.
JGroups on the other node detects the process failure via its FD_SOCK
failure detection protocol. From logging on the other node, I can
estimate that the first node fails as the startup of the second node is
doing the following:
2009-04-19 07:37:58,984 WARN
[org.jboss.annotation.factory.AnnotationCreator] (main) No ClassLoader
provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
2009-04-19 07:38:41,917 DEBUG [org.jboss.system.ServiceController]
(main) Registering service jboss:service=TransactionManager
2009-04-19 07:38:41,920 DEBUG
[org.jboss.system.microcontainer.jmx.ServiceControllerRegistrationLifecycleCallback]
(main) Registered MBean jboss:service=TransactionManager
2009-04-19 07:38:41,921 INFO
[com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) JBossTS
Transaction Service (JTA version) - JBoss Inc.
2009-04-19 07:38:41,921 INFO
[com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Setting
up property manager MBean and JMX layer
2009-04-19 07:38:42,178 DEBUG
[com.arjuna.ats.arjuna.logging.arjLoggerI18N] (main)
[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting
service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
Jonathan, can you think of anything that goes on in there that might
cause another AS process running on the same machine to crash?
- Brian
-------- Original Message --------
Subject: Build failed in Hudson: JBoss-AS-5.1.x-testSuite-sun15 #214
Date: Sun, 19 Apr 2009 14:28:05 -0400 (EDT)
From: jboss-qa-internal(a)redhat.com
To: builds(a)lists.jboss.org
References:
<6220184.2541240150286182.JavaMail.hudson(a)soa8.qa.atl2.redhat.com>
See
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/214/...
Changes:
[smcgowan(a)redhat.com] JBAS-6773 - comment out test case temporarily
------------------------------------------
[...truncated 20485 lines...]
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.364 sec
[server:stop] Shutting down server: springdeployer
[server:stop] shutdownTimeout will be=45
[server:stop] Server stopped.
tests-clustering-all-stacks:
tests-clustering:
tests-clustering-configure:
[echo] creating cluster-udp-0 config,
jboss.dist=http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite...
[copy] Copying 571 files to
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
[copy] Copied 150 empty directories to 3 empty directories under
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
[echo] Overwriting config descriptors
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
[echo] creating cluster-udp-1 config,
jboss.dist=http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite...
[copy] Copying 571 files to
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
[copy] Copied 150 empty directories to 3 empty directories under
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
[echo] Overwriting config descriptors
[copy] Copying 1 file to
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
[server:start] Starting server "cluster-udp-0", with command (start
timeout is 240 seconds ):
[server:start] /qa/tools/opt/jdk1.5.0_15/bin/java -cp
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
:/qa/tools/opt/jdk1.5.0_15/lib/tools.jar -Xms128m -Xmx512m
-XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError
-Djava.net.preferIPv4Stack=true
-Djava.endorsed.dirs=http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/JBossAS_5_x/build/output/jboss-5.1.0.CR1/lib/endorsed
-Dresolve.dns=false -Djgroups.udp.ip_ttl=0
-Djboss.messaging.ServerPeerID=0 -Dnode0.bind.address=10.16.92.188
-Djboss.partition.name=DefaultPartition
-Dxb.builder.useUnorderedSequence=true
-Djboss.server.log.threshold=DEBUG org.jboss.Main -c cluster-udp-0 -b
10.16.92.188 -g DefaultPartition -u 227.43.89.11
[server:start] Server started.
[server:start] Starting server "cluster-udp-1", with command (start
timeout is 240 seconds ):
[server:start] /qa/tools/opt/jdk1.5.0_15/bin/java -cp
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
:/qa/tools/opt/jdk1.5.0_15/lib/tools.jar -Xms128m -Xmx512m
-XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError
-Djava.net.preferIPv4Stack=true
-Djava.endorsed.dirs=http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/JBossAS_5_x/build/output/jboss-5.1.0.CR1/lib/endorsed
-Dresolve.dns=false -Djgroups.udp.ip_ttl=0
-Djboss.messaging.ServerPeerID=1 -Dnode0.bind.address=10.16.92.188
-Djboss.partition.name=DefaultPartition
-Dxb.builder.useUnorderedSequence=true
-Djboss.server.log.threshold=DEBUG org.jboss.Main -c cluster-udp-1 -b
10.16.92.189 -g DefaultPartition -u 227.43.89.11
[server:start] Server started.
[echo] Going to call target tests-clustering-unit for non-HTTP tests
tests-clustering-unit:
[junit] Running
org.jboss.test.cluster.defaultcfg.ejb2.test.CrossServerCallsUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.101 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.ejb2.test.CrossServerCallsUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.ejb2.test.PackagedSessionImplUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.149 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.ejb2.test.PooledHAUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.084 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.ejb2.test.PooledHAUnitTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.ejb2.test.RetryInterceptorUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.547 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.ejb2.test.RetryInterceptorUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.ejb2.test.SingleRetryInterceptorUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.503 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.ejb2.test.SingleRetryInterceptorUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.AttributeBasedMaxUnreplicatedIntervalTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 27.368 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.BuddyReplicationFailoverUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 9.578 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.BuddyReplicationToPassivatedSessionUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 9.033 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.ClusteredSessionNotificationPolicyTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 15.976 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.FieldBasedMaxUnreplicatedIntervalTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 45.332 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.JBossCacheManagerConfigurationUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.778 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.JvmRouteValveUnitTestCase
[junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 0.16 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.ReplicationToPassivatedSessionUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 9.114 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionBasedMaxUnreplicatedIntervalTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 21.14 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionCountUnitTestCase
[junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 87.508 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.SessionExpirationUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.931 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.SetNewSessionCookieUnitTestCase
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.551 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.simpleweb.test.TreeCacheSSOClusterManagerUnitTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 11.68 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.CacheManagerUnitTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 39.574 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.ClusterPartitionManagedObjectsTestCase
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 5.088 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.ClusterPartitionManagedObjectsTestCase
FAILED
[junit] Running org.jboss.test.cluster.defaultcfg.test.DRMTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.085 sec
[junit] Test org.jboss.test.cluster.defaultcfg.test.DRMTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HAInvokerUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.082 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.HAInvokerUnitTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HAServiceMBeanSupportUnitTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.435 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HAServiceUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.092 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.HAServiceUnitTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HASingletonControllerBeanUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.093 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.HASingletonControllerBeanUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HASingletonControllerUnitTestCase
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.398 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HASingletonDeployerTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.118 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.HASingletonDeployerTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HASingletonElectionPolicyTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.095 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.HASingletonElectionPolicyTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HASingletonSupportUnitTestCase
[junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.56 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.HASingletonUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.097 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.HASingletonUnitTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.JChannelFactoryClassLoaderLeakTestCase
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 39.299 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.JChannelFactoryUnitTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 8.048 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.JRMPInvokerHaTransactionStickyUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.045 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.JRMPInvokerHaUnitTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.303 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.LookupSucceededFilterUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.383 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.PartitionRestartUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.095 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.PartitionRestartUnitTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.PreferredMasterElectionPolicyUnitTestCase
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.414 sec
[junit] Running org.jboss.test.cluster.defaultcfg.test.RPCTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.095 sec
[junit] Test org.jboss.test.cluster.defaultcfg.test.RPCTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.ReadWriteClusteredLockManagerUnitTestCase
[junit] Tests run: 20, Failures: 1, Errors: 0, Time elapsed: 0.645 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.ReadWriteClusteredLockManagerUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.TruthfulResponseFilterUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.085 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.TruthfulResponseFilterUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.test.UnifiedInvokerHaTransactionStickyUnitTestCase
[junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.454 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.UnifiedInvokerHaUnitTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 3.174 sec
[junit] Running
org.jboss.test.cluster.defaultcfg.test.YieldingGloballyExclusiveClusterLockSupportUnitTestCase
[junit] Tests run: 15, Failures: 1, Errors: 0, Time elapsed: 0.849 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.test.YieldingGloballyExclusiveClusterLockSupportUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.multicfg.ejb2.test.BeanUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.087 sec
[junit] Test
org.jboss.test.cluster.multicfg.ejb2.test.BeanUnitTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.ejb2.test.CacheInvalidationUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.491 sec
[junit] Test
org.jboss.test.cluster.multicfg.ejb2.test.CacheInvalidationUnitTestCase
FAILED
[junit] Running
org.jboss.test.cluster.multicfg.ejb2.test.StatefulPassivationExpirationUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.091 sec
[junit] Test
org.jboss.test.cluster.multicfg.ejb2.test.StatefulPassivationExpirationUnitTestCase
FAILED
[junit] Running org.jboss.test.cluster.multicfg.test.DRMTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.098 sec
[junit] Test org.jboss.test.cluster.multicfg.test.DRMTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.test.DistributedStateTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.085 sec
[junit] Test
org.jboss.test.cluster.multicfg.test.DistributedStateTestCase FAILED
[junit] Running org.jboss.test.cluster.multicfg.test.HAJndiTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.141 sec
[junit] Test org.jboss.test.cluster.multicfg.test.HAJndiTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.test.HAPartitionStateTransferTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.09 sec
[junit] Test
org.jboss.test.cluster.multicfg.test.HAPartitionStateTransferTestCase FAILED
[echo] Going to call target tests-clustering-unit for HTTP tests
(ASYNC, no BR)
tests-clustering-unit:
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.AttributeBasedSessionPassivationTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.081 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.AttributeBasedSessionPassivationTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.CleanShutdownTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.086 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.CleanShutdownTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.CrossContextCallsTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.093 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.CrossContextCallsTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.ScopedSetAttributeTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.151 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.ScopedSetAttributeTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.ScopedSetTriggerTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.104 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.ScopedSetTriggerTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.SessionEventTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.09 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.SessionEventTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.SessionPassivationTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.125 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.SessionPassivationTestCase FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.test.SessionTimestampTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.084 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.test.SessionTimestampTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.web.test.ScopedAttrBasedTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.082 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.test.ScopedAttrBasedTestCase FAILED
[junit] Running org.jboss.test.cluster.multicfg.web.test.ScopedTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.093 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.test.ScopedTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.web.test.UndeployAttrTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.095 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.test.UndeployAttrTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.web.test.UndeployTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.091 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.test.UndeployTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.web.test.WebSessionTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.12 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.test.WebSessionTestCase FAILED
[echo] Going to call target tests-clustering-unit again for FIELD
granularity tests (ASYNC, no BR)
tests-clustering-unit:
[junit] Running
org.jboss.test.cluster.defaultcfg.web.field.test.FieldBasedSessionPassivationTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.087 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.field.test.FieldBasedSessionPassivationTestCase
FAILED
[junit] Running
org.jboss.test.cluster.defaultcfg.web.field.test.ScopedFieldBasedTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.09 sec
[junit] Test
org.jboss.test.cluster.defaultcfg.web.field.test.ScopedFieldBasedTestCase
FAILED
[junit] Running
org.jboss.test.cluster.multicfg.web.field.test.FieldBasedTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.094 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.field.test.FieldBasedTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.web.field.test.StateTransferTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.093 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.field.test.StateTransferTestCase FAILED
[junit] Running
org.jboss.test.cluster.multicfg.web.field.test.UndeployFieldTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 5.094 sec
[junit] Test
org.jboss.test.cluster.multicfg.web.field.test.UndeployFieldTestCase FAILED
BUILD FAILED
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
:984: The following error occurred while executing this line:
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
:105: The following error occurred while executing this line:
http://hudson.qa.jboss.com/hudson/job/JBoss-AS-5.1.x-testSuite-sun15/ws/J...
:186: java.lang.IllegalArgumentException: The cluster-udp-0 is not
running; it cannot be stopped.
Total time: 92 minutes 42 seconds
Testsuite shutdown hook found server "cluster-udp-1" still running;
stopping it.
Shutting down server: cluster-udp-1
shutdownTimeout will be=45
Server stopped.
+ BSTATUS=1
+ [[ 1 -ne 0 ]]
+ kill-jboss
++ uname -s
+ [[ Linux == \L\i\n\u\x ]]
+ ps -eaf --columns 2200
+ grep run.jar
+ grep -v grep
+ xargs kill
+ awk '{ print $2; }'
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ sleep 10
+ ps -eaf --columns 2200
+ grep run.jar
+ awk '{ print $2; }'
+ xargs kill -9
+ grep -v grep
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
+ return 0
+ exit 1
[JBoss-AS-5.1.x-testSuite-sun15] $ bash -xe
/tmp/hudson4413367244263230487.sh
+ kill 9407
Recording test results
_______________________________________________
builds mailing list
builds(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/builds
--
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
brian.stansberry(a)redhat.com
15 years, 8 months
Re[JBoss-dev] mote connection to JBoss using RMIAdapter
by Lipsy
Hi,
I am trying to make connection to the JBoss JMX service, JBoss is running on
different machine than my host but in the same network.
Trying to use RMIAdapter to connect.
Follwoing is code I am trying:
String providerUrl = "remote_host_name:1099";
Properties p = new Properties();
p.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
p.setProperty(Context.URL_PKG_PREFIXES,
"org.jboss.naming:org.jnp.interfaces");
p.setProperty(Context.PROVIDER_URL, providerUrl);
p.setProperty(Context.SECURITY_PRINCIPAL, "admin");
p.setProperty(Context.SECURITY_CREDENTIALS, "admin");
InitialContext ic = new InitialContext(p);
MBeanServerConnection server = (MBeanServerConnection)
ic.lookup("jmx/invoker/RMIAdaptor");
System.out.println("server "+server);
ObjectName Oname = new ObjectName("jboss.system:type=ServerInfo");
System.out.println("Host name: " + server.getAttribute(Oname,
"HostName"));
But I get follwoing exception:
server org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy@82c01f
java.lang.SecurityException: Failed to authenticate principal=null,
securityDomain=WebSdkWebRealm
at
org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:97)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
at
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
at
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy1.getAttribute(Unknown Source)
at com.bmc.java.TestJbossConnection.connect(TestJbossConnection.java:38)
at com.bmc.java.TestJbossConnection.main(TestJbossConnection.java:103)
If the JBoss server is running on my host machine, then this works. I get
the server information.
Does any one know what am I missing here.
>From the exception stack it looks like I should pass the proper credentials.
But I haven't set any credentials for the JBoss server.
Please help.
Thanks in advance!
--
View this message in context: http://www.nabble.com/Remote-connection-to-JBoss-using-RMIAdapter-tp23138...
Sent from the JBoss - Dev mailing list archive at Nabble.com.
15 years, 8 months
HowTo parameterize your docbook
by Thomas Diesler
Folks,
If you are interested in a solution to
Parameterized docbook sources
https://jira.jboss.org/jira/browse/MPJDOCBOOK-30
here is how JBossOSGi does it:
In you pom add
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>create</goal>
</goals>
<configuration>
<format>{0,date,dd-MMM-yyyy}</format>
<items>
<item>timestamp</item>
</items>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/docbook/resources</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
in src/main/resources/bookinfo.xml put
<bookinfo>
<title>JBossOSGi - User Guide</title>
<releaseinfo>Version: ${version}</releaseinfo>
<pubdate>Date: ${buildNumber}</pubdate>
</bookinfo>
in my master.xml put
<book lang="en" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="../target/docbook/resources/bookinfo.xml"/>
<toc/>
<xi:include href="modules/introduction.xml"/>
<xi:include href="modules/gettingstarted.xml"/>
<xi:include href="modules/frameworkintegration.xml"/>
<xi:include href="modules/devguide.xml"/>
<xi:include href="modules/providedservices.xml"/>
<xi:include href="modules/references.xml"/>
<xi:include href="modules/gettingsupport.xml"/>
</book>
This includes the filtered bookinfo from target/docbook/resources
May this be useful
-thomas
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss, a division of Red Hat
2009 Red Hat Summit and JBoss World.
Chicago. September 1-4, 2009.
http://www.redhat.com/summit
http://www.jbossworld.com
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
15 years, 8 months
Thread safety problems
by David M. Lloyd
When writing an API or SPI it is absolutely critical that all the elements
of that API or SPI are thoroughly documented with any information related
to the thread safety (or lack thereof) of that element. We have a great
deal of code (and I'm talking critical, core stuff) out there with little
or no javadoc at all, let alone thread safety information in said
documentation. This creates the possibility for situations like SPIs which
can end up being implemented with completely wrong thread safety semantics,
basically leaving time bombs in the code. See
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226025 for one
recent example.
We still have way too much code doing double-checked locking, or using
locks in strange or non-optimal ways, or using thread interruption wrong,
or making wrong assumptions about the JMM. Own and read this book:
http://jcip.net/ - don't think you understand concurrency until you have
done so - seriously.
Thread interruption in particular is easy to do right. When handling
InterruptedException, you basically have two choices. Either rethrow it
*directly* (absolutely no re-wrapping allowed!), or re-set the thread
interrupt status (either way, there's no need to log the exception - that
will just lead to noise). If you do the latter, you have a choice as to
whether you want to cancel or short-circuit the current operation (which
should be done in as sane and predictable a way as possible - don't just
blow up with a RuntimeException!), or complete what you're doing.
Interruption happens guys, that's how thread pools are usually shut down
and tasks (which your code may be a part of) are cancelled.
- DML
15 years, 8 months
java merge frmwrk/alg
by Ales Justin
Anyone ever came across any Java (OSS) merging framework / algorithm?
e.g. similar to "svn merge"
15 years, 8 months
Hibernate, wherefore art thou?
by Johnson, Peter
Has anyone noticed that http://www.hibernate.org no longer exists? The natives are getting restless http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226265
Peter Johnson | Consulting Engineer | Java and Open Source - PDT - S&T
Unisys | 25725 Jeronimo Road | Mission Viejo, CA 92691 | 949-380-6433 (n2 656-6433)
Unisys
imagine it. done.
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
15 years, 8 months