Re: Non-http tcp protocol

2009-09-28 Thread Sergio Bello
Tim Funk escribió: Don't - there are other apache projects which can do that much better than Tomcat. -Tim Sergio Bello wrote: Hi all, I'm trying to figure out how to use tomcat as a TCP server. The basic idea is to receive tcp connections, through a given port, process them an

Non-http tcp protocol

2009-09-28 Thread Sergio Bello
Hi all, I'm trying to figure out how to use tomcat as a TCP server. The basic idea is to receive tcp connections, through a given port, process them and return a response. Has anyone done it? I've googling but I've not found much information. Which do you think is the best/simplest way to do i

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: Ser

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(

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[

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