On 11/08/2011 22:31, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chema,
On 8/11/2011 5:00 PM, Chema wrote:
How I can get SSO ID on a servlet?
Get the cookie value for JSESSIONIDSSO.
I want to know this ID without browser sends a cookie to server.
On 12/08/2011 02:26, Darryl Lewis wrote:
Our certificates are about to expire and I need to generate new ones for
tomcat. I'm using keytool, but getting a strange error.
Please start an entirely new thread, rather than replying to an existing
email just editing the subject body (which is
Why do you need a consistent ID between the two apps?
Because I'll store this ID into a record in database.
The apps checking every 60 sec if this record exists and, if dont ,
perform a logout
-
To unsubscribe, e-mail:
Hello,
I followed the below steps from Tomcat Wiki for making my war file as the
default webapp, but tomcat is not deploying my war:
How do I make my web application be the Tomcat default application?
Method 2.2
If you really know what you are doing.. - leave your war file in
On 12/08/2011 04:01, Jonathan Rosenberg wrote:
Trying to fall asleep and just had a thought on my problem: are
context-param values shared across different context versions (as
implemented in parallel deployment)?
Nope. The apps are self-contained.
C
--
JR
On Aug 11, 2011 6:10 PM,
Sorry i Missed to update the Tomcat version im using:
I have Tomcat 6.0.32 running on Windows 7 and JDK 1.5
Please help.
Thanks
G
From: exquisite gautam_exquis...@yahoo.com
To: users@tomcat.apache.org users@tomcat.apache.org
Sent: Friday, August 12, 2011 1:04
On 11.08.2011 15:32, Lataxes, Karl wrote:
OK, I'm getting close. On the server side, I'm adding a Set-Cookie header
containing the session id I want to use. The client emulator I am using has
similarly been modified to add a Cookie header with the session id sent by
the server, but sticky
On 12/08/2011 09:04, exquisite wrote:
Hello,
I followed the below steps from Tomcat Wiki for making my war file as the
default webapp, but tomcat is not deploying my war:
How do I make my web application be the Tomcat default application?
Method 2.2
If you really know what you are
Hi Mark,
I tried that way as well but i get the same issue. Tomcat does not even deploy
my war. All it says on console is ' Server startup in xxx ms and stays there
forever.
Im getting confused and wondering if there is any mistake in the Tomcat
documentation.
Please suggest.
thanks
G
On 12/08/2011 09:32, exquisite wrote:
Hi Mark,
I tried that way as well but i get the same issue. Tomcat does not even
deploy my war. All it says on console is ' Server startup in xxx ms and
stays there forever.
Im getting confused and wondering if there is any mistake in the Tomcat
Hey Mark,
I think i figured out what's going on with my configuration and I feel that the
Tomcat Documentation is not too clear explaining this particular step.
I have been editing the server.xml in the $CATALINA_HOME/conf directory,
dropped my war in $CATALINA_HOME/webapps directory but by
Hi P,
As i mentioned in my initial thread that i did not want to rename my war to
ROOT.war so i haven't tried that route but i think i figured out whats going on
and posted my findings already.
Thank you guys for your time and please suggest if im wrong with my solution i
posted in my
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 7.0.20
Apache Tomcat 7.0.20 includes bug fixes and the following new features
and fixes compared to version 7.0.19:
- JSP files with dependencies in JARs are no longer recompiled on every
access thereby improving
Hi All
I am not sure, why the tomcat is giving us this problem. While doing Load
testing we are sending 5000 requests at a time, where we are getting 4-5 Bad
gate way error.
Please find the error details below
[Wed Aug 10 01:00:50 2011] [error] (103)Software caused connection abort:
proxy: pass
Hi All
I am using Apache tomcat 6.0.18 version
I am not sure, why the tomcat is giving us this problem. While doing Load
testing we are sending 5000 requests at a time, where we are getting 4-5 Bad
gate way error.
Please find the error details below
[Wed Aug 10 01:00:50 2011] [error]
I can't see the connection between the Connector you showed and port 8082.
What is listening on port 8082? Also what is your tomcatThreadPool
executor configuration?
On Fri, Aug 12, 2011 at 7:56 PM, rakesh k rakroc...@gmail.com wrote:
Hi All
I am using Apache tomcat 6.0.18 version
I am not
Hi Igor Cicimov
Thank you very much for replying ..
Connector executor=tomcatThreadPool
port=8082 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 /
Engine name=Catalina defaultHost=localhost jvmRoute=msf1
I am heryby attaching the
On 12/08/2011 12:31, rakesh k wrote:
Hi Igor Cicimov
Thank you very much for replying ..
Connector executor=tomcatThreadPool
port=8082 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 /
Engine name=Catalina defaultHost=localhost
My plan is to TR 5.5.34 the week after next… I'm traveling next
week :/
On Aug 12, 2011, at 12:25 AM, Sachin Mankapure wrote:
Hi Jim,
Is there any update on release date of 5.5.34?
Thanks,
-Sachin
Jim Jagielski wrote:
I am tempted to do a release next week... we seem to have
CVE-2011-2729: Commons Daemon fails to drop capabilities (Apache Tomcat)
Severity: Important
Vendor:
The Apache Software Foundation
Versions Affected:
Tomcat 7.0.0 to 7.0.19
Tomcat 6.0.30 to 6.0.32
Tomcat 5.5.32 to 5.5.33
Description:
Due to a bug in the capabilities code, jsvc (the service
CVE-2011-2481: Apache Tomcat information disclosure vulnerability
Severity: low
Vendor:
The Apache Software Foundation
Versions Affected:
Tomcat 7.0.0 to 7.0.16
Previous versions are not affected.
Description:
The re-factoring of XML validation for Tomcat 7.0.x re-introduced the
vulnerability
The jvmRoute's for both server.xmls are properly set to the worker names and
are not commented out. This was the first thing I verified.
Engine name=Catalina defaultHost=localhost jvmRoute=tomcat7A
Engine name=Catalina defaultHost=localhost jvmRoute=tomcat7C
Here are the settings in
From: exquisite [mailto:gautam_exquis...@yahoo.com]
Subject: Re: Cannot make war file as default app
i did not want to rename my war to ROOT.war
And thereby make a lot more work for yourself. Simply rename it and be done.
Using the horribly outdated and restrictive mechanism of placing
So, it's gotta be something simple I'm missing. I decided to
construct a trivial test of parallel deployment.
Couldn't be simpler
(http://www.javacodegeeks.com/2011/06/zero-downtime-deployment-and-rollback.html?m=1):
$ mkdir WEB-INF
$ echo WEB-INF/web.xml
$ echo 'old version ' index.jsp
$
I have a appBase(/home/bijesh/webapps/) outside by CATALINA_BASE(same
as CATALINA_HOME - /home/bijesh/tomcat).
I have 2 context files, one
file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
Context path=/Employee
Bijesh Vijayan wrote:
...
file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
Context path=/Employee
docBase=./Employee
Hi.
I find this docBase suspicious, in the sense that it is (I think ) an absolute path
Thanks Andre,
If that interpretation is correct, it would mean that docBase is wherever
Tomcat happens to be running now + a subdirectory Employee.
Is that what you mean here ?
No I mean my doc base is outside the tomcat directory.
I mean my context to be inside the
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: nested context issue in tomcat 7
file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
Context path=/Employee
docBase=./Employee
Reading
http://www.javacodegeeks.com/2011/06/zero-downtime-deployment-and-rollback.html?m=1,
it states
If you do not use the full context name of the application in the log file
name, you may end up in a situation where both versions of a web application
are writing into the same log file
So how
Thanks Charles,
What is the appBase setting for the Host named localhost?
/home/bijesh/webapps
file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
Context path=/Employee
docBase=./Employee
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: Re: nested context issue in tomcat 7
Where can I mention the path.my URLs are
http://localhost:8080/Employee/logon.do
http://localhost:8080/Employee/Reports/first.do
The path is derived from the name of the .xml file containing the
On 12/08/2011 18:23, Bijesh Vijayan wrote:
Thanks Charles,
What is the appBase setting for the Host named localhost?
/home/bijesh/webapps
Where can I mention the path.my URLs are
http://localhost:8080/Employee/logon.do
http://localhost:8080/Employee/Reports/first.do
Thanks for the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
On 8/12/2011 11:02 AM, Jonathan Rosenberg wrote:
1) Copy foo##001.war to webapps visit /foo. Results as expected
('old version'). 2) Copy foo##002.war to webapps reload /foo.
Results surprise me ('NEW version ')
What am I missing
From: shmol...@gmail.com [mailto:shmol...@gmail.com] On Behalf Of Jonathan
Rosenberg
Subject: Re: Parallel Deployment Sessions: What am I Missing?
1) Copy foo##001.war to webapps visit /foo.
Results as expected ('old version').
Fine so far.
2) Copy foo##002.war to webapps reload
From: Caldarale, Charles R
Subject: RE: Parallel Deployment Sessions: What am I Missing?
Results surprise me ('NEW version ')
Why is that surprising? To quote from the doc:
If no session information is present in the request, use the latest version.
You might want to sniff the traffic
Chris,
I am using the same browser instance. Just reloading the page.
Tomcat manager confirms the existence of a session. I am the only
user of this test machine, os no confusion there.
Are there any config settings that would disable parallel deployment?
I'm at a loss, since this test case
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
G,
On 8/12/2011 4:55 AM, exquisite wrote:
Hey Mark, I think i figured out what's going on with my
configuration and I feel that the Tomcat Documentation is not too
clear explaining this particular step.
I have been editing the server.xml in the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 8/12/2011 2:13 PM, Caldarale, Charles R wrote:
From: Caldarale, Charles R Subject: RE: Parallel Deployment
Sessions: What am I Missing?
Results surprise me ('NEW version ')
Why is that surprising? To quote from the doc:
If no
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chema,
On 8/12/2011 3:51 AM, Chema wrote:
Why do you need a consistent ID between the two apps?
Because I'll store this ID into a record in database. The apps
checking every 60 sec if this record exists and, if dont , perform a
logout
Why
Thanks Charles / Thomas,
This is not supported. You need to move
/home/bijesh/webapps/Employee/Reports
to
/home/bijesh/webapps/Employee#Reports
and then specify your context as:
Context crossContext=true reloadable=false /
Thanks, I will be moving the Reports to
I just reverified that session info is being sent (i.e., JSESSIONID).
Yes, that's the client cookie.
--
Jonathan Rosenberg
Founder Executive Director
Tabby's Place, a Cat Sanctuary
http://www.tabbysplace.org/
On Fri, Aug 12, 2011 at 2:32 PM, Christopher Schultz
ch...@christopherschultz.net
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: Re: nested context issue in tomcat 7
So you mean to say that my URL should be changed for the
second context ?
No, continue to use the slash in the URL; only the location in the file system
contains the # as a place-holder for the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
On 8/12/2011 2:14 PM, Jonathan Rosenberg wrote:
I am using the same browser instance. Just reloading the page.
Good.
Tomcat manager confirms the existence of a session. I am the only
user of this test machine, os no confusion there.
Why bother?
As soon as the user logs out of one web application (for example, by
invalidating the corresponding session if form based login is used), the
user's sessions in all web applications will be invalidated. Any
subsequent attempt to access a protected resource in any application
Mystery solved, I think.
I did a little more digging around discovered that my cookie had two
JSESSIONID values. I didn't even know this was possible.
Neither of the values matched Tomcat's session id the browser was
unable to update the cookie's JSESSIONID properly (no surprise).
I deleted
Hi,
I was having the following entry in my application web.xml in tomcat 5.
auth-constraint
role-name*/role-name
/auth-constraint
I was getting all the roles from the Database.
When I migrated to tomcat 7, I need to mention all the roles
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: auth-constraint
I was having the following entry in my application web.xml in tomcat 5.
You need to be precise when stating Tomcat versions; Tomcat 5.what.what?
auth-constraint
role-name*/role-name
/auth-constraint
Let's look at
Thanks Chuck for your point.
Now when i renamed my war to ROOT.war and drop it in webapps folder (without
any context in server.xml), it deploys fine for the first time as the root app
(Creates a ROOT folder in webapps), but if i make any change to any of my jsps
and drop the new ROOT.war
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
On 8/12/2011 3:02 PM, Jonathan Rosenberg wrote:
Mystery solved, I think.
I did a little more digging around discovered that my cookie had
two JSESSIONID values. I didn't even know this was possible.
Yep, cookies can have multiple
Thanks Chris for your reply.
Yeah im trying the ROOT.war way too and here i have one more issue with that:
Now when i renamed my war to ROOT.war and drop it in webapps folder
(without any context in server.xml), it deploys fine for the first time
as the root app (Creates a ROOT folder in
Probably a bug in the version of Tomcat 5.?.? that you were using. See this
bugzilla entry:
5.26
Is there a way in tomcat 7 to mention the roles outside of web.xml.
Bijesh.
On Fri, Aug 12, 2011 at 4:14 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Bijesh Vijayan
From: Bijesh Vijayan [mailto:bije...@gmail.com]
Subject: Re: auth-constraint
Is there a way in tomcat 7 to mention the roles outside of web.xml.
Read section 8 of the servlet 3.0 spec; you might be able to use a
web-fragment.xml to list the roles.
- Chuck
THIS COMMUNICATION MAY CONTAIN
Caldarale, Charles R chuck.caldar...@unisys.com wrote:
From: Bijesh Vijayan [mailto:bijes
v...@gmail.com]
Subject: Re: auth-constraint
Is there a way in tomcat 7 to mention the roles outside of web.xml.
Read section 8 of the servlet 3.0 spec; you might be able to use a
web-fragment.xml to
I am an enthusiastic user of the new parallel deployment feature of tomcat 7.
But I'm a little unclear about how it interacts with session replication.
If I have a cluster of tomcat instances:
instance1/A#001.war
instance2/A#001.war
instance3/A#001.war
And they are all replicating sessions
54 matches
Mail list logo