AJP suddenly Stopps acting: ajp on 7009 and 9009 : connections keept open

2013-03-11 Thread David Kumar
Hey, we are still having that issue. But we could manage to figure out some more stuff. We made a Tomcat and Java update since that time we had our problem a few times again, also we did some reconfiguration with connectors etc. The last 2 times we where able to see, that both tomcat by them s

Tomcat as a service: system tray?

2013-03-11 Thread Sam Takoy
Hi, This is related to the questions that I asked yesterday and got such insightful responses (thanks!). If I am running Tomcat as a Windows service, is it possible to control it through a System Tray icon? (By the way, I don't know where to report irrelevant typos in the documentation, but 

Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
On Mar 11, 2013, at 5:50 PM, Mark Thomas wrote: > On 11/03/2013 22:38, Nick Williams wrote: >> However, I do still have the original question: Will I always need to >> use a listener to add my endpoints programmatically like I did below? >> Or will Tomcat eventually scan for endpoints? The exampl

Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Mark Thomas
On 11/03/2013 22:38, Nick Williams wrote: > However, I do still have the original question: Will I always need to > use a listener to add my endpoints programmatically like I did below? > Or will Tomcat eventually scan for endpoints? The examples > downloadable from the GlassFish project "just work

Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
I got this working by changing ServerContainerProvider#getServerContainer() to be public, per the spec. I submitted bug 54671 with patch. However, I do still have the original question: Will I always need to use a listener to add my endpoints programmatically like I did below? Or will Tomcat ev

Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
I'm trying to create what I thought was a very simple WebSocket example, but boy have I had difficulties… I started by basically coping the EchoAnnotation example from the Tomcat examples. However, it was like my endpoint was never getting instantiated. (Is this temporary? Will Tomcat 8 ultimat

Re: date format in Last-modified header

2013-03-11 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 3/11/13 11:17 AM, getridofthespam wrote: Google didn't give any relevant info so I try here. I traced a tomcat request and noticed there where two different date formats in the last-modified

Re: [OT] Re: Console when running as a service.

2013-03-11 Thread André Warnier
verlag.preis...@t-online.de wrote: Hi André, -Original-Nachricht- Von: André Warnier An: Tomcat Users List Betreff: Re: Console when running as a service. Datum: Mon, 11 Mar 2013 19:20:23 +0100 +1. Eek, I tearfully and shamefully agree. But still 90% or more of corporate internal

Re: date format in Last-modified header

2013-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, On 3/11/13 11:17 AM, getridofthespam wrote: > Google didn't give any relevant info so I try here. > > I traced a tomcat request and noticed there where two different > date formats in the last-modified header: 2012-12-13T09:

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Amit, On 3/11/13 12:52 AM, amit shah wrote: > Hello, I would like to know if the tomcat jdbc pool (7.0.34+) > provides connection failover capabilities i.e. to transparently > close all the open database connections and switch to a another > databas

[OT] Re: Console when running as a service.

2013-03-11 Thread verlag.preis...@t-online.de
Hi André, -Original-Nachricht- > Von: André Warnier > An: Tomcat Users List > Betreff: Re: Console when running as a service. > Datum: Mon, 11 Mar 2013 19:20:23 +0100 > +1. Eek, I tearfully and shamefully agree. > But still 90% or more of corporate internal documents are written as >

Re: [OT] Console when running as a service.

2013-03-11 Thread André Warnier
Mark Eggers wrote: On 3/11/2013 11:20 AM, André Warnier wrote: p...@pidster.com wrote: On 11 Mar 2013, at 14:21, "André Warnier" wrote: So if for some scenarios, it would be useful to use say MS-Word to produce a PDF version of a document, it is not possible (or very difficult) to trigger th

Re: Console when running as a service.

2013-03-11 Thread Mark Eggers
On 3/11/2013 11:20 AM, André Warnier wrote: p...@pidster.com wrote: On 11 Mar 2013, at 14:21, "André Warnier" wrote: So if for some scenarios, it would be useful to use say MS-Word to produce a PDF version of a document, it is not possible (or very difficult) to trigger this from Tomcat when

Re: Console when running as a service.

2013-03-11 Thread André Warnier
p...@pidster.com wrote: On 11 Mar 2013, at 14:21, "André Warnier" wrote: So if for some scenarios, it would be useful to use say MS-Word to produce a PDF version of a document, it is not possible (or very difficult) to trigger this from Tomcat when running as a Service. Eek! Eek I say! +1

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread Daniel Mikusa
On Mar 11, 2013, at 10:09 AM, amit shah wrote: > Apparently we use Oracle as our data store while the solution you mentioned > is for mysql. I'm not an Oracle guy, but I'm pretty sure that it supports failover. Not sure it's as simple as changing the JDBC URL though, you'll probably want to che

Re: Console when running as a service.

2013-03-11 Thread pid
On 11 Mar 2013, at 14:21, "André Warnier" wrote: > So if for some scenarios, it would be useful to use say MS-Word to > produce a PDF version of a document, it is not possible (or very difficult) > to trigger > this from Tomcat when running as a Service. Eek! Eek I say! p ---

Re: java.util.logging.SimpleFormatter vs org.apache.juli.OneLineFormatter

2013-03-11 Thread Jesse Farinacci
Greetings, On Fri, Mar 8, 2013 at 8:38 PM, Jesse Farinacci wrote: > I am using Java 7, IBM JRE and Apache Tomcat 7.0.37. I am seeing a > strange difference between java.util.logging.SimpleFormatter vs > org.apache.juli.OneLineFormatter: namely, for my applications, the > SimpleFormatter will prod

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread Shanti Suresh
On Mon, Mar 11, 2013 at 11:00 AM, André Warnier wrote: > > amit shah wrote: > >> Apparently we use Oracle as our data store while the solution you >> mentioned >> is for mysql. >> > > And did you check if the Oracle JDBC driver provides such an option ? > > > >> Is there a way tomcat can provide

Re: date format in Last-modified header

2013-03-11 Thread André Warnier
getridofthespam wrote: Hi, Google didn't give any relevant info so I try here. I traced a tomcat request and noticed there where two different date formats in the last-modified header: 2012-12-13T09:52:02Z and Mon, 07 Jan 2013 21:49:08 GMT What determines the format and where do the differen

Re: Console when running as a service.

2013-03-11 Thread Howard W. Smith, Jr.
On Mon, Mar 11, 2013 at 4:33 AM, André Warnier wrote: > > Well, basically it is either the one or the other, can't have your cake > and eat it, etc.. > wow, can't have your cake and eat it... that got me cracking up! funny! :) > > Under Unix/Linux, you could use a command like "tail -f " which

