Re: server.findServices() returns empty array

2009-09-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sergio, On 9/23/2009 7:41 AM, Sergio Bello wrote: > I'm trying to get access to services defined inside the server element > on my server.xml. I'm using a Tomcat 5.0.28. > My problem is that when I execute the next code: > > Server server = ServerFac

Re: server.findServices() returns empty array

2009-09-23 Thread Mark Thomas
Sergio Bello wrote: >>> Yes, I try to access the Server object from a web app. What I really >>> want is to create new Connector objects on demand, for what I need to >>> access the Service object through the Server one (If I'm not wrong). >>> Thanks > Sorry, version is 6.0.20 That begs the quest

Re: server.findServices() returns empty array

2009-09-23 Thread Sergio Bello
Sergio Bello escribió: Sergio Bello escribió: Mark Thomas escribió: Sergio Bello wrote: Hi all, I'm trying to get access to services defined inside the server element on my server.xml. I'm using a Tomcat 5.0.28. My problem is that when I execute the next code: Server server = ServerFactory.

Re: server.findServices() returns empty array

2009-09-23 Thread Sergio Bello
Sergio Bello escribió: Mark Thomas escribió: Sergio Bello wrote: Hi all, I'm trying to get access to services defined inside the server element on my server.xml. I'm using a Tomcat 5.0.28. My problem is that when I execute the next code: Server server = ServerFactory.getServer(); Service[] s

Re: server.findServices() returns empty array

2009-09-23 Thread Sergio Bello
Mark Thomas escribió: Sergio Bello wrote: Hi all, I'm trying to get access to services defined inside the server element on my server.xml. I'm using a Tomcat 5.0.28. My problem is that when I execute the next code: Server server = ServerFactory.getServer(); Service[] services = server.findSe

Re: server.findServices() returns empty array

2009-09-23 Thread Mark Thomas
Sergio Bello wrote: > Hi all, > I'm trying to get access to services defined inside the server element > on my server.xml. I'm using a Tomcat 5.0.28. > My problem is that when I execute the next code: > > Server server = ServerFactory.getServer(); > Service[] services = server.findServices(); > >

server.findServices() returns empty array

2009-09-23 Thread Sergio Bello
Hi all, I'm trying to get access to services defined inside the server element on my server.xml. I'm using a Tomcat 5.0.28. My problem is that when I execute the next code: Server server = ServerFactory.getServer(); Service[] services = server.findServices(); the services array is 0 length, wh