Re: tomcat query

2024-09-23 Thread Christopher Schultz
Mark, On 9/23/24 08:58, Mark Thomas wrote: On 23/09/2024 13:50, Rachana Kharchane wrote: Hi Team, I Have few queries How can we ensure the oldĀ  config is kept in place post installing a new tomcat version? Do we have options to backup the configuration and reapply after new version instal

Re: tomcat query

2024-09-23 Thread Olaf Kock
Hi Rachana, On 23.09.24 14:50, Rachana Kharchane wrote: How can we ensure the old config is kept in place post installing a new tomcat version? Simple: * Have a backup. * Know what you have changed in configuration * Compare the old with the new (default) values. Diff-Tools help. Do we

Re: tomcat query

2024-09-23 Thread Mark Thomas
On 23/09/2024 13:50, Rachana Kharchane wrote: Hi Team, I Have few queries How can we ensure the old config is kept in place post installing a new tomcat version? Do we have options to backup the configuration and reapply after new version install of Tomcat? Read RUNNING.txt in the root of

tomcat query

2024-09-23 Thread Rachana Kharchane
Hi Team, I Have few queries How can we ensure the old config is kept in place post installing a new tomcat version? Do we have options to backup the configuration and reapply after new version install of Tomcat? Waiting for quick reply. Thanks & Regards, Rachana K

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 6:55 PM, Konstantin Kolinko wrote: > 2011/12/27 S B : > > On Tue, Dec 27, 2011 at 4:53 PM, Pid * wrote: > > > >> On 27 Dec 2011, at 11:16, S B wrote: > >> > >> > On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: > >> > > >> >> On 27 Dec 2011, at 01:33, S B wrote: > >> >> >

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread Konstantin Kolinko
2011/12/27 S B : > On Tue, Dec 27, 2011 at 4:53 PM, Pid * wrote: > >> On 27 Dec 2011, at 11:16, S B wrote: >> >> > On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: >> > >> >> On 27 Dec 2011, at 01:33, S B wrote: >> >> >> >>> On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: >> >>> >> On 26 Dec 2

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 4:53 PM, Pid * wrote: > On 27 Dec 2011, at 11:16, S B wrote: > > > On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: > > > >> On 27 Dec 2011, at 01:33, S B wrote: > >> > >>> On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: > >>> > On 26 Dec 2011, at 09:50, S B wrote: >

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread Pid *
On 27 Dec 2011, at 11:16, S B wrote: > On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: > >> On 27 Dec 2011, at 01:33, S B wrote: >> >>> On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: >>> On 26 Dec 2011, at 09:50, S B wrote: > On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > >

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 4:06 PM, Pid * wrote: > On 27 Dec 2011, at 01:33, S B wrote: > > > On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: > > > >> On 26 Dec 2011, at 09:50, S B wrote: > >> > >>> On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > >>> > On 23/12/2011 04:57, S B wrote: > > On

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread Pid *
On 27 Dec 2011, at 01:33, S B wrote: > On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: > >> On 26 Dec 2011, at 09:50, S B wrote: >> >>> On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: >>> On 23/12/2011 04:57, S B wrote: > On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > >> On 22/12/20

Re: MBean InitialContext() Tomcat query- pls help

2011-12-26 Thread S B
On Mon, Dec 26, 2011 at 3:28 PM, Pid * wrote: > On 26 Dec 2011, at 09:50, S B wrote: > > > On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > > > >> On 23/12/2011 04:57, S B wrote: > >>> On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > >>> > On 22/12/2011 10:34, Konstantin Kolinko wrote: > >

Re: MBean InitialContext() Tomcat query- pls help

2011-12-26 Thread Pid *
On 26 Dec 2011, at 09:50, S B wrote: > On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > >> On 23/12/2011 04:57, S B wrote: >>> On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: >>> On 22/12/2011 10:34, Konstantin Kolinko wrote: > 2011/12/20 S B : >> Hi, >> >> I created and deployed

Re: MBean InitialContext() Tomcat query- pls help

2011-12-26 Thread S B
On Sat, Dec 24, 2011 at 6:29 PM, Pid wrote: > On 23/12/2011 04:57, S B wrote: > > On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > > > >> On 22/12/2011 10:34, Konstantin Kolinko wrote: > >>> 2011/12/20 S B : > Hi, > > I created and deployed an MBean in my tomcat. It uses datasource t

Re: MBean InitialContext() Tomcat query- pls help

2011-12-24 Thread Pid
On 23/12/2011 04:57, S B wrote: > On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > >> On 22/12/2011 10:34, Konstantin Kolinko wrote: >>> 2011/12/20 S B : Hi, I created and deployed an MBean in my tomcat. It uses datasource to >> connect to DB. My questions is:

Re: MBean InitialContext() Tomcat query- pls help

