Re: What is the healthy interval length for young gc?

2011-01-03 Thread Pid
On 1/3/11 2:41 PM, Leon Rosenberg wrote: On Mon, Jan 3, 2011 at 3:10 PM, Pid p...@pidster.com wrote: On 1/3/11 1:10 PM, Leon Rosenberg wrote: Actually no, in my understanding both are independent. I mean the gc doesn't start to copy over if young is full, it simply cleans young. However

Re: Tomcat 5.5/HTTPD cluster question

2010-12-31 Thread Pid
On 12/31/10 3:46 AM, Don Hill wrote: Chris, Thanks for following up on this. From what I can tell it appears that the HTTPD server is stalling at MaxClients. How are you measuring connections and arriving at the above? The documentation for 2.0 states that MaxClients is configurable:

Re: Novice's

2010-12-30 Thread Pid
On 12/30/10 11:39 AM, Morten Bo Ølbye wrote: Dear all. I have tryed to find out how to use Tomcat. So far not very successfully. Some help is needed, but in order not to strain the user list too much i have put my request in my own link: Which is actually more difficult for list readers

Re: Tomcat 5.5/HTTPD cluster question

2010-12-29 Thread Pid
On 12/28/10 9:13 PM, Don Hill wrote: We are on 64bit JVM 1.6 the heap is 8GB for each Tomcat instance. The OS is RHEL 4.0 64 bit Great. Which versions of HTTPD 1.3 and Tomcat 5.5 are they? p On Tue, Dec 28, 2010 at 7:30 AM, Pid p...@pidster.com wrote: On 12/27/10 4:42 PM, Don Hill wrote

Re: Tomcat 5.5/HTTPD cluster question

2010-12-28 Thread Pid
On 12/27/10 4:42 PM, Don Hill wrote: Thanks. I am trying to get them to migrate. It seems that part of there bottleneck could be the MAX clients on HTTPD. They get high volumes at times and have like 1800-3000 active sessions. Any other input would be great like tuning tomcat to workers and

Re: Tomcat(5.5) Clustering and Load Balancing.

2010-12-28 Thread Pid
On 12/27/10 4:11 AM, Harsimranjit singh Kler wrote: Hi i have testing tomcat clustering on single machine.What i am able to do is i hv 4 tomcat instances 1 work as balancer and 3 as cluster.using Rule.xml in balancer with round robin approach.all requests hits on balancer redirected to on

Re: processing of tlds failed -- application still works -- why?

2010-12-28 Thread Pid
On 12/26/10 7:44 PM, Satish Kumar wrote: Hi All, I am seeing the error below while deploying a web application on Tomcat 6.0.16. Note that the parser used for processing tlds is Crimson -- I expect Tomcat to use the default Xerces parser to process tlds, but it using Crimson parser that is

Re: How to configure Tomcat-6 to use TLS based SMTP with exchange

2010-12-28 Thread Pid
On 12/28/10 8:49 AM, Mupparthy Ravindranath wrote: Dear all, I have recently installed apache-tomcat-6.0.18. One of my webapps needs to send email using the Microsoft Exchange server 2003 of my company. The exchange server needs authentication over TLS. So far, I have configured in

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Pid
On 12/28/10 1:09 AM, Nikunj wrote: hi guys, While rendering jsp Is there any way to hide html source code from browser i.e when user clicks on view source browser will display blank page ... How is this question related to the thread in which it is posted? Please do not hijack other

Re: Can JSP code be served from a DB instead of files?

2010-12-28 Thread Pid
On 12/28/10 3:15 AM, Martin Gainty wrote: determine the template for your form for each individual field encountered populate the value attribute with content extracted from each Database Table.Column That's extraordinary, even by your standards. p 0x62590808.asc Description:

Re: The Web application created a ThreadLocal but failed to remove it

2010-12-26 Thread Pid
On 12/26/10 7:15 AM, Ahmed Ashour wrote: Dear all, I think similar case has been recently reported, but restarting an Axis2 with Tomcat give the below errors. Is this an issue in Tomcat or in Axis? Dec 26, 2010 9:52:01 AM org.apache.catalina.loader.WebappClassLoader

Re: Rename localhost log

