Re: Using Context/Manager with custom nested element

2010-01-28 Thread Martin Grotzke
Hi Jason, thanx for your confirmation. Your proposed solution is what I wanted to avoid... Thanx && cheers, Martin On Thu, 2010-01-28 at 18:20 -0800, Jason Brittain wrote: > You're right that you would need to modify Tomcat's code to do that. > Commons-digester > would need to be told how to re

Re: Using Context/Manager with custom nested element

2010-01-28 Thread Jason Brittain
You're right that you would need to modify Tomcat's code to do that. Commons-digester would need to be told how to read a new nested element. Without modifying the code, you may, however, be able to get away with something like: .. where your custom MyManager class has String properties foo and

Re: the context.xml is not preserved

2010-01-28 Thread Konstantin Kolinko
2010/1/28 LI Daobing : > my system: Ubuntu 9.04, x86_64, tomcat 6.0.18, See the Changelog file for a list of issues fixed since 6.0.18. (Or search the Bugzilla) I remember that something similar was there. Best regards, Konstantin Kolinko -

RE: admin tool, missing Environment Entries

2010-01-28 Thread Caldarale, Charles R
> From: che10234 [mailto:cheni...@rogers.com] > Subject: RE: admin tool, missing Environment Entries > > I can't fill them in, they aren't even listed, I've got an empty page. Sorry, that makes no sense to me. elements are created by whoever puts together the element for the webapp - that's e

RE: admin tool, missing Environment Entries

2010-01-28 Thread che10234
>Why is that a problem? Filling it in (if it's needed) is one of *your* migration tasks. I can't fill them in, they aren't even listed, I've got an empty page. It's like the admin tool can't find web.xml >>Here is the relevant portion of the server.xml file: >Which is seriously broken. You can

Using Context/Manager with custom nested element

2010-01-28 Thread Martin Grotzke
Hi, is it somehow possible to have a custom nested element below the Manager element in server.xml/context.xml? E.g. where the MyManager class has a property fooBar? AFAICS the ContextRuleSet defines what's possible in the Context element without any hook - so it seems that there's no poss

RE: Need to monitor the JNDI based Connection Pool usage using JConsole

2010-01-28 Thread Caldarale, Charles R
> From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] > Subject: Need to monitor the JNDI based Connection Pool usage using > JConsole > I need to monitor the JNDI based Connection Pool usage > using JConsole Not sure if you'll get all the usage information you're looking for via

RE: admin tool, missing Environment Entries

2010-01-28 Thread Caldarale, Charles R
> From: che10234 [mailto:cheni...@rogers.com] > Subject: admin tool, missing Environment Entries > > I've migrated a tomcat 5.0 app from one server to another > (using tomcat 5.5), but on the new server the environment > entries list is empty. Why is that a problem? Filling it in (if it's needed

admin tool, missing Environment Entries

2010-01-28 Thread che10234
Hi, I've migrated a tomcat 5.0 app from one server to another (using tomcat 5.5) , but on the new server the environment entries list is empty. Tomcat Server - Service (Applications) - Host (myhost) - Context (myapp) -Resourses - Environment Entries Here is the relev

RE: Tomcat/JDBC Thin Client and Oracle SQL Parsing

2010-01-28 Thread Jeffrey Janner
I think you're right about it being a chance coincidence on Oracle removing the query from the cache about the same time as the restart. Sometimes coincidences happen. -Original Message- From: Dan Denton [mailto:dden...@remitpro.com] Sent: Thursday, January 28, 2010 2:25 PM To: Tomcat Use

Re: Regarding Error FarmWarDeployer on Tomcat 6.0.20

2010-01-28 Thread Dilip Krishna K
> > Hi, > > I am trying to configure Cluster of Tomcat with two nodes and use > FarmWarDeployer to deploy between both the nodes. I have almost got > everything to work but now all of a sudden i am getting "Application XYZ in > used. Touch war file XYZ.war again !" error at which point the applicat

RE: Tomcat/JDBC Thin Client and Oracle SQL Parsing

2010-01-28 Thread Dan Denton
Thanks for the reply. I'm pretty sure we pinpointed the reason why oracle was using the wrong indexes. Stats for the indexes weren't updated since the 12th of January and when oracle re-parsed the query it chose the index based on the size of that day's data in the index histogram. As to why o

Re: Unable to set loginTimeout on data sources defined in context.xml

2010-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, On 1/27/2010 5:40 PM, Jorge Medina wrote: > I have the following Resource defined in context.xml > >auth="Container" > driverClassName="oracle.jdbc.driver.OracleDriver" > type="oracle.jdbc.pool.Oracl

Re: Tomcat 5.5.28 Class loading issue

2010-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 1/26/2010 6:54 PM, Pid wrote: > Tomcat supplies all of the servlet & JSPs jars, you don't need to add them. +1 In fact, it's illegal to provide them. Smith should have noticed a warning in catalina.out (or elsewhere) that servlet-api.jar pro

Re: the context.xml is not preserved

2010-01-28 Thread LI Daobing
Hello, I am talking about the first one, and i am still digging on this problem, it sounds that if autoDeploy is on and deploy a new war package will trigger this problem. Maybe an undeploy is triggered during this process, which remove the ROOT.xml in the conf/C*/l* dir Thanks 在 2010-1-28 下午11:

Re: the context.xml is not preserved

2010-01-28 Thread David Smith
On 1/28/10 9:46 AM, LI Daobing wrote: > Hello, > > in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html, there > is a statement: > > "Once this file exists, it will not be replaced if a new WAR with a > newer /META-INF/context.xml is placed in the host's appBase." > > but, in my practice,

Re: the context.xml is not preserved

2010-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daobing, On 1/28/2010 9:46 AM, LI Daobing wrote: > in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html, there > is a statement: > > "Once this file exists, it will not be replaced if a new WAR with a > newer /META-INF/context.xml is placed

Re: Tomcat+Apatche for two websites on one server

2010-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ling, On 1/27/2010 11:57 PM, chenll wrote: > Can i install Tomcat and GeonetWork node firstly, because i will use > Apatche for building another website later instead of now. Absolutely. If you want to install Tomcat first, without Apache, you'll pro

the context.xml is not preserved

2010-01-28 Thread LI Daobing
Hello, in http://tomcat.apache.org/tomcat-6.0-doc/config/context.html, there is a statement: "Once this file exists, it will not be replaced if a new WAR with a newer /META-INF/context.xml is placed in the host's appBase." but, in my practice, this file is always be replaced, I need help on this

Re: FW: JNDIRealm and roleNested

2010-01-28 Thread Mark Thomas
On 27/01/2010 17:38, TahitianGabriel wrote: > > Mark, > > I've opened a bug : > https://issues.apache.org/bugzilla/show_bug.cgi?id=48629 > https://issues.apache.org/bugzilla/show_bug.cgi?id=48629 > > I've also attached a patch that fixed the problem. Many thanks. I'll try and take a look in th

Need to monitor the JNDI based Connection Pool usage using JConsole

2010-01-28 Thread Karthik Nanjangude
Hi SPEC : JDK1.6 TOMCAT 6.0.20 O/s 1, 2 Windows 2000 Server Apache Http - 2.x DB : Oracle 10G I need to monitor the JNDI based Connection Pool usage using JConsole 1) Is there a reference URL on the web ( did not via goggled ) 2) Is some JMX coding needed for monitoring (alternate)