Bonjour,
J'ai "hérité" (hélas) d'une appli tournant sur JBoss que je dois faire tourner sous WebLogic. Je dis hélas car je ne connais aucun de ces deux serveurs et je découvre aussi les JCA...
Les premiers éléments que j'ai migrés se passent plutôt bien mais la je dois migrer le jboss-ra.xml vers weblo ... et là c'est le drame

Voila le jonas-ra.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
 
<?xml version="1.0"?><jonas-connector xmlns="http://www.objectweb.org/jonas/ns"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.objectweb.org/jonas/ns
                 http://www.objectweb.org/jonas/ns/jonas-connector_4_4.xsd">
  <rarlink></rarlink>
  <native-lib></native-lib>
  <log-enabled>false</log-enabled>
  <log-topic></log-topic>
  <pool-params>
    <pool-init>0</pool-init>
    <pool-min>0</pool-min>
    <pool-max>100</pool-max>
    <pool-max-age-minutes>1</pool-max-age-minutes>
    <pstmt-max>-1</pstmt-max>
    <pool-max-opentime>0</pool-max-opentime>
    <pool-max-waiters>0</pool-max-waiters>
    <pool-max-waittime>0</pool-max-waittime>
    <pool-sampling-period>30</pool-sampling-period>
  </pool-params>
  <jdbc-conn-params>
    <jdbc-check-level>0</jdbc-check-level>
  </jdbc-conn-params>
  <jonas-config-property>
    <jonas-config-property-name>adapterConfigDirSysProperty</jonas-config-property-name>
    <jonas-config-property-value>jonas.conf</jonas-config-property-value>
  </jonas-config-property>
  <jonas-config-property>
    <jonas-config-property-name>adapterConfigFileName</jonas-config-property-name>
    <jonas-config-property-value></jonas-config-property-value>
  </jonas-config-property>  
  <jonas-connection-definition>
    <description>com.deve.tef.ressource.spi.ManagedProviderConnectionFactory</description>
    <jndi-name>ISADMIN</jndi-name>               
  </jonas-connection-definition>
  <jonas-connection-definition>
    <description>com.deve.tef.ressource.spi.ManagedQueueConnectionFactory</description>
    <jndi-name>EXTQCF</jndi-name>    
    <jonas-config-property>
      <jonas-config-property-name>raLinkName</jonas-config-property-name>
      <jonas-config-property-value>EXTQCF</jonas-config-property-value>
    </jonas-config-property>
  </jonas-connection-definition>
  <jonas-connection-definition>
    <description>com.deve.tef.ressource.spi.ManagedTopicConnectionFactory</description>
    <jndi-name>EXTTCF</jndi-name>   
    <jonas-config-property>
      <jonas-config-property-name>raLinkName</jonas-config-property-name>
      <jonas-config-property-value>EXTTCF</jonas-config-property-value>
    </jonas-config-property>       
  </jonas-connection-definition>
  <jonas-connection-definition>
    <description>com.deve.tef.ressource.spi.ManagedConnectionFactory</description>
    <jndi-name>EXTGCF</jndi-name>   
    <jonas-config-property>
      <jonas-config-property-name>raLinkName</jonas-config-property-name>
      <jonas-config-property-value>EXTGCF</jonas-config-property-value>
    </jonas-config-property>       
  </jonas-connection-definition>
  <jonas-activationspec>
    <description>javax.jms.MessageListener</description>
    <jndi-name>tefActivationSpec</jndi-name>
  </jonas-activationspec>
</jonas-connector>
et le ra.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
 
