Re: Loading Super Classes with ClassLoader in Tomcat

2011-10-10 Thread Pid
On 10/10/2011 18:51, Peter Lavin wrote: Hi Filippo, tks for your reply. I'm not actually specifying any ClassLoader, perhaps I should? How should I specify a ClassLoader to use when dynamically loading a class? You can pass one into the Constructor of your own classloader: public

Re: parallel webapp initializa​tion

2011-10-10 Thread Pid
On 10/10/2011 10:30, sasc sasc wrote: +1 for this enhancement. With configurable number of threads (default: Runtime.getRuntime().availableProcessors()) Such a change might prove unwelcome for people who've got (however fragile) configurations which rely on apps starting in a specific order.

Re: parallel webapp initializa​tion

2011-10-10 Thread Pid
On 10/10/2011 19:16, Rainer Jung wrote: On 10.10.2011 19:35, Felix Schumacher wrote: Am Montag, den 10.10.2011, 11:30 +0200 schrieb sasc sasc: +1 for this enhancement. With configurable number of threads (default: Runtime.getRuntime().availableProcessors()) I would also like to expand/add to

Re: How to save the log info to log file

2011-10-10 Thread Pid
On 09/10/2011 03:24, ganu MailList wrote: In windows, How to let the tomcat write the catalina log to the log file, I find that in the linux ,the log will be saved to the log file , but in the window 7, the log is print to the console. how to set ? Install it as a service, configure the

Re: two questions about the session timeout in tomcat

2011-10-10 Thread Pid
, the application, the database or something else? Enable JMX[1] connect VisualVM[2] to your Tomcat instance. p 1. http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html#Enabling_JMX_Remote 2. http://visualvm.java.net/ On Oct 10, 2011 3:02 PM, Bill Wang bw57...@gmail.com wrote: Hi Chris, Pid

Re: parallel webapp initializa​tion