Re: [OT] Console when running as a service.

2013-03-11 Thread André Warnier
Leo Donahue - RDSA IT wrote: I would be curious to find out how many users run Tomcat from the console in a virtual machine environment. When you remote into your virtual machine that is running Tomcat from the console, you must not be logging off of that session are you? How do you keep the

RE: [OT] Console when running as a service.

2013-03-11 Thread Harris, Jeffrey E.
> -Original Message- > From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] > Sent: Monday, March 11, 2013 10:56 AM > To: Tomcat Users List (users@tomcat.apache.org) > Subject: [OT] Console when running as a service. > > I would be curious to find out how many users run Tomca

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread André Warnier
Hi. Don't "top post". amit shah wrote: Apparently we use Oracle as our data store while the solution you mentioned is for mysql. And did you check if the Oracle JDBC driver provides such an option ? Is there a way tomcat can provide a notification after all its retries to the database serve

[OT] Console when running as a service.

2013-03-11 Thread Leo Donahue - RDSA IT
I would be curious to find out how many users run Tomcat from the console in a virtual machine environment. When you remote into your virtual machine that is running Tomcat from the console, you must not be logging off of that session are you? How do you keep the console window open, unless yo

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread amit shah
Apparently we use Oracle as our data store while the solution you mentioned is for mysql. Is there a way tomcat can provide a notification after all its retries to the database server have failed? This way at least I can create a new connection pool configured to a different database server in ord

Re: Console when running as a service.

2013-03-11 Thread André Warnier
Harris, Jeffrey E. wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, March 11, 2013 4:34 AM To: Tomcat Users List Subject: Re: Console when running as a service. Sam Takoy wrote: Hi, Just installed Tomcat 7 as a service (by running "service install"

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread Daniel Mikusa
On Mar 11, 2013, at 12:52 AM, amit shah wrote: > Hello, >I would like to know if the tomcat jdbc pool (7.0.34+) provides > connection failover capabilities i.e. to transparently close all the open > database connections and switch to a another database server on an > planned/unplanned data

RE: Console when running as a service.

2013-03-11 Thread Harris, Jeffrey E.
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Monday, March 11, 2013 4:34 AM > To: Tomcat Users List > Subject: Re: Console when running as a service. > > Sam Takoy wrote: > > Hi, > > > > Just installed Tomcat 7 as a service (by running "service install"). >

Re: Tomcat jdbc pool connection failover

2013-03-11 Thread André Warnier
amit shah wrote: Hello, I would like to know if the tomcat jdbc pool (7.0.34+) provides connection failover capabilities i.e. to transparently close all the open database connections and switch to a another database server on an planned/unplanned database server outage event. I re

Re: Console when running as a service.

2013-03-11 Thread André Warnier
Sam Takoy wrote: Hi, Just installed Tomcat 7 as a service (by running "service install"). This is a change for me: historically, I've been running tomcat by running "startup" in "tomcat/bin", but now I want to get with the times. With my new, better way of running tomcat, how do I monitor wit