Re: standardize the URL

2010-04-21 Thread banto
Gregor Schneider wrote: > > 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 yo

Re: a servlet-related Java question

2010-04-21 Thread Bill Barker
"Christopher Schultz" wrote in message news:4bcf5f41.6060...@christopherschultz.net... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/21/2010 3:46 PM, André Warnier wrote: Mark Thomas wrote: On 21/04/2010 20:24, André Warnier wrote: Mark Thomas wrote: ... I'd just use JAD an

Re: [Tomcat 7-RC1] JNDI Startup Issue

2010-04-21 Thread Konstantin Kolinko
2010/4/22 alvins : > > Any thoughts on this? > I would like to see the Tomcat part of the exception that you are observing. That is, at what point in application lifecycle the initialization is performed. If you can attach a sample application to https://issues.apache.org/bugzilla/show_bug.cgi?id

Re: Can't login to Tomcat manager pages

2010-04-21 Thread Konstantin Kolinko
2010/4/21 Luís de Sousa : > Dear all, > > Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages > (http://localhost:8080/manager/html). I set a new user and a few roles > in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't > possibly login. > > /etc/tomcat6/tomcat-user

Re: virtual host configuration

2010-04-21 Thread Konstantin Kolinko
2010/4/22 daulat khan : > Hi, > > I am planning to setup virtual hosting in apache-tomcat integrated > setup. Please share useful links or docs which will help me in > accomplishing this. > > also  using, > > httpd v2.2.14 > tomcat v6.0.20 > tomcat connector v1.2.28 > http://localhost:8080/docs/vi

virtual host configuration

2010-04-21 Thread daulat khan
Hi, I am planning to setup virtual hosting in apache-tomcat integrated setup. Please share useful links or docs which will help me in accomplishing this. also using, httpd v2.2.14 tomcat v6.0.20 tomcat connector v1.2.28 Thanks, Daulatkhan ---

Re: [Tomcat 7-RC1] JNDI Startup Issue

2010-04-21 Thread alvins
Any thoughts on this? alvins wrote: > > > markt-2 wrote: >> >> Define "during startup". What exactly are you doing? >> > ... > -- View this message in context: http://old.nabble.com/-Tomcat-7-RC1--JNDI-Startup-Issue-tp28279732p28322682.html Sent from the Tomcat - User mailing list archiv

JAXB 2 and JAXB 1 in the WEB-INF/lib folder

2010-04-21 Thread Alex
Hi there, I'm running a tomcat 6, spring, apache cxf webservice, know it is a must to add one third party library to my webapp to fulfill an order. I have jaxb-impl-2.1.12.jar for apache cxf in WEB-INF/lib folder and the new library which contains the JAXB 1.0 runtime. JAXB 2 ist used by apac

[SECURITY] CVE-2010-1157: Apache Tomcat information disclosure vulnerability

2010-04-21 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2010-1157: Apache Tomcat information disclosure vulnerability Severity: Low Vendor: The Apache Software Foundation Versions Affected: - - Tomcat 6.0.0 to 6.0.26 - - Tomcat 5.5.0 to 5.5.29 Note: The unsupported Tomcat 3.x, 4.x and 5.0.x versions

Re: a servlet-related Java question

2010-04-21 Thread André Warnier
Mark, Chris and Kris, thanks. You have all impressed the hell out of me. You have also lost me.. at a guess about 50 lines ago. But I get the idea, and it is nice to learn that such things exist. I also believe this may be helpful to someone else some day looking for a solution to a case much mor

RE: Logging Anomaly

2010-04-21 Thread George Sexton
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Wednesday, April 21, 2010 2:31 PM > To: Tomcat Users List > Subject: Re: Logging Anomaly > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > George, > > On 4/20/2010 7:20 PM, George Sexton

Re: a servlet-related Java question

2010-04-21 Thread Kris Schneider
On Wed, Apr 21, 2010 at 4:25 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > André, > > On 4/21/2010 3:46 PM, André Warnier wrote: >> Mark Thomas wrote: >>> On 21/04/2010 20:24, André Warnier wrote: Mark Thomas wrote: ... > I'd just use JAD a

Re: Installing auto updates for my webapp hosted on Tomcat

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anand, On 4/20/2010 7:26 PM, Anand HS wrote: > 1. A simple agent ( can be a java program inside my web app itself ) senses > there is an update. > 2. when an update is available, it stops the tomcat server. Step 1: Firmly grab the rug under your feet

Re: Logging Anomaly

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 George, On 4/20/2010 7:20 PM, George Sexton wrote: > I'm using the access log valve and I noticed that in the logs the > uncompressed file size is logged for requests. I would consider this to be a bug, though Tomcat may be mimicking Apache httpd beh

Re: a servlet-related Java question

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/21/2010 3:46 PM, André Warnier wrote: > Mark Thomas wrote: >> On 21/04/2010 20:24, André Warnier wrote: >>> Mark Thomas wrote: >>> ... >>> I'd just use JAD and decompile it. >>> Thanks. But although my intentions are not obnoxio

Re: OT: Refresh (f5) add(calendar.MONTH, adj) problem

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Søren, On 4/21/2010 3:39 PM, Søren Blidorf wrote: > I have a page that changes month by request.getParameter(”adj”). > > How do I avoid add(calendar.MONTH, adj) when refresh(f5) is pressed How about providing another parameter which indicates the or

Re: a servlet-related Java question

2010-04-21 Thread Mark Thomas
On 21/04/2010 20:46, André Warnier wrote: > Mark Thomas wrote: >> On 21/04/2010 20:24, André Warnier wrote: >>> Mark Thomas wrote: >>> ... >>> I'd just use JAD and decompile it. >>> Thanks. But although my intentions are not obnoxious nor illegal nor >>> anything of the kind, I would not

Re: OT: Refresh (f5) add(calendar.MONTH, adj) problem

2010-04-21 Thread André Warnier
Søren Blidorf wrote: I have a page that changes month by request.getParameter(”adj”). How do I avoid add(calendar.MONTH, adj) when refresh(f5) is pressed I know its off topic, but does anybody have an idear? Your question is so unclear that it is not even evident if it is off-topic. C

Re: a servlet-related Java question

2010-04-21 Thread André Warnier
Mark Thomas wrote: On 21/04/2010 20:24, André Warnier wrote: Mark Thomas wrote: ... I'd just use JAD and decompile it. Thanks. But although my intentions are not obnoxious nor illegal nor anything of the kind, I would not want to even come under suspicion of reverse-engineering. So is ther

OT: Refresh (f5) add(calendar.MONTH, adj) problem

2010-04-21 Thread Søren Blidorf
I have a page that changes month by request.getParameter(”adj”). How do I avoid add(calendar.MONTH, adj) when refresh(f5) is pressed I know its off topic, but does anybody have an idear? Soren, DK

Re: a servlet-related Java question

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/21/2010 3:24 PM, André Warnier wrote: > Mark Thomas wrote: > ... > >> >> I'd just use JAD and decompile it. >> > Thanks. But although my intentions are not obnoxious nor illegal nor > anything of the kind, I would not want to even come u

Re: a servlet-related Java question

2010-04-21 Thread Mark Thomas
On 21/04/2010 20:24, André Warnier wrote: > Mark Thomas wrote: > ... > >> >> I'd just use JAD and decompile it. >> > Thanks. But although my intentions are not obnoxious nor illegal nor > anything of the kind, I would not want to even come under suspicion of > reverse-engineering. So is there so

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/21/2010 3:20 PM, André Warnier wrote: > Mircea LUTIC wrote: >> Hello Chris, >> > I will save Chris one answer : >> >> 1. If the filter does not influence the decoding of the GET >> parameters why is it called on GET requests? > > Be

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mircea, On 4/21/2010 2:46 PM, Mircea LUTIC wrote: > 1. If the filter does not influence the decoding of the GET parameters > why is it called on GET requests? Because you have mostly likely configured it to be invoked when a GET request is p

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mircea, On 4/21/2010 2:46 PM, Mircea LUTIC wrote: > 1. If the filter does not influence the decoding of the GET parameters > why is it called on GET requests? Because you have mostly likely configured it to be invoked when a GET request is p

Re: a servlet-related Java question

2010-04-21 Thread André Warnier
Mark Thomas wrote: ... I'd just use JAD and decompile it. Thanks. But although my intentions are not obnoxious nor illegal nor anything of the kind, I would not want to even come under suspicion of reverse-engineering. So is there something that just lists the standard calls/methods used

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread André Warnier
Mircea LUTIC wrote: Hello Chris, I will save Chris one answer : 1. If the filter does not influence the decoding of the GET parameters why is it called on GET requests? Because the filter may want to, for example, modify or add request headers to the request (or response headers). Or it

Re: a servlet-related Java question

2010-04-21 Thread Mark Thomas
On 21/04/2010 19:52, André Warnier wrote: > Hi. > A while ago, I wrote a servlet filter which has served me well since, to > wrap a servlet for which I do not have nor can obtain the source code, > and of which I only generally know what it does. > Now it seems that with a new version of this servl

a servlet-related Java question

2010-04-21 Thread André Warnier
Hi. A while ago, I wrote a servlet filter which has served me well since, to wrap a servlet for which I do not have nor can obtain the source code, and of which I only generally know what it does. Now it seems that with a new version of this servlet, the servlet itself crashes when wrapped by m

Re: 5.5.29 APR error messages?

2010-04-21 Thread Mark Thomas
On 21/04/2010 18:46, Jeffrey Janner wrote: > Guys - > > I just installed 5.5.29 on my 64-bit test box and really enjoyed the > nice experience. > > However, I had it start up from the default install, no changes and > noticed the following 4 lines at the top of the catalina.log: > > Apr 21, 2010

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Mircea LUTIC
Hello Chris, 1. If the filter does not influence the decoding of the GET parameters why is it called on GET requests? 2. How about http : PUT, HEAD, etc? 3. I did what this page says: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q8 What if I want to build a full

5.5.29 APR error messages?

2010-04-21 Thread Jeffrey Janner
Guys - I just installed 5.5.29 on my 64-bit test box and really enjoyed the nice experience. However, I had it start up from the default install, no changes and noticed the following 4 lines at the top of the catalina.log: Apr 21, 2010 11:46:38 AM org.apache.catalina.core.AprLifecycleListener in

RE: Can't login to Tomcat manager pages

2010-04-21 Thread Propes, Barry L
I started having a similar problem yesterday and discovered that somehow my web.xml file had been deleted (not sure how), so I replaced it. Make sure you have that in your manager folder in WEB-INF. -Original Message- From: Luís de Sousa [mailto:luis.a.de.so...@gmail.com] Sent: Wedne

Can't login to Tomcat manager pages

2010-04-21 Thread Luís de Sousa
Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login. I browsed through a number of threads with similar issues but cou

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mircea, On 4/21/2010 6:56 AM, Mircea LUTIC wrote: > The filter does get called on my GET request. Of course. > In my understanding, a filter is the reccomended method of handling > UTF-8 for both GET & POST (as well as other methods like HEAD, PUT >

Re: tomcat 6.0.26 can't start server - - can't read server.xml

2010-04-21 Thread Peter Crowther
The + in that listing is saying that server.xml.orig has some extra permissions that server.xml hasn't. Windows permissions are not the same as Cygwin permissions. Use Windows tools to inspect the permissions on both files, and use Windows tools to fix the permissions on server.xml. Also, get us

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Kapil Godara
Hi Andre, I did as suggested. Tomcat is running fine as service Tomcat1. I have set CATALINA_HOME=C:\tomcat1 and CATALINA_BASE=C:\tomcat1 (I set the env var from Control Panel -> System Properties ->Advanced -> Environment Variables -> System variables) What is the next step for additional insta

tomcat 6.0.26 can't start server - - can't read server.xml

2010-04-21 Thread Christoph Kukulies
Has there something changed in the access rights of files tomcat is sensitive about under Windows XP or something? I'm using to move around some config files using cygwin tools like cp or mv. I have to idea why tomcat 6.0.26 suddenly says: 21.04.2010 15:54:39 org.apache.catalina.startup.Catali

RE: [ANN] Apache Tomcat 5.5.29 released

2010-04-21 Thread Jeffrey Janner
YEA!!! Oh, and thanks. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, April 21, 2010 6:08 AM To: anno...@apache.org; annou...@tomcat.apache.org; Tomcat Users List; Tomcat Developers List Subject: [ANN] Apache Tomcat 5.5.29 released The Apache Tomcat Team

IIS ->Tomcat Configuration Question

2010-04-21 Thread Frank Zappa
Hello, Our group is using IIS as a gateway server to Tomcat. (Unfortunately Apache can't be used for this project) Our system uses smart cards, so a pki certificate is passed from the browser to the gateway server. Does anyone know how to configure IIS to pass the user's certificate through I

Re: mod_jk reply_timeout and error state

2010-04-21 Thread Sean GAO
Hi Rainer, Thanks for your informative and thoughtful reply. Yes, we are definitely going with CMS. It's a product environment so we have to be careful with whatever we plan to do. By tweaking reply_timeout, be it hard or soft, we were actually circumventing the problem rather than facing it. Whi

Could not get dir listing

2010-04-21 Thread Christoph Kukulies
Strange. Don't know whether this has happened since I upgraded to Tomcat 6.0.26, anyway, my application doesn't start anymore. It's a ROOT app, which replaces the stuff, that is normally put into ROOT by the tomcat distribution. 21.04.2010 14:49:36 org.apache.naming.resources.FileDirContext l

Re: seperating content from the application

2010-04-21 Thread Pid
On 21/04/2010 09:54, M.H.G. Emmerig wrote: > > > Hello > > Our current configuration: > > We are running tomcat 6.0.16 on windows 2003 enterprise. > > We have a website which consists of an application part and a content part. > Both are in the same folder structure, eg. > > webapps\Root\appl

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread André Warnier
Kapil Godara wrote: Hi I copied the entire folder Tomcat 6.0 at C:\Program Files\Apache Software Foundation (where tomcat is installed) to Tomcat_instance2 . ... Let's start again, from the beginning. This has been discussed many times on this forum, but I believe it is worth repeating it, b

Re: seperating content from the application

2010-04-21 Thread Electronjockey
Since Windows 2003 doesn't support symlinks to network shares, you might be able to use DFS. Though someone who knows DFS better than I might know for certain. Something like this where "L:" is your local drive: L:\path\to\local\webapps\Root\applicationfiles L:\path\to\local\webapps\Root\publi

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Peter Crowther
On 21 April 2010 13:04, Kapil Godara wrote: > (I installed tomcat 6.0.20 using apache-tomcat-6.0.20.exe, it does not > create any startup.bat or shutdown.bat file in bin folder. this > installation > creates window service. tomcat6w.exe in turn calls tomcat6.exe) > > That's your issue. For no go

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Kapil Godara
Hi I copied the entire folder Tomcat 6.0 at C:\Program Files\Apache Software Foundation (where tomcat is installed) to Tomcat_instance2 . (I installed tomcat 6.0.20 using apache-tomcat-6.0.20.exe, it does not create any startup.bat or shutdown.bat file in bin folder. this installation creates wind

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Pid
On 21/04/2010 12:02, Kapil Godara wrote: > Hi > > There is no startup.bat in bin folder. following are the 5 files in bin > folder > > 1.bootstrap.jar > 2.tomcat-juli.jar > 3.tcnative-1.dll > 4.tomcat6.exe > 5.tomcat6w.exe > > Regards > kapil I think you didn't copy the entire installation. Yo

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Mircea LUTIC
Also, my application will eventually be put on a web- based hosting provider and I may not have access to the server.xml file. What I want is my application to be fully UTF-8 based regardless of what the server is configured like. The request javax.servlet.Filter system which is configured in the

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Mircea LUTIC
Here: http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q8 From: Ake Tangkannaond To: Tomcat Users List Sent: Wed, 21 April, 2010 14:13:18 Subject: RE: UTF-8 encoding in Tomcat 6.0 Where do you see the recommendation of using filter to handle utf8 char en

Re: gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread Peter Crowther
This says that the JVM is tuning its memory boundaries to best suit your application. Do you have any evidence that this is bad for your application? Or are you simply trying to find out why it is happening? - Peter 2010/4/21 塗 > > hi,all > > there is a problem with my webapp. > > by manual c

RE: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Ake Tangkannaond
Where do you see the recommendation of using filter to handle utf8 char encoding in GET ? -Ake -Original Message- From: Mircea LUTIC [mailto:mircea_lu...@yahoo.com] Sent: Wednesday, April 21, 2010 5:57 PM To: Tomcat Users List Subject: Re: UTF-8 encoding in Tomcat 6.0 The filter does

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Thanks Andre, I saw there is a script doing zip in /etc. I am new to Linux, :-). On 21 April 2010 17:45, André Warnier wrote: > Goo Sam Kong wrote: > >> Hi Pid, >> >> My answer below. >> >> I saw the same file names in another server (not implement log4j yet), >> that >> server is running on de

[ANN] Apache Tomcat 5.5.29 released

2010-04-21 Thread Mark Thomas
The Apache Tomcat Team announces the immediate availability of Apache Tomcat 5.5.29 stable. Apache Tomcat 5.5.29 incorporates numerous bug fixes and fixes for four low severity security vulnerabilities. Please refer to the change log for the list of changes: http://tomcat.apache.org/tomcat-5.5-do

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Kapil Godara
Hi There is no startup.bat in bin folder. following are the 5 files in bin folder 1.bootstrap.jar 2.tomcat-juli.jar 3.tcnative-1.dll 4.tomcat6.exe 5.tomcat6w.exe Regards kapil On Wed, Apr 21, 2010 at 4:29 PM, Mercy wrote: > Hi, > > Please try to execute *startup.bat* in bin folder to startu

Re: gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread Mercy
Hi, You could add a JVM runtime parameter like this : -Xmn256M to fix the size of new generation. Kind regards, Mercy 塗 wrote: > > hi,all > > there is a problem with my webapp. > > by manual configuration, i allocated 1G(1024M) memory for webapp. > where the gc new capacity automatically is 262M

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Mercy
Hi, Please try to execute *startup.bat* in bin folder to startup your tomcat instance. Kind regards, Mercy Kapil Godara wrote: Hi, My requirement: To install Opensso and Policy agent on Tomcat 6.0.20 on single windows server. I installed Opensso on default tomcat port 8080 but to install

Re: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Mircea LUTIC
The filter does get called on my GET request. In my understanding, a filter is the reccomended method of handling UTF-8 for both GET & POST (as well as other methods like HEAD, PUT etc.). When the request is "test.jsp?Name=larevolu%C8%9Bie" as in the example page the EncodingFilter.doFilter funct

How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Kapil Godara
Hi, My requirement: To install Opensso and Policy agent on Tomcat 6.0.20 on single windows server. I installed Opensso on default tomcat port 8080 but to install the Poilcy agent I need to create a separate instance of tomcat on different port say 8081. My procedure: Step 1 - Installed tomcat 6.0

gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread
hi,all there is a problem with my webapp. by manual configuration, i allocated 1G(1024M) memory for webapp. where the gc new capacity automatically is 262M, the gc old capacity automatically is 699M, S0/S1 automatically is 43.6M/43.6M. When my webapp is started, I use the jvm's own tools(jst

Re: mod_jk reply_timeout and error state

2010-04-21 Thread Rainer Jung
Hi Sean, On 20.04.2010 08:04, Sean GAO wrote: According to online documentation (http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html): Long Garbage Collection pauses on the backend do not make a good fit with some timeouts. Try to optimise your Java memory and GC settings. -

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread André Warnier
Goo Sam Kong wrote: Hi Pid, My answer below. I saw the same file names in another server (not implement log4j yet), that server is running on default logging (Tomcat Juli). I think Tomcat by default created those extra zip files, I would like to know how to disable that. Tomcat does not crea

RE: UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Ake Tangkannaond
Hi Mircea, That filter you wrote is for POST and it has nothing to do with GET request. Have you check the documentation on the conf/server.xml on the following line? -Ake From: Mircea LUTIC [mailto:mircea_lu...@yahoo.com] Sent: Wednesday, April 21, 2010 3:40 PM To: users@

Re: Installing auto updates for my webapp hosted on Tomcat

2010-04-21 Thread André Warnier
Anand HS wrote: 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. You mean like the "autoDeploy" op

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Hi Pid, My answer below. I saw the same file names in another server (not implement log4j yet), that server is running on default logging (Tomcat Juli). I think Tomcat by default created those extra zip files, I would like to know how to disable that. On 21 April 2010 17:00, Pid wrote: > On 2

Re: Tomcat fails on restart: BindException

2010-04-21 Thread Lara Spendier
hi, /usr/local/tomcat6/bin/shutdown.sh /usr/local/tomcat6/bin/startup.sh The shutdown.sh script will probably return before Tomcat has completely stopped running, which means that the startup.sh script will try to start Tomcat before the previous instance has exited. yeah, I thought s

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Pid
On 21/04/2010 09:49, Pid wrote: > On 21/04/2010 09:35, Goo Sam Kong wrote: >> Oops, type too fast. I want catalina.out to be rotate daily but Tomcat >> give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina. >> out.30.gz). I don't want those extra files. Any chance to disable that? >

seperating content from the application

2010-04-21 Thread M.H.G. Emmerig
Hello Our current configuration: We are running tomcat 6.0.16 on windows 2003 enterprise. We have a website which consists of an application part and a content part. Both are in the same folder structure, eg. webapps\Root\applicationfiles webapps\Root\content\publications webapps\Root\content

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Pid
On 21/04/2010 09:35, Goo Sam Kong wrote: > Oops, type too fast. I want catalina.out to be rotate daily but Tomcat > give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina. > out.30.gz). I don't want those extra files. Any chance to disable that? Sorry, my mistake, I misread your emai

UTF-8 encoding in Tomcat 6.0

2010-04-21 Thread Mircea LUTIC
Hello, I'm having trouble convincing tomcat 6.0 to take UTF-8 strings. I created an encoding filter with no luck. /** Here is the Utf8 Filter that fails for me in Tomcat 6.0.20 / Eclipse-Galileo / Windows Vista (6.0.6002) <---> Firefox 3.6.3. java version "1.6.0_20" Java(TM

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Oops, type too fast. I want catalina.out to be rotate daily but Tomcat give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina. out.30.gz). I don't want those extra files. Any chance to disable that? The extra files are generated by Tomcat by default? I do not specify those file rotat

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
I want catalina.out to be rotate daily but Tomcat give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina.out.30.gz). I don't those extra files. Any chance to disable that? On 21 April 2010 16:26, Pid wrote: > On 21/04/2010 09:07, Goo Sam Kong wrote: > > Hi, > > > > I am using Log4j

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Pid
On 21/04/2010 09:07, Goo Sam Kong wrote: > Hi, > > I am using Log4j logging in Tomcat 5.5.16 with JDK 1.5.0 update 7 on RedHat > Linux server. > > I followed the instructions on > http://tomcat.apache.org/tomcat-5.5-doc/logging.html to copy the > commons-logging-1.0.4.jar and log4j.jar into $CATA

Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Hi, I am using Log4j logging in Tomcat 5.5.16 with JDK 1.5.0 update 7 on RedHat Linux server. I followed the instructions on http://tomcat.apache.org/tomcat-5.5-doc/logging.html to copy the commons-logging-1.0.4.jar and log4j.jar into $CATALINA_HOME/common/lib directory. and created log4j.proper

