Hello


Le 17/01/2018 à 17:42, Martin Simka a écrit :
Hi,

Please use the community forum for such user question.
Ok will do

At first sight ra.xml looks good, but you have wrong class-name in ironjacamar.xml. There should be the same ManagedConnectionFactory class as in ra.xml.

com.scort.ctg.cics.eci.jca.EciManagedConnectionFactory instead of com.scort.ctg.cics.eci.jca.EciConnectionFactory
That was the configuration problem. Thanks for pointing out this.

Martin


On Tue, Jan 16, 2018 at 10:10 AM, Francis ANDRE <francis.andre.kampbell@orange.fr> wrote:
Hello

Adding the ra.xml  joined to WildFly-11.0-Final, ironjacamar emits the error message: IJ020009: Invalid connection definition with class-name: com.scort.ctg.cics.eci.jca.EciConnectionFactory (see the log joined lines 330/350)

The IronJacamar 1.4.6.Final emits this IJ020009 message in the class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.findConnectionDefinitions() at line 502

          for (ConnectionDefinition cd : defs)
          {
             if (cd.getClassName() == null)
             {
                log.connectionDefinitionNull();
             }
             else
             {
                if (clz.equals(cd.getClassName()))
                {
                   if (result == null)
                      result = new HashSet<ConnectionDefinition>();

                   result.add(cd);
                }
                else
                {
                   if (!verifyManagedConnectionFactory(cd.getClassName(), cl))
log.connectionDefinitionInvalid(cd.getClassName()); // << line 502
                }
             }
          }

but com.scort.ctg.cics.eci.jca.EciConnectionFactory is not a ManagedConecctionFactory, it is a ConnectionFactory. So what is wrong with this ra.xml?



--
Francis ANDRE
R&D Metrixware

------------------------------
METRIXWARE
18-22, Rue d'Arras
(Batiment B12)
92000 Nanterre, France

Téléphone : 01.55.69.32.20.
------------------------------



_______________________________________________
wildfly-dev mailing list
wildfly-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev