Re: better error message a web.xml has errors

2004-08-13 Thread Emerson Cargnin
As you can see, there's no context reference in the error message. I think that a error with a web.xml's context shoudn't invalidate all tomcat startup. Thanks for the help Emerson Starting service Tomcat-Standalone Apache Tomcat/4.1.24-LE-jdk14 log4j:WARN No appenders could be f

Re: better error message a web.xml has errors

2004-08-13 Thread Emerson Cargnin
as I said before, tomcat don't start Mark Thomas wrote: Look in the manager app. It will show which app isn’t running. Mark -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 12:01 AM To: Tomcat Users List Subject: better error mess

Re: better error message a web.xml has errors

2004-08-13 Thread Emerson Cargnin
n the right place. Emerson Cargnin wrote: I have a server that has more than 30 apps from different teams. When starting tomcat i got the erro below 6310 [main] ERROR digester.Digester - Parse Error at line 188 column -1: Element "web-app" does not allow "servlet" here. org.

better error message a web.xml has errors

2004-08-12 Thread Emerson Cargnin
t;web-app" does not allow "servlet" here. at org.apache.crimson.parser.Parser2.error(Parser2.java:3160) The problem is that I can not identify what app yhas the error. That's just a suggestion for the dev team. Or I missed something? -- Emerson Cargnin Analista de Sistema

Re: Tomcat as Win2k service

2004-08-04 Thread Emerson Cargnin
- 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas - Gerente Regional

Re: Tomact 5 - Out of Memory

2004-08-04 Thread Emerson Cargnin
ng to not check for changes in your webapp. In a production environment I think you can live without this. Hope this help. Emerson [EMAIL PROTECTED] wrote: Sorry, where and how should I set the JDK heap size - Original Message - From: "Pradeep Chauhan" <[EMAIL PROTECTED]> T

Re: Different virtuel hosts with Tomcat 5

2004-07-22 Thread Emerson Cargnin
ve always thought that not possible. Not true? But what I want (1 manager for each virtualhost) is possivel, isn't? -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 3:58 PM To: Tomcat Users List Subject: Re: Different virtuel hosts wi

Re: Different virtuel hosts with Tomcat 5

2004-07-22 Thread Emerson Cargnin
One question is not related to server.xml. If I want different manager/virtualhost to have different users/passwords, I need to deploy it directly to it's own virtualhost's webapps? (and changing the role-name tag in web.xml) thanks Emerson Cargnin Shapira, Yoav wrote: Hi, Look

jndi.properties tomcat 5.0

2004-07-22 Thread Phil Emerson
Hi Folks, I need to integrate my jboss server and tomcat 5.0 web server(standalone) using JNDI. I need explicitly mention JNDI properties in the web server code for it to work. p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.URL_PKG

Re: Different virtuel hosts with Tomcat 5

2004-07-22 Thread Emerson Cargnin
uld I deploy the manager app under my virtualhost webapps dir to configure a different user for each virtualhost? - Or should I have to configure the a Resource tag inside each host?? Thanks... -- Emerson Cargnin Analista de Sistemas - Gerente Regional - Tubarão Setor de Desenvolvimento de Sistemas - T

Re: User IP address

2004-07-16 Thread Emerson Cargnin
en if it's behind a proxy... Emerson Tim Funk wrote: HttpServletRequest.getRemoteAddr() -Tim Jarl Skogsholm wrote: How do I get the user IP address? I only get the IP of the server. Thanks - To unsubscribe, e-mail: [EMAIL

Re: DBCP pool

2004-07-15 Thread Emerson Cargnin
ginal Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 4:30 PM To: Tomcat Users List Subject: Re: DBCP pool How do I specify the test query as context param? There is nothing in the JDBC configuration of DBCP in tomcat 5 docs. BTW, I found some typos erros,

Re: DBCP pool

2004-07-15 Thread Emerson Cargnin
What about this other question: May I mix the Resource and ResourceParams tags?? I'm asking this because I have to configure 2 connection in some apps, so I must put a Resource and a ResourceParams tag sequencially for each connection I want to configure?? Thanks for your response Emerson

