Hello list.
I'm using tomcat for a J2EE application that uses Spring/Hibernate/JSF.
The spring container and hibernate bootstrap are slow and the users get a
blank page or no response from tomcat while the application starts.
In order to avoid that I was thinking about some static page that can be
On Mon, Sep 19, 2011 at 09:45, Eric Bouer wrote:
>
> Hello list.
> I'm using tomcat for a J2EE application that uses Spring/Hibernate/JSF.
> The spring container and hibernate bootstrap are slow and the users get a
> blank page or no response from tomcat while the application starts.
> In order to
Actually, the explanation below was a bit approximative (late Sunday night
thing).
It's not really "relative".
The formal explanation is given in the Servlet Specification, but it's more
like this :
a) Tomcat uses the first path component of the URL, to map a request to a web
application.
(in
Hello Users,
we have a problem in one of our environments.
If one out of 6 balanced Tomcat-Server, throws an OutOfMemory-Error, mod_jk
doestn´t distribute any Reqeuest to the other Servers, until we restart the
faultet Server or stop the Server via jkstatus.
Here is a sample of the mod_jk-Logfi
Hi.
steffen.scheu...@fiducia.de wrote:
...
workers.properties Configuration:
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=Server1,Server2,Server3,Server4,Server5,Server6,Server7,Server8
worker.loadbalancer.sticky_session=True
worker.loadbalancer.sticky_session_force=False
wo
Hy André,
sorry its a typo in my posting. The real workers.properties ist correct.
Greets
Steffen
Von:André Warnier
An: Tomcat Users List
Datum: 19.09.2011 11:45
Betreff:Re: mod_jk doesn`t distribute and failover on tomcat-error
Hi.
steffen.scheu...@fiducia.de wrote:
..
Thanks you Francis but I can't use a apache frontend.
I'm looking for a solution in tomcat itself, And I guess it's a common
request since many applications have long startup times and this can be very
annoying to get a blank page in production.
Francis Galiegue-4 wrote:
>
> On Mon, Sep 19, 20
Thank you André for your contribution which was very helpful.
If you are using the first one (HTTP), then one way would be to force Apache
> to add a HTTP header to the request, containing the user-id; and on the
> Tomcat side, have something that picks up this HTTP header, and stuffs its
> conten
Hi.
I am not knowledgeable enough in Java code to tell if there is something wrong with the
method, but if it works for you, that's the most important aspect.
By curiosity, how are you telling Apache to add this header ?
And one more thing, which I am sure you must have considered, but maybe
> SSLEngine="on"
There's no such attribute for this connector. The attribute you want
is SSLEnabled="true". I would also recommend the following attributes
for security-conscious deployments:
SSLProtocol="SSLv3+TLSv1"
SSLCipherSuite="!ADH:HIGH:MEDIUM:-SSLv2"
If you continue to have trouble, po
Thanks Chris. That's a pretty good idea. Normally, they just send us their
logo from their website anyway.
I'll pass on to the boys to contemplate.
Jeff
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Friday, September 16, 2011 4:03 PM
> To
Thanks Marvin,
We will give it a try and let you know,
Gene
Gene A. Waters
CACI International Inc.
Senior Business Objects - Programmer Analyst
Navy Enterprise Team Ships (NETS), Norfolk, VA
Work Phone: (757) 852-6943
email: gewat...@caci.com, gene.waters@navy.mil
__
Eric -
One could argue what's the true benefit here though? Production shouldn't be
restarted or unavailable except during an outage, whether it's planned or
unplanned, right?
-Original Message-
From: Eric Bouer [mailto:ericbo...@gmail.com]
Sent: Monday, September 19, 2011 6:46 AM
To:
On Mon, Sep 19, 2011 at 2:43 PM, André Warnier wrote:
> Hi.
>
> I am not knowledgeable enough in Java code to tell if there is something
> wrong with the method, but if it works for you, that's the most important
> aspect.
>
> By curiosity, how are you telling Apache to add this header ?
>
I'm u
Yeah but high availability/scaling solutions or a dynamic nature of
application where new features are added frequently are common.
Anyway if I could get some information on tomcat internal bootstap I would
write something to handle that and contribute it back.
CRANFORD, CHRIS wrote:
>
> Eric -
On Mon, Sep 19, 2011 at 4:31 PM, Sylvain Goulmy wrote:
> On Mon, Sep 19, 2011 at 2:43 PM, André Warnier wrote:
>
>> Hi.
>>
>> I am not knowledgeable enough in Java code to tell if there is something
>> wrong with the method, but if it works for you, that's the most important
>> aspect.
>>
>> By
http://zdownload.zurich.com/mailimages/ZHP_MailHeader.gif"; />
Hi there
I'm working on the following task:
https://issues.apache.org/bugzilla/show_bug.cgi?id=51334
I've configured a security constraint in my web.xml but noticed that my
custom authenticator is never triggered.
On 19/09/2011 15:52, Oliver Wulff wrote:
> Why is it a requirement to configure a role in the auth-constraint?
You need to read the Servlet specification.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For a
On Mon, 19 Sep 2011 07:50:50 -0700 (PDT), Eric Bouer wrote:
Yeah but high availability/scaling solutions or a dynamic nature of
application where new features are added frequently are common.
Anyway if I could get some information on tomcat internal bootstap I
would
write something to handle th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gene,
On 9/16/2011 4:43 PM, Gene Waters wrote:
> SSLCertificateFile="webapps\.cert"
> SSLCertificateKeyFile="webapps\.key" />
You definitely don't want those files there: an easy misconfiguration
could result in those files being remotely readable.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 9/19/2011 8:43 AM, André Warnier wrote:
> If your Tomcat server is accessible via other channels than from
> the Apache front-end, then this is of course a security hole, since
> anyone can forge such a HTTP header and send it to Tomcat.
+1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
On 9/19/2011 3:45 AM, Eric Bouer wrote:
> I'm using tomcat for a J2EE application that uses
> Spring/Hibernate/JSF. The spring container and hibernate bootstrap
> are slow and the users get a blank page or no response from tomcat
> while the app
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steffen,
On 9/19/2011 4:49 AM, steffen.scheu...@fiducia.de wrote:
> If one out of 6 balanced Tomcat-Server, throws an
> OutOfMemory-Error, mod_jk doestn´t distribute any Reqeuest to the
> other Servers, until we restart the faultet Server or stop the
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
HTTPD) in front of them which could handle this.
Anjib Mulepati wrote:
Hi,
When I run my web application developed using Struts 1.3.8 I am getting
following error continuously. I couldn't figure out so please help.
java.lang.StackOverflowError
at
Mmmm. I'm not really a java specialist, but could this mean that the stack is
overflow
André Warnier wrote:
Anjib Mulepati wrote:
Hi,
When I run my web application developed using Struts 1.3.8 I am
getting following error continuously. I couldn't figure out so please
help.
java.lang.StackOverflowError
at
Mmmm. I'm not really a java specialist, but could this mean that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anjib,
On 9/19/2011 1:09 PM, Anjib Mulepati wrote:
> When I run my web application developed using Struts 1.3.8 I am
> getting following error continuously. I couldn't figure out so
> please help.
>
> java.lang.StackOverflowError at
> org.apache.ca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tod,
On 9/18/2011 1:37 PM, Tod Olson wrote:
> I would like to run two versions of the same servlet (same
> servlet-class, but with different WAR filename, servlet-name and
> url-pattern) under a single instance of Tomcat 6.0.33.
Your nomenclature i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yogesh,
On 9/18/2011 9:23 PM, Yogesh Shankarappa wrote:
> Example Security
> Constraint
> Entire Application
> /*
>
What, no ?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Patrick,
On 9/18/2011 12:55 PM, Patrick Flaherty wrote:
> All the skins work except image references in the style sheet (css)
> cannot be found. Yet images referenced in the jsps are found!
Your JSPs are dynamic and include the webapp prefix, since
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Patrick,
On 9/18/2011 12:55 PM, Patrick Flaherty wrote:
All the skins work except image references in the style sheet (css)
cannot be found. Yet images referenced in the jsps are found!
Your JSPs are dynamic and includ
Chris, thanks for your response. I realized later and added it. It works now
:-)
On Mon, Sep 19, 2011 at 4:04 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Yogesh,
>
> On 9/18/2011 9:23 PM, Yogesh Shankarappa wrote:
> > Exa
32 matches
Mail list logo