Re: Tomcat fails on restart: BindException

2010-04-21 Thread Pid
On 21/04/2010 08:17, Lara Spendier wrote: > Dear list, > > > I'm really hoping that someone of you is able to help me with my problem! > > Our system: Debian Lenny, Tomcat 6.0.18, mod_jk, Apache 2.2 6.0.18 is getting on now, plan an upgrade of your server(s). > With the new version of the web

Re: JSESSIONID being lost

2010-04-21 Thread Ron McNulty
Hi Jim There may be another mis-configured server out there that produces JSESSIONID cookies with a domain-wide scope. SAP portals are a known problem. Best of luck Regards Ron - Original Message - From: "Jim Goodspeed" To: Sent: Wednesday, April 21, 2010 10:47 AM Subject: JSES

Re: Installing auto updates for my webapp hosted on Tomcat

2010-04-21 Thread Pid
On 21/04/2010 00:26, Anand HS wrote: > 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. No ho

Tomcat fails on restart: BindException

2010-04-21 Thread Lara Spendier
Dear list, I'm really hoping that someone of you is able to help me with my problem! Our system: Debian Lenny, Tomcat 6.0.18, mod_jk, Apache 2.2 With the new version of the web application we're using, we have to deploy a war-file in tomcat. Everything worked fine at the beginning, but