3 Replies Latest reply on Aug 9, 2007 12:03 PM by Thomas Frössman

    Test Case Seam application

    Urs Wagner Novice

      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>
      
      


        • 1. Re: Test Case Seam application
          Urs Wagner Novice

          I use now the bootstrap directory from embedded JBoss Beta 2.
          I get this exception stack.

          java.lang.UnsupportedClassVersionError: Bad version number in .class file
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
           at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
           at org.jboss.seam.deployment.ComponentScanner.handleItem(ComponentScanner.java:71)
           at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:158)
           at org.jboss.seam.deployment.Scanner.scan(Scanner.java:132)
           at org.jboss.seam.deployment.ComponentScanner.getClasses(ComponentScanner.java:49)
           at org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:631)
           at org.jboss.seam.init.Initialization.init(Initialization.java:494)
           at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:864)
           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)
          


          • 2. Re: Test Case Seam application
            Urs Wagner Novice

            What shall I delete?
            I get an inconsistency when I start the test.

            java.lang.RuntimeException: Could not create Component: org.jboss.seam.security.identity
             at org.jboss.seam.init.Initialization.addComponent(Initialization.java:908)
             at org.jboss.seam.init.Initialization.installComponents(Initialization.java:839)
             at org.jboss.seam.init.Initialization.init(Initialization.java:506)
             at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:864)
             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)
            Caused by: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.security.Identity.securityRules
             at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:220)
             at org.jboss.seam.Component.initInitializers(Component.java:431)
             at org.jboss.seam.Component.<init>(Component.java:257)
             at org.jboss.seam.Component.<init>(Component.java:207)
             at org.jboss.seam.init.Initialization.addComponent(Initialization.java:894)
             ... 26 more
            


            • 3. Re: Test Case Seam application
              Thomas Frössman Newbie

              You should use JDK 1.5, there is a class loading bug in Jboss AS that makes it incompatible.
              Try to recompile and run on jdk 1.5 first and see whats happens.