2011-10-10 Thread Pid *
On 10 Oct 2011, at 23:36, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/10/2011 2:28 PM, Pid wrote: On 10/10/2011 10:30, sasc sasc wrote: +1 for this enhancement. With configurable number of threads (default

Re: Fwd: SessionListener.sessionDestroyed is not called when stopping web application

2011-10-10 Thread Pid
On 11/10/2011 06:24, Violeta Georgieva wrote: Hi Chris, I tried: - stopping application - undeploying application - stopping Tomcat I can confirm that in all three scenarios sessionDestroyed method is not invoked and session.expire(false) is invoked. Is your application deployed to a

Re: EXTERNAL: Re: install of Tomcat 6.0.33

2011-10-10 Thread Pid
On 10/10/2011 21:42, Palmer, Anthony wrote: Here is a response that I just received. What do you think? I think you should go with Mark's suggestion, which was: Atlassian will disagree with this view but my recommendation would be to install the latest Tomcat 6.0.x release along with the latest

Re: How to get Tomcat HTTP port during startup of the server

2011-10-07 Thread Pid *
On 6 Oct 2011, at 19:22, Lahiru Gunathilake glah...@gmail.com wrote: Hi Charles, This is my usecase, I want to register my application URL to a repository and there is another remote application who reads that URL somewhere and invoke my application. So during the startup I need to register

Re: two questions about the session timeout in tomcat

2011-10-07 Thread Pid
On 07/10/2011 00:20, Bill Wang wrote: Hi Tomcat Guru, Recently one of Tomcat application has performance issue, which get slow respond with high sessions. You should find out exactly why that is, rather than guessing. One team member recommend me to adjust the session timeout from 60

Re: Using multiple login pages

2011-10-06 Thread Pid
On 05/10/2011 18:51, Martin O'Shea wrote: welcome-file-list welcome-file/jsp/index/newjsp.jsp/welcome-file /welcome-file-list This is incorrect, it should contain a list of welcome-file elements which indicated which files can be used as index files, when found in a directory. It

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Pid *
The changes from the Spring security filter can't be seen by the access log valve. p On 30 Sep 2011, at 12:40, Richard Sayre richardsa...@gmail.com wrote: I'm still having some trouble. I added the Spring filter and then in my web app I called: getRequest().getRemoteUser() and

Re: Seeking tips on multi-host, multi-context deployments

2011-09-29 Thread Pid
All of which is splendid, but it would've been better if you hadn't hijacked the Incorporating changes compiling Tomcat thread by replying to my last message editing the subject body. Please start a new thread instead, in future. p signature.asc Description: OpenPGP digital signature

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-09-29 Thread Pid
. I have recently enabled catalina_pid functionality using environment variable. The PID file got created and contains +1 PID number. If the Tomcat's real PID number 5446, the pid file would contain 5447 as PID number. catalina.sh is a shell script file. There are not many secrets

Re: TOMCAT-7.0 and SSL issues

2011-09-28 Thread Pid
On 28/09/2011 17:17, Alexandre Adao wrote: Please start a new email, rather than replying to an existing thread 2 servlets on tomcat. This is called thread hijacking. p signature.asc Description: OpenPGP digital signature

Re: Incorporating changes and compiling Tomcat

2011-09-28 Thread Pid
On 27/09/2011 21:58, gilbert.be...@bcbssc.com wrote: Can any one please direct me to instructions on how to incorporate fixes and then recompile. Target OS is Windows Server 2003. Thanks! Note: Tomcat doesn't issue patches, a new version is released. Unless you are planning to write patches

Re: Incorporating changes and compiling Tomcat

2011-09-28 Thread Pid
On 28/09/2011 18:44, Wilde, Bruce R. wrote: So, what are security minded system administrators to do about mitigating CVE-2011-3190 against V6.0.33? From the http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.34_( not_yet_released) page Mitigation options:

Re: Session management issue with Tomcat

2011-09-24 Thread Pid
On 23/09/2011 19:47, Martin O'Shea wrote: I should have mentioned that as only one user can be logged into a browser session at any one time, they do have to log out for another user to log on. But the logging out process does not do any cookie handling or server-session invalidation. The

Re: Limiting access to resources, based on username, not on the user role

2011-09-23 Thread Pid
On 22/09/2011 23:23, Omar Belkhodja wrote: Thanks Pid. What do you mean by a mapping ? Is it some kind of servlet that would read the file, and create the HTTP answer after having checked the login ? An arbitrary URL structure: /images/{user}/{imageid} If /images/* was secured, then any

Re: Session management issue with Tomcat

2011-09-23 Thread Pid
On 22/09/2011 19:49, Martin O'Shea wrote: To answer your questions: Is there a reason this data is in a custom cookie, rather than the session, via setAttribute()? The cookie is dedicated and meant to be persistent. The idea is that a user is recognised by the system upon returning to the

Re: Session management issue with Tomcat

2011-09-22 Thread Pid
On 22/09/2011 13:56, Shanti Suresh wrote: Hi Martin, You will have to expire/invalidate the session in the code upon user logout. This way when the cookie comes in, there is no corresponding session-ID and the system will create a new session. Are you doing that already? Does that

Re: Session management issue with Tomcat

2011-09-22 Thread Pid *
Is there a reason this data is in a custom cookie, rather than the session, via setAttribute()? What is the expiry time of the custom cookie? How exactly are you invalidating this other cookie, when you invalidate the session? p On 22 Sep 2011, at 15:08, Martin O'Shea app...@dsl.pipex.com

Re: Apache Tomcat 5.5.34 Question (UNCLASSIFIED)

2011-09-22 Thread Pid *
On 22 Sep 2011, at 14:21, BARRON, HAROLD H CTR DISA EE harold.barron@disa.mil wrote: Classification: UNCLASSIFIED Caveats: NONE Thanksit's kind of hard to understand how to implement this workaround but I will look into it. Do you use HTTPD with mod_jk or mod_proxy_ajp in front if

Re: [tomcat-6.0.33] META-INF/context.xml Environment not working

2011-09-22 Thread Pid *
Why not do your initialisation in the Servlet.init() method? p On 22 Sep 2011, at 16:42, Tim Watts t...@cliftonfarm.org wrote: Hello, My very basic servlet fails to initialize when trying to read its JNDI environment entry. The app context name is xbasic. The context.xml is in

Re: Tomcat 7 sometime returns wrong IP address with request.getRemoteAddr()

2011-09-22 Thread Pid
On 22/09/2011 03:06, Caldarale, Charles R wrote: From: charlesk40 [mailto:charles...@yahoo.com] Subject: Tomcat 7 sometime returns wrong IP address with request.getRemoteAddr() box1 makes a request to Tomcat7 server but the request.getRemoteAddr() returns the IP address of box2 (or box

Re: Limiting access to resources, based on username, not on the user role

2011-09-22 Thread Pid
On 22/09/2011 23:03, Omar Belkhodja wrote: Hello, I'm trying to create some kind of web application, that will provide access to sensitive data for users. Each user, should login first, then after that he will be able to display a set of pictures. So the url for pictures, should have a

Re: default realm set to JAASRealm in StandardEngine

2011-09-21 Thread Pid
On 21/09/2011 15:54, Michael-O wrote: Christopher, Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, On 9/21/2011 3:52 AM, 1983-01...@gmx.net wrote: I have removed the MemoryRealm from my server.xml in Tomcat 6.0.33 and noticed that the StandardEngine

Re: Expected Release Date

2011-09-21 Thread Pid
On 21/09/2011 16:15, Wilde, Bruce R. wrote: When is Tomcat version 6.0.34 expected to be released? There are no fixed release dates, but Tomcat 6 releases about 4 times per year. p signature.asc Description: OpenPGP digital signature

Re: Display a static page while application loading.

2011-09-20 Thread Pid
On 19/09/2011 16:52, David kerber wrote: On 9/19/2011 10:50 AM, Eric Bouer wrote: Yeah but high availability/scaling solutions or a dynamic nature of application where new features are added frequently are common. HA and scaling solutions typically employ a load balancer (i.e. Apache

Re: Users and authentication - how?

2011-09-20 Thread Pid
On 20/09/2011 15:40, Leo Donahue - PLANDEVX wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, September 20, 2011 6:29 AM To: Tomcat Users List Subject: Re: Users and authentication - how? On 18/09/2011 21:42, java4dev wrote: * Implement your own using

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Pid
On 15/09/2011 02:08, Dean Hoover wrote: We're using Lightning (add-on from Thunderbird email client). The error we get is MODIFICATION_FAILED, which from some review points to permissions to the .ics file. On Wed, Sep 14, 2011 at 4:34 PM, Pid p...@pidster.com wrote: On 14/09/2011 18:14

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Pid
On 15/09/2011 13:28, André Warnier wrote: Pid wrote: On 15/09/2011 02:08, Dean Hoover wrote: We're using Lightning (add-on from Thunderbird email client). The error we get is MODIFICATION_FAILED, which from some review points to permissions to the .ics file. On Wed, Sep 14, 2011 at 4:34

Re: HTTP errors Logging

2011-09-15 Thread Pid
On 14/09/2011 16:26, Michael Gesundheit wrote: Hi, I could not find anything in the archive so here is my question:Is there any way to get DEBUG or any log regarding HTTP error messages? I currently get a 403 but, so far, can't find the root cause. Thanks,-Michael Please start an entirely

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Pid
On 14/09/2011 16:38, Darius D. wrote: p Well the problem is that we already looked for that mode of failure, our servlet class has 0 instance variables... Basically it is a method like i pasted before, doing HttpSession session = request.getSession(); and if session is valid (it is!)

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Pid
On 15/09/2011 14:46, Darius D. wrote: Pid * wrote: What is your server.xml config? (please remove comments, passwords etc post it inline, in the response) Here it is, nothing special ( except usage of RemoteIpValve ). Thanks for looking into this problem. ?xml version

Re: mod_proxy_balancer anomaly Question

2011-09-15 Thread Pid
On 15/09/2011 16:18, Shanti Suresh wrote: All, I am trying to understand some anomaly with mod_proxy and mod_proxy_balancer. mod_proxy works fine if the (reverse)Proxying is done to the local Tomcat Engine rather than going through the balancer. If it goes through the balancer, then an

Re: Tomcat and MS LDAP Configuration Problem

2011-09-14 Thread Pid
On 13/09/2011 23:35, Rudy Gireyev wrote: If I change the url-pattern to /* then the user is authenticated each and every time the application is accessed and the request.getRemoteUser() is then set to that user name. But then I cannot store anything in the session of the application. When I do

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Pid
On 14/09/2011 08:34, Darius D. wrote: Hi, we have a problem of request params beeing null in servlets where it shouldn't be ( post or get, in get we can even see that request.getQueryString() is fine, but params are null). It is more pronounced when using dedicated thread executor,

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Pid
On 14/09/2011 11:55, Darius D. wrote: Pid * wrote: doProcess(req, res) is not a Servlet API method. What other method(s) call it? Usually this type of thing occurs because the request (or response) is being held as an instance field somewhere in a thread-unsafe way. It is called

Re: Using calendar .ics files over Tomcat 5.5

2011-09-14 Thread Pid
On 14/09/2011 18:14, Dean Hoover wrote: The problem I am having is that we are unable to modify (add/remove calendar entries) after the move. How are you trying to update them? p signature.asc Description: OpenPGP digital signature

Re: Clustering / High Availability edge cases?

2011-09-13 Thread Pid
On 13/09/2011 10:51, John Bass wrote: Hi all, I'm relatively new to clustering with Tomcat and I'm trying to understand the edge cases. If I'd like to guarantee continuous availability, what are the caveats? As I understand it, Tomcat clustering will ensure that session information is

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-09-13 Thread Pid
On 13/09/2011 13:19, Darius D. wrote: Hi, well the problem is that we have the same problem, real strange NPEs in servlets. It is more pronounced when using dedicated thread executor, moving to threads provided by connector itself (with maxThreads=500 option using NIO ) seems to be

Re: Urgent -- Need help configuring JNDI realm

2011-09-13 Thread Pid
On 13/09/2011 19:20, Savitha Akella wrote: Hi, Any help is appreciated. http://catb.org/~esr/faqs/smart-questions.html p signature.asc Description: OpenPGP digital signature

Re: Save session information in Memory database

2011-09-09 Thread Pid
On 09/09/2011 15:58, Ashish Kulkarni wrote: Hi The problem is we are running on 32 bit system and cannot go beyond 1.5 GB or ram, because of some clients limitations. Is it possible to save session in database, instead of heap memory which would help us, the speed is ok if it slows down a

Re: tomcat manager not working

2011-09-08 Thread Pid
On 08/09/2011 21:06, Jordan Michaels wrote: Make sure the localhost server.xml mapping points to the tomcat webapps/ROOT/ directory and you should be set to use the Tomcat webapps. What does that mean in terms of the XML elements attributes in server.xml? p signature.asc Description:

Re: JNDI configuration with 6.0.29

2011-09-07 Thread Pid
On 06/09/2011 21:11, Anjib Mulepati wrote: Hi All, I am trying to setup JNDI mapping for oracle JDBC Connection Pooling with Tomcat 6.0.29. This is giving me following error javax.naming.NameNotFoundException: Name dynic is not bound in this Context

Re: servlet unavailable

2011-09-04 Thread Pid
On 03/09/2011 22:36, Adam Posner wrote: Posner to users show details 8:16 PM (2 minutes ago) Hello all: I am hoping someone can help with this. Tomcat 6.0.28 keeps giving me, saying 'Servlet Front Controller is not available' I am using struts 1, the jar file is struts-core-1.3.10

Re: [Solved] Two SSL certs. for same web app

2011-08-31 Thread Pid
On 31/08/2011 08:24, Greg Johnson wrote: No, and you don't need to make any changes other than adding the extra Connector. Traffic from both Connectors will be routed to the single Engine and Host. Thanks for the advice, Chuck. I did end up needing to slightly change the Host and Engine

Re: [Solved] Two SSL certs. for same web app

2011-08-31 Thread Pid
On 31/08/2011 11:48, Pid wrote: On 31/08/2011 08:24, Greg Johnson wrote: No, and you don't need to make any changes other than adding the extra Connector. Traffic from both Connectors will be routed to the single Engine and Host. Thanks for the advice, Chuck. I did end up needing

Re: manager / deploy context file

2011-08-27 Thread Pid
On 26/08/2011 19:21, Johannes Ernst wrote: The documentation has to be updated. Please file an issue. https://issues.apache.org/bugzilla/show_bug.cgi?id=51727 Personally I feel the documentation is correct and the code is wrong. What point is there to have a path parameter in context.xml

Re: Need help regarding removing port number from URL

2011-08-26 Thread Pid
On 26/08/2011 17:02, Shanmukha Venkata Sri ChandraSekhar Nallapati wrote: Hi, I need a help regarding removing port number from URL. For example: Supposing my URL is, http://abcd.com:4040/context-path/gui/. I wish Apache Tomcat to handle the request on same tomcat process, when using the

Re: Tomcat 6.0.26 bundled with Netbeans 6.9.1

2011-08-24 Thread Pid
On 24/08/2011 09:44, André Warnier wrote: Ana Maria Teodorescu wrote: Dear Tomcat users and experts, I downloaded Netbeans 6.9.1 including Apache Tomcat on my Mac snow leopard. When I go to the page http://localhost:8080/ the message that I've setup correctly Tomcat appears. But, if I

Re: Conditional Branch from Servlet to URL

2011-08-24 Thread Pid
On 24/08/2011 03:46, Leo Donahue - PLANDEVX wrote: From: Donald Jolley [jolleyt...@gmail.com] Subject: Conditional Branch from Servlet to URL I'm not at all surprised about the request and response symbols as they appear to be undefined. I really

Re: Is there a way to bake in URL parameters to a URL path?

2011-08-24 Thread Pid
On 24/08/2011 21:21, Mattmann, Chris A (388J) wrote: Thanks Chris for the advice. Or people use an MVC framework of some sort to map URLs to methods. p Cheers, Chris On Aug 24, 2011, at 11:26 AM, Christopher Schultz wrote: Chris, On 8/24/2011 10:56 AM, Mattmann, Chris A (388J)

Re: Logging in options in Tomcat 6.0.26

2011-08-23 Thread Pid
On 23/08/2011 10:48, Martin O'Shea wrote: Hello I wonder if anyone can advise? I am using Tomcat 6.0.26 in an application with a MySQL 5.* back end database. Currently my users' username and userrole details are stored in the User table of the database. At the moment though, there is

Re: how to link a webapp deployed on one tomcat server on another tomcat server?

2011-08-23 Thread Pid
On 23/08/2011 08:32, sanre6 wrote: i have a main domain tomcat server ,i want to link a webapp that's deployed in an another tomcat server which is in the LAN of the main server . i do not want to use apache2 server and i cant deploy the app on the main server .how can i do this ,any

Re: Tomcat 7 + VirtualHost

2011-08-22 Thread Pid
On 22/08/2011 11:51, Piotr Pawlowski wrote: Dear All, I have following issue: I have domain, example.com. My application is running under http://example.com/myApp . Unfortunately every time I need to enter full url to access my application (example.com/myApp). Is it possible to configure

Re: Tomcat 7 + VirtualHost

2011-08-22 Thread Pid
On 22/08/2011 13:15, Piotr Pawlowski wrote: A lot of hyperlinks are hard-coded in it. That can't possibly go wrong... p signature.asc Description: OpenPGP digital signature

Re: AW: How to cancel upload?

2011-08-21 Thread Pid
On 21/08/2011 08:08, Steffen Heil (Mailinglisten) wrote: AFAIK Tomcat processes the request before the user code in a servlet is active, so you can't do it from inside a servlet. Hm. Tomcat does NOT parse these POST parameters (at least not by default and not in my case). I know for sure,

Re: [OT] Re: How to handle the AWT-Windows thread?

2011-08-21 Thread Pid
On 21/08/2011 01:19, Christopher Schultz wrote: Pid, On 8/20/2011 6:06 PM, Pid wrote: On 19/08/2011 15:45, Christopher Schultz wrote: Dan, On 8/18/2011 5:22 PM, Dan Armbrust wrote: Toolkit.getDefaultToolkit().createImage(new byte[]{}); Simply calling getDefaultToolkit will do the trick

[OT] Re: How to handle the AWT-Windows thread?

2011-08-20 Thread Pid
On 19/08/2011 15:45, Christopher Schultz wrote: Dan, On 8/18/2011 5:22 PM, Dan Armbrust wrote: Toolkit.getDefaultToolkit().createImage(new byte[]{}); Simply calling getDefaultToolkit will do the trick: you don't have to waste time creating an image. I'll implement this in the

Re: Tomcat 7 Directory Alias (content outside war file)...how to?

2011-08-20 Thread Pid
On 20/08/2011 21:08, Michael McCutcheon wrote: Hello, I keep reading about how tomcat 7 has the ability to have a war file reference external content (i.e. a directory containing images) outside of the war file. Can someone point me to the documentation of this feature? Here:

Re: How to cancel upload?

2011-08-20 Thread Pid
On 19/08/2011 14:37, Steffen Heil (Mailinglisten) wrote: Hi Short question: How can I prevent tomcat to receive the complete post data? Stop sending the data before it's all been sent. Long question: I have a servlet that uses apache commons fileupload to process incoming uploads using

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Pid
On 18/08/2011 22:22, Dan Armbrust wrote: On Thu, Aug 18, 2011 at 2:13 PM, Christopher Schultz ch...@christopherschultz.net wrote: The JVM should not launch more than one AWT thread, so you should be okay. The only issue would be whether or not it inherits the webapp's context ClassLoader

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-08-17 Thread Pid
On 16/08/2011 08:08, rakesh k wrote: Hi Andre Sorry for this, I had pasted the entire xml file.. I am hereby providing the server.xml with removing the commented parts. I've edited the below a little. Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=150

Re: Tomcat war context path

2011-08-15 Thread Pid
On 15/08/2011 18:05, Mohit Anchlia wrote: Is this even possible with tomcat? In Tomcat 7.0: abc##SNAPSHOT-01.war abc##SNAPSHOT-02.war abc##SNAPSHOT-03.war abc##SNAPSHOT-04.war etc On Thu, Aug 11, 2011 at 12:32 PM, Mohit Anchlia mohitanch...@gmail.com wrote: Currently when I deploy

Re: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-15 Thread Pid
On 15/08/2011 19:09, Lataxes, Karl wrote: I wrote the code to generate the session id and add it as an HTTP header at the recommendation of someone on the users list. The problem now is appending the jvmroute to the generated session id in order to get session stickiness to work. If there

Re: Get SSO ID on server

2011-08-12 Thread Pid
On 11/08/2011 22:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chema, On 8/11/2011 5:00 PM, Chema wrote: How I can get SSO ID on a servlet? Get the cookie value for JSESSIONIDSSO. I want to know this ID without browser sends a cookie to server.

Re: Generating SSL certificates

2011-08-12 Thread Pid
On 12/08/2011 02:26, Darryl Lewis wrote: Our certificates are about to expire and I need to generate new ones for tomcat. I'm using keytool, but getting a strange error. Please start an entirely new thread, rather than replying to an existing email just editing the subject body (which is

Re: Parallel Deployment Sessions: What am I Missing?

2011-08-12 Thread Pid
On 12/08/2011 04:01, Jonathan Rosenberg wrote: Trying to fall asleep and just had a thought on my problem: are context-param values shared across different context versions (as implemented in parallel deployment)? Nope. The apps are self-contained. C -- JR On Aug 11, 2011 6:10 PM,

Re: Cannot make war file as default app

2011-08-12 Thread Pid
On 12/08/2011 09:32, exquisite wrote: Hi Mark, I tried that way as well but i get the same issue. Tomcat does not even deploy my war. All it says on console is ' Server startup in xxx ms and stays there forever. Im getting confused and wondering if there is any mistake in the Tomcat

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-08-12 Thread Pid
On 12/08/2011 12:31, rakesh k wrote: Hi Igor Cicimov Thank you very much for replying .. Connector executor=tomcatThreadPool port=8082 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Engine name=Catalina defaultHost=localhost

Re: Parallel Deployment: Get Context Version #

2011-08-11 Thread Pid
On 11/08/2011 02:55, Jonathan Rosenberg wrote: Two benefits: 1) Allows incompatible upgrades. 2) Allos existing sessions to complete. Parallel deployment does allow existing sessions to complete. Only new sessions are directed to the newest application. Are you seeing different behaviour?

Re: TC 6.0.20 Cleanup after application crash

2011-08-10 Thread Pid
On 10/08/2011 19:26, Dante Bell wrote: after 15 minutes it starts serving up db responses! Sounds a bit like an OutOfMemoryError, which is not uncommon during load tests. If the 'customised' load tester is a bit rough around edges, what are you really testing? p

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Pid
On 10/08/2011 19:55, Jonathan Rosenberg wrote: Quick answer: I want to have my Grails app determine at runtime which version it was deployed as (bad English, I know). Longer answer: I want to use parallel deployment as an easy way to allow existing sessions to continue while redirecting

Re: Parallel Deployment: Get Context Version #

2011-08-10 Thread Pid
Sanctuary http://www.tabbysplace.org/ On Wed, Aug 10, 2011 at 4:00 PM, Pid p...@pidster.com wrote: On 10/08/2011 19:55, Jonathan Rosenberg wrote: Quick answer: I want to have my Grails app determine at runtime which version it was deployed as (bad English, I know). Longer answer: I want

Re: URL rewrite

2011-08-09 Thread Pid
On 08/08/2011 20:36, Mohit Anchlia wrote: I need to re-write URL using some Http Headers. Can I use any headers? Or only the one listed here? http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html Is HTTP_HOST always set? I printed headers of my servlet and this is what I see. I used

Re: Plz remove my contact

2011-08-08 Thread Pid
On 08/08/2011 08:34, MUKHERJEE, SUPRATIM (ATTSI) wrote: Hi, I no longer wish to be part of this mailing list. Please remove me from the list. Regards, Supratim Mukherjee | Mobility ProdOps and Tools Team Cube: 9-3n250d, 900 North Point Parkway, Alpharetta GA 30005 (D) 678-893-6716

Re: Problem with cookies

2011-08-08 Thread Pid
On 08/08/2011 08:29, Oleg Belykh wrote: I have a strange problem when accessing servlet on Tomcat 7.0.14 server with Safari and Google Chrome browsers. There is no cookies. No JSESSIONID, nothing in Javascript: document.cookie variable. But i see that cookie JSESSIONID is registered in Show

Re: Deploying ROOT Context for variable .war filename

2011-08-08 Thread Pid
On 08/08/2011 09:56, jenskreidler wrote: Hi tomcat-users, using tomcat 7, is it possible to mount the ROOT context path for a .war file, where the .war file will have a variable file name, i.e. building a .war by a continuous integration server. For example, you get a

Re: Deploying ROOT Context for variable .war filename

2011-08-08 Thread Pid
On 08/08/2011 10:30, jenskreidler wrote: Pid * wrote: On 08/08/2011 09:56, jenskreidler wrote: Hi tomcat-users, using tomcat 7, is it possible to mount the ROOT context path for a .war file, where the .war file will have a variable file name, i.e. building a .war by a continuous

Re: Application error after move of site

2011-08-08 Thread Pid
On 08/08/2011 13:46, Dave Filchak wrote: Hi, I had to switch hosts and one of the sites that I inherited is a tomcat site. After the move most of the site is fine but on a number of links, I get the following error: Error reading properties file: Please check the following: 1. That you

Re: Tomcat 7.0.19 overrides the http status code on forward

2011-08-08 Thread Pid
On 08/08/2011 15:07, Eugen Paraschiv wrote: I'm seeing some strange behavior with a RequestDispatcher forward in Tomcat. The the exact code doesn't generate the problem on Jetty, so it is probably related to the servlet implementation. The problem is as follows: Spring does a forward on an

Re: Tomcat 7 adds jsessionid in request URI as opposed to Tomcat 5

2011-08-05 Thread Pid *
On 4 Aug 2011, at 08:23, Javed javed.at...@gmail.com wrote: I was using Tomcat 5.0.28 before using Tomcat 7.0.16. The application was working perfectly fine. Recently, we have migrated from Tomcat 5 to Tomcat 7. The application works fine for most of the part but gives problem with

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Pid
On 05/08/2011 16:12, Mark Thomas wrote: On 05/08/2011 15:34, Dante Bell wrote: Hi, I'm running out of ideas on what to try for this customer. Their load tests show that Tomcat is getting to a point where it no longer services requests. Let me guess. It is fine for low loads but as soon as

Re: Tomcat 7 and Java 7

2011-08-05 Thread Pid
On 05/08/2011 16:59, Jarnagin.Andrew wrote: It is working for me now. I think it had to do with remnants of multiple JDK versions on my machine including RC Java 7 releases. It caused many exceptions to show in the console on start-up and a 404 response for http:localhost:8080. I

Re: 503 error - service not available

2011-08-04 Thread Pid
On 04/08/2011 03:38, Igor Cicimov wrote: Obviously apache can't connect to tomcat. Any firewall/load balancer changes maybe done last night between apache and tomcat? Can you access tomcat apps bypassing apache? Can you telnet to tomcat server on the tomcat port from the apache? Any errors in

Re: Problem with threads in stage Service (Tomcat 7.0.14)

2011-08-04 Thread Pid
On 02/08/2011 02:11, Christopher Schultz wrote: public HTMLEncoder() { mapChar2HTMLEntity= new HashMap(); int longueur = characters.length; for (int i = 0; i longueur; i++) mapChar2HTMLEntity.put(new Character(characters[i]), entities[i]); } So you have Character - String (entity

Re: 503 error - service not available

2011-08-04 Thread Pid
On 04/08/2011 21:36, Brendon wrote: From what I gether from this thread is sounds like the Apache web server is not active and the problem is not ApacheTomcat. If HTTPD wasn't active there'd be nothing in the mod_jk log and no 503 response... p

Re: Tomocat 6.0.20 Comet END Event *NOT RAISED* when connection is terminated

2011-07-30 Thread Pid
On 29/07/2011 18:33, Sudeep Pradhan wrote: Pid, I tried Tomcat 6.0.32.. no luck yet. Even ERROR event is not raised. Can you provide a simple example which exhibits this behaviour? Also, I am seeing something weird (may not be related to this problem, but think its worth mentioning). I am

Re: Trouble with List Application function of Tomcat Manager

2011-07-29 Thread Pid
On 28/07/2011 20:37, Beohm, Thomas wrote: Hello! I'm running Tomcat 7.0.11 on Windows Server 2008 Enterprise, and recently installed Windows Updates (to the tune of like 80 of them) on the server. After doing so, when attempting to view the list of web apps running in Tomcat, I get the

Re: Problem with threads in stage Service (Tomcat 7.0.14)

2011-07-29 Thread Pid
On 28/07/2011 20:07, Alejandro Henao González wrote: I dont believe that have GC running all the time, but the GC is called in the above line to HTMLEncoder.encode. as follows. System.gc(); resultado = htmlEncoder.encode(resultado); Is 'htmlEncoder' a static field, an instance field or

Re: Tomocat 6.0.20 Comet END Event *NOT RAISED* when connection is terminated

2011-07-29 Thread Pid
On 28/07/2011 20:42, Sudeep Pradhan wrote: Hi, I have a CometProcessor Servlet which is used for streaming system events to a http client. I have SSL enabled on the server. I use *curl* as the http client. I get streaming events on the console. But when I do a Ctrl-C on the console

Re: Problem with threads in stage Service (Tomcat 7.0.14)

2011-07-29 Thread Pid
On 29/07/2011 08:41, André Warnier wrote: Pid wrote: On 28/07/2011 20:07, Alejandro Henao González wrote: I dont believe that have GC running all the time, but the GC is called in the above line to HTMLEncoder.encode. as follows. System.gc(); resultado = htmlEncoder.encode(resultado

Re: Updating JAR META-INF/resources at runtime

2011-07-28 Thread Pid
On 27/07/2011 17:06, David Wolverton wrote: Thanks Ognjen, Using 'reloadable' does cause the resources to update. However, this is not the solution I am looking for because it does this by reloading the webapp. The classloader initialises at loadtime, in order to release resources and load

Re: Updating JAR META-INF/resources at runtime

2011-07-28 Thread Pid
On 28/07/2011 08:31, Pid wrote: On 27/07/2011 17:06, David Wolverton wrote: Thanks Ognjen, Using 'reloadable' does cause the resources to update. However, this is not the solution I am looking for because it does this by reloading the webapp. The classloader initialises at loadtime

Re: Wrong Response returned for a Request

2011-07-28 Thread Pid
On 28/07/2011 07:34, Robert Elliot wrote: On 28 Jul 2011, at 00:24, David Rees dree...@gmail.com wrote: On Wed, Jul 27, 2011 at 10:39 AM, Mark Thomas ma...@apache.org wrote: On 27/07/2011 17:23, Robert Elliot wrote: We are using Tomcat 6.0.29, and occasionally experiencing

Re: fail to download large static files in tomcat

2011-07-28 Thread Pid
On 28/07/2011 07:31, Michal Singer wrote: Regarding the question I asked on downloading large static files a while ago, I got a reply now: hi, i got the same issue today, environment: windows xp, tomcat 7 with nio connector; it works after i try to add useSendfile=false in server.xml

Re: Wrong Response returned for a Request

2011-07-28 Thread Pid
On 28/07/2011 09:26, Robert Elliot wrote: - Original Message - From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, 28 July, 2011 9:07:13 AM Subject: Re: Wrong Response returned for a Request On 27/07/2011 17:23, Robert Elliot wrote: We are using

Re: fail to download large static files in tomcat

2011-07-28 Thread Pid
On 28/07/2011 09:19, Michal Singer wrote: What works? When using nio connector with this parameter useSendFile=false, the load of large static files works fine. Before I set it to false it failed. Are you still attempting to resolve this, or just commenting? p

<    4   5   6   7   8   9   10   11   12   13   >