Re: DBCP pool

2004-07-15 Thread Emerson Cargnin
e to configure 2 connection in some apps, so I must put a Resource and a ResourceParams tag sequencially for each connection I want to configure?? Thanks for your response Emerson Mike Curwen wrote: I think the way to do this with DBCP is to specify a test query. The pool would then run this

Re: DBCP pool

2004-07-15 Thread Emerson Cargnin
timeouted connection. Mike Curwen wrote: what timeout? the amount of time it keeps an idle connection in the pool? the amount of time it waits before considering a connection abandoned? -Original Message----- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 2:40 PM

DBCP pool

2004-07-15 Thread Emerson Cargnin
Is there a way to set the database timeout in dbcp??? I have a database which I have no control under its timeout. I used a pool api that allowed me to set the database timeout, but as I want to move to DBCP, is there a way to set this??? -- Emerson Cargnin Analista de Sistemas - Gerente

Re: Deploying onto a specific host...

2004-07-13 Thread Emerson Cargnin
Yes, I thing that's it, but I haven't tried this yet... Ivan Jouikov wrote: Then how would you access that specific manager? www.host.com/manager ? -Original Message----- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 4:16 PM To: Tomcat Users List S

dbcp pool global for only one virtualhost???

2004-07-13 Thread Emerson Cargnin
Is there a way to set a global pool only accessible for a given virtualhost? -- Emerson Cargnin Analista de Sistemas - Gerente Regional - Tubarão Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181

common lib for each virtualhost?

2004-07-09 Thread Emerson Cargnin
Is there a way to set a diferent common/lib to each virtualhost? thanks -- Emerson Cargnin Analista de Sistemas - Gerente Regional - Tubarão Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To

Re: Fwd: debug connection pool

2004-07-07 Thread Emerson Cargnin
TECTED] For additional commands, e-mail: [EMAIL PROTECTED] a -- Emerson Cargnin Analista de Sistemas - Gerente Regional - Tubarão Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe,

Re: Deploying onto a specific host...

2004-07-02 Thread Emerson Cargnin
I think you have to have an manager per virtualhost, someone correct me if I'm wrong.... Emerson Cargnin Floripa/Brasil Ivan Jouikov wrote: When using manager application, how can you specify which virtual host you want to deploy your application

Re: How to use oracle pool instead of using DBCP pool?

2004-07-02 Thread Emerson Cargnin
additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------- To unsubscribe,

Re: Como funciona tomcat en Fedora Core 2

2004-07-02 Thread Emerson Cargnin
It happened to me some time ago with Suse. If you try the host name, does it work?? that was my case... Emerson Chris Alvarez wrote: Hi List I installed Fedora Core 2, I see that the Tomcat service is in there and it even sets it up OK. But how do I access it? I thought that normally it

Re: Log rotation HOWTO

2004-06-29 Thread Emerson Cargnin
add a customer logger to the context and it is rotated automatically every day. Ta Matt -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 18:30 To: Tomcat Users List Subject: Re: Log rotation HOWTO I didn't find how to make the catalina.log file s

Re: Log rotation HOWTO

2004-06-29 Thread Emerson Cargnin
I didn't find how to make the catalina.log file split each day. what should I change in the following tag to get it done...? thanks Emerson Jérôme Duval wrote: Search the mailing list! This question was asked recently... These messages might be useful... -Original Message- From:

Re: development/production configuration for JSPs

2004-06-25 Thread Emerson Cargnin
a simple yes/no will be enough... Emerson Cargnin wrote: May I set the following in the web.xml of the CATALINA_HOME/conf ??? Instead of put this in every application??? development false reloading false

Re: development/production configuration for JSPs

2004-06-24 Thread Emerson Cargnin
any response for this question? :) Emerson Cargnin wrote: May I set the following in the web.xml of the CATALINA_HOME/conf ??? Instead of put this in every application??? development false reloading false

development/production configuration for JSPs

