Thanks for the help.
I hadn't realized that the "server" was encoded as part of the session id.
Makes sense. I was planning on implementing an Apache HA solution using
Linus-HA clustering when in fact I can probably just load balance requests
to 2 active Apache instances as sessions will always
Thanks Chris. That's the route we were going to take, but I wanted to
see if there was a simpler solution.
Mel
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 4:53 PM
To: Tomcat Users List
Subject: Re: Limit the number of concurrent
On 10/18/07, Beth Hechanova <[EMAIL PROTECTED]> wrote:
> Can Tomcat load a class on startup?
Yes. See `ServletContextListener` in the Servlet spec.
--
Hassan Schroeder [EMAIL PROTECTED]
-
To start a ne
Yes, sorry - the implementation of the class is java.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2000 5:30 PM
To: Tomcat Users List
Subject: Re: Can Tomcat load a class on startup?
Cant help without more specifics..which meaning are you u
Cant help without more specifics..which meaning are you using when you say
LCD interface ..a java interface?
M--
- Original Message -
From: "Beth Hechanova" <[EMAIL PROTECTED]>
To:
Sent: Thursday, October 18, 2007 7:17 PM
Subject: Can Tomcat load a class on startup?
Hi,
I have a clas
Hi,
I have a class file that I would like to have always running on my
machine, independent of any web application. My machine includes an
LCD, and so this class file will be a listener to the LCD Interface that
can react to button presses.This class can also potentially interact
with the
You can easily do this sort of thing with a session listener -- and the
code will be relatively portable across servlet engines, etc.
--
Jess Holle
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mel,
Woodgett, Mel (MSFC-NNM04AA02C)[STEEPLE] wrote:
Let me rephras
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mel,
Woodgett, Mel (MSFC-NNM04AA02C)[STEEPLE] wrote:
> Let me rephrase my question. What's the best way for me to set tomcat up
> in way to where I can restrict the total number of concurrent users? Is
> this possible right out of the box with tomcat
i've mailed unsubscribe email and no effect
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I just saw that you are not using Tomcat's connection pool,
the reason still stands, the socket connection is closed when you try to
execute the query.
if you are using a cached connection, then implement a fail safe or use
Tomcat's connection pool, that already has this functionality
Filip
F
yes, either MySQL or something else on the network closed the connection
Caused by: java.net.SocketException: Socket closed
if you are using the connection pool, make sure you have set
testOnBorrow="true"
validationQuery="SELECT 1"
so that it validates each connection for you
Filip
Jean-Pier
it is possible using Tomcat,
Filip
Woodgett, Mel (MSFC-NNM04AA02C)[STEEPLE] wrote:
Let me rephrase my question. What's the best way for me to set tomcat up
in way to where I can restrict the total number of concurrent users? Is
this possible right out of the box with tomcat or do I have to us
Let me rephrase my question. What's the best way for me to set tomcat up
in way to where I can restrict the total number of concurrent users? Is
this possible right out of the box with tomcat or do I have to use
Apache with tomcat?
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[
Maybe Apache in port 80 with mod_jk will sufice and is available for
1.3.xversion
On 10/18/07, Patrick Coleman <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I'm using liferay with Tomcat. I don't want the :8080 port to show up in
> the
> URL.
> I can prevent this using apache ProxyPass & ProxyPassReve
tomcat is pretty useless without using connectors, how would you propose
to use it, if you didn't have connectors?
Filip
Woodgett, Mel (MSFC-NNM04AA02C)[STEEPLE] wrote:
Is there any way to limit the number of concurrent users in Tomcat
without using any connectors?
---
mchack wrote:
Question.
I would like to front my web application with multiple apache instances
(each one HA). Each instance would support sticky sessions and incoming
traffic would be load shared between the sites using DNS. Upon DNS expiry
which could be in the middle of a session, a client c
Patrick Coleman wrote:
Hi,
I'm using liferay with Tomcat. I don't want the :8080 port to show up in the
URL.
I can prevent this using apache ProxyPass & ProxyPassReverse
correct
The problem is that once inside Liferay all the tab reference the :8080
again and
so it show back up in the URL.
Is there any way to limit the number of concurrent users in Tomcat
without using any connectors?
Thanks a lot :) It helped a lot. All the problems are gone now.
Thanks again!
Swapnil
Peter Crowther wrote:
>
>> From: Swapnil.Kale [mailto:[EMAIL PROTECTED]
>> Yes i did install the exe and not the zip file. which was creating a
>> problem.
>> Now i uninstalled it and using the zip file, ,
Hi,
I'm using liferay with Tomcat. I don't want the :8080 port to show up in the
URL.
I can prevent this using apache ProxyPass & ProxyPassReverse
The problem is that once inside Liferay all the tab reference the :8080
again and
so it show back up in the URL.
I've read that mod_proxy_html & mod
Question.
I would like to front my web application with multiple apache instances
(each one HA). Each instance would support sticky sessions and incoming
traffic would be load shared between the sites using DNS. Upon DNS expiry
which could be in the middle of a session, a client could be redirec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
> This next method call is the problem. I am sending a POST request from one
> servlet instance to another one. But in situations with high load, all 20
> instances are busy, so the ActiveRoleRemoval.sendLogoutMessages method which
> sends t
On 10/18/07, Daniel M Garland <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I'm seeing a problem on a Tomcat instance:
>
> 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
> SEVERE: Socket accept failed
> org.apache.tomcat.jni.Error: Too many open files
> at org.apache.to
Hi,
Apache Tomcat/5.5.23 (runs as windows service using
C:\Apache\Tomcat\bin\tomcat5.exe //RS//Tomcat5)
JVM 1.5.0_12-b04
Windows 2003 Standard (x86)
We are experiencing an issue where every night our Apache Tomcat
crashes. I've reviewed all the logs and can not find anything to find
out why.
Ken Bowen wrote:
> The Host spec from server.xml:
>
> autoDeploy="true">
> docBase="/opt/tomcat5/server/webapps/manager" privileged="true" debug="0"/>
> privileged="true" debug="0"/>
>
It looks like you have a third-party packaged version of Tomcat. It
might not be the cause but you mig
Am Donnerstag 18 Oktober 2007 schrieb Daniel M Garland:
> Hi all
>
> I'm seeing a problem on a Tomcat instance:
>
> 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
> SEVERE: Socket accept failed
> org.apache.tomcat.jni.Error: Too many open files
> at org.apache.tom
It seems to that's what I did in steps a-c when I renamed myapp.war to
ROOT.war before restarting Tomcat.??
Auke Noppe wrote:
Try to build your app as ROOT.war.
Because tomcat extracts the war-file, and makes some copies to tmp and work
dirs.
-Oorspronkelijk bericht-
Van: Ken Bowen [
Hi all
I'm seeing a problem on a Tomcat instance:
18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run
SEVERE: Socket accept failed
org.apache.tomcat.jni.Error: Too many open files
at org.apache.tomcat.jni.Socket.accept(Native Method)
at
org.apache.tomcat.uti
Try to build your app as ROOT.war.
Because tomcat extracts the war-file, and makes some copies to tmp and work
dirs.
-Oorspronkelijk bericht-
Van: Ken Bowen [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 18 oktober 2007 13:43
Aan: users@tomcat.apache.org
Onderwerp: Problem installing ap
so that means i will not be able to work on it again
but interestingly i was able to work on it successfully on another system 4
months back...
please help me know what the logs means...
is it a problem with workers2.properties file?
On 10/18/07, Mark Thomas <[EMAIL PROTECTED]> wrote:
>
> sunil c
sunil chandran wrote:
> hello,
>
> I have installed Apache 2 and mod_jk2 connector. but when i start apache my
> logs shows the following error.
The mod_jk2 connector has been deprecated for some time. I would start
again with mod_jk.
Mark
--
Hi All,
I'm having a problem installing my application to run as the ROOT context.
The problem is in getting Tomcat to expand ROOT.war.
I can make things work as follows:
1. Use ant to create myapp.war, and upload it to the isp.
2. Drop myapp.war in ~tomcat5/webapps; Tomcat expands myapp.war to
hello,
I have installed Apache 2 and mod_jk2 connector. but when i start apache my
logs shows the following error.
Please help me understand it.
Apache/2.2.4 (Unix) mod_jk2/2.0.4 configured -- resuming normal operations
[Thu Oct 18 16:16:15 2007] [error] channelApr.open() attempt to connect to
On Wed, 2007-10-17 at 17:29 +0200, Thorsten Scherler wrote:
> Hi all,
>
> I am having major headaches lately with tomcat 5 and 6 regarding
> logging.
>
> It started when deploying some cocoon application to tomcat 5 and 6.
>
> You can find an extended background summary (from me and others) here
This next method call is the problem. I am sending a POST request from one
servlet instance to another one. But in situations with high load, all 20
instances are busy, so the ActiveRoleRemoval.sendLogoutMessages method which
sends the POST request blocks because there is no other instance/thr
Hi all,
I've got a problem with jdbc 5.1.5 in tomcat 5.5.17.
I have a servlet who retrieve images from mysql 4.1.22 to put them in
a jsp page.
Here is the tomcat log :
-
> From: Swapnil.Kale [mailto:[EMAIL PROTECTED]
> Yes i did install the exe and not the zip file. which was creating a
> problem.
> Now i uninstalled it and using the zip file, ,
> the tomcat runs smoothly.
That's a fairly common picture. Windows services are wonderful in
theory, but they do ma
Hi,
I posted another thread a few days ago, and that was about an exception
thrown by tomcat. For the record, I am using embedded tomcat.
My company has an web-application which runs best on TC 5.5.xx. they asked
me to develop a framework for testing the compiler speed of tomcat in
relation with
Am Mittwoch 17 Oktober 2007 schrieb Johnny Kewl:
> ---
> HARBOR: http://coolharbor.100free.com/index.htm
> Now Tomcat is also a cool application server
> -
39 matches
Mail list logo