1 Reply Latest reply on May 8, 2019 7:44 AM by Dirk Niemeier

    SAP JCO package renaming

    Dirk Niemeier Newbie

      Hi,

      we have an old project with JBoss AS 4 running very well a lot of years.

      This application is using the SAP JCO 3.0.11 for calling functions and Bapi's in SAP. While updateing SAP to a new Version the old JCO is not working any more. The old one can't connect to SAP.

      SAP provides a new JCO 3.0.19 for connection. I replaced the *.DLL and *.JAR of the JCO with the new one in JBoss deploy folders.. My problem now is, that the use in JBoss caused a problem while connecting.

       

      java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.ExceptionInInitializerError: Illegal JCo archive "tmp4145281365147697162sapjco3.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar".

       

      Can anyone help me how to get the old application running again?

       

      TIA

        Dirk