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
o
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 -
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 - >> "te
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 server's
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 differen
-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
> refused(
> 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 PROPRIETAR
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
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 [mailto:jil...@lifebiosystems.com
> 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
> 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 c
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
Date: Fri, 13 Aug 2010 16:02:36
To: Tomcat Users List
Reply-To: "Tomcat Users List"
Su
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 [mailto:chuck.caldar.
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
element
from
* //All roles
to
admin // subject.getPrincipals().add(new
MyRolePrinci
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 rea
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"
To: Tomcat Users List
Sent: Fri, August 13, 2010 1:05:06 PM
Subject: RE: Proxy Configur
> 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
-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 /usr/local/tomcat/conf/ssl_to
> 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 conte
Hi folks,
This may very well be a DB issue and not a Tomcat issue, and if so, sorry to
bother you.
But I thought I'd quickly run it by the folks here for a second opinion.
Using Tomcat 6.0.26, on XP Pro, connecting to Oracle 10.
Now, I have one app that connects fine to an Oracle UNIX server in
> From: DANA HEATH [mailto:djhe...@pacbell.net]
> Subject: Proxy Configuration + SSL
>
> web-server's server.xml connector snippet:
> connectionTimeout="2" proxyName="web01.m.com"
> proxyPort="80" redirectPort="443" />
>
> The proxy is running on ports 80 / 443.
-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 differe
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 usin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Donald,
On 8/12/2010 5:04 PM, Donald Armstrong wrote:
> 3) 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 and
-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
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 (ru
-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 w
On Thu, Aug 12, 2010 at 5:02 PM, Pid 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 backwar
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 w
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
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 "testName=te
Astghik,
As has already been pointed out:
1. Don't put 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 element. Tomcat will figure that out
3. Don't use subdir
-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 , but that's not what I'm
> trying to do.
Right: I was just wondering if there was some other misconfiguration or
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 specific
-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# t
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 [mailto:hba
> 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 p
HI Astghik
1. Don't put 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 xml file.
2.
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 - << "Serv
Hi Chris,
thanks for your reply. Using your code, I get the same output, and
unable to print the value using , 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 URL was
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 wit
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 inste
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.
But I got another problem, all images (there are in
/var/lib/tomcat6/webapps/myapp/img dir) are broken
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
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 t
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 pr
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 wrote:
>
> From: Pid
> Subject: Re: Tomcat Startup : T
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, Aug
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. Fi
Sorry, my Tomcat version is : 6.0.18
Richard da Silva
--- On Fri, 8/13/10, Pid wrote:
From: Pid
Subject: Re: Tomcat Startup : Tomcat as a Service
To: "Tomcat Users List"
Date: Friday, August 13, 2010, 11:49 AM
On 13/08/2010 06:47, Richard da Silva wrote:
> I installed Tomcat 6.1 on my m
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 sec
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 co
52 matches
Mail list logo