<?xml version="1.0" encoding="UTF-8"?>
<connector
  xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
  version="1.5">
   <vendor-name>Deve</vendor-name>
   <eis-type>JMSRA</eis-type>	
   <resourceadapter-version>1.0</resourceadapter-version>
   <resourceadapter>
      <resourceadapter-class>com.deve.tef.ressource.jca.TEFResourceAdapter</resourceadapter-class>
      <config-property>
      	<config-property-name>adapterConfigDirSysProperty</config-property-name>
      	<config-property-type>java.lang.String</config-property-type>      	
      </config-property>     
      <config-property>
      	<config-property-name>adapterConfigFileName</config-property-name>
      	<config-property-type>java.lang.String</config-property-type>   
      	<config-property-value>TEFAdapterConfig.xml</config-property-value>   	
      </config-property>     
      <outbound-resourceadapter>
      	 <connection-definition>
            <managedconnectionfactory-class>com.deve.tef.ressource.spi.ManagedProviderConnectionFactory</managedconnectionfactory-class>              
            <connectionfactory-interface>com.deve.tef.ressource.factory.ProviderConnectionFactoryInterface</connectionfactory-interface>
            <connectionfactory-impl-class>com.deve.tef.ressource.factory.PoviderConnexionfactory</connectionfactory-impl-class>
            <connection-interface>com.deve.tef.ressource.connexion.ProviderConnexionInterface</connection-interface>
            <connection-impl-class>com.deve.tef.ressource.connexion.DefaultProviderConnexion</connection-impl-class>
         </connection-definition>
         <connection-definition>
            <managedconnectionfactory-class>com.deve.tef.ressource.spi.ManagedQueueConnectionFactory</managedconnectionfactory-class>                       
             <config-property>
              <config-property-name>raLinkName</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
              <config-property-value>EXTQCF</config-property-value>
            </config-property> 
            <connectionfactory-interface>javax.jms.QueueConnectionFactory</connectionfactory-interface>
            <connectionfactory-impl-class>com.deve.tef.ressource.host.ExternalJMSQueueConnectionFactory</connectionfactory-impl-class>
            <connection-interface>javax.jms.QueueConnection</connection-interface>
            <connection-impl-class>com.deve.tef.ressource.host.ExternalJMSQueueConnection</connection-impl-class>
         </connection-definition>
         <connection-definition>
            <managedconnectionfactory-class>com.deve.tef.ressource.spi.ManagedTopicConnectionFactory</managedconnectionfactory-class>                      
             <config-property>
              <config-property-name>raLinkName</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
              <config-property-value>EXTTCF</config-property-value>             
            </config-property> 
            <connectionfactory-interface>javax.jms.TopicConnectionFactory</connectionfactory-interface>
            <connectionfactory-impl-class>com.deve.tef.ressource.host.ExternalJMSTopicConnectionFactory</connectionfactory-impl-class>
            <connection-interface>javax.jms.TopicConnection</connection-interface>
            <connection-impl-class>com.deve.tef.ressource.host.ExternalJMSTopicConnection</connection-impl-class>
         </connection-definition> 
         <connection-definition>
            <managedconnectionfactory-class>com.deve.tef.ressource.spi.ManagedConnectionFactory</managedconnectionfactory-class>                       
             <config-property>
              <config-property-name>raLinkName</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
              <config-property-value>EXTGCF</config-property-value>             
            </config-property> 
            <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
            <connectionfactory-impl-class>com.deve.tef.ressource.host.ExternalJMSConnectionFactory</connectionfactory-impl-class>
            <connection-interface>javax.jms.Connection</connection-interface>
            <connection-impl-class>com.deve.tef.ressource.host.ExternalJMSConnection</connection-impl-class>
         </connection-definition> 
         <transaction-support>LocalTransaction</transaction-support>
         <reauthentication-support>false</reauthentication-support>
      </outbound-resourceadapter>      
      <inbound-resourceadapter>
         <messageadapter>
            <messagelistener>
               <messagelistener-type>javax.jms.MessageListener</messagelistener-type>
               <activationspec>
                  <activationspec-class>com.deve.tef.ressource.jca.JonasJMSActivationSpec</activationspec-class>
                  <required-config-property>
                     <config-property-name>destinationType</config-property-name>
                  </required-config-property>
                  <required-config-property>
                     <config-property-name>destination</config-property-name>
                  </required-config-property>
               </activationspec>
            </messagelistener>
         </messageadapter>
      </inbound-resourceadapter>      
   </resourceadapter>
</connector>
Si quelqu'un a déjà fait ce genre de migration, je suis preneur de tout RETEX, aide ...
Je n'y crois pas trop mais au cas ou quelqu'un connait une moulinette de transco je prends aussi.
Par avance merci beaucoup pour votre aide.