Re: Where does my stderr go?

2011-01-10 Thread Konstantin Kolinko
2011/1/11 Thomas Kloeber : > Konstantin, > > Konstantin Kolinko wrote on 11.01.2011 01:03: >> >> https://issues.apache.org/bugzilla/show_bug.cgi?id=18462 > > thanks for sending this link. I'm surprised that this is such an old issue! > So, if I understand the discussion correctly, Tomcat redirects

Re: Where does my stderr go?

2011-01-10 Thread Thomas Kloeber
Konstantin, Konstantin Kolinko wrote on 11.01.2011 01:03: https://issues.apache.org/bugzilla/show_bug.cgi?id=18462 thanks for sending this link. I'm surprised that this is such an old issue! So, if I understand the discussion correctly, Tomcat redirects stderr into stdout_XXX.log, right? Str

RE: Memory Issue with Tomcat 6.0.28 and 6.0.29

2011-01-10 Thread Caldarale, Charles R
> From: Randall Smith [mailto:rand...@tnr.cc] > Subject: Memory Issue with Tomcat 6.0.28 and 6.0.29 > I didn't see a 6.0.27 release to try. Did something change between > 6.0.26 and 6.0.28 that could cause this? The only things I can spot in the changelog are related to webapp redeployment: ht

Memory Issue with Tomcat 6.0.28 and 6.0.29

2011-01-10 Thread Randall Smith
I'm running a 3rd party application on Tomcat and getting out of memory errors. With Tomcat 6.0.20 and 6.0.26 it runs fine and consumes < 100MB of RAM max. If I use Tomcat 6.0.28 or 6.0.29, giving up to 5 GB to the JVM heap, I get out of memory errors. This is on both Windows Server 2008 and Deb

Re: Where does my stderr go?

2011-01-10 Thread Konstantin Kolinko
https://issues.apache.org/bugzilla/show_bug.cgi?id=18462 2011/1/7 Jeffrey Janner : > I've noticed that stderr is almost always empty on Windows, unless you get an > OOM error.  That will show up there. > Could it possibly be getting routed to another log file? Or eaten by the JVM? >  Is this one

Re: Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-10 Thread Pid *
On 10 Jan 2011, at 22:22, Kevin Murray wrote: > Hi, > > I currently have a functioning Tomcat 5.5.25 server installed on 64-bit > Linux and my goal is to advance to version Tomcat version 5.5.31 > Is the a method akin to applying a patch to my existing Tomcat 5.5.25 > install which will advance i

Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-10 Thread Kevin Murray
Hi, I currently have a functioning Tomcat 5.5.25 server installed on 64-bit Linux and my goal is to advance to version Tomcat version 5.5.31 Is the a method akin to applying a patch to my existing Tomcat 5.5.25 install which will advance it to version 5.5.31 ? If so, then what are the steps. Tks

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
I figured it out -- I just needed to put the one application that I wanted to be secure in the security-constraint section, then let the other ones not require authentication. -- Chris On Mon, Jan 10, 2011 at 2:41 PM, Christopher Gross wrote: > That did it! Thanks Mark & Pid. > > Now to make i

Re: Determining SSL TPS and SSL Concurrent Sessions - Tomcat 6.0 Web Servers

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/10/2011 11:08 AM, André Warnier wrote: > Suppose that you have an AccessLogValve configured, and you obtain an > access log. > > Would you not be able to process this logfile off-line, and by the usage > of a judicious script written, for

Re: Tomcat6 with mod_jk

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 1/8/2011 8:28 PM, Peter Sparkes wrote: > LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so ... > file /etc/apache2/conf.d/jk.conf is > > JkWorkersFile /etc/apache2/workers.properties > JkLogFile /var/log/apache2/mod_jk.log

Re: Need to create a new thread for async operations

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cid, On 1/9/2011 11:27 AM, Captain Cid wrote: > I am having a CXF webservice impl class. In this I want to start a new thread > in service impl constructor. This is because I need to run a thread will > continuously do some operation in background usi

Re: Polling servlet and session expiration - avoid calling request.getSession() ?

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 1/8/2011 6:52 PM, Konstantin Kolinko wrote: > As [1] mentions, it depends on whether the following system property > is set to "true": > org.apache.catalina.STRICT_SERVLET_COMPLIANCE > > [1] > http://tomcat.apache.org/tomcat-6.0-doc/c

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
That did it! Thanks Mark & Pid. Now to make it more complicated -- in order to have another page without that restriction, would I need to make a whole new webapp, or can I turn down the security for a specific page? Thanks! -- Chris On Mon, Jan 10, 2011 at 2:18 PM, Pid wrote: > On 1/10/11

Re: Configuring Embedded Tomcat

