Re: Way to generate a "localhost.log" instead of "localhost-4-20-2010.log"?

2010-04-20 Thread Konstantin Kolinko
2010/4/21 André Warnier : > But could you indicate where exactly this has to be set in the standard > vanilla Tomcat logging.properties file (or elsewhere) to achieve the "not > rotate" aspect ? It is just another implementation of java.util.logging.Handler, like the ConsoleHandler that is already

Re: JSESSIONID being lost

2010-04-20 Thread Konstantin Kolinko
2010/4/21 Jim Goodspeed : > Our current setup is two hardware load balancers (layer 4) in front of two > Apache servers (2.2.14) which sit in front of two tomcat servers (6.0.20). > The hardware load balancers load balance apache and apache load balances > tomcat using AJP via mod_proxy.  Apache an

Installing auto updates for my webapp hosted on Tomcat

2010-04-20 Thread Anand HS
Hi, I have a webapplication deployed in tomcat and have been asked to develop an auto updater that can grab a new update and apply the updates to my webapp. I want to ask the community to see if there are 'hooks' tomcat provides to achieve this. In essence here is what Im expecting to achieve - 1

Logging Anomaly

2010-04-20 Thread George Sexton
I'm using the HTTP 1.1 connector and I have compression turned on. I have compressable mime types set to text/css,text/javascript. I'm using the access log valve and I noticed that in the logs the uncompressed file size is logged for requests. I verified using WireShark that the files were

JSESSIONID being lost

2010-04-20 Thread Jim Goodspeed
I'm hoping someone may have some insight into a difficult problem we are having. We have a situation where the JSESSIONID seems to get lost somewhere in a users transaction - the result is they get kicked back to the applications login page (no sessionid so the app thinks they haven't logged in).

Re: Way to generate a "localhost.log" instead of "localhost-4-20-2010.log"?

2010-04-20 Thread André Warnier
Konstantin Kolinko wrote: 2010/4/20 André Warnier : I suggest a simple way whereby to tell Tomcat (optionally) just /not/ to rotate its logfiles itself, and to always write to a fixed filename. (an additional property in logging.properties ?) There exists under Linux the logrotate utility, which

RE: Binding Tomcat Apps to Specific CPUs in Windows

2010-04-20 Thread Marsh, Geoffrey (NIH/CIT) [E]
That is helpful. Thanks Chris. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 20, 2010 1:10 PM To: Tomcat Users List Subject: Re: Binding Tomcat Apps to Specific CPUs in Windows -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Geoff,

Re: Binding Tomcat Apps to Specific CPUs in Windows

2010-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Geoff, On 4/19/2010 5:42 PM, Marsh, Geoffrey (NIH/CIT) [E] wrote: > Good evening. I would like to bind a specific application within > Tomcat to a specific CPU or pair of CPUs on a Windows Server. To follow-up on Andre's reply: you cannot control thi

Re: Is it possible to connect to a different database based on the URL?

2010-04-20 Thread Gregor Schneider
On Tue, Apr 20, 2010 at 3:00 PM, Shinan Kassam wrote: > > I currently have custom authentication working using JDBCRealm. Hence, I > have some database parameters in server.xml as well as my application. Is it > possible to use a portion of the URL as a parameter to connect to a > different databa

Re: Is it possible to connect to a different database based on the URL?

2010-04-20 Thread Pid
On 20/04/2010 14:00, Shinan Kassam wrote: > I am using: > BlazeDS Turnkey: > Tomcat 6.0.14 Old: 6.0.26 is the latest, you should plan to upgrade asap. > I am building only AMF type services > > I currently have custom authentication working using JDBCRealm. Hence, I > have some database paramete

Re: standardize the URL

2010-04-20 Thread Gregor Schneider
On Tue, Apr 20, 2010 at 12:54 PM, banto wrote: > > Hi, > > i know this can be a silly question but i have the following issue: > > i want to call my web app with a standard URL as http://host:port/myString > how does the url look like when you call your webb-app currently? how would you like the

Is it possible to connect to a different database based on the URL?

2010-04-20 Thread Shinan Kassam
I am using: BlazeDS Turnkey: Tomcat 6.0.14 I am building only AMF type services I currently have custom authentication working using JDBCRealm. Hence, I have some database parameters in server.xml as well as my application. Is it possible to use a portion of the URL as a parameter to connect to a

Re: standardize the URL

2010-04-20 Thread Pid
On 20/04/2010 11:54, banto wrote: > > Hi, > > i know this can be a silly question but i have the following issue: > > i want to call my web app with a standard URL as http://host:port/myString OK > regardless from the path of the servlet under Tomcat tree. I have made some > try in web.xml url

AJP in embedded Tomcat

2010-04-20 Thread Anders Magnusson
Hello, We're using the embedded Tomcat (5.5.28) distribution but would like support for AJP. I did a test where I simply copied tomcat-ajp.jar from the full distribution to the embedded one. This seems to work fine in the simple test I did. Is there any chance I'll run in to stability issues? Or

standardize the URL

2010-04-20 Thread banto
Hi, i know this can be a silly question but i have the following issue: i want to call my web app with a standard URL as http://host:port/myString regardless from the path of the servlet under Tomcat tree. I have made some try in web.xml url-pattern field but no success. Any advice? thanks. --

Re: common/endorsed - Tomcat 6.0

2010-04-20 Thread Pid
On 20/04/2010 08:24, Christoph Kukulies wrote: > Harry Metske schrieb: >> 2010/4/18 Christoph Kukulies >> >> >>> Harry Metske schrieb: >>> >>> 2010/4/18 Christoph Kukulies >>> > I'm experimenting with a wsdl enabled service deplyed to tomcat. > The build.xml file ha

Re: Universal connection pooling Type Casting problem

2010-04-20 Thread Pid
On 20/04/2010 03:40, Auser99 wrote: > > Does anyone have a solution for this. Thanks. > > au Yes. They were provided in other answers, already. Check the archives. p > SivaKumarl wrote: >> >> Hi Friends, >> I am using universal connection pooling for connecting database >> , while c

Re: Missing events in Comet

2010-04-20 Thread Frank Lyaruu
Hi Andre, Thanks for your reply. Yes, it does. I am using a very basic java client (using a HttpURLConnection), and I tested it against a server socket, and I always get a final, empty chunk. regards Frank. ps. I am seeing this both on Tomcat 6.0.26 and Tomcat 7 trunk. 2010/4/20 André Warnier

Re: common/endorsed - Tomcat 6.0

2010-04-20 Thread Christoph Kukulies
Harry Metske schrieb: 2010/4/18 Christoph Kukulies Harry Metske schrieb: 2010/4/18 Christoph Kukulies I'm experimenting with a wsdl enabled service deplyed to tomcat. The build.xml file has this section in it:

Re: Missing events in Comet

2010-04-20 Thread André Warnier
Frank Lyaruu wrote: Hi all, We are trying to use Comet to make our web-service platform more resistent to heavy loads. We use HTTP/1.1 POSTS to send our requests (using chunked requests), and the client waits for the response. My problem is the following: As far as I can see, I have no way of (