On 13/08/2010 06:47, Richard da Silva wrote:
I installed Tomcat 6.1 on my machine.
Are you sure? The version should be 6.0.nn. The 'nn' part is important.
During the installation, I was not asked to choose whether or not I want it
installed as a Service or whatever.
I want to
Hello Tomcat-Users,
I'm facing a strange issue when using HttpComponents with successive
POST requests against a simple Tomcat 7 servlet (Form-based POST
Authentication is enabled). After a sucessfull authentication, the
client requests the same protected resource a few times in a row, but
the
Sorry, my Tomcat version is : 6.0.18
Richard da Silva
--- On Fri, 8/13/10, Pid p...@pidster.com wrote:
From: Pid p...@pidster.com
Subject: Re: Tomcat Startup : Tomcat as a Service
To: Tomcat Users List users@tomcat.apache.org
Date: Friday, August 13, 2010, 11:49 AM
On 13/08/2010 06:47,
set response.contentType(text/html), then it works
newToMina wrote:
I have jsp page which displays fine when I access it directly from tomcat.
But when the page is access through apache (mod_jk) it displays the source
code. This is happening only on Firefox and on IE it works fine.
Hi Chris,
privatekey (I'm connecting two servlet running at the moment in the same
machine and requiring server and client ssl authentication)
# keytool -list -keystore /usr/local/tomcat/conf/ssl_tomcat_cert
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
tomcat,
On 13/08/2010 10:10, Richard da Silva wrote:
Sorry, my Tomcat version is : 6.0.18
Why not use the latest version from http://tomcat.apache.org/?
And the filename of the installer?
p
Richard da Silva
--- On Fri, 8/13/10, Pid p...@pidster.com wrote:
From: Pid p...@pidster.com
On 13/08/2010 10:07, Hans Wahn wrote:
Hello Tomcat-Users,
I'm facing a strange issue when using HttpComponents with successive
POST requests against a simple Tomcat 7 servlet (Form-based POST
Authentication is enabled). After a sucessfull authentication, the
client requests the same
Hi,
Thanks for the quick answer.
I try this, but something strange is happening when I try to deploy
application (without the Tomcat restart).
I define ServletContextListener (create my implementation of this listener
and define this listener in web.xml). In method contextDestroyed I try
Thanks for looking into this issue.
What is the exact header body of the 302 redirect from Tomcat in #2?
2010/08/12 20:20:17:750 CEST [DEBUG] wire - HTTP/1.1 302 Moved
Temporarily[EOL]
2010/08/12 20:20:17:750 CEST [DEBUG] wire - Server: Apache-Coyote/1.1[EOL]
2010/08/12 20:20:17:750 CEST
Hello All.
I have Apache Tomcat 6 server running on Ubuntu 9.10. . I've changed my
application context path http://myip:8080/myapp to http://myip:8080 by
making changes in server.xml.
Engine name=Catalina defaultHost=localhost
Realm className=org.apache.catalina.realm.UserDatabaseRealm
Hi Astghik,
I don't really have a clue on your problem as I think you are creating a
virtual host within your tomcat installation.
What I do when I want to have myapp at the root directory of server (so
you access it with http://myip:8080) is to install your application in
webapps/ROOT
And to create virtual host and to set my webapp as root dir. I've done both
of them. But now I have db access problems and images on site don't display.
Estanislao Gonzalez-2 wrote:
Hi Astghik,
I don't really have a clue on your problem as I think you are creating a
virtual host within
Hi Chris,
thanks for your reply. Using your code, I get the same output, and
unable to print the value using c:out, but that's not what I'm
trying to do.
Most of the time this application works as intended, here is some more detail:
* The JSPs are dumb landing pages - only used to track which
On 13/08/2010 11:52, Hans Wahn wrote:
Thanks for looking into this issue.
What is the exact header body of the 302 redirect from Tomcat in #2?
2010/08/12 20:20:17:750 CEST [DEBUG] wire - HTTP/1.1 302 Moved
Temporarily[EOL]
2010/08/12 20:20:17:750 CEST [DEBUG] wire - Server:
HI Astghik
1. Don't put Context ... / elements in server.xml. They should go
into files named ROOT.xml in /etc/tomcat6/Catalina/localhost and
/etc/tomcat6/Catalina/www.myip.com. While your at it, drop the docbase
and path attributes ... they aren't needed when the Context element is
in it's own
For the below, isn't there an alternative method of configuring the
client to automatically follow redirects?
I asked the same question and Oleg Kalniche (HTTPComponents developer) replied:
There are several cases when automatic redirections is prohibited by the
HTTP specification. You can
Based on the below details, I am trying to understand the meaning of jmxproxy
output directive serverPort: -1 and under what scenarios tomcat will
dynamically create a virtual host directive. Any help will be highly
appreciated.
Regards
-Original Message-
From: Honey Bajaj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nick,
On 8/11/2010 9:38 AM, Nick Langlois wrote:
Get HTTP/1.1 400 Bad Request response back when Tomcat receives an HTTP
simple request (no HTTP version specified in request line).
[snip]
Example of expected behaviour:
wcars1u7-unit1# telnet
Hans Wahn wrote:
For the below, isn't there an alternative method of configuring the
client to automatically follow redirects?
I asked the same question and Oleg Kalniche (HTTPComponents developer) replied:
There are several cases when automatic redirections is prohibited by the
HTTP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 8/13/2010 8:23 AM, Thomas Treitlinger wrote:
Using your code, I get the same output, and
unable to print the value using c:out, but that's not what I'm
trying to do.
Right: I was just wondering if there was some other misconfiguration
Astghik,
As has already been pointed out:
1. Don't put Context elements in server.xml - use either:
a. META-INF/context.xml in your web application
b. $CATALINA_HOME/conf/Catalina/[hostname]/[application].xml
2. Don't use docBase in your Context element. Tomcat will figure that out
3.
Thanks for your friendly words and explanations.
Due to your thought the POST data of the first request may get
processed too late and mixup things, I altered the client source, so
the user credentials are only send after the inital call (on the
second request). Also the POST test data
Andrew,
We've been using tomcatw largely because it has big friendly buttons (that no
one can mistake) for the start and stop. It's worth a try to use the service
bat instead, though I would think the results should be about the same. I'll
test and post back next week.
Kevin
-Original
Hi Chris,
thanks for the response. I've already done quite a bit of
analysis and reported it in the following bug:
https://issues.apache.org/bugzilla/show_bug.cgi?id=49718
In summary, the issue was introduced in 5.5.28 as a fix for:
46984: Reject requests with invalid HTTP methods
On Thu, Aug 12, 2010 at 5:02 PM, Pid p...@pidster.com wrote:
On 11/08/2010 14:38, Nick Langlois wrote:
Hi,
I need confirmation of an issue I've encountered while upgrading from
Apache Tomcat 5.5.25 to 5.5.29 running in Java 1.5.0_22 on Solaris 10u8.
Unfortunately, I'm going about this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ivan,
On 8/13/2010 6:45 AM, Ivan Mladenović wrote:
I define ServletContextListener (create my implementation of this listener
and define this listener in web.xml). In method contextDestroyed I try to
shutdown all of the schedulers in following
Hi all,
I'm running into an SSL configuration problem running several web servers
behind
a proxy. I have a wildcard cert for my domain (call it m.com) on the proxy
server, but need to secure a credit card form on each webserver running as a
sub-domain behind the proxy. Here are my configs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nick,
On 8/13/2010 3:16 PM, Nick Langlois wrote:
thanks for the response. I've already done quite a bit of
analysis and reported it in the following bug:
https://issues.apache.org/bugzilla/show_bug.cgi?id=49718
I apologize for not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Donald,
On 8/12/2010 5:04 PM, Donald Armstrong wrote:
3) Listener
className=org.apache.catalina.core.JreMemoryLeakPreventionListener
gcDaemonProtection=false/
[snip]
We've decided to go with option 3.
I'm confused... I thought you tried that
Hi: I am using JAAS authentication to access the protected resource using
the code below but even I got pass the login module successfully I got a 403
error.
I tested the code both on tomcat 6.0.29 and 6.0.18 on Windows XP with Java 6
and have the same behavior.
Here is the code I am
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 8/12/2010 6:08 PM, Caldarale, Charles R wrote:
Using [libtcnative] will improve performance for HTTPS traffic.
It will also improve the performance of static content responses.
If I have my facts straight, it also uses a slightly
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Apache Tomcat Native library question
On 8/12/2010 6:08 PM, Caldarale, Charles R wrote:
Using [libtcnative] will improve performance for HTTPS traffic.
It will also improve the performance of static content
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Estani,
On 8/13/2010 5:31 AM, Estanislao Gonzalez wrote:
privatekey (I'm connecting two servlet running at the moment in the same
machine and requiring server and client ssl authentication)
# keytool -list -keystore
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: DB configuration and socket error
I'm trying to connect to a second one (different context info and
credentials) in the midwest.
Regions aside, for simple connectivity testing purposes at the moment,
I'm not worrying about
Chuck,
Indeed the proxy is forwarding all requests to 8080... I'll get the proxy
changed and add the connector as you suggest. Thanks,
-Dana
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Fri, August
Hans Wahn wrote:
Thanks for your friendly words and explanations.
Due to your thought the POST data of the first request may get
processed too late and mixup things, I altered the client source, so
the user credentials are only send after the inital call (on the
second request).
No, what I
It looks like when it comes to JAAS and Java security your are your own, and
nobody knows nothing except trials and errors.
Any way looks like I resolve this issue by changing my web.xml file
role-name element
from
role-name*/role-name //All roles
to
role-nameadmin/role-name
I will send that on shortly, but if I'm just trying to pass basic params (for
the DB conn) through the JSP, wouldn't it be ignoring the context.xml info?
If I'm not referencing it? (I commented it out for the short term).
-Original Message-
From: Caldarale, Charles R
Chris you must have misread. Do not blame yourself, my op was not as clear
as it should have been. Apologies
Sent from my Verizon Wireless BlackBerry
-Original Message-
From: Christopher Schultz ch...@christopherschultz.net
Date: Fri, 13 Aug 2010 16:02:36
To: Tomcat Users
From: Rashid Jilani [mailto:jil...@lifebiosystems.com]
Subject: RE: JAAS Realm and http error 403
After going through Tomcat specification I was under the impression
that * will authenticate any role
Exactly where were you looking?
I wonder is there any JAAS/Tomcat expert who can comments
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB configuration and socket error
I will send that on shortly, but if I'm just trying to pass basic
params (for the DB conn) through the JSP, wouldn't it be ignoring the
context.xml info?
There's clearly an attempt to
Thanks Charles for clarification.
Regards,
RJ.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Friday, August 13, 2010 3:41 PM
To: Tomcat Users List
Subject: RE: JAAS Realm and http error 403
From: Rashid Jilani
I also did a thread dump with some info -- should I include that in a reply?
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Friday, August 13, 2010 3:43 PM
To: Tomcat Users List
Subject: RE: DB configuration and socket error
From: Propes, Barry
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: DB configuration and socket error
I also did a thread dump with some info -- should I include
that in a reply?
Probably not necessary.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Barry,
On 8/13/2010 4:07 PM, Propes, Barry L wrote:
ug 13, 2010 2:58:03 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.sql.SQLException: Io exception: Connection
Yeah, sorry, Chris...it probably is moreso Oracle related in nature than
Tomcat. I just thought I'd make sure about that before I addressed it with the
one set of Oracle personnel in the midwest location.
I'm hardly an Oracle expert, but the only difference to my knowledge on these
two
BTW, Chris, I did happen to be calling DriverManager.getConnection() passing
the user/pwd params -- in this instance.
And 12505, according to the Oracle forums, seems to be some kind of listener
problem.
I had reckoned that the problem might be with their (the midwest center's)
Oracle
On 13/08/2010 11:52, Hans Wahn wrote:
2010/08/12 20:20:17:796 CEST [DEBUG] wire - HTTP/1.1 100 Continue[EOL]
2010/08/12 20:20:17:796 CEST [DEBUG] wire - [EOL]
2010/08/12 20:20:17:796 CEST [DEBUG] headers - HTTP/1.1 100 Continue
2010/08/12 20:20:17:796 CEST [DEBUG] wire - testName=testValue
Pid wrote:
On 13/08/2010 11:52, Hans Wahn wrote:
2010/08/12 20:20:17:796 CEST [DEBUG] wire - HTTP/1.1 100 Continue[EOL]
2010/08/12 20:20:17:796 CEST [DEBUG] wire - [EOL]
2010/08/12 20:20:17:796 CEST [DEBUG] headers - HTTP/1.1 100 Continue
2010/08/12 20:20:17:796 CEST [DEBUG] wire -
I have a vanilla tomcat, I want to log specific financial-related requests
to a separate log file.
I've added the following logging.properties to webapps/ROOT/WEB-INF/classes:
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
org.apache.juli.FileHandler.level=ALL
50 matches
Mail list logo