2011-01-10 Thread Pid
On 1/10/11 6:58 PM, Christopher Gross wrote: > Borrowing from another web.xml (solr's), I added this to my web.xml: > > > > Link to the UserDatabase instance from which we request lists of > defined role names. Typically, this will be connected to the global > user datab

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 1/8/2011 6:30 AM, zigg...@gmail.com wrote: > Yes I guess you are right that launching the jmx every minute could > be expensive resourcewise... i am wondering whether it will be less > expensive if I just start a thread and same it up every

Re: Tomcat 6 busy threads issue

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kobi, I can't really help if you don't give me more information On 1/8/2011 11:36 AM, Kobi Biton wrote: > On Thu, 2011-01-06 at 12:23 -0500, Christopher Schultz wrote: >> Okay, that will mean that the second server will handle, at most, 300 >> simult

Re: No Content-type in the header

2011-01-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 1/7/2011 11:37 AM, 9-act-swim-sif-...@faa.gov wrote: > Don't understand the forms question. Can you be more specific? I was joking that you didn't identify yourself in any way other than your email address, which is pretty

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
Borrowing from another web.xml (solr's), I added this to my web.xml: Link to the UserDatabase instance from which we request lists of defined role names. Typically, this will be connected to the global user database with a ResourceLink element in server.xml or the contex

Re: Configuring Embedded Tomcat

2011-01-10 Thread Mark Thomas
On 10/01/2011 18:43, Christopher Gross wrote: > I added the security role: > MemoryRealm mr = new MemoryRealm(); > mr.setPathname(path + "/conf/tomcat-users.xml"); > Context sp = embedded.createContext("/Monitor", path + > "/webapps/monitor"); > sp.setRealm(mr); >

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
I added the security role: MemoryRealm mr = new MemoryRealm(); mr.setPathname(path + "/conf/tomcat-users.xml"); Context sp = embedded.createContext("/Monitor", path + "/webapps/monitor"); sp.setRealm(mr); sp.addSecurityRole("admin"); host.addChild(sp)

Re: Configuring Embedded Tomcat

2011-01-10 Thread Mark Thomas
On 10/01/2011 18:16, Christopher Gross wrote: > I created a MemoryRealm object, pointed it to my tomcat-users.xml file, > added that realm to the embedded (no luck) and to the specific context (no > luck either). For both, it just plain loads the page -- doesn't ask me to > do any type of logging

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
I created a MemoryRealm object, pointed it to my tomcat-users.xml file, added that realm to the embedded (no luck) and to the specific context (no luck either). For both, it just plain loads the page -- doesn't ask me to do any type of logging in. Are you just using your own experience to help me

Re: Configuring Embedded Tomcat

2011-01-10 Thread Pid
On 1/10/11 5:33 PM, Christopher Gross wrote: > The Realm class is "read only" (according to the API). There isn't a way > for me to set the path to the tomcat-users.xml file (or anything else for > that matter). > > I'm not seeing a function in the Engine/Embedded/Context object to have it > load

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
The Realm class is "read only" (according to the API). There isn't a way for me to set the path to the tomcat-users.xml file (or anything else for that matter). I'm not seeing a function in the Engine/Embedded/Context object to have it load the tomcat-users.xml file either (though the context doe

Re: Tomcat and HTTP chunk extensions

2011-01-10 Thread Mark Thomas
On 05/01/2011 17:02, EOIN MCQUILLAN wrote: > Mark I'm not sure I fully agree with your last answers. The purpose, to me, > would be to extend the capabilities of chunked transfer encoding rather than > to > implement chunked transfer encoding. They are optional after all. Being > optional > th

Re: Configuring Embedded Tomcat

2011-01-10 Thread Pid
On 1/10/11 2:28 PM, Christopher Gross wrote: > It is specified there -- but I don't have a server.xml file set up. Since > I'm using the embedded version, I set up the tomcat on the fly and just have > the java code start it. What's stopping you from programmatically creating the Realm and adding

Re: Apache Process going high even after restart of backend server tomcat

2011-01-10 Thread André Warnier
Amol Puglia wrote: Hello Team, I am facing very weird problem of apache porcess going high upto 259 and increasing again even after restart of backend server ie. tomcat. Apache version :- 2.0.59 Tomcat Version :- 5.5.9 Apache/Tomcat connectivity :- mod_jk when i have checked mod_jk.log file

Re: Determining SSL TPS and SSL Concurrent Sessions - Tomcat 6.0 Web Servers

2011-01-10 Thread André Warnier
Sushil Chhugani wrote: ... Tried to explore options in JMX but clients are unable to capture the requisite details. Will much appreciate if some guidance on getting the relevant details can be shared Hi. Suppose that you have an AccessLogValve configured, and you obtain an access log. As per

Apache Process going high even after restart of backend server tomcat

2011-01-10 Thread Amol Puglia
Hello Team, I am facing very weird problem of apache porcess going high upto 259 and increasing again even after restart of backend server ie. tomcat. Apache version :- 2.0.59 Tomcat Version :- 5.5.9 Apache/Tomcat connectivity :- mod_jk when i have checked mod_jk.log file i am seeing this mes

Determining SSL TPS and SSL Concurrent Sessions - Tomcat 6.0 Web Servers

2011-01-10 Thread Sushil Chhugani
*(apologies if this query is a repeat, was unable to find any detailson this) * ** *Hello All,* I wish to request for guidance on how can we determine or record the *SSL TPS (Transactions Per Sec) *and *SSL concurrent sessions* (established sessions) for Tomcat 6.0 Web Servers. *Here's a brief ba

Re: Configuring Embedded Tomcat

2011-01-10 Thread Christopher Gross
It is specified there -- but I don't have a server.xml file set up. Since I'm using the embedded version, I set up the tomcat on the fly and just have the java code start it. I looked at the server.xml file that comes with the standard tomcat installation, and I see the the UserDatabaseRealm port

Re: Starting Tomcat admin undeploys a web service

2011-01-10 Thread Robin Capone
You can't see me but, I'm banging my head on my desk. Yes, the bookmark was the problem. Thanks for your help. On 1/7/2011 6:17 PM, Konstantin Kolinko wrote: 2011/1/8 Robin Capone: I have a web service that gets undeployed when I start tomcat administration. I have to restart Tomcat and rede