tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: common jars for all applications in tomcat
Date Thu, 16 Oct 2008 15:04:40 GMT
I use tomcat/shared/lib for this, but I don't know how appropriate that is. 

-----Original Message-----
From: Raghu [] 
Sent: 16 October 2008 15:38
To: 'Tomcat Users List'
Subject: common jars for all applications in tomcat

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



Exception: Exception in thread "main" java.lang.ExceptionInInitializerError:
Could not load middleware layer ""

Native library /usr/local/sapjco/ already loaded in another


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.


This  message  may  contain  confidential and  privileged  information.
If you  are not the  intended recipient  you should not  disclose, copy
or distribute information in this e-mail or take any action in reliance
on its contents.  To do so is strictly  prohibited and may be unlawful.
Please  inform  the  sender that  this  message has  gone astray before
deleting it.  Thank you.

2008 marks the 60th anniversary of the NHS.  It's an opportunity to pay
tribute to the NHS staff and volunteers who help shape the service, and
celebrate their achievements.

If you work for the NHS  and  would like  an NHSmail  email account, go

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message