Re: Seeking tips on multi-host, multi-context deployments

2011-09-29 Thread Pid
All of which is splendid, but it would've been better if you hadn't hijacked the Incorporating changes compiling Tomcat thread by replying to my last message editing the subject body. Please start a new thread instead, in future. p signature.asc Description: OpenPGP digital signature

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-09-29 Thread Pid
On 29/09/2011 06:30, Raghu GS wrote: Konstantin Kolinko wrote: 2011/9/27 Raghu GS raghu...@i10n.com: Hello Everybody We are using Tomcat 6.20 in CentOS 5.3 server. 6.0.20 ?? You should read http://tomcat.apache.org/security-6.html as well as all the fixed issues in changelog.

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Paul Wilson
On 28 September 2011 18:11, Konstantin Kolinko knst.koli...@gmail.comwrote: 1) I replaced opening svg tag with: svg xmlns=http://www.w3.org/2000/svg; width=450 height=500 viewBox=0 0 450 500 xmlns:c=http://java.sun.com/jsp/jstl/core;

[OT] Tomcat on its own SVN repository?

2011-09-29 Thread Francis GALIEGUE
Hello list, I was trying to get the source code in order to implement my own idea of a remote address valve (as mentioned in a previous thread). But I use git-svn, and discovered that Tomcat is on a repository with 1M+ changes on it! git svn clone is therefore woefully impractical. Is there any

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Konstantin Kolinko
2011/9/29 Paul Wilson paulalexwil...@gmail.com: On 28 September 2011 18:11, Konstantin Kolinko knst.koli...@gmail.comwrote: This is what isn't working on Tomcat 6.0.32 for me. Note additionally that http://www.w2.org/2000/svg; should be a taglib uri too to fully mirror my example. Perhaps

Accessing Tomcat manager app

2011-09-29 Thread krishnaroopa senthilkumar
Hi I have installed tom cat 7.0.21 I have changed the tomcat-users.xml file as below tomcat-users role rolename=Standard/ role rolename=admin/ role rolename=manager-script/ role rolename=tomcat/ role rolename=role1/ user name=mgr password=tomcat roles=standard,manager-script/ user name=tomcat

Re: [OT] Tomcat on its own SVN repository?

2011-09-29 Thread Konstantin Kolinko
2011/9/29 Francis GALIEGUE f...@one2team.com: Hello list, I was trying to get the source code in order to implement my own idea of a remote address valve (as mentioned in a previous thread). But I use git-svn, and discovered that Tomcat is on a repository with 1M+ changes on it! git svn

Re: [OT] Tomcat on its own SVN repository?

2011-09-29 Thread Olivier Lamy
If you need a git clone use: https://github.com/apache/ and search clone started with tomcat 2011/9/29 Francis GALIEGUE f...@one2team.com: Hello list, I was trying to get the source code in order to implement my own idea of a remote address valve (as mentioned in a previous thread). But I

Re: Accessing Tomcat manager app

2011-09-29 Thread Konstantin Kolinko
2011/9/29 krishnaroopa senthilkumar krishnaro...@gmail.com: Hi I have installed tom cat 7.0.21 I have changed the tomcat-users.xml file as below tomcat-users role rolename=manager-script/ user name=mgr password=tomcat roles=standard,manager-script/ /tomcat-users The manager-script role

Re: [OT] Tomcat on its own SVN repository?

2011-09-29 Thread Francis GALIEGUE
On Thu, Sep 29, 2011 at 10:35, Konstantin Kolinko knst.koli...@gmail.com wrote: [...] No. Why? If it ain't broken do not fix it. Depends on the point of view, I guess :) SVN is broken to my eyes... The project has 10+ years of history, and all its versions are related. Also we sometimes

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Paul Wilson
On 29 September 2011 09:28, Konstantin Kolinko knst.koli...@gmail.comwrote: The following will work for you: foo:xyz xmlns:foo=path/to/foo/ns foo:p/ bar:q xmlns:bar=path/to/bar/ns / /foo:xyz Unfortunately (this is the first thing I tried), the client won't accept the namespace being

