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?
a solution for me is to remove the library from deployment and use JBOSS_CLASSPATH to load from system.