I have different applications using spajco.jar

I have this jars in web-inf/lib folder of all the applications used like
struts, log4j,servlet,sapjco.jar.etc...

 

But I get this error sometimes.

 

SO to have one JCO instance for one JVM instance I need to moved them to
$CATALINA_BASE/common/lib

 

 

Exception: Exception in thread "main" java.lang.ExceptionInInitializerError:
Could not load middleware layer "com.sap.mw.jco.rfc.MiddlewareRFC"

Native library /usr/local/sapjco/libsapjcorfc.so already loaded in another
classloder.

 

My questions is where is the correct folder to have the common jar files
which are shared across multiple applications 

 

$CATALINA_BASE/shared/lib    or      $CATALINA_BASE/common/lib.

 

Reply via email to