2010-12-25 Thread Pid
On 24/12/2010 23:08, André Warnier wrote: As Pid* would say : *Fail* Bzz. And there I was about to say: Goodness, you're not using the highly secret and experimentally dangerous 6.7.3 are you? p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread Pid
On 25/12/2010 04:37, maven apache wrote: Hi: I wonder how is the tomcat log generated,I mean the log like this; localhost_access_log.2010-12-20.txt I want to export the logs to db. Some one suggestion I directly add one Appender http://logging.apache.org/log4j/1.2/apidocs/index.html if

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-24 Thread Pid
On 23/12/2010 19:32, Adib wrote: Pid thanks or your comments below. Any idea why it was working just fine on a windows Vista machine but not on Windows 2008 R2. One of the main differences between the two machines is that the windows server has multiple IP addresses on the same network card

Re: unable to configure SSL in Tomcat 7.0

2010-12-23 Thread Pid
On 23/12/2010 02:43, Christopher Schultz wrote: Filip, On 12/22/2010 6:03 PM, Filip Hanik - Dev Lists wrote: I'd definitely consider it a bug if tomcat continues startup in HTTP mode instead, when the file is not found. I seem to remember a recent bugfix that won't allow a connector to

Re: httpd/Tomcat load balancing question

2010-12-23 Thread Pid
On 23/12/2010 07:49, André Warnier wrote: Pid * wrote: On 22 Dec 2010, at 23:38, André Warnier a...@ice-sa.com wrote: Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Definitely the culprit. Now, I just have to convince the Dev team

Re: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-23 Thread Pid
On 23/12/2010 09:39, spr...@gmx.eu wrote: running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader at: Iterator it

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread Pid
On 23/12/2010 09:20, André Warnier wrote: Shortly : If you are local, then you can use the Local process option in jconsole. But usually not if you're using the service wrapper, which masks* the JVM process from the Attach API used in Java 6 to provide the local processes. * for want of a

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread Pid
On 23/12/2010 10:01, Adib wrote: The local process option seems to be a hit and miss on various versions of windows, it was not working. Also the local process option only works if jconsole is running the same userid as process you want to connect to, which is not the case in my tomcat setup

Re: httponly cookies

