change persistence.xml at run time

2016-03-26 Thread Kaouthar Ghorbel
hello, I have two database that have the same design and the same tables , I already developped methods for database A and I want to reuse them for database B. for that I must change jndi in persistance.xml at run time , is it possible to do that?

Re: ids of all active sessions

2016-01-23 Thread Kaouthar Ghorbel
thanks Thomas ☺ 2016-01-18 10:02 GMT+01:00 Thomas Scheffler <thomas.scheff...@uni-jena.de>: > Am 18.01.16 um 09:35 schrieb Kaouthar Ghorbel: > >> Hello everyone I want to retrieve the ids of all active sessions in the >> servlet. >> >> thanks for your h

ids of all active sessions

2016-01-18 Thread Kaouthar Ghorbel
Hello everyone I want to retrieve the ids of all active sessions in the servlet. thanks for your help :)

Tomcat error log

2015-07-09 Thread Kaouthar Ghorbel
Hello everyone, I want to have a file that contains just the program execution errors in a new folder (not the log folder ) indicating the name of the servlet that caused the error . thanks ..

tomcat log

2015-07-09 Thread Kaouthar Ghorbel
Hello everyone, I want to have a file that contains just the program execution errors in a new folder (not the log folder ) indicating the name of the servlet that caused the error . thanks ..

Re: persistance cache

2015-06-24 Thread Kaouthar Ghorbel
hello, I think it is a cache problem , because when I restart tomcat the resulting list is correct, the problem lies only for this method. i use tomcat 8.0.2 2015-06-23 12:00 GMT+01:00 André Warnier a...@ice-sa.com: hello. Kaouthar Ghorbel wrote: hello, I have a method that returns

Re: detect requests that take a long time to process

2015-06-23 Thread Kaouthar Ghorbel
Thanks for your answer .. 2015-06-19 14:13 GMT+01:00 Daniel Mikusa dmik...@pivotal.io: On Fri, Jun 19, 2015 at 9:07 AM, Kaouthar Ghorbel gkaout...@gmail.com wrote: hello ,my webapplication is very slow , i want to know how can i detect requests that take a long time to process in tomcat 8

persistance cache

2015-06-23 Thread Kaouthar Ghorbel
hello, I have a method that returns a list of items when I change the data in this list in the database ,the return of the method does not take into account this change. here is the configuration of persistance.xml ?xml version=1.0 encoding=UTF-8? persistence version=2.1

detect requests that take a long time to process

2015-06-19 Thread Kaouthar Ghorbel
hello ,my webapplication is very slow , i want to know how can i detect requests that take a long time to process in tomcat 8. thanks