On 1/25/11 5:37 PM, Michael Ludwig wrote:
> Christopher Schultz schrieb am 25.01.2011 um 11:48 (-0500):
>>
>> Should I expect that a request that doesn't map to a running context
>> should return a 400 error? I would have expected a 404 Not Found.
>
> Definitely 404, as long as it isn't a "bad req
Hi,
On 25 January 2011 18:00, Guy Pontecorvo wrote:
>
> We run as many as 15 apps on a single xServe box. The corresponding Oracle
> 10g databases run on a separate server. Everything is automated. Start up,
> shutdown, updates etc. are scripted and executed using sudo. Each app runs
> as a non-a
Our decision to replace the Mac os Xservers with Windows is purely
financial. We already run our software on Windows and though Linux would be
a good choice it is less expensive to support a single platform.
We run as many as 15 apps on a single xServe box. The corresponding Oracle
10g databases r
Christopher Schultz schrieb am 25.01.2011 um 11:48 (-0500):
>
> Should I expect that a request that doesn't map to a running context
> should return a 400 error? I would have expected a 404 Not Found.
Definitely 404, as long as it isn't a "bad request".
> Tomcat 6.0.29 and Tomcat 7.0.6 both beha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Should I expect that a request that doesn't map to a running context
should return a 400 error? I would have expected a 404 Not Found.
Tomcat 6.0.29 and Tomcat 7.0.6 both behave this way.
With no ROOT context deployed, make a request to somethi
I still don't have a clue what the problem is. Meanwhile I tried the same
with a different application with the same result - blank page, URL pointing
to
http://localhost:8080/manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=2...,
WAR file has not been deployed, no messages about the uplo
Thanks, that fixed it!
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, January 25, 2011 10:28 AM
To: Tomcat Users List
Subject: RE: Problem Running Two Tomcat Servers at the Same Time
> From: Tim Clotworthy [mailto:tclotwor...@integratedse
2011/1/25 Stevo Slavić :
> String tomcatHomePath = System.getenv("CATALINA_HOME");
The above works only when starting Tomcat with .sh/.bat files and only
when CATALINA_BASE does not differ from CATALINA_HOME (see
RUNNING.txt).
The correct alternative would be to use System.getProperty("catalina.
> From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com]
> Subject: Problem Running Two Tomcat Servers at the Same Time
> Do I need to do more than change the connect port to avoid
> a conflict?
Yes, you need to insure that /all/ ports in server.xml are unique. This
includes the ones
Hello,
I have tomcat5.5 running on port 8080. I wanted to have a second tomcat
instance (that was is tomcat5.0) running at the same time. I made only one
change to prevent a conflict. I changed the connect port (in the server.xml
file) of the 5.0 instance to 8090. However, if my 5.5 instance is
String tomcatHomePath = System.getenv("CATALINA_HOME"); // or
CATALINA_BASE, where CATALINA_HOME/CATALINA_BASE is name of
environment variable set to point to tomcat installation home or
instance base
java.io.File tomcatConfDir = new java.io.File(tomcatHomePath, "conf");
Regards,
Stevo.
On Tue,
Hello, usually i store my custom config files in WEB-INF, but i need now to
store a file (a binary file containing a license for my app) inside the tomcat
conf dir. Main purpose for this is avoid the need to rebuild a war every time i
license a different customer.
So, in this way, application t
On Tuesday 25 January 2011, Konstantin Kolinko wrote:
> 2011/1/25 David Goodenough :
> > In the file tomcat-users.xml (at least the one shipped with the 6.0.23
> > Debian package) the sample users have the attribute username= in the
> > user tag. But in the manager-howto.html (again shipped with t
Moin moin,
voy a replicar en inglés ya que mi castellano no es muy bien y esta
lista usualmente es in inglés.
Fierro, William Alfonso schrieb am 25.01.2011 um 04:08 (+):
> En la actualizadad tengo una aplicación configurada con Apache
> Tomcat/5.5.30, en la cual se encuentran 6 tomcat config
2011/1/25 Adib :
> My question was more from a design perspective why did the tomcat
> developers include this shutdown port mechanism what are the benefits
> and what limitations were they trying to work around when they came up
> with this design.
There are two ways to perform the shutdown
(a) i
I'm using Tomcat 5.5.23 and Tomcat 7.0.6 on Windows. When uploading a WAR
file through the manager application, Tomcat responds with a blank page (URL
pointing to html/upload). The WAR file has not been uploaded and I cannot
find any error messages in any log file. With Tomcat 6 it works fine,
thou
Konstantin Kolinko wrote:
> 2011/1/25 mikewse :
> >
> > Trying out a simple servlet on Tomcat 6 and 7:
> (..)
> > and sending a request:
> > GET /app
>
> AFAIK, usually Tomcat will respond with 302 redirect to /app/ and the
> second request will be GET /app/. So, one question is why it is
On 21/01/2011 04:00, Adib wrote:
> Hi,
>
> I am wondering why does tomcat need a shut down port on windows but
> not on Unix.
Shutdown port is supported (and used by default) on all platforms. It is
not platform specific.
Both Windows and Linux can safely shut Tomcat down without using the
shutd
Is there any downside to turning on the ACTIVITY_CHECK flag?
On Tue, Jan 25, 2011 at 4:47 AM, Mark Thomas wrote:
> On 25/01/2011 12:45, Adib wrote:
>> Thanks for the hints mark, I just read through the code and that
>> answers some of my questions.
>>
>> The docs says that org.apache.catalina.se
I am not running as a windows service just started from startup.bat. I
have a couple of tomcats running as a windows service and I am
familiar with the tomcat.exe the docs were a bit hard to get through
and I had to read through some of the C code for the tomcat windows
launcher to really figure i
2011/1/25 Christopher Schultz :
>
>> What exactly I need is something that is the standard way to write logs to a
>> server where there are many Java application are deployed as separate jar
>> file and is being used by the tibco processes.
>
> If you can't get access to the servlet container to pe
On 25/01/2011 12:45, Adib wrote:
> Thanks for the hints mark, I just read through the code and that
> answers some of my questions.
>
> The docs says that org.apache.catalina.session.
> StandardSession.ACTIVITY_CHECK should be true and that Tomcat will
> track the number of active requests for e
On Tue, Jan 25, 2011 at 1:35 PM, Adib wrote:
> Thanks for the link that was useful. So the key idea to understand is
> that there is a background thread that does all the cleanup and this
> background thread executes on a timer not on very request arriving a
> the server.
>
> I am surprised at th
Thanks for the hints mark, I just read through the code and that
answers some of my questions.
The docs says that org.apache.catalina.session.
StandardSession.ACTIVITY_CHECK should be true and that Tomcat will
track the number of active requests for each session. what do the docs
mean by active
2011/1/25 Adib :
> The tomcat session manager documentation claims that for the standard
> manager the default sessionIdLength attribute has a value of 16, the
> question is 16 what, characters, bytes? When I look at the jessionId
> in the URL such as ( FDD699674D95E77EC9B03232DC761DC3) it has 32
Thanks for the link that was useful. So the key idea to understand is
that there is a background thread that does all the cleanup and this
background thread executes on a timer not on very request arriving a
the server.
I am surprised at the limitations of the Persistent Manager it's that
it shoul
On 25/01/2011 11:49, Adib wrote:
> I just read through some of the tomcat source code for the Persistent
> Session Manager and it seems that there are three possibilities.
>
> Session on the JVM heap lets call it the active session
> Session not in the JVM heap but in the persistent store this wou
2011/1/25 David Goodenough :
> In the file tomcat-users.xml (at least the one shipped with the 6.0.23 Debian
> package) the sample users have the attribute username= in the user tag. But
> in the manager-howto.html (again shipped with the Debian package) the examples
> all say the attribute should
On 1/25/2011 5:02 PM, Adib wrote:
Hi,
I am trying to understand the settings on the persistent session
manager on tomcat 6 and 7. It seems that the persistent session
manager is primarily meant for the purpose of swapping IDLE sessions
to persistent storage and then hope that they expire, I can
In the file tomcat-users.xml (at least the one shipped with the 6.0.23 Debian
package) the sample users have the attribute username= in the user tag. But
in the manager-howto.html (again shipped with the Debian package) the examples
all say the attribute should be name=. Which is right?
David
-
2011/1/25 mikewse :
>
> Trying out a simple servlet on Tomcat 6 and 7:
(..)
> and sending a request:
> GET /app
AFAIK, usually Tomcat will respond with 302 redirect to /app/ and the
second request will be GET /app/. So, one question is why it is not
happening in your case. I suspect that i
I just read through some of the tomcat source code for the Persistent
Session Manager and it seems that there are three possibilities.
Session on the JVM heap lets call it the active session
Session not in the JVM heap but in the persistent store this would be
a swapped out session
Session in the
Hi,
I am trying to understand the settings on the persistent session
manager on tomcat 6 and 7. It seems that the persistent session
manager is primarily meant for the purpose of swapping IDLE sessions
to persistent storage and then hope that they expire, I can see the
value of this given that man
Hi,
The tomcat session manager documentation claims that for the standard
manager the default sessionIdLength attribute has a value of 16, the
question is 16 what, characters, bytes? When I look at the jessionId
in the URL such as ( FDD699674D95E77EC9B03232DC761DC3) it has 32
characters, does any
Buenos dias William,
personalmente no se responser a su pregunta, seria mucho mejor si
usted pueda escribir en Inglés asi de aumentar las probabilidades de
obtener una respuesta.
Cordialmente,
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
2011/1/25 Fierro, William Alfonso
35 matches
Mail list logo