Re: Accessing Tomcat manager app

2011-09-29 Thread krishnaroopa senthilkumar
Great!.. Thanks a lot. I included manager-gui role and able to access. Next thing, I had a war file insight.war and placed it under webapps folders I am able to access as http://localhost:8080/insight/index.html But i need to access it directly as http://localhost:8080/index.html Heard that

Re: Accessing Tomcat manager app

2011-09-29 Thread Konstantin Kolinko
2011/9/29 krishnaroopa senthilkumar krishnaro...@gmail.com: Great!.. Thanks a lot. I included manager-gui role and able to access. Next thing, I had a war file insight.war and placed it under webapps folders I am able to access as http://localhost:8080/insight/index.html But i need to access  

Re: Seeking tips on multi-host, multi-context deployments

2011-09-29 Thread Mark Thomas
On 28/09/2011 19:25, Sam Hokin wrote: (2) Dell 1950 8-CPU servers running Fedora 14 Linux 2.6.35, one with 2 GB RAM and one with 4 GB RAM That seems low but if it works for you... (2) Tomcat 7.0.16 instances, one on each server, running clustered contexts in distributable mode, under Sun JDK

Logging properties of attributes in the HttpSession

2011-09-29 Thread Richard Sayre
Hi, I am logging all local host access using the following config: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern='%h %l %u %{userObject}s %t %r %s %b' resolveHosts=false/ The userObject

Regarding missing requst parameter infos in RequestFacade

2011-09-29 Thread Sharun superstar
Hi, I am using cocoon 2.1.9 as my web application frame work on tomcat 6.0.33 I get strange problem that I get request object and also able to get values of querystring and sessionid from the request object. (RequestFacade) But when try to get request-parameter using the same object it some

Re: Regarding missing requst parameter infos in RequestFacade

2011-09-29 Thread Sharun superstar
On Thu, Sep 29, 2011 at 3:27 PM, Sharun superstar saravanan.nedunchezhi...@gmail.com wrote: Hi, I am using cocoon 2.1.9 as my web application frame work on tomcat 6.0.33 I get strange problem that I get request object and also able to get values of querystring and sessionid from the

Tomcat 7 :: Tomcat-Native

2011-09-29 Thread Lunita
Hi all, I'm trying to set up APR SSL, and at catalina.out is: INFO: An older version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of 1.1.22 Sep 29, 2011 5:07:40 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 9/29/2011 4:43 AM, Paul Wilson wrote: On 29 September 2011 09:28, Konstantin Kolinko knst.koli...@gmail.comwrote: The following will work for you: foo:xyz xmlns:foo=path/to/foo/ns foo:p/ bar:q xmlns:bar=path/to/bar/ns / /foo:xyz

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 9/29/2011 1:30 AM, Raghu GS wrote: I have recently enabled catalina_pid functionality using environment variable. The PID file got created and contains +1 PID number. So, when you look at the PID file you get, say 1235 but when you run

Re: Tomcat 7 :: Tomcat-Native

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lunita, On 9/29/2011 11:12 AM, Lunita wrote: I'm trying to set up APR SSL, and at catalina.out is: INFO: An older version 1.1.20 of the APR based Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of 1.1.22 Sep

Re: [OT] Regarding missing requst parameter infos in RequestFacade

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sharun, Marking OT because this is almost certainly not a Tomcat issue, but Cocoon configuration or something else. On 9/29/2011 9:27 AM, Sharun superstar wrote: I am using cocoon 2.1.9 as my web application frame work on tomcat 6.0.33 I'm on

Re: Seeking tips on multi-host, multi-context deployments

2011-09-29 Thread Sam Hokin
HUGE apologies, Pid! I had no idea that a changed subject would keep my email in a previous thread. I saw no visible connection to your thread, I didn't know that my email client (Thunderbird) would pass the reference to your thread back in the email header. I'll be sure to start a fresh

Re: Tomcat 7 :: Tomcat-Native

