[jboss-user] [JBoss Seam] - Registration example not working with SEAM-2.0.0.BETA1 and A

cfthomas do-not-reply at jboss.com
Mon Aug 20 09:50:35 EDT 2007


Hi!

I just downloaded and extracted:
JBoss Application Server 4.2.1.GA
and
JBoss SEAM 2.0.0.BETA1

then I tried running the test for example/registration:
cd examples/registration
ant testexample

I get the following error:

   [testng] [Parser] Running:
  |    [testng]   /Users/thomas/dev/jboss-seam-2.0.0.BETA1/examples/registration/src/org/jboss/seam/example/registration/test/testng.xml
  | 
  |    [testng] WARN  20-08 15:40:50,885 [org.jboss.mx.loading.UnifiedLoaderRepository3.addClassLoader():675] Tried to add non-URLClassLoader.  Ignored
  |    [testng] INFO  20-08 15:40:54,196 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():126] JBossTS Transaction Service (JTA version) - JBoss Inc.
  |    [testng] INFO  20-08 15:40:54,205 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():128] Setting up property manager MBean and JMX layer
  |    [testng] WARN  20-08 15:40:54,399 [com.arjuna.ats.arjuna.coordinator.TxControl.<clinit>():266] [com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. Using -53edfeca:c11e:46c999e6:0
  |    [testng] INFO  20-08 15:40:54,576 [com.arjuna.ats.arjuna.recovery.TransactionStatusManager.addService():110] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 49438
  |    [testng] INFO  20-08 15:40:54,604 [?.?():?] TransactionStatusManagerItem - host: 172.18.1.54 port: 49438
  |    [testng] INFO  20-08 15:40:54,648 [com.arjuna.ats.arjuna.recovery.TransactionStatusManager.start():161] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - TransactionStatusManager started on port 49438 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
  |    [testng] INFO  20-08 15:40:54,693 [?.?():?] Registering mbean for module 'arjuna'
  |    [testng] INFO  20-08 15:40:54,712 [?.?():?] Initialising JMX agent com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
  |    [testng] INFO  20-08 15:40:54,792 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():163] Starting recovery manager
  |    [testng] INFO  20-08 15:40:54,848 [?.?():?] 
  |    [testng]   --- Start RecoveryActivators 
  |    [testng] INFO  20-08 15:40:54,895 [com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple.<init>():142] [com.arjuna.ats.internal.arjuna.recovery.ready] RecoveryManagerImple is ready on port 49.439
  |    [testng] INFO  20-08 15:40:54,898 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():168] Recovery manager started
  |    [testng] INFO  20-08 15:40:54,906 [com.arjuna.ats.jbossatx.jta.TransactionManagerService.startService():191] Binding TransactionManager JNDI Reference
  |    [testng] INFO  20-08 15:41:01,836 [org.jboss.jms.server.ServerPeer.<init>():187] ServerPeer[0] creating server peer with ID 0
  |    [testng] FAILED CONFIGURATION: @BeforeClass init
  |    [testng] org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  |    [testng] *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
  | 
  |    [testng] jboss.jca:name=DefaultDS,service=DataSourceBinding
  |    [testng]  -> jboss.jca:name=DefaultDS,service=LocalTxCM{Create:Configured}
  |    [testng]  -> jboss.jca:name=DefaultDS,service=LocalTxCM{Start:Configured}
  | 
  |    [testng] jboss.jca:name=DefaultDS,service=LocalTxCM
  |    [testng]  -> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Create:Configured}
  |    [testng]  -> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Start:Configured}
  | 
  |    [testng] jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
  |    [testng]  -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Start:** NOT FOUND **}
  |    [testng]  -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Create:** NOT FOUND **}
  | 
  |    [testng] jboss.jca:name=DefaultDS,service=ManagedConnectionPool
  |    [testng]  -> jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Create:Configured}
  |    [testng]  -> jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Start:Configured}
  | 
  |    [testng] jboss.jca:name=JmsXA,service=DataSourceBinding
  |    [testng]  -> jboss.jca:name=JmsXA,service=TxCM{Start:Configured}
  |    [testng]  -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
  | 
  |    [testng] jboss.jca:name=JmsXA,service=ManagedConnectionFactory
  |    [testng]  -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Create:** NOT FOUND **}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Start:** NOT FOUND **}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  | 
  |    [testng] jboss.jca:name=JmsXA,service=ManagedConnectionPool
  |    [testng]  -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Start:Configured}
  |    [testng]  -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
  | 
  |    [testng] jboss.jca:name=JmsXA,service=TxCM
  |    [testng]  -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
  |    [testng]  -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Start:Configured}
  | 
  |    [testng] jboss.messaging.connectionfactory:service=ConnectionFactory
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=DLQ,service=Queue
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=ExpiryQueue,service=Queue
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=PrivateDLQ,service=Queue
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=PrivateExpiryQueue,service=Queue
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=QueueWithOwnDLQAndExpiryQueue,service=Queue
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=QueueWithOwnRedeliveryDelay,service=Queue
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=TopicWithOwnDLQAndExpiryQueue,service=Topic
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  | 
  |    [testng] jboss.messaging.destination:name=TopicWithOwnRedeliveryDelay,service=Topic
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PostOffice{Start:Configured}
  | 
  |    [testng] jboss.messaging:service=JMSUserManager
  |    [testng]  -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
  |    [testng]  -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
  | 
  |    [testng] jboss.messaging:service=PersistenceManager
  |    [testng]  -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
  |    [testng]  -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
  | 
  |    [testng] jboss.messaging:service=PostOffice
  |    [testng]  -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
  |    [testng]  -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  | 
  |    [testng] jboss.messaging:service=ServerPeer
  |    [testng]  -> jboss.messaging:service=PersistenceManager{Start:Configured}
  |    [testng]  -> jboss.messaging:service=JMSUserManager{Start:Configured}
  |    [testng]  -> jboss.messaging:service=JMSUserManager{Create:Configured}
  |    [testng]  -> jboss.messaging:service=PersistenceManager{Create:Configured}
  | 
  |    [testng] jboss.mq:service=DestinationManager
  |    [testng]  -> jboss.messaging:service=ServerPeer{Start:Configured}
  |    [testng]  -> jboss.messaging:service=ServerPeer{Create:Configured}
  | 
  | 
  |    [testng] *** CONTEXTS IN ERROR: Name -> Error
  | 
  |    [testng] jboss.jca:name='jms-ra.rar',service=RARDeployment -> ** NOT FOUND **
  | 
  |    [testng] jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment -> ** NOT FOUND **
  | 
  | 
  |    [testng]     at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144)
  |    [testng]     at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169)
  |    [testng]     at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |    [testng]     at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |    [testng]     at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
  |    [testng]     at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856)
  |    [testng]     at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |    [testng] ... Removed 22 stack frames
  |    [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |    [testng] SKIPPED CONFIGURATION: @AfterMethod end
  |    [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |    [testng] SKIPPED: testLogin
  | 
  |    [testng] ===============================================
  |    [testng]     Register
  |    [testng]     Tests run: 1, Failures: 0, Skips: 1
  |    [testng]     Configuration Failures: 1, Skips: 3
  |    [testng] ===============================================
  | 
  | 
  |    [testng] ===============================================
  |    [testng] Registration
  |    [testng] Total tests run: 1, Failures: 0, Skips: 1
  |    [testng] Configuration Failures: 1, Skips: 3
  |    [testng] ===============================================
  | 
  | 
  | BUILD SUCCESSFUL
  | Total time: 21 seconds
  | 

I'm currently evaluating JBoss Seam should I choose Seam 1.x or do I need AS 4.0?

Thank you,

Thomas

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075853#4075853

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075853



More information about the jboss-user mailing list