Memory Leak in Tomcat

2011-02-20 Thread הילה
Hey, I work in a company which we use Tomcat (5.5.26 and recently we've upgraded it to 6.0.29) to run our application. The tomcat is running on servers with OS windows 2008 R2 STD. The problem is- Until now, we used [b]SQL Authentication[/b] for the tomcat service and configuration (user

datasource persistenceUnit configuration

2011-02-20 Thread Martin Mucha
Hi, I'm using tomcat-6.0.32 on linux. I primarily use different AS (fully J2EE compliant) so this the result of my lack of knowledge about Tomcat. I got here WebApp, using JPA. I need to configure Tomcat somehow, to be able to get EntityManager. That's the whole problem ;) I found almost NO

RE: datasource persistenceUnit configuration

2011-02-20 Thread Caldarale, Charles R
From: Martin Mucha [mailto:alfon...@gmail.com] Subject: datasource persistenceUnit configuration I got here WebApp, using JPA. I need to configure Tomcat somehow, to be able to get EntityManager. Tomcat itself does not supply an EntityManager, as it is only a servlet container, not a

Re: datasource persistenceUnit configuration

2011-02-20 Thread Martin Mucha
Thanks for superbly quick answer. I've read the article you've been referencing. Actually I found it earlier, but I did not help me, since the problem is elsewhere. Yes, I know I cannot use container managed EntityManager. Tomcat does not support JTA, ok. But I should be able, also the article

Re: Reading a file in tomcathome/conf folder

2011-02-20 Thread Pratyush Chandra
Thanks that worked...although i was hoping to retrieve it using classloader... Konstantin Kolinko wrote: 2011/2/17 Captain Cid captain_...@indiatimes.com: Yes ..got your point...using spring its easy though My only question is , can it be accessed using classloader and getResource()

A web application with multiple context name - optimal way?

2011-02-20 Thread Shailesh Nandwana
I am having a requirement to have an application with URLs like hostname/a code to identify the country for example: app.company.com/gb app.company.com/fr app.company.com/se etc. I assumed to use context path targeting to same docbase but doesnt look the optimal way as may hamper the

Tomcat Memory Leak

2011-02-20 Thread הילה
Hey, I sent it today but I'm not sure it was sent, so I'm sending again (and that's the last time :)). I work in a company which we use Tomcat (5.5.26 , and recently we've upgraded it to 6.0.29) to run our application. The tomcat is running on servers with OS windows 2008 R2 STD. The

Re: Issue with JNDI datasources in Tomcat 6

2011-02-20 Thread pablo.a.saave...@gmail.com
Hi, I based myself on a Tomcat 5.5 tutorial because that's what I found on the net. I did put the driver jar file in the lib/ directory, which is the place it belongs. I can see the datasources using lambda probe and if I debug the code the datasources are there, but the ref address of the JNDI

RE: A web application with multiple context name - optimal way?

2011-02-20 Thread Caldarale, Charles R
From: Shailesh Nandwana [mailto:sn5...@yahoo.com] Subject: A web application with multiple context name - optimal way? I assumed to use context path targeting to same docbase but doesnt look the optimal way as may hamper the performance. Mostly the impact is multiple deployments, which is

Re: Tomcat won't serve newly created files

2011-02-20 Thread Lanre Abiwon
I have been trying to solve this issue now for a couple of days without any progress but I now know why the problem exists. I updated the web app and re-deployed it and realised that it is using an older version of the webapp. It would seem the context root of the servlet is being changed to an

Connecting to other internet sites from a Tomcat application via a proxy server

2011-02-20 Thread Conway Liu
Hi, Previously our Tomcat application can create https requests and send the request to other website, which sends response back to our application with required data. Now our Tomcat appcation has been migrated to a server that is not allowed to send the requests directly to the internet,

related to bad url encoding?...

2011-02-20 Thread alex
hi all, I get 404 err, if I add %D0 to url, but I get just blank page if I add %zD0 . I'm supposed to get bad request in this case. how do I fix this problem? thanks. - To unsubscribe, e-mail:

Re: Connecting to other internet sites from a Tomcat application via a proxy server

2011-02-20 Thread André Warnier
Conway Liu wrote: Hi, Previously our Tomcat application can create https requests and send the request to other website, which sends response back to our application with required data. Now our Tomcat appcation has been migrated to a server that is not allowed to send the requests directly