-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Arpan,

On 2/16/18 6:58 PM, Halder, Arpan [ITSUS Non J&J] wrote:
> We could able to locate context.xml under "
> /apps/apache-tomcat-7.0.67/conf" path - see below:

That is the wrong file. The file conf/context.xml contains the
defaults for every application deployed onto that Tomcat server. Your
application should have its own, separate context.xml file in the
META-INF directory.

> <Resource name="jdbc/E2EMFPostGres" auth="Container"
> type="javax.sql.DataSource" maxActive="50" maxIdle="30"
> maxWait="10000" username="saevdcep" password="xxxxxx"
> driverClassName="org.postgresql.Driver" 
> url="jdbc:postgresql://itsusralsp06829:5432/spectra"/>
> 
> <Resource name="jdbc/EVDSEARCH" auth="Container"
> type="javax.sql.DataSource" maxActive="50" maxIdle="30"
> maxWait="10000" username="saevdcep" password="xxxxxxx"
> driverClassName="org.postgresql.Driver" 
> url="jdbc:postgresql://itsusralsp06829:5432/evidencesearch"/>

Okay.

> Could you please check which are the parameters to
> add/modify/delete.

Everything looks okay up there. You might want to add:

   logAbandoned="true"

This will log places in your code where you have resource leaks.

> Also we could locate another "context.xml" under " 
> /apps/apache-tomcat-7.0.67/webapps/host-manager/META-INF" and " 
> /apps/apache-tomcat-7.0.67/webapps/manager/META-INF" path - could
> you please advise if we need to make any change here
Those are the deployment descriptors for the host-manager and the
manager applications respectively. Do not modify those files.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqJpggACgkQHPApP6U8
pFi3UQ/+K3rSSb0cke4obIjlrZUrOsiPFCsNPRPl9iTRvU/L1AGb8cJ1YjPdbu03
Veac/wM3gNa9PgRpfUImq9gaKl03MjMCfyCGMfX1Z/dJWcw8WNiFGDxW69O+sANl
ALoFBzi0ya0icYKFfk7EF4e7DkZ9Jcwp0CfE319Z7+b/rTUNhD3AMjRsW0LK3E0c
kxr6qbu0Ba+WmuITLKXSLGJBAW9nNBLIJ+WuO73S7UpTVWBexXLTNAyNheG6KFJl
eC7ukAyunrXagoKmC6JAVl2wboNGgCZStIuj+htq/nxjRSb7MA+uSah+uzCPR94k
GC17fhxPx76seW3kbmt8UUPU1thqUjsE+pXgmskHlUw70al3MO59rdjuoRm0ac3r
+TrtCoeanYQYfXGJmHI8tClZ2f2qhwhfZ0Co9DxF/Pjz8V/01CXKYHfeV3a74+GF
LTw2MHfwHXT8NgpmixCExC47HNGrYDqZG7gNtmKiytIaAi+f0otEjFLvlNeRId67
Fs9pXlyBDlwhPigFj1Uv4f3yBw2cqsZDvL7YD6tioU48ptu113yM0R4S61x4xAZw
bwpuZomRgzbsOHvoWkNfQ3/1H6U/YEJvmUFJ/D9mmjEfSZq+u0czZ4jiRkcz3shA
EKyatdAlRGBcT21t/AkdR6QRPaAB5YPOuj+/+ycVVXRXT7uln7M=
=EpQk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to