[jboss-user] [JBoss Seam] - Test Case Seam application
urswag
do-not-reply at jboss.com
Tue Aug 7 08:43:34 EDT 2007
Hallo
I would like to write a Seam Test Cases.
I am using JBoss 4.2.0 with jdk1.6.0.
I have copied the bootstrap directory from jboss-seam-2.0.0.BETA1
to the classpath of ant task.
What I receive is this testng-results.xml content.
I think this cannot an user error.
Thanks
|
| <testng-results>
| <reporter-output>
| </reporter-output>
| <suite name="ATIRAS">
| <groups>
| </groups>
| <test name="Login">
| <class name="com.frox.atirasafnetz.test.LoginTest">
| <test-method status="SKIP" signature="testLogin()" name="testLogin" duration-ms="0" started-at="2007-08-07T14:40:54Z" finished-at="2007-08-07T14:40:54Z">
| </test-method>
| <test-method status="SKIP" signature="end()" name="end" is-config="true" duration-ms="0" started-at="2007-08-07T14:40:54Z" finished-at="2007-08-07T14:40:54Z">
| </test-method>
| <test-method status="SKIP" signature="testComponent()" name="testComponent" duration-ms="0" started-at="2007-08-07T14:40:54Z" finished-at="2007-08-07T14:40:54Z">
| </test-method>
| <test-method status="FAIL" signature="init()" name="init" is-config="true" duration-ms="0" started-at="2007-08-07T14:40:45Z" finished-at="2007-08-07T14:40:45Z">
| <exception class="org.jboss.deployers.spi.IncompleteDeploymentException">
| <message>
| <![CDATA[Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
|
| jboss.jca:name=DefaultDS,service=DataSourceBinding
| -> jboss.jca:name=DefaultDS,service=LocalTxCM{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=LocalTxCM{Start:Configured}
|
| jboss.jca:name=DefaultDS,service=LocalTxCM
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Start:Configured}
|
| jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
| -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Start:** NOT FOUND **}
| -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Create:** NOT FOUND **}
|
| jboss.jca:name=DefaultDS,service=ManagedConnectionPool
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Start:Configured}
|
| jboss.jca:name=JmsXA,service=DataSourceBinding
| -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
| -> jboss.jca:name=JmsXA,service=TxCM{Start:Configured}
|
| jboss.jca:name=JmsXA,service=ManagedConnectionFactory
| -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Start:** NOT FOUND **}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Create:** NOT FOUND **}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.jca:name=JmsXA,service=ManagedConnectionPool
| -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
| -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Start:Configured}
|
| jboss.jca:name=JmsXA,service=TxCM
| -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
| -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Start:Configured}
|
| jboss.messaging.connectionfactory:service=ConnectionFactory
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging.destination:name=DLQ,service=Queue
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
|
| jboss.messaging.destination:name=ExpiryQueue,service=Queue
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
| jboss.messaging.destination:name=PrivateDLQ,service=Queue
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
| jboss.messaging.destination:name=PrivateExpiryQueue,service=Queue
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
| jboss.messaging.destination:name=QueueWithOwnDLQAndExpiryQueue,service=Queue
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging.destination:name=QueueWithOwnRedeliveryDelay,service=Queue
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
|
| jboss.messaging.destination:name=TopicWithOwnDLQAndExpiryQueue,service=Topic
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging.destination:name=TopicWithOwnRedeliveryDelay,service=Topic
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging:service=JMSUserManager
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
|
| jboss.messaging:service=PersistenceManager
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
|
| jboss.messaging:service=PostOffice
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
|
| jboss.messaging:service=ServerPeer
| -> jboss.messaging:service=JMSUserManager{Start:Configured}
| -> jboss.messaging:service=PersistenceManager{Start:Configured}
| -> jboss.messaging:service=JMSUserManager{Create:Configured}
| -> jboss.messaging:service=PersistenceManager{Create:Configured}
|
| jboss.mq:service=DestinationManager
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| jboss.jca:name='jms-ra.rar',service=RARDeployment -> ** NOT FOUND **
|
| jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment -> ** NOT FOUND **
|
| ]]>
| </message>
| <full-stacktrace>
| <![CDATA[org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
|
| jboss.jca:name=DefaultDS,service=DataSourceBinding
| -> jboss.jca:name=DefaultDS,service=LocalTxCM{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=LocalTxCM{Start:Configured}
|
| jboss.jca:name=DefaultDS,service=LocalTxCM
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionPool{Start:Configured}
|
| jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
| -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Start:** NOT FOUND **}
| -> jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment{Create:** NOT FOUND **}
|
| jboss.jca:name=DefaultDS,service=ManagedConnectionPool
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=ManagedConnectionFactory{Start:Configured}
|
| jboss.jca:name=JmsXA,service=DataSourceBinding
| -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
| -> jboss.jca:name=JmsXA,service=TxCM{Start:Configured}
|
| jboss.jca:name=JmsXA,service=ManagedConnectionFactory
| -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Start:** NOT FOUND **}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.jca:name='jms-ra.rar',service=RARDeployment{Create:** NOT FOUND **}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.jca:name=JmsXA,service=ManagedConnectionPool
| -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
| -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Start:Configured}
|
| jboss.jca:name=JmsXA,service=TxCM
| -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
| -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Start:Configured}
|
| jboss.messaging.connectionfactory:service=ConnectionFactory
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging.destination:name=DLQ,service=Queue
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
|
| jboss.messaging.destination:name=ExpiryQueue,service=Queue
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
| jboss.messaging.destination:name=PrivateDLQ,service=Queue
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
| jboss.messaging.destination:name=PrivateExpiryQueue,service=Queue
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
|
| jboss.messaging.destination:name=QueueWithOwnDLQAndExpiryQueue,service=Queue
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging.destination:name=QueueWithOwnRedeliveryDelay,service=Queue
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
|
| jboss.messaging.destination:name=TopicWithOwnDLQAndExpiryQueue,service=Topic
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging.destination:name=TopicWithOwnRedeliveryDelay,service=Topic
| -> jboss.messaging:service=ServerPeer{Start:Configured}
| -> jboss.messaging:service=PostOffice{Create:Configured}
| -> jboss.messaging:service=PostOffice{Start:Configured}
| -> jboss.messaging:service=ServerPeer{Create:Configured}
|
| jboss.messaging:service=JMSUserManager
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
|
| jboss.messaging:service=PersistenceManager
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
|
| jboss.messaging:service=PostOffice
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Start:Configured}
| -> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
|
| jboss.messaging:service=ServerPeer
| -> jboss.messaging:service=JMSUserManager{Start:Configured}
| -> jboss.messaging:service=PersistenceManager{Start:Configured}
| -> jboss.messaging:service=JMSUserManager{Create:Configured}
| -> jboss.messaging:service=PersistenceManager{Create:Configured}
|
| jboss.mq:service=DestinationManager
| -> jboss.messaging:service=ServerPeer{Create:Configured}
| -> jboss.messaging:service=ServerPeer{Start:Configured}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| jboss.jca:name='jms-ra.rar',service=RARDeployment -> ** NOT FOUND **
|
| jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment -> ** NOT FOUND **
|
|
| at org.jboss.embedded.Bootstrap.checkIncomplete(Bootstrap.java:144)
| at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:169)
| at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
| at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
| at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
| at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:856)
| at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
| 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
| at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
| at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
| at org.testng.TestRunner.runWorkers(TestRunner.java:678)
| at org.testng.TestRunner.privateRun(TestRunner.java:624)
| at org.testng.TestRunner.run(TestRunner.java:495)
| at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
| at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
| at org.testng.SuiteRunner.run(SuiteRunner.java:190)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
| at org.testng.TestNG.run(TestNG.java:699)
| at org.testng.TestNG.privateMain(TestNG.java:824)
| at org.testng.TestNG.main(TestNG.java:802)
| ]]>
| </full-stacktrace>
| </exception>
| </test-method>
| <test-method status="SKIP" signature="begin()" name="begin" is-config="true" duration-ms="0" started-at="2007-08-07T14:40:54Z" finished-at="2007-08-07T14:40:54Z">
| </test-method>
| <test-method status="SKIP" signature="begin()" name="begin" is-config="true" duration-ms="0" started-at="2007-08-07T14:40:54Z" finished-at="2007-08-07T14:40:54Z">
| </test-method>
| <test-method status="SKIP" signature="end()" name="end" is-config="true" duration-ms="0" started-at="2007-08-07T14:40:54Z" finished-at="2007-08-07T14:40:54Z">
| </test-method>
| <test-method status="SKIP" signature="cleanup()" name="cleanup" is-config="true" duration-ms="0" started-at="2007-08-07T14:40:54Z" finished-at="2007-08-07T14:40:54Z">
| </test-method>
| </class>
| </test>
| </suite>
| </testng-results>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071575#4071575
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071575
More information about the jboss-user
mailing list