2011-09-29 Thread Lunita
Hi Chris, The steps I followed to compile are, configure, make and make install. I see the libtcnative and its liks at $CATALINA_HOME/lib/. /opt/apr-1.4.2/lib/ apr.explibapr-1.a libapr-1.lalibapr-1.so libapr-1.so.0 libapr-1.so.0.4.2 pkgconfig/ I added the

Re: Logging properties of attributes in the HttpSession

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich, On 9/29/2011 9:18 AM, Richard Sayre wrote: I am logging all local host access using the following config: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern='%h %l %u

Re: Tomcat 7 :: Tomcat-Native

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lunita, On 9/29/2011 12:02 PM, Lunita wrote: The steps I followed to compile are, configure, make and make install. I see the libtcnative and its liks at $CATALINA_HOME/lib/. /opt/apr-1.4.2/lib/ apr.explibapr-1.a libapr-1.la

Re: Logging properties of attributes in the HttpSession

2011-09-29 Thread Richard Sayre
Thanks, I'm trying to log the user name. I am not using Tomcat for authentication and I need that info in my access logs. Perhaps I will create a new attribute to hold that value rather than accessing the object I have in session and calling toString. On that note if I know the username, is it

Re: connection pooling configuration for DB2 in tomcat

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Krish, On 9/28/2011 5:51 PM, rad muthu wrote: I am looking for DB2 connection pooling configuration used in DB2. http://lmgtfy.com/?q=DB2+connection+pooling+configuration+used+in+DB2 http://catb.org/~esr/faqs/smart-questions.html - -chris

Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-29 Thread rapponcape
Tomcat version 7.0.6 listening on local machine 10.3.4.7 and accepting incoming POST connections from 4 remote machines, 10.12.5.10[2-5]. Configured in standalone mode, using HTTP connector. Remote machines are sending constant stream of POST messages...~100 kbit/sec. All POST traffic is

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-29 Thread Rainer Jung
On 29.09.2011 18:28, rapponcape wrote: Tomcat version 7.0.6 listening on local machine 10.3.4.7 and accepting incoming POST connections from 4 remote machines, 10.12.5.10[2-5]. Configured in standalone mode, using HTTP connector. 7.0.6 was not ment for production use. Start with the latest 7.0

