Embedding Tomcat 5.5.17

2006-10-03 Thread Miguel Correia Ricardo
Hi! I'm embedding tomcat 5.5.17 in my Java Aplication. When I create the engine, it says: "StandardEngine[null]". It works, but is it normal? Shouldn't be: StandardEngine[catalina]? Thanks in advance, Miguel Ricardo - To start

Tomcat Embedded and Server.xml

2006-10-10 Thread Miguel Correia Ricardo
atalina is doing, that is, creating a Digest object, set the Sax rules, and so on... Hope you can help. And thanks in advance. My best regards, Miguel Correia Ricardo - To start a new topic, e-mail: users@tomcat.apache.org To unsu

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
ny class in the tomcat *.jars that will help me achieve it > easily? Or I have to follow the same thing that Catalina is doing, > that is, creating a Digest object, set the Sax rules, and so on... > > Hope you can help

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
Thanks. On 10/13/06, Andre Prasetya <[EMAIL PROTECTED]> wrote: Yes I use server.xml to configure the comcat embedded, and only for connector ports, I attach the server.xml, hopefully its usefull for you. On 10/13/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: > &g

Re: Tomcat Embedded and Server.xml

2006-10-13 Thread Miguel Correia Ricardo
ately, I am away from home until Sunday. I will give you more info then. - Mark On 10/13/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: > > But, do you use server.xml to configure tomcat embedded? For example, > for the connector ports? If so, how may I ask? > > Best reg

Stopping Tomcat

2006-10-19 Thread Miguel Correia Ricardo
ption, or sends a message stating that catalina engine has not started yet. So, my question is, does anyone know some class that exists in tomcat that enables me to check it's status? I would appreciate any help. Best regards, Miguel Corre

Determining connector port

2006-10-26 Thread Miguel Correia Ricardo
Hi, I'm using a embedded tomcat configuration, and I'm creating a Connector with a dynamic port by passing the port value as zero. But now I want to know on wich port the connector is listening for requests. But I'm using (and I need to use) Tomcat 5.0, but If my Tomcat version were 5.5, I would

Re: Determining connector port

2006-10-26 Thread Miguel Correia Ricardo
Ok, stupid question I admit it... Just use CoyoteConnector class, that has the getPort On 10/26/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: Hi, I'm using a embedded tomcat configuration, and I'm creating a Connector with a dynamic port by passing the port value as