RE: JNDI datasource error upgrading from Tomcat 7.0.23 to 7.0.27

2012-10-29 Thread Bob Dietrich
@Aladin Thanks for your suggestion. I took a look at the thread and I'm not clear how realms would be an issue for me (using the defaults), but that could just be my poor understanding. Bob -Original Message- From: Aladin Dajani [mailto:aladin.daj...@gmail.com] Sent: Saturday, October

Re: Implementing SSL and error invocating https://localhost:8443/ (Tomcat 7.0 on Windows 7)

2012-10-29 Thread Ognjen Blagojevic
Gabriel, On 28.10.2012 3:48, Gabriel Huerta Araujo wrote: 5.- When I open IE with http://mydomain.com:8080/ or https://mydomain.com:8443/ appears or : IE can not show web page. It seems that your hosts file is not properly configured. 1. Make sure you are editing

Re: a lot of threads waiting for a Http11ConnectionHandler

2012-10-29 Thread Mark Thomas
Alexander Shutyaev shuty...@gmail.com wrote: Hi all! We have an embedded Tomcat v7 in our application. Recently our app crashed and when I've analyzed the thread dump, among other things I've noticed that there are 60 threads (out of 464 total) are waiting for a monitor *

Re: Tomcat Linux/Windows Performance Question

