Hello again, we tested the suggestions last weekend. That is also the reason I didn’t reply earlier. It seems that the Version 3.0.10 of SAP does not yet have the jar naming restrictions and can safely be wrapped. The Version with which we had the naming problems was 3.0.12. We ended up using the Version 3.0.10 and just put the dll file in the lib folder. Thank you all for your help.
Freundliche Grüße aus Dingolfing Richard Stoiber Softwareentwickler [cid:[email protected]]<http://www.de-gmbh.com/brandaktuell.html> DE software & control GmbH Mengkofener Str. 21, D-84130 Dingolfing Fon: +49 8731 3797-0; Fax: +49 8731 3797-29 Mobil: +49 176 16263638 http://www.de-gmbh.com<http://www.de-gmbh.com/> Geschäftsführung: Friedrich Steininger, Heino Migge, Onur Mubariz Amtsgericht Landshut, HRB 4478 Von: Morgan Hautman [mailto:[email protected]] Gesendet: Mittwoch, 6. April 2016 10:23 An: [email protected] Betreff: Re: SAP in Karaf Hi Richard, Ok I kept searching and since I know there is a camel-sap component, there is I'm sure , a solution. I think this could help you: https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Apache_Camel_Component_Reference/SAP.html Regards, Morgan 2016-04-06 10:01 GMT+02:00 Stoiber, Richard <[email protected]<mailto:[email protected]>>: Hi Morgan, Thanks for your quick response. Installing a bundle with the wrap command would still lead to a renamed jar. In this case the name is bundle.jar and it is then located in /data/cache. Freundliche Grüße aus Dingolfing Richard Stoiber Softwareentwickler [cid:[email protected]]<http://www.de-gmbh.com/brandaktuell.html> DE software & control GmbH Mengkofener Str. 21, D-84130 Dingolfing Fon: +49 8731 3797-0<tel:%2B49%208731%203797-0>; Fax: +49 8731 3797-29<tel:%2B49%208731%203797-29> Mobil: +49 176 16263638<tel:%2B49%20176%2016263638> http://www.de-gmbh.com<http://www.de-gmbh.com/> Geschäftsführung: Friedrich Steininger, Heino Migge, Onur Mubariz Amtsgericht Landshut, HRB 4478 Von: Morgan Hautman [mailto:[email protected]<mailto:[email protected]>] Gesendet: Mittwoch, 6. April 2016 09:29 An: [email protected]<mailto:[email protected]> Betreff: Re: SAP in Karaf Hi Richard, Can't you install the jars through wrap:file:..? https://ops4j1.jira.com/wiki/display/paxurl/Wrap+Protocol Regards, Morgan 2016-04-06 9:22 GMT+02:00 Stoiber, Richard <[email protected]<mailto:[email protected]>>: Hello everyone, quite a while ago we updated some of our existing applications, so that they are now osgi bundles running inside a karaf container. We now have the requirement for one to communicate with sap to make BAPI calls and receive/send IDOCS. To do that we need to use the following jars supplied by SAP: sapidoc3.jar sapjco3.jar The problems we now have are, that those libraries aren’t OSGi Bundles and also don’t work anymore if you rename them (there seems to be some kind of check in the code). This means we can’t put them in the Maven Repository of the Karaf (due to Maven naming conventions) like the rest of our bundles. Has anyone else already encountered this problem? Does anyone have a suggestion how to solve this? Freundliche Grüße aus Dingolfing Richard Stoiber Softwareentwickler [cid:[email protected]]<http://www.de-gmbh.com/brandaktuell.html> DE software & control GmbH Mengkofener Str. 21, D-84130 Dingolfing Fon: +49 8731 3797-0<tel:%2B49%208731%203797-0>; Fax: +49 8731 3797-29<tel:%2B49%208731%203797-29> Mobil: +49 176 16263638<tel:%2B49%20176%2016263638> http://www.de-gmbh.com<http://www.de-gmbh.com/> Geschäftsführung: Friedrich Steininger, Heino Migge, Onur Mubariz Amtsgericht Landshut, HRB 4478