2004-06-23 Thread Emerson Cargnin
May I set the following in the web.xml of the CATALINA_HOME/conf ??? Instead of put this in every application??? development false reloading false -- Emerson Cargnin Analista de Sistemas Setor de

Re: Tomcat 4.1 -> 5.0

2004-06-23 Thread Emerson Cargnin
AIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvol

Re: Tomcat 4.1 -> 5.0

2004-06-23 Thread Emerson Cargnin
ROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimen

Re: Please introduce a good Tomcat debug tool

2004-06-15 Thread Emerson Cargnin
Please, let's not start a IDE flame war again... []s Emerson Randy wrote: I really like intellij by jetbrains RP -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 2:13 PM To: Tomcat Users List Subject: Please introduce a good Tomcat debug to

Re: aliases from apache don't work using soft links

2004-06-14 Thread Emerson Cargnin
ission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. :: -Original Message----- :: From: Emerson Cargnin [mailto:[EMAIL PROTECTED] :: Sent: Tuesday, June 15, 2004 12:42 AM :: To: Tomcat Users

Re: aliases from apache don't work using soft links

2004-06-14 Thread Emerson Cargnin
delete the original email. Thank you. :: -Original Message----- :: From: Emerson Cargnin [mailto:[EMAIL PROTECTED] :: Sent: Tuesday, June 15, 2004 12:14 AM :: To: Tomcat Users List :: Subject: Re: aliases from apache don't work using soft links :: :: Does anyone had this problem? o

Re: aliases from apache don't work using soft links

2004-06-14 Thread Emerson Cargnin
Does anyone had this problem? or does anyone uses tomcat inside a soft link? thanks Emerson Cargnin wrote: Maybe this is a little offtopic, although highly related. I was used to use a symlink to access tomcat, so I could change the version just changing the softlink. Eg: /opt/tomcat points to

Re: A Servlet question

2004-06-14 Thread Emerson Cargnin
her instruction. Thanks. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:49 PM To: Tomcat Users List Subject: Re: A Servlet question partServlet gov.tresc.sgip.PartServlet partServlet /servlet/partServlet/*

Re: A Servlet question

2004-06-11 Thread Emerson Cargnin
URL of the servlet. It worked well. So I need to tell Tomcat that it is a servlet. The previous problem is that Tomcat add the relative path before the servlet name. Could you please give the example for the servlet name mapping? Thanks. -Original Message- From: Emerson Cargnin [mailto:[EMAIL

Re: aliases from apache don't work using soft links

2004-06-11 Thread Emerson Cargnin
Does anyone had this problem? or does anyone uses tomcat inside a soft link? thanks Emerson Cargnin wrote: Maybe this is a little offtopic, although highly related. I was used to use a symlink to access tomcat, so I could change the version just changing the softlink. Eg: /opt/tomcat points to

Re: A Servlet question

2004-06-11 Thread Emerson Cargnin
AFAIK, submiting from a frame is the same as a single page. What was the error msg you've got? Probably, it has some problem in the servlet mapping... did you try to load the jsp alone in the browser and submit it? if it doens't work, it doens't has to do with the frames at all.

aliases from apache don't work using soft links

2004-06-11 Thread Emerson Cargnin
error showed up, and even changing back to 5.0.19 didn't solved. error: Symbolic link not allowed: /opt/tomcat Thanks in advance -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal

Re: JAVAC Leaking Memory

2004-06-07 Thread emerson
WOuld be usefull to have the option to set those parameters per TC installation, and not just per context. If I use those switches at the web.xml of TC_HOME/conf/web.xml it will work as it was configured at each context? > hi, > > I think I am correct when I say javac is only used by tomcat compile

Re: Tomcat 5 out of memory

2004-05-28 Thread Emerson Cargnin
org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 0 Emerson James Sherwood wrote: I am using Tomcat 5.025 Mod jk 1.2.5 and Apache 2.0.49 Memory just keeps ramping up untill it goes out of memory It is on a Windows 2003 server Any Ideas? Thanks James

Re: Mod_jk error... help me please

2004-05-28 Thread Emerson Cargnin
not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference. _______ -- Emerson Cargnin Analis

Getting messages: INFO: Unknown message 0

2004-05-27 Thread Emerson Cargnin
org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 0 May 27, 2004 1:56:09 PM org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 0 Emerson Cargnin wrote: AFAIK, most os the attributes used in jk2.properties as related to mod_jk2. What other attributes can be used to configure later mod_jk

Re: Which connector to use JK 1.2 or JK 2

2004-05-27 Thread Emerson Cargnin
Jk2 is a refactoring of jk. Jk2 uses APR library, and AFAIK, it's easier to build against apache 2. I tried some days to make jk2 to work, without too much success. mod_jk is a lot easier. jk2 gives you statistics of the connector from the apache side. Emerson Reis, Tom wrote:

Re: where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-27 Thread Emerson Cargnin
AFAIK, most os the attributes used in jk2.properties as related to mod_jk2. What other attributes can be used to configure later mod_jk? Thanks Bill Barker wrote: "Emerson Cargnin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm running out of memory with

Re: where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-27 Thread Emerson Cargnin
Thanks a lot bill!!! Bill Barker wrote: "Emerson Cargnin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm running out of memory with the msg: ... WARNING: Error registering request May 25, 2004 5:36:44 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnab

Re: Hot deploy

2004-05-26 Thread Emerson Cargnin
message FAIL - Application already exists at path /myapplicationThanks. -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-26 Thread Emerson Cargnin
how do I solve this? in jk2 the solution is to add the request.registerRequests=false in jk2.properties I have an upgraded prodution server that is running out of memory all the time, and I have to monitor it and reinitialize it periodically :) thanks Emerson Emerson Cargnin wrote: Just to add

Re: tomcat 5.0.25 - Problem in running jsp

2004-05-26 Thread Emerson Cargnin
5.0.25 could it be 5.0.24? Emerson Rajesh_Narayanan wrote: When i try to run any .jsp file (even hello world).. its throwing following error: - ERROR [http-8080-Processor24] (Compiler.java:405) - Error compiling file: /C

Re: where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-26 Thread Emerson Cargnin
n upgraded prodution server that is running out of memory all the time, and I have to monitor it and reinitialize it periodically :) thanks Emerson Emerson Cargnin wrote: Just to add, even when not getting out of memory, my catalina.log shows: ay 26, 2004 3:44:35 PM org.apache.jk.common.HandlerRequ

Re: where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-26 Thread Emerson Cargnin
org.apache.jk.common.HandlerRequest decodeRequest Emerson Cargnin wrote: I'm running out of memory with the msg: ... WARNING: Error registering request May 25, 2004 5:36:44 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception (java.lang.OutOfMemoryError) executing [EMAIL PROT

where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-26 Thread Emerson Cargnin
imilar message, I'll try this too. But... where do I put this conf, as mod_jk does not have a jk.properties file. could be it worker.properties? thanks in advance -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel :

Re: Horrible memory leak in tomcat 5.0.19

2004-05-26 Thread Emerson Cargnin
WARNING: Error registering request - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC

Re: Tomcat Hung!!! Help needed

2004-05-25 Thread Emerson Cargnin
actually, my problem is memory consuming, I think you thought I had questioned first :) I'm using suse 9.1, does this export help in something in my case? thaks Emerson Ryan Lissack wrote: Hi, Yes it will more than likely fix your problem. It is a problem with RedHat 9 and NPTL. Searc

Re: Tomcat Hung!!! Help needed

2004-05-25 Thread Emerson Cargnin
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Short Read error

2004-05-21 Thread Emerson Cargnin
stImpl.java:250) at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(HttpServletRequestFacade.java:223) at gov.tresc.sgip.PartServlet.consulta(PartServlet.java:124) at gov.tresc.sgip.PartServlet.doGet(PartServlet.java:39) at gov.tresc.sgip.PartServlet.doPost(PartServlet.java:247) -- Emerson Cargnin Analista

Re: Memory leak with Tomcat 5.0.19

2004-05-20 Thread Emerson Cargnin
Our load is very low, and all the new app deployed after changing to 5.0.19 was tested (undeployed to see if mem usage get lower) and I didn't find any other clue. I think I'll have to profile it... hope to find the hole ;P thanks anyway Emerson Shapira, Yoav wrote: Hi, What if y

Re: Memory leak with Tomcat 5.0.19

2004-05-20 Thread Emerson Cargnin
> Someone could answer this question, please? Becouse my available memory > is going down from 120 to 50 and to 10 megabytes to fast. And I'm not > finding any leak in my apps... Sorry if I looked rude, didn't mean that :P Maybe this leak is solved in tomcat 5.0.24?? Em

Re: Memory leak with Tomcat 5.0.19

2004-05-20 Thread Emerson Cargnin
jvmstat. At 100% you will start getting OutOfMemory errors): How do you get the memory profile? Is it a Tomcat command? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Em

Re: Can I use Tomcat 4.1.29 with Apache 1.3.x

2004-05-19 Thread Emerson Cargnin
AFAIK, jk2 doesn't require http2. The problem is that http2 comes with APR, as apache 1.3 don't use it, so you have to make it available. please, correct me if I'm wrong... Emerson Yansheng Lin wrote: jk2 needs httpd2. You might want to try mod_webapps connector. It's very

strange behaviour of available memory in status page

2004-05-19 Thread Emerson Cargnin
GC is activated and the memory goes up again. I tested it again have some time and could see the memory going down in giant steps, about 20-30 megas per reload. Just checked and it returned to normal. Is this normal behaviour? -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas

Re: Why 41 processes with Tomcat under Linux

2004-05-17 Thread Emerson Cargnin
or additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: hwo to discover which app is is wating memory

2004-05-17 Thread Emerson Cargnin
That's was I thought at first. Hadn't thought of all the implications in having the statistics broken by app. thanks a lot anyway. Emerson Shapira, Yoav wrote: Hi, To continue my previous message, which I sent too early: so in practice, one way to find out is by stress testing one appl

hwo to discover which app is is wating memory

2004-05-17 Thread Emerson Cargnin
256 mgs. In manager , server status givis me the total of memory used by tomcat, how do I find this use per app?? Will the answer be: use a profiler?? I think that this feature (mem per app) could help a lot to distinguish which app is consuming all the memory. Thanks -- Emerson Cargnin Analista

Re: BIG Problem

2004-05-14 Thread Emerson Cargnin
Please re-send it to all your contacts! - http://sport.netinfo.bg/ - ÑÐ ÑÐ ÐÐÑÐÑÐÑÑÐÐÑÐ ÐÑ ÑÐÐÑÑ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emers

Re: JProfiler vs. JProbe

2004-05-13 Thread Emerson Cargnin
the SQL, dumps the bind, whole ball of wax. Then we can go through that log on a regular basis to tune queries, the DB, or the code. That helped a LOT for our system. Regards, Will Hartung ([EMAIL PROTECTED]) ----- To unsubscribe,

tomcat 5.0.25 with eclipse sysdeo plugin

2004-05-12 Thread Emerson Cargnin
? This plugin gives some error to debug with eclipse M8. Does anyone know a plugin that enables debbuging inside eclipse? -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181

Re: Muiltipul Tomcat 5.19 Servers on the same machine.

2004-05-10 Thread Emerson Cargnin
PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 -

Re: Tomcat 5 JK2 and IIS 5

2004-05-10 Thread Emerson Cargnin
il: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: auto-configuration of mod_jk

2004-04-23 Thread Emerson Cargnin
hanks for boring you... :) Emerson Daniel Gibby wrote: Emerson, I don't think many of us are understanding what it is you are asking... What are you trying to accomplish or what errors or obstacles are you trying to overcome? Daniel Gibby Emerson Cargnin wrote: I'm using tomcat 5.0.19, ap

auto-configuration of mod_jk

2004-04-22 Thread Emerson Cargnin
perty of this configuration? The virtualhost clause has to match with some apache configuration??? forwardAll="false" modJk="/usr/lib/apache2/mod_jk.so" jkworkersConfig="/home/echo/download/jakarta-tomcat-5.0.19/worker.properties" /> -- Emerson

Re: connection Poll

2004-04-22 Thread Emerson Cargnin
5.0.19. Parsons Technical Services wrote: Yes. What version of Tomcat? - Original Message - From: "Emerson Cargnin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 12:52 PM Subject: connection Poll is

connection Poll

2004-04-22 Thread Emerson Cargnin
is there a way to create connection pools per app just with files inside the .war file? The problem is that I don't access to our internet server conf file. -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal

Re: virtual host...

2004-04-22 Thread Emerson Cargnin
please, I really need some explanation about this.. or some link to it... thanks... Emerson Emerson Cargnin wrote: I'm using tomcat 5.0.19, apache 2.0.47, mod_jk... Tomcat generates a mod_jk.conf file with the following clause before the jkmount clauses: ServerName localhost With

Re: virtual host...

2004-04-20 Thread Emerson Cargnin
please, I really need some explanation about this.. or some link to it... thanks... Emerson Emerson Cargnin wrote: I'm using tomcat 5.0.19, apache 2.0.47, mod_jk... Tomcat generates a mod_jk.conf file with the following clause before the jkmount clauses: ServerName localhost With

virtual host...

2004-04-20 Thread Emerson Cargnin
perty of this configuration? The virtualhost clause has to match with some apache configuration??? jkworkersConfig="/home/echo/download/jakarta-tomcat-5.0.19/worker.properties" /> -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel

tomcat virtual hosts question

2004-04-20 Thread Emerson Cargnin
If I have configured some virtualhosts through tomcat, may I manage each one in a independent way like each one having a separate manager app??? -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-20 Thread Emerson Cargnin
Any answer for this BTW... is there an automatic generation of mapping for jk2 too??? Emerson Cargnin wrote: Ok, I finally got our production server to work with tomcat 5. The problem, that I said before is that I had to strip the following part to make it work form the generated file

Re: the pain of choice

2004-04-20 Thread Emerson Cargnin
once I got jk2 build to work... I remember having to create dirs and copy files by hand... []s Emerson to Greg Adams wrote: Sad but true. Why DON'T the ant build files work? Did someone get lazy? Is JK2 part of a source tree that we're only getting a portion of when we download the sour

Re: the pain of choice

2004-04-20 Thread Emerson Cargnin
pache ignore everything that goes inside this. DO I have to configureapache to be aware of this virtualhost config? Or i have to configure some property at the respective listeners of server.xml to do this Thanks Emerson Angus Mezick wrote: Jk vs jk2. JK is dead STOP USING IT. JK2 all th

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-20 Thread Emerson Cargnin
I'll try this afterwards, but the generated mod_jk.conf file will be the same... In the docs of configuration of mod_jk.conf there's no mentioning of virtualHost tag... Emerson Cargnin wrote: Ok, I finally got our production server to work with tomcat 5. The problem, that I said befo

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-19 Thread Emerson Cargnin
this?? how to make the virtualhost configuration to work or how to make the generated file not have this? Thanks anyway!!! :) that's just what's missing to make our upgrade to tomcat 5.0.19... Emerson Cargnin Emerson Cargnin wrote: Still trying to configure mod_jk. The log from mod

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-19 Thread Emerson Cargnin
w the mapping I test in the browser, but the log of apache show that there's not a match :( Any help??? thanks in advance.... Emerson Emerson Cargnin wrote: the strange thing is that a virtualhost tag is generated and no rule is created... if I take those out I can see the rules being c

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-19 Thread Emerson Cargnin
are generated in the mod_jk.conf file, do I need them anyway at httpd.conf? thanks Emerson Yang Xiao wrote: Hi, In httpd.conf: LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /usr/local/tomcat/logs/mod_jk.log JkLogLevel info JkOptions

Re: How to hide files by extension under Tomcat 5?

2004-04-19 Thread Emerson Cargnin
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181

setting cookies in servlet and read inside the JSP

2004-04-19 Thread Emerson Cargnin
How do I read a cookie (inside a JSP) that I created inside a servlet. It looks that it has different path properties and so when I'm inside the JSP it can't read the cookie... -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-37

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-16 Thread Emerson Cargnin
ompat -ForwardDirectories JkRequestLogFormat "%w %V %T" JkMount /jsp-examples/* router In server.xml Add this under and this under That's all there is to it. Yang -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 12:35 PM To: Tomca

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-15 Thread Emerson Cargnin
nd it would be a nightmare to configure all by hand, besides having to add a new map each time a new app is deployed thanks Emerson Yang Xiao wrote: Hi, In httpd.conf: LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /usr/local/tomcat

auto generation of mod_jk.conf in tomcat 5

2004-04-15 Thread Emerson Cargnin
5 to auto-generate it??? -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

tomcat as deamon

2004-04-12 Thread Emerson Cargnin
Anyone has experience in using tomcat as deamon?? What would be the best way? using jsvc??? or create a script to be called by init.d? Would be enough to call startup.sh and shutdown in apache init.d script -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE

overriding service

2004-04-12 Thread Emerson Cargnin
I've read somewhere that you should never override service method (from Servlet) and just override get/post methods??? Is that true? Or the only problem is that overriding service method, no other method types will be called? -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimen

Re: Connecting the HTTP Server and Tomcat

2004-04-06 Thread Emerson Cargnin
quot;5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="2" /> Let me know i

Re: Connecting the HTTP Server and Tomcat

2004-04-06 Thread Emerson Cargnin
. Any unauthorized use or disclosure is prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Em

Re: Is there a tomcat weblog anywhere?

2004-04-06 Thread Emerson Cargnin
peter tomcatuser <[EMAIL PROTECTED]> wrote: I am talking about a weblog about tomcat. ---Original Message--- From: Emerson Cargnin Subject: Re: Is there a tomcat weblog anywhere? Sent: 06 Apr 2004 16:05:48 you can try a countless of them, i can suggest you personalblog, the on

Re: 5.0.19 - won't start on anything other thatn *nix

2004-04-06 Thread Emerson Cargnin
il: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail: [EMAIL

Re: Is there a tomcat weblog anywhere?

2004-04-06 Thread Emerson Cargnin
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 ---

Re: any standart way to keep passwords encripted???

2004-04-02 Thread Emerson Cargnin
Parsons Technical Services wrote: Emerson, - Being in plain text in server.xml (as configured for tomcat) Protect the file with permissions. - Read the web.xml by a standalone app and encript the password, in my connection servlet I read it and decritp it. - Have a separate file for each pool

Re: apache 1.3 tomcat 5.0.19

2004-04-02 Thread Emerson Cargnin
Did you had to compile the mod_jk with the apr's ??? I installed APR's that comes with suse dist and it keeps giving missing so's from apr. How did you make it work??? [EMAIL PROTECTED] wrote: On Wednesday 31 March 2004 15:14, Emerson Cargnin wrote: Hi, I run apache 1.3 whit T

Re: any standart way to keep passwords encripted???

2004-04-02 Thread Emerson Cargnin
file,encripted, would contain info about each pool. BTW, is there any way to use the same pool for more than one app, using tomcat pool configuration ??? thanks in advance Emerson Emerson Cargnin wrote: Is there any standart way to keep the passwords of databases encripted when creating a pool

Re: Can Tomcat servers files outside the webapps directory

2004-04-02 Thread Emerson Cargnin
You can do this way, but a context just for containing the audio files is a kind of weird. Other approach is to have a symbolic link from your context to the audio directory... Kam Lung Leung wrote: Hi Emerson, Thank you for your help. But I don't understand why I do I have to write Java

  1   2   >