Re: Logging properties of attributes in the HttpSession

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich, On 9/29/2011 12:18 PM, Richard Sayre wrote: Thanks, I'm trying to log the user name. I am not using Tomcat for authentication and I need that info in my access logs. So, that means that %u isn't an option, then? :( Perhaps I will create

Re: Logging properties of attributes in the HttpSession

2011-09-29 Thread Richard Sayre
Ahh yes I just discovered it when you replied: http://static.springsource.org/spring-security/site/docs/3.0.x/apidocs/org/springframework/security/web/servletapi/SecurityContextHolderAwareRequestFilter.html Thanks Rich On Thu, Sep 29, 2011 at 3:19 PM, Christopher Schultz

problem configuring tomcat7 in ubuntu 10.04

2011-09-29 Thread Anisha Karki
Hi, I am new to both tomcat 7 and ubuntu. How can i configure tomcat server in ubuntu 10.04 ? I am novice to ubuntu and tomcat so It would be nice if anyone could explain in detail. (I tried but could not configure.) Regards, Anisha Karki

Re: problem configuring tomcat7 in ubuntu 10.04

2011-09-29 Thread Piotr Pawlowski
Please explain exactly what would you like to achieve. To install Tomcat you need to download it from tomcat.apache.org , untar archive and start it by running $tomcat_path/bin/catalina.sh start . Best Regards -- Piotr Pawlowski GOYELLO System Administrator

Re: problem configuring tomcat7 in ubuntu 10.04

2011-09-29 Thread Anisha Karki
Hi, I downloaded tomcat 7.0.0 unzipped it and kept in /user/local/tomcat7/. Now i dont know how to proceed further in ubuntu. In windows i started tomcat by running the executable files. But in ubuntu i am stuck. Is there any documentation or step by step explanation on how to configure and make

Should Form Authentication Valve restore request body on a PUT?

2011-09-29 Thread Nicholas Sushkin
In Tomcat 6, Form Authentication valve restores the original request after a POST with successful authentication and redirect is followed by the client's GET. In case of the POST, the valve also restores the original request's body. However, it doesn't do that for a PUT. If I am not mistaken,

RE: problem configuring tomcat7 in ubuntu 10.04

2011-09-29 Thread Caldarale, Charles R
From: Anisha Karki [mailto:karki.ani...@gmail.com] Subject: Re: problem configuring tomcat7 in ubuntu 10.04 I downloaded tomcat 7.0.0 That would be a serious error; the current version is 7.0.21. 7.0.0 never got beyond beta. Is there any documentation or step by step explanation on how

Re: problem configuring tomcat7 in ubuntu 10.04

2011-09-29 Thread Anisha Karki
I read that but its not clear on how to manage directories in ubuntu i.e Where should tomcat be placed ? and what is the command to run the tomcat server ? On Thu, Sep 29, 2011 at 2:46 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anisha Karki

Re: problem configuring tomcat7 in ubuntu 10.04

2011-09-29 Thread Hassan Schroeder
On Thu, Sep 29, 2011 at 1:26 PM, Anisha Karki karki.ani...@gmail.com wrote: I read that but its not clear on how to manage directories in ubuntu i.e Where should tomcat be placed ? Anywhere you want -- it's your server. and what is the command to run the tomcat server ? Excerpted quote from

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-29 Thread rapponcape
Thanks for your reply. Followup 7.0.6 was not ment for production use. Start with the latest 7.0 release. Will attempt to test with latest stable 7.0.21 Aha, the client is using HTTP 1.0 and not 1.1. This could be one reason for Tomcat closing the connection. See below. When I

Re: Should Form Authentication Valve restore request body on a PUT?

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicholas, On 9/29/2011 3:37 PM, Nicholas Sushkin wrote: In Tomcat 6, Form Authentication valve restores the original request after a POST with successful authentication and redirect is followed by the client's GET. In case of the POST, the valve

Re: Tomcat 7.0.6 FIN_WAIT2 Connections and Connection Keep-Alive

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 wr, On 9/29/2011 4:49 PM, rapponcape wrote: Aha, the client is using HTTP 1.0 and not 1.1. This could be one reason for Tomcat closing the connection. See below. When I reconfigure and put Apache in front of Tomcat and use a jkmount with AJP

Re: Apache Tomcat 5.5.34 Question (UNCLASSIFIED)

2011-09-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harold, On 9/22/2011 11:51 AM, BARRON, HAROLD H CTR DISA EE wrote: Classification: UNCLASSIFIED Thank god none of this is classified. I might have to write a plan of action to temporarily mitigate this issue until the update is posted. I just

Re: Apache Tomcat 5.5.34 Question (UNCLASSIFIED)

2011-09-29 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harold, On 9/22/2011 11:51 AM, BARRON, HAROLD H CTR DISA EE wrote: Classification: UNCLASSIFIED Thank god none of this is classified. I might have to write a plan of action to temporarily mitigate this issue until

Re: Problems with ImageIO

2011-09-29 Thread Nubile
I saw this problem while loading a TGA reader. I was able to first resolve the problem by disabling JreMemoryLeakPreventionListener, but a better solution seems to be to put a static initializer in my webapp code that forces the container to re-scan for reader implementations once the webapp

Defining JDBC resource and AutoDeploy

2011-09-29 Thread Arttu Tanner
OS: Linux / CentOS / 2.6.18-028stab092.1 Tomcat: 5.5.23 I have simple XML-RPC -WebApp, that uses MySQL database. Currently I have defined the JDBC resource in server.xml inside the Host -tags as follows: Context docBase=mywebapp path=/mywebapp reloadable=true

Re: Defining JDBC resource and AutoDeploy

2011-09-29 Thread Tim Watts
Try: * conf/Catalina/localhost/mywebapp.xml OR * webapps/mywebapp/META-INF/context.xml OR * If you put it in GlobalNamingResources then you have to add a Resource-Link to Context. See the Configuration documentation.