2010-12-23 Thread Pid
On 23/12/2010 14:06, Venky Vasant wrote: My client application failing to read cookies set as httponly by .net server. what lines do i need add to read them and send it to the server.` Please start a new email, rather than adding to or editing a reply to an existing email thread - which

Re: Getting detailed list of active sessions for a Context

2010-12-22 Thread Pid *
On 22 Dec 2010, at 08:49, Jean-Noël Colin jn.co...@gmail.com wrote: Hi, I'm developing a webapp and I would like to be able to display the list of active sessions for that specific webapp, in a specific page, and I'd like to get a detailed view: Session Id, Creation time, last activity, IP

Re: unable to configure SSL in Tomcat 7.0

2010-12-22 Thread Pid *
On 22 Dec 2010, at 18:07, Ajay TS ajayts1...@gmail.com wrote: I am new to Tomcat and am trying to install Apache Tomcat 7.0.5 on Windows 7 with java version 1.6.0_21. I am able to install it fine but unable to configure SSL. I am configuring it on port 8443 based on documentation provided. After

Re: exception fixing docbase [/axis2]

2010-12-22 Thread Pid *
On 22 Dec 2010, at 10:39, Nuria Sánchez Almodóvar n...@gatv.ssr.upm.es wrote: Good morning, We are trying to run axis2/Apache on Windows 7. If we try to launch Tomcat as Administrator it works fine and the service we have developed is shown as part of the available services for axis2.

Re: unable to configure SSL in Tomcat 7.0

2010-12-22 Thread Pid *
you're running Tomcat under have the rights to read that file? p On Dec 22, 2010 2:35pm, Pid * p...@pidster.com wrote: On 22 Dec 2010, at 18:07, Ajay TS ajayts1...@gmail.com wrote: I am new to Tomcat and am trying to install Apache Tomcat 7.0.5 on Windows 7 with java version 1.6.0_21

Re: httpd/Tomcat load balancing question

2010-12-22 Thread Pid *
On 22 Dec 2010, at 23:02, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. I'm sure it's some framework/tool they are using. The question now is, if I can't get them to

Re: httpd/Tomcat load balancing question

2010-12-22 Thread Pid *
On 22 Dec 2010, at 23:38, André Warnier a...@ice-sa.com wrote: Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. Pid, why /do

Re: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-21 Thread Pid *
On 21 Dec 2010, at 15:20, spr...@gmx.eu spr...@gmx.eu wrote: Hi, running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to

Re: Webapp undeploy failure

2010-12-20 Thread Pid
On 20/12/2010 17:13, McGibbney, Lewis John wrote: Hello list, Tried to do a bit of reading on this but the results have not come up. I am using version 6.0.26 on windows XP and all I am trying to do is undeploy (and delete from tomcat webapp folder) one webapp which is deployed every time

Re: HTTP Status 500 - Server Internal Error

2010-12-18 Thread Pid
On 18/12/2010 19:47, McGibbney, Lewis John wrote: Hello List, I am currently using Apache Nutch 1.2 and Tomcat 6.0.26 (first post on list). I recently configured use of a plugin within Nutch which has been known to cause the above error due to the fact that Tomcat and Jena (a framework for

Re: Authentication and roles (RFE)

2010-12-17 Thread Pid
On 17/12/2010 08:27, Mark Thomas wrote: On 17/12/2010 07:36, Pid * wrote: On 17 Dec 2010, at 00:37, Steve Mitchell mitch...@intertrust.com wrote: I would like my Tomcat instance to authenticate different roles differently. E.g., admins must use SSL client auth, while regular users use

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-17 Thread Pid
On 15/12/2010 15:37, Srikanth Konjarla wrote: On 12/15/10 7:13 AM, Pid wrote: On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question wrt following tomcat's log at the time of undeploy of app. The message suggests

Re: Tomcat 6: AJP Connector not started?

2010-12-17 Thread Pid
On 17/12/2010 16:34, Karel Vervaeke wrote: I have a Tomcat 6.0.29 instance which starts up fine - I can access the webapps via port 8080, but it doesn't seem to start the AJP connector. I have this in my server.xml: Connector port=8009 protocol=AJP/1.3 redirectPort=8443 / I don't see

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-17 Thread Pid
On 17/12/2010 15:38, Srikanth Konjarla wrote: On 12/17/10 3:01 AM, Pid wrote: On 15/12/2010 15:37, Srikanth Konjarla wrote: On 12/15/10 7:13 AM, Pid wrote: On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question

Re: Tomcat Bug: JSP not found?

2010-12-16 Thread Pid
On 16/12/2010 12:08, Jess Holle wrote: Has anyone seen issues with JSPs that are present in an expanded web app directory (i.e. deployed with an XML file pointing to a directory in WAR layout rather than as a WAR) being found by Tomcat for a long time, weeks even, and then suddenly no longer

Re: Authentication and roles (RFE)

2010-12-16 Thread Pid *
On 17 Dec 2010, at 00:37, Steve Mitchell mitch...@intertrust.com wrote: I would like my Tomcat instance to authenticate different roles differently. E.g., admins must use SSL client auth, while regular users use HTTP basic authentication over SSL. This seems like a routine requirement, but

Re: Is it possible to rename a jsp file in tomcat?

2010-12-15 Thread Pid
On 15/12/2010 13:51, Chinmoy Chakraborty wrote: Thanks for your reply...my requirement is i want to disable and enable a jsp repeatedly (whether accessed or not) depending on certain custom flag. how i can achieve this in tomcat? I dread to think what the answer will be, but why, exactly? p

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-15 Thread Pid
On 15/12/2010 02:40, Srikanth Konjarla wrote: I could catch Axis threadlocals from the app to clean up. However, I have a question wrt following tomcat's log at the time of undeploy of app. The message suggests that it is removing the same threadlocal twice. Is it because it was not removed in

Re: [Mostly OT] Sweeping the permgen space: is that a good thing?

2010-12-14 Thread Pid
On 14/12/2010 11:40, Luca Gervasi wrote: On 12/13/2010 01:14 PM, Pid wrote: On 13/12/2010 10:13, Luca Gervasi wrote: Hello, I know that my problem is with the application my tomcat 5.5 powered by 5.5.x, where x is what? Tomcat 5.5.26, i omitted because i'm sure it's a webapp fault

Re: jndi-lookup fails, cured by tomcat restart

2010-12-14 Thread Pid
On 14/12/2010 01:28, Dale Ogilvie wrote: The thing is that the code is working fine now, without the fully qualified jndi-name. Then an app redeployment and it stopped working. Then an apache restart and it started working again... I found something on Google about having apache jars in

Re: StartUpServlet in web.xml is not executed

2010-12-14 Thread Pid *
On 14 Dec 2010, at 14:13, dfsdf fsdfsd budihartono...@yahoo.com wrote: Hi I am using Tomcat 5.5.4 under Unix Sun Solaris. I have a servlet that should be executed on web.xml web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: jndi-lookup fails, cured by tomcat restart

2010-12-14 Thread Pid
On 14/12/2010 22:35, Dale Ogilvie wrote: We'll investigate the leak issue, there /are/ leaks from Spring active mq code. Mind posting the leak warning from the logs? p -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, 15

Re: [Mostly OT] Sweeping the permgen space: is that a good thing?

2010-12-13 Thread Pid
On 13/12/2010 10:13, Luca Gervasi wrote: Hello, I know that my problem is with the application my tomcat 5.5 powered by 5.5.x, where x is what? java 1.5.0_b4 is running. That's a really old JVM. Each minor release can contain improvements to garbage collection algorithms - even new

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-13 Thread Pid
On 12/12/2010 18:18, Srikanth Konjarla wrote: On 12/12/10 8:28 AM, Pid * wrote: On 11 Dec 2010, at 21:39, Srikanth Konjarla srikanth.konja...@gmail.com wrote: On Dec 11, 2010, at 1:04 PM, Pid * p...@pidster.com wrote: On 11 Dec 2010, at 20:02, Srikanth Konjarla srikanth.konja

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-13 Thread Pid
On 13/12/2010 12:23, Pid wrote: On 12/12/2010 18:18, Srikanth Konjarla wrote: On 12/12/10 8:28 AM, Pid * wrote: On 11 Dec 2010, at 21:39, Srikanth Konjarla srikanth.konja...@gmail.com wrote: On Dec 11, 2010, at 1:04 PM, Pid * p...@pidster.com wrote: On 11 Dec 2010, at 20:02, Srikanth

Re: IIS redirect http to https for Tomcat 6.0.29

2010-12-13 Thread Pid
On 13/12/2010 15:43, Alexander Diedler wrote: Hello, Iam not sure i fit ist he right place for this topic, but I want to do a permanently redirect of every incoming http requeswt forwarded to https in IIS. „SSL is required“ is enabled for the website and the isapi_redirect woking fine

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-12 Thread Pid *
On 11 Dec 2010, at 21:39, Srikanth Konjarla srikanth.konja...@gmail.com wrote: On Dec 11, 2010, at 1:04 PM, Pid * p...@pidster.com wrote: On 11 Dec 2010, at 20:02, Srikanth Konjarla srikanth.konja...@gmail.com wrote: Pid, Thanks for your patience. Here is the output from catalina.out

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Pid *
On 11 Dec 2010, at 01:07, Srikanth Konjarla srikanth.konja...@gmail.com wrote: BTW, I see some similarities with the following. https://jira.springframework.org/browse/SWS-533 Similarities in which sense? The issue was closed as invalid. You're using Axis 1.4 which I've been looking at

Re: Problem Started JBoss service -

2010-12-11 Thread Pid *
On 11 Dec 2010, at 06:46, Karthik Nanjangude karthik.nanjang...@xius-bcgi.com wrote: Hi Off the topic this is a JBOSS Problem at start up process If the Ports defined internal to Tc with in Joss is occupied by some other Application My guess is to use netstat and watch the other

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Pid
On 12/11/10 9:25 AM, Srikanth Konjarla wrote: On Dec 11, 2010, at 1:18 AM, Pid * p...@pidster.com wrote: On 11 Dec 2010, at 01:07, Srikanth Konjarla srikanth.konja...@gmail.com wrote: BTW, I see some similarities with the following. https://jira.springframework.org/browse/SWS-533

Re: Virtual host, alias and context parameters

2010-12-11 Thread Pid
On 11/12/2010 09:47, Julien Martin wrote: Hello, I need to achieve the following: -Having two domain names pointing to the same tomcat application and MOST IMPORTANTLY, having for each domain name a unique context parameter (therefore different for each domain name) that I will retrieve in my

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-11 Thread Pid *
On 11 Dec 2010, at 20:02, Srikanth Konjarla srikanth.konja...@gmail.com wrote: Pid, Thanks for your patience. Here is the output from catalina.out file while the webapp is being undeployed. As you can see there are few threadLocals that are cleaned up

Re: deploy log4j

2010-12-10 Thread Pid
On 12/10/10 2:43 AM, cpanon wrote: Hello I agree it should be simple and in the IDE it works fine. In simple production environment on Windows Servers it fails. In simple production environment on a WinXPP it works. It cant get any more discipline testing than that. Nothing changes

Re: Tomcat 6 performance multiple instances

2010-12-10 Thread Pid
On 12/9/10 9:04 PM, John Goodleaf wrote: Google is giving me too many different answers! I need to serve a single webapp to a lot of people with acceptable latency. There's no need for multiple contexts or any other funkines. Tomcat 6, JVM 1.6x. I have a hardware load balancer and two 64-bit

Re: WARNING: Failed to register in JMX:

2010-12-10 Thread Pid *
On 10 Dec 2010, at 22:12, Linda Golff lgo...@gmail.com wrote: I am using Tomcat6.0.26 - packaged with recent upgrade to Fedora 2.6.35.9-64 fc 14 x86-64. Maybe the package is broken. What happens if you uninstall it and use a Tomcat downloaded from apache.org? p When I start Tomcat I get

Re: 6.0.26 java.lang.Thread.State: WAITING (on object monitor)

2010-12-10 Thread Pid *
On 10 Dec 2010, at 22:46, Srikanth Konjarla srikanth.konja...@gmail.com wrote: Chuck, You are right. It is apache Axis client that is responsible for threadLocals in this case. However, as part of the thread local cleanup process at the time of undeploy, tomcat removes few threadLocals but

Re: java thread open after Tomcat shutting down

2010-12-07 Thread Pid
On 12/7/10 10:13 AM, pix_siro wrote: I solved writing a simple script to shutting down tomacat and kill the java process: # stop tomcat su - primelife -c /usr/local/apache-tomcat-7.0.4/bin; ./shutdown.sh /dev/null 21 # give application 5 seconds to stop itself sleep 2 # if

Re: java thread open after Tomcat shutting down

2010-12-07 Thread Pid
On 12/7/10 10:38 AM, pix_siro wrote: GRAVE: The web application [/OverEncrypt] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak. I think the second GRAVE error is that significant. That'll be the one. Ensure

Re: JMX.mbean.unregistered - Stopping Coyote

2010-12-07 Thread Pid
On 12/7/10 11:22 AM, Christoph Kukulies wrote: I also wonder why this jmx stuff was there (I removed the jmx related jars from the bin and lib directory and now the listeners keep up running. Which jars did you remove? p 0x62590808.asc Description: application/pgp-keys signature.asc

Re: class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-07 Thread Pid
On 12/7/10 5:59 PM, frank wrote: Hi Experts: I have read class not found in FAQ and class loader howto of tomcat6, unfortunately, they don't resolve my problem. I set CATALINA_BASE and CATALINA_HOME to my directory like: CATALINA_BASE=/usr/share/mydir

Re: war file question

2010-12-06 Thread Pid
On 12/6/10 3:48 PM, Lava Saleem wrote: Hi Martin, Thanks for the reply I did what you told me I moved the html file into $TOMCAT_HOME/webapps/filenameand changed to *.jsp but it didn't work I got the following message FAIL - File uploaded handshake_testing.jsp must be a .war Start

Re: war file question

2010-12-06 Thread Pid
On 12/6/10 6:30 PM, Lava Saleem wrote: Hi Thanks for the replies Pid thanks for the link but I have looked into before sending the email and it is very general and not very useful, as I'm a beginner user for tomcat. Check I was deploying the file with jsp extension and I got this message

Re: Tomcat dying on its own

2010-12-06 Thread Pid
On 12/6/10 7:45 PM, Guillaume Carbonneau wrote: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The last info I get in the logs are : Dec 3, 2010 6:11:35 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8077 Dec

Re: Place .ini conf file inside the war package.

2010-12-05 Thread Pid *
On 5 Dec 2010, at 19:20, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/4/2010 5:07 PM, Pid wrote: On 12/4/10 5:41 PM, Mark Eggers wrote: Read about using properties files. They're typically called name.properties

Re: Place .ini conf file inside the war package.

2010-12-04 Thread Pid
On 12/4/10 5:41 PM, Mark Eggers wrote: Read about using properties files. They're typically called name.properties. Snippet of code that can be placed in a ServletContextListener. String resource = some.properties; InputStream in =

Re: migrating to Tomcat 7, when

2010-12-03 Thread Pid
On 12/3/10 9:09 AM, Justin Case wrote: Hi all, I see discussions about migration to Tomcat 7. Do you think it is the right moment to count your production apps on it? My thought is no way Jose but maybe I'm missing something... It's beta, but it's not poor quality. Code /has/ changed but

Re: Accident: After app in one tomcat is deleted, the same app in another tomcat is disappeared.

2010-12-03 Thread Pid
On 12/3/10 5:23 AM, Konstantin Kolinko wrote: 2010/12/3 Bill Wang bw57...@gmail.com: Is it possible? I do not think that it is possible. Maybe you are running more than 2 tomcat instances (e.g. failed to stop some old one properly). Maybe one of them runs with wrong $CATALINA_HOME or

Re: automatic deployment without server.xml - bad request

2010-12-03 Thread Pid
On 12/2/10 11:39 PM, Justin Case wrote: But what do you think about the 400 error? Is it really appropriate as answer in this setup? Well, 404 might be appropriate from the client's point of view. I think I remember the recent suggestion of a default ROOT application, used when no other is

Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Pid
On 11/29/10 8:38 PM, Konstantin Preißer wrote: At the moment I can't reproduce this issue any more. It happened some days ago, when I was viewing the webapp by Firefox and pressed F5 several times, when I noticed that Firefox sometimes displayed HTTP Headers as plain text. I used a network

Re: Tomcat Jakarta 1.2.31 ISAPI Reconnector incorrectly sending Content body with HTTP 304 Status

2010-12-03 Thread Pid
On 12/3/10 5:53 PM, Konstantin Preißer wrote: On 12/03/10 18:05 PM, Pid wrote: So, if you can consistently repeat this, can you also confirm that changing the date of the static error page prevents the 304 from being sent on a subsequent request? Hello, when I change the date

Re: java thread open after Tomcat shutting down

2010-12-03 Thread Pid
On 12/3/10 6:59 PM, Mark Thomas wrote: On 03/12/2010 18:36, pix_siro wrote: Hi all, I'm working on Ubuntu 9.10, I have implemented a Java application and I have installed it on Tomcat 7.0.4 with a WAR file. When I shut down Tomcat with the command ./shutdown.sh, a java thread remains open.

Re: Can't access tomcat manager

2010-12-02 Thread Pid
On 12/1/10 10:05 PM, Lava Saleem wrote: Hi, I have installed apache tomcat 7.0.4 on a centos linux box, 7.0.5 has just been released. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Modifying logging levels logged in catalina.out at runtime

2010-12-02 Thread Pid
On 12/1/10 7:59 PM, Jason Pyeron wrote: This may be slightly off-topic. I'll start off with I know how to do this from inside the webapp's code and how to do it by modifing properties files on the system at tomcat startup. But how can it be done from outside the webapp with out restarting

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 10:00 AM, Justin Case wrote: From: Konstantin Kolinko knst.koli...@gmail.com Just curious: why wtpwebapps? Eclipse IDE uses that name. Precisely :) Only because Eclipse publishes it there, so the name was kept. No other reason. Try with recent 6.0.x (build it yourself),

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 9:01 AM, Justin Case wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com JSPs are only compiled upon first reference, not before. That results in a slight (usually very slight) pause for the first guy in, so if you want to pre-compile them, there is a script

Re: Comet while migrating to Tomcat 7

2010-12-02 Thread Pid
On 12/2/10 3:28 PM, Ronald Klop wrote: Hello, I'm trying Tomcat 7. The Comet classes have been moved from the org.apache.catalina package to the org.apache.catalina.comet package. That is fine by me. But for deployment reasons it would be easy if I can deploy the same war on Tomcat 6 and

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 12:23 PM, Justin Case wrote: From: Pid p...@pidster.com This is either because your application is not deployed, or because the request path you're using does not match the actual request path deployed. When you start Tomcat, is there a message in the logs saying: 02-Dec-2010

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 12:34 PM, Justin Case wrote: From: Pid p...@pidster.com If the request isn't being routed to your application, then without a ROOT application the host hasn't got a mechanism to serve any response other than an error. Error is fine, as long it's a 404 (and not this enigmatic

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 10:24 PM, Justin Case wrote: Yeah I probably will do that - but I will still regard it as a dirty hack... A ROOT app should be mandatory. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Filter questions

2010-12-01 Thread Pid *
On 1 Dec 2010, at 14:35, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: Servlet Spec 2.5 SRV.6.2.1 The container provides the filter config as declared in the filter's deployment descriptor, the reference to the ServletContext for the Web application, and the set of

Re: Filter questions

2010-12-01 Thread Pid *
On 1 Dec 2010, at 17:28, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: -Original Message- From: Pid * [mailto:p...@pidster.com] Subject: Re: Filter questions On 1 Dec 2010, at 14:35, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: Servlet Spec 2.5 SRV

Re: Filter questions

2010-12-01 Thread Pid *
On 1 Dec 2010, at 17:28, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: -Original Message- From: Pid * [mailto:p...@pidster.com] Subject: Re: Filter questions On 1 Dec 2010, at 14:35, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: Servlet Spec 2.5 SRV

Re: allow user to start / stop webapps but not to deploy

2010-11-30 Thread Pid *
You could provide a custom API which interacts with JMX to do this. p On 30 Nov 2010, at 17:19, terry.mcbr...@aero.bombardier.com terry.mcbr...@aero.bombardier.com wrote: Hi there We are running Tomcat 6.0.29 on a Windows server. I would like a specific user to be able to stop and start

Re: allow user to start / stop webapps but not to deploy

2010-11-30 Thread Pid
On 11/30/10 9:22 PM, Christopher Schultz wrote: Pid, On 11/30/2010 1:12 PM, Pid * wrote: You could provide a custom API which interacts with JMX to do this. I thought more nuanced roles had recently been added to the manager app, but I can't find any configuration file comments to confirm

Re: [OT] Possible ThreadLocal memory leak in Apache Cocoon 2.1.11

2010-11-27 Thread Pid
On 27/11/2010 13:44, Christopher Schultz wrote: Pid, On 11/27/2010 8:18 AM, Christopher Schultz wrote: Pid, On 11/26/2010 4:54 PM, Pid wrote: On 26/11/2010 21:36, Christopher Schultz wrote: All, I've just started using versions of Tomcat 6 that have the memory leak prevention listener

Re: Got error when add webserver during load test.

2010-11-27 Thread Pid
On 27/11/2010 14:22, Suchada Pakapongpan wrote: Hi, In my projet has 3 webservers(Tomcat-httpd-integration:mod_proxy_ajp) with LVS loadbalancer(less connection). In the first case: All 3 webservers start to serve http load with LVS, it's ok no errors. But in the case: one webserver

Re: reload Tomcat applicaion via command line

2010-11-26 Thread Pid
On 26/11/2010 11:38, terry.mcbr...@aero.bombardier.com wrote: Hi there We are running Tomcat 6.0.29 on a Windows server. We would like to write a batch file that would allow us to schedule stopping and starting a web application. I can see how to start and stop Tomcat itself this way,

Re: Tomcat6 fails deploying on the cloud server

2010-11-26 Thread Pid
On 26/11/2010 14:08, Albert Mascarell wrote: INFO: ForkRunFactory.bb55e1ca-28a8-4e8b-a40c-56fa8fa09a48 subprocess output: Exception in thread main java.rmi.ConnectException: Connection refused to host: 174.143.170.163; nested exception is: Nov 26, 2010 1:39:00 PM

Re: [OT] Possible ThreadLocal memory leak in Apache Cocoon 2.1.11

2010-11-26 Thread Pid
On 26/11/2010 21:36, Christopher Schultz wrote: All, I've just started using versions of Tomcat 6 that have the memory leak prevention listener available and enabled in development, and I just saw this message in catalina.out when I shut down my Cocoon webapp: SEVERE: The web application

Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-25 Thread Pid
On 24/11/2010 22:11, declan harrison wrote: How are you writing to the output of the response? Im wrapping the response ServletOutputStream in a BufferedOutputStream; Something like this bufOutStream = new BufferedOutputStream(response.getOutputStream(),20480); ... and how are you writing

Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-25 Thread Pid
On 25/11/2010 10:22, declan harrison wrote: ... and how are you writing to the BufferedOutputStream? So I end up calling this method for most of the writes that are performed for binary IO. @Override public synchronized void write(byte[] b, int off, int len) throws IOException

Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-25 Thread Pid
On 25/11/2010 11:14, declan harrison wrote: On Thu, Nov 25, 2010 at 10:37 AM, Pid p...@pidster.com wrote: On 25/11/2010 10:22, declan harrison wrote: ... and how are you writing to the BufferedOutputStream? So I end up calling this method for most of the writes that are performed for binary

Re: Replace one class of a running webapp

2010-11-25 Thread Pid
On 25/11/2010 12:39, caro23 wrote: Hello all, I've deployed a JSF-Project to a Tomcat Server. The problem is that I need to make a small code change affecting only one class. There are currenty many users logged into the system, therefore, I don't want to deploy the whole

Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-25 Thread Pid
On 25/11/2010 17:49, declan harrison wrote: So far you've shown me that you wrap the output stream, and how the write method works. You haven't actually posted the part of the code where you write your bit of the data to the wrapped output stream. p I just call wrapper.write(buf,

Re: Please help ... [MultiThreadedHttpConnectionManager cleanup]

2010-11-24 Thread Pid
On 24/11/2010 14:41, Rob Gregory wrote: Please let me know if anyone has seen this before. I bet whoever put that in as a feature is really glad for all the posts that followed. http://wiki.apache.org/tomcat/MemoryLeakProtection or a quick google will provide you with some explanation,

Re: Starup Order [Filters -- Servlets -- Context]

2010-11-24 Thread Pid
On 24/11/2010 15:38, Rob Gregory wrote: Hi Guys, Am I correct in my assumption that servlet filters are started before servlets and that the context listeners are not fired until both the filters and servlets have been initialised? ServletContextListeners first, before Filters

Re: Starup Order [Filters -- Servlets -- Context]

2010-11-24 Thread Pid
On 24/11/2010 17:15, Rob Gregory wrote: Thanks Pid, see my comment below:- -Original Message- From: Pid [mailto:p...@pidster.com] Sent: 24 November 2010 17:05 To: Tomcat Users List Subject: Re: Starup Order [Filters -- Servlets -- Context] On 24/11/2010 15:38, Rob Gregory wrote

Re: Tomcat 6.0.24 - Should send body As Chunked Response but sometimes sends it back Un-Chunked

2010-11-24 Thread Pid *
On 24 Nov 2010, at 18:07, declan harrison harrison.dec...@gmail.com wrote: Hi This is my first post to tomcat user mailing list. Hello. I'm using Tomcat 6.0.24 on Linux RHELS release 5.3 (Tikanga) on a 64 bit OS. Which JVM version? I have deployed a Web application within Tomcat. The

Re: Error uploading a large file with slow connection

2010-11-22 Thread Pid
On 22/11/2010 11:20, Odilo Schwade Junior wrote: The stacktrace: form field [form.fileData] is not a file field at railo.runtime.tag.FileTag.getFormItem(FileTag.java:833):833 at railo.runtime.tag.FileTag.actionUpload(FileTag.java:666):666 at

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-22 Thread Pid
On 22/11/2010 19:16, Mark Thomas wrote: On behalf of the Tomcat committers I am pleased to announce that Christopher Schultz (schultz) has been voted in as a new Tomcat committer. Please join me in welcoming him. Nice. Welcome Chris! p Mark

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Pid *
On 21 Nov 2010, at 07:44, Mario Kleinsasser mario.kleinsasser+tom...@gmail.com wrote: Hi, On Sun, Nov 21, 2010 at 7:02 AM, rujin raj rujin...@gmail.com wrote: Hi, I am having a windows 2008 ent server and tomcat 6.0.29 64 bit,JVM 1.6.0 64 bit installed and SSL is configured in my server.

<    7   8   9   10   11   12   13   14   15   16   >