Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-171

Fix deployer testcase since wrong annation class definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha4
    • None
    • Deployer
    • None

      Since copy&paste, we have some wrong configuration in the wrong annotation class definition

      like
      ====
      @ConnectionDefinition(connectionFactory = ManagedConnection.class, ....
      ====

      import org.jboss.jca.test.deployers.spec.rars.ra16out.TestManagedConnection;

      09:02:31,104 ERROR [KernelImpl] Deployment file:/home/jzhang/work/svn/jbossas/projects/jboss-jca/trunk/target/sjc/deploy/ra16inoutoverwrite.rar failed: org.jboss.jca.fungal.deployers.DeployException: Deployment file:/home/jzhang/work/svn/jbossas/projects/jboss-jca/trunk/target/sjc/deploy/ra16inoutoverwrite.rar failed
      at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:282)
      at org.jboss.jca.fungal.impl.MainDeployer.deploy(MainDeployer.java:93)
      at org.jboss.jca.fungal.impl.KernelImpl.startup(KernelImpl.java:217)
      at org.jboss.jca.sjc.Main.boot(Main.java:92)
      at org.jboss.jca.sjc.Main.main(Main.java:272)
      Caused by: java.lang.reflect.UndeclaredThrowableException
      at $Proxy48.connectionFactoryImpl(Unknown Source)
      at org.jboss.jca.deployers.fungal.Annotations.attachConnectionDefinition(Annotations.java:539)
      at org.jboss.jca.deployers.fungal.Annotations.processConnectionDefinition(Annotations.java:506)
      at org.jboss.jca.deployers.fungal.Annotations.process(Annotations.java:126)
      at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:167)
      ... 4 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.jca.test.deployers.spec.rars.ra16out.TestManagedConnection
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:242)
      at javassist.bytecode.annotation.MemberValue.loadClass(MemberValue.java:51)
      at javassist.bytecode.annotation.ClassMemberValue.getValue(ClassMemberValue.java:85)
      at javassist.bytecode.annotation.AnnotationImpl.invoke(AnnotationImpl.java:148)
      ... 9 more

              jeff.zhang_jira Jeff Zhang (Inactive)
              jeff.zhang_jira Jeff Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: