>> Subject: Re: Reading tomcat context.xml file from webapp
>>
>> one of these dependencies is the db, which is
>> configured in the context.xml file
>
> You can also use JMX to access numerous attributes maintained by Tomcat.
> Enable JMX for your Tomca
> From: kgaekwad [mailto:karthik.gaek...@ni.com]
> Subject: Re: Reading tomcat context.xml file from webapp
>
> one of these dependencies is the db, which is
> configured in the context.xml file
You can also use JMX to access numerous attributes maintained by Tomcat.
Enab
This is true.
I'm trying to create a /status page for my application and it's dependencies
(ip address/dns name); one of these dependencies is the db, which is
configured in the context.xml file
I guess I could use the regular java file io stuff, but I was wondering if
there was anything els
On 06/05/2010 16:30, kgaekwad wrote:
>
> Hello,
>
> Is there a way to read the context.xml stored in /conf/ folder from a
> webapplication?
String pathToContextXmlFile = "...";
File contextXmlFile = new File(pathToContextXmlFile);
Why would you want to do such a thing?
p
signature.asc
D
> From: kgaekwad [mailto:karthik.gaek...@ni.com]
> Subject: Reading tomcat context.xml file from webapp
>
> Is there a way to read the context.xml stored in /conf/
> folder from a webapplication?
You can issue normal Java I/O requests to the file system path, but ...
Why do you want to? What's