2012-10-29 Thread André Warnier
Ashkan Rahmani wrote: ... Application is under heavy developing, app has some page ( I call it page, I don't know java or serverlet) with very high latency occurs for now, some times we got out of memory error message. This is test server with windows 2003 x86 and tomcat 6.x. Chief developer

Re: Tomcat 7 manager quirk?

2012-10-29 Thread Rainer Frey
On 27.10.2012, at 11:31, Pid p...@pidster.com wrote: I don't like the idea of .war uploads via the Manager app to a production server, myself... Out of interest: how do you do deployment to production? Rainer - To

Tomcat 7 | Tracking the completion of the WAR file deployment

2012-10-29 Thread Anurag Kapur
Hi, I have a few WAR files provided by a supplier where there are environment specific configurations in files that cannot be moved outside the web application (It is possible, but since I do not have the source code, I cannot do it and this looking for options while the suppliers does this at

Re: Tomcat 7 | Tracking the completion of the WAR file deployment

2012-10-29 Thread Brett Delle Grazie
Hi, On 29 October 2012 11:35, Anurag Kapur anuragka...@gmail.com wrote: Hi, I have a few WAR files provided by a supplier where there are environment specific configurations in files that cannot be moved outside the web application (It is possible, but since I do not have the source code, I

unknown state in VisualVM

2012-10-29 Thread Charles Richard
Hi, I had a thread a while back but my configuration has changed and so has my issue, so hence a new thread. My config: CentOS 5.8 Apache 2.23 3 tomcat instances (6.0.30) with each ajp_port with a connectionTimeout setting of 18 mod_jk 1.2.37 workers.properties: # Define 1 real worker

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
To add to this, apache seems to be hung up as well as it can't even serve regular non mod_jk content but there's no error messages. Cheers, Charles On Mon, Oct 29, 2012 at 9:37 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, I had a thread a while back but my configuration has

Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-10-29 Thread Asankha C. Perera
Hi All During some performance testing I've seen that Tomcat resets accepted TCP connections when under load. I had seen this previously too [1], but was not able to analyze the scenario in detail earlier. As per this dump from Wireshark [2], it seemed like Tomcat ACKed the client request,

Re: unknown state in VisualVM

2012-10-29 Thread Daniel Mikusa
On Oct 29, 2012, at 8:37 AM, Charles Richard wrote: Hi, I had a thread a while back but my configuration has changed and so has my issue, so hence a new thread. My config: CentOS 5.8 Apache 2.23 3 tomcat instances (6.0.30) with each ajp_port with a connectionTimeout setting of

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
No firewall, all on one server. Right now, I'm thinking I'm either hitting some type of tcp connection maximum or something is going on with Apache or mod_jk. If I just restart Apache, i can connect to Tomcat again which tells me Tomcat wasn't down. Cheers, Charles On Mon, Oct 29, 2012 at

Re: unknown state in VisualVM

2012-10-29 Thread Daniel Mikusa
On Oct 29, 2012, at 9:41 AM, Charles Richard wrote: No firewall, all on one server. Right now, I'm thinking I'm either hitting some type of tcp connection maximum or something is going on with Apache or mod_jk. Think you might be on the right track here. I just google'd errno=24 and it

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
Looks like you were right Daniel, i increased the open file limit from 32768 to 128768 and the same problem is persisting but there's no logging in the mod_jk.log anymore which seems to indicate increasing the file limit made a difference. Thanks for the help! Charles On Mon, Oct 29, 2012 at

Re: unknown state in VisualVM

2012-10-29 Thread André Warnier
Charles Richard wrote: I'm doing some performance tuning on our application and noticed a couple of days ago that which a load of 1500 users, my threads in VisualVM would Just a side question : where are these users ? are these processes running on the same machine ?

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
Load test users from Jmeter. Cheers, Charles On Mon, Oct 29, 2012 at 11:25 AM, André Warnier a...@ice-sa.com wrote: Charles Richard wrote: I'm doing some performance tuning on our application and noticed a couple of days ago that which a load of 1500 users, my threads in VisualVM

Upgrading from Apache Tomcat 7.0.12 to .32

2012-10-29 Thread Chris Hall
Hello, I'm confused. Can someone tell me the best way to upgrade Apache Tomcat version 7.0.12 to 7.0.32? This is running on Windows Server 2003. Thanks, Chris

Re: Implementing SSL and error invocating https://localhost:8443/ (Tomcat 7.0 on Windows 7)

2012-10-29 Thread Gabriel Huerta Araujo
Hi Ognjen: I have my configuration as you have stated. I have followed steps indicated for below link: http://www.youtube.com/watch?v=2P0bJDKQHpcfeature=related I have tested with Mozilla and it works perfectly. Thanks a lot all of you for your patience and effort, I appreciate that.

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asankha, On 10/29/12 9:20 AM, Asankha C. Perera wrote: During some performance testing I've seen that Tomcat resets accepted TCP connections when under load. I had seen this previously too [1], but was not able to analyze the scenario in detail

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-10-29 Thread Asankha C. Perera
Hi Chris Connector port=9000 protocol=org.apache.coyote.http11.Http11NioProtocol connectionTimeout=2 redirectPort=8443 maxKeepAliveRequests=1 processorCache=1 acceptCount=1 maxThreads=1/ I used

Re: Upgrading from Apache Tomcat 7.0.12 to .32

2012-10-29 Thread André Warnier
Chris Hall wrote: Hello, I'm confused. Can someone tell me the best way to upgrade Apache Tomcat version 7.0.12 to 7.0.32? This is running on Windows Server 2003. There are 2 ways to install Tomcat on Windows (and 2 different packages, discounting the 32-bit/64-bit difference) : the

Document root element web-app, must match DOCTYPE root null-- Error

2012-10-29 Thread MOHAMMAD SULAIMAN
Dear All, jakarta-tomcat-4.1.31 is installed on my system (OS: solaris). There were some applications running on this server. Now, we tried to deploy a new application in webapps directory by putting application directory through FTP. After that, other applications on this server are also

RE: Upgrading from Apache Tomcat 7.0.12 to .32

2012-10-29 Thread Chris Hall
Thanks for the reply, Andre. I didn't install it initially; a vendor installed it. Initially, I wasn't able to find an .exe, but have now and will kick this off later. Thanks for the notes on the reg key backups. Thanks, Chris Hall, MCSE:Security, Security+ Sr. Network Systems Specialist

Re: How to get the number of live threads in Tomcat 6?

2012-10-29 Thread Daniel Mikusa
On Oct 29, 2012, at 12:39 PM, Ravi Joshi wrote: To get the number of live threads, previously i was using JConsole, which was pointing to tomcat PID. but it looks like JConsole is not updating the graphs fastly. How fast do you need the graphs updated? How fast are you seeing the graphs

Re: Tomcat Linux/Windows Performance Question

2012-10-29 Thread Pid
Thank you, This is very completed answer and I found it really useful, and hopeful! Application is under heavy developing, app has some page ( I call it page, I don't know java or serverlet) with very high latency occurs for now, some times we got out of memory error message. This is test

RE: Upgrading from Apache Tomcat 7.0.12 to .32

2012-10-29 Thread David Sills
Shouldn't be too difficult, but there are a lot of variables. I would suggest you wait until we are in the office together. Hopefully tomorrow? Depending on the elements, of course... -Original Message- From: Chris Hall [mailto:ch...@securityfederalbank.com] Sent: Monday, October 29,

[OT] Re: Tomcat Linux/Windows Performance Question

2012-10-29 Thread verlag.preis...@t-online.de
Hi Christopher, -Original-Nachricht- Von: Christopher Schultz ch...@christopherschultz.net Datum: Mon, 29 Oct 2012 03:52:36 +0100 Personally, I prefer Linux based upon its friendliness to developers and administrators: it's got the tools we need and it's easy to build additional

Re: [OT] Re: Tomcat Linux/Windows Performance Question

2012-10-29 Thread Matthew Gillen
On 10/29/2012 03:16 PM, verlag.preis...@t-online.de wrote: 3. Bizarre observations when using high-resolution (or even ms-res) clocks and timers... seems like you can't get more than about 0.1-sec resolution or so reliably -- or at least plausibly -- on a win32 box. Hmm, I think this applies

Re: Document root element web-app, must match DOCTYPE root null-- Error

2012-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammad, On 10/29/12 12:37 PM, MOHAMMAD SULAIMAN wrote: Dear All, jakarta-tomcat-4.1.31 is installed on my system (OS: solaris). There were some applications running on this server. Now, we tried to deploy a new application in webapps

Re: [OT] Re: Tomcat Linux/Windows Performance Question

2012-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 10/29/12 3:16 PM, verlag.preis...@t-online.de wrote: Hi Christopher, -Original-Nachricht- Von: Christopher Schultz ch...@christopherschultz.net Datum: Mon, 29 Oct 2012 03:52:36 +0100 Personally, I prefer Linux based

Re: Tomcat Linux/Windows Performance Question

2012-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/29/12 2:45 PM, Pid wrote: Thank you, This is very completed answer and I found it really useful, and hopeful! Application is under heavy developing, app has some page ( I call it page, I don't know java or serverlet) with very high

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asankha, On 10/29/12 12:29 PM, Asankha C. Perera wrote: Hi Chris Connector port=9000 protocol=org.apache.coyote.http11.Http11NioProtocol connectionTimeout=2 redirectPort=8443 maxKeepAliveRequests=1 processorCache=1 acceptCount=1

redirects https only for one app

2012-10-29 Thread Ted Smith
Hello: I have several web apps (war files) under single host and webapps dir. I need to force HTTPS only for one of them and leave others unchanged. config web.xml does not work as it applies to all apps. I feel there must be a way to config this using server config instead of modifying a war

Re: Document root element web-app, must match DOCTYPE root null-- Error

2012-10-29 Thread MOHAMMAD SULAIMAN
Thanks chris for revert. Installing a new software requires certain approvals and as it already has some application running on it, we haven't upgraded it. Is there any way to resolve this issue ?? On Mon, Oct 29, 2012 at 1:56 PM, Christopher Schultz ch...@christopherschultz.net wrote:

Redirecting to 'https://localhost:8443/simple-security/' from Spring application.

2012-10-29 Thread Gabriel Huerta Araujo
I have reached that when I enter to https://localhost:8443/, appears Tomcat page, but when I run a Spring application(I run Tomcat server inside STS) I enter: http://localhost:8080/simple-security/ at the end of execution, page is pointing to https://localhost:8443/simple-security/ and

Re: Redirecting to 'https://localhost:8443/simple-security/' from Spring application.

2012-10-29 Thread Gabriel Huerta Araujo
I could generate an error (Running war outside from STS and deploying into Tomcat7.0). Estado HTTP 500 - Request processing failed; nested exception is org.apache.tiles.impl.CannotRenderException: ServletException including path '/WEB-INF/templates/main.jsp'. type Informe de Excepción

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-10-29 Thread Asankha C. Perera
Hi Chris Sorry, also what is your OS (be as specific as possible) and what JVM are you running on? Locally for the Wireshark capture I ran this on: asankha@asankha-dm4:~$ uname -a Linux asankha-dm4 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux