SAP JCO2 Connector BOS 6.4 Community

1
0
-1

Bonjour,

Je rencontre un problème à l'utilisation du connecteur SAP JCO 2.

J'ai installé les dll nécessaires après avoir téléchargé sur le site SAP.

Quand je teste le connecteur dans le studio, au premier test, pas de pb, la connexion est établie et ma fonction côté SAP exécutée mais si je relance le test, j'obtiens le message suivant :

java.lang.reflect.InvocationTargetException org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [Native Library C:\Prog_MB\SAPJCO2\sapjcorfc.dll already loaded in another classloader]. java.library.path [C:\Program Files (x86)\Java\jre6\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/BonitaBPMCommunity-6.4.0/jre/bin/client;C:/BonitaBPMCommunity-6.4.0/jre/bin;C:/BonitaBPMCommunity-6.4.0/jre/lib/i386;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Prog_MB\SAPJCO2\;C:\BonitaBPMCommunity-6.4.0;;.]

Une idée pour résoudre ce problème ?

1 answer

1
0
-1

It seems it's impossible to test the connector more than one time but if I run the process, I can instanciate the process multiple time and it works.

Notifications