2011-12-22 Thread S B
On Thu, Dec 22, 2011 at 8:49 PM, Pid wrote: > On 22/12/2011 10:34, Konstantin Kolinko wrote: > > 2011/12/20 S B : > >> Hi, > >> > >> I created and deployed an MBean in my tomcat. It uses datasource to > connect > >> to DB. > >> > >> My questions is: > >> > >> When I create InitialContext() inside

Re: MBean InitialContext() Tomcat query- pls help

2011-12-22 Thread Pid
On 22/12/2011 10:34, Konstantin Kolinko wrote: > 2011/12/20 S B : >> Hi, >> >> I created and deployed an MBean in my tomcat. It uses datasource to connect >> to DB. >> >> My questions is: >> >> When I create InitialContext() inside MBean's constructor and pass the >> envContext to DBManager class t

Re: MBean InitialContext() Tomcat query- pls help

2011-12-22 Thread Konstantin Kolinko
2011/12/20 S B : > Hi, > > I created and deployed an MBean in my tomcat. It uses datasource to connect > to DB. > > My questions is: > > When I create InitialContext() inside MBean's constructor and pass the > envContext to DBManager class to lookup datasource it works fine. However > when I create

Re: MBean InitialContext() Tomcat query- pls help

2011-12-21 Thread S B
On Wed, Dec 21, 2011 at 12:09 AM, Pid * wrote: > On 20 Dec 2011, at 15:47, S B wrote: > > > On Tue, Dec 20, 2011 at 7:00 PM, Pid wrote: > > > >> On 20/12/2011 11:57, S B wrote: > >>> MBeanImpl code is packaged as a war and deployed in tomcat along with > >> it's > >>> mbeans-descriptor.xml > >>

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid *
On 20 Dec 2011, at 15:47, S B wrote: > On Tue, Dec 20, 2011 at 7:00 PM, Pid wrote: > >> On 20/12/2011 11:57, S B wrote: >>> MBeanImpl code is packaged as a war and deployed in tomcat along with >> it's >>> mbeans-descriptor.xml >>> I am not using ServletContextListener in my code. (mbean registr

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
On Tue, Dec 20, 2011 at 7:00 PM, Pid wrote: > On 20/12/2011 11:57, S B wrote: > > MBeanImpl code is packaged as a war and deployed in tomcat along with > it's > > mbeans-descriptor.xml > > I am not using ServletContextListener in my code. (mbean registration is > > done inside constructor). > > R

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid
On 20/12/2011 11:57, S B wrote: > MBeanImpl code is packaged as a war and deployed in tomcat along with it's > mbeans-descriptor.xml > I am not using ServletContextListener in my code. (mbean registration is > done inside constructor). Right, but what is calling the constructor? > (I am using gma

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
MBeanImpl code is packaged as a war and deployed in tomcat along with it's mbeans-descriptor.xml I am not using ServletContextListener in my code. (mbean registration is done inside constructor). (I am using gmail and hitting reply button on your messages. Please let me know if my messages are not

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid
On 20/12/2011 11:46, S B wrote: > Code Sample that fails with exception(I am invoking reload() from jconsole > ): > > class MBeanImpl implements MBeanInterface{ > > public MBeanImpl{ > // code to register this bean. > } > > > @Override > public void reload()

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid
On 20/12/2011 11:29, S B wrote: > Hi, > I am using : > > Server version: Apache Tomcat/6.0.32 > OS Name:Mac OS X > OS Version: 10.6.8 > Architecture: x86_64 > JVM Version:1.6.0_29-b11-402-10M3527 > > Thanks, > Ravi Please post replies below the question, so the conversation ord

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
Code Sample that fails with exception(I am invoking reload() from jconsole ): class MBeanImpl implements MBeanInterface{ public MBeanImpl{ // code to register this bean. } @Override public void reload() { DBManager.loadFromDB(); } } class DBMa

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
Hi, I am using : Server version: Apache Tomcat/6.0.32 OS Name:Mac OS X OS Version: 10.6.8 Architecture: x86_64 JVM Version:1.6.0_29-b11-402-10M3527 Thanks, Ravi On Tue, Dec 20, 2011 at 4:52 PM, Pid * wrote: > On 20 Dec 2011, at 11:02, S B wrote: > > > Hi, > > > > I created a

Re: MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread Pid *
On 20 Dec 2011, at 11:02, S B wrote: > Hi, > > I created and deployed an MBean in my tomcat. It uses datasource to connect > to DB. Which version of Java? Tomcat? > My questions is: > > When I create InitialContext() inside MBean's constructor and pass the > envContext to DBManager class to lo

MBean InitialContext() Tomcat query- pls help

2011-12-20 Thread S B
Hi, I created and deployed an MBean in my tomcat. It uses datasource to connect to DB. My questions is: When I create InitialContext() inside MBean's constructor and pass the envContext to DBManager class to lookup datasource it works fine. However when I create InitialContext() in DBManager cl