Re: better error message a web.xml has errors

2004-08-13 Thread Emerson Cargnin
in 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.xml.sax.SAXParseException

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 isnt 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 message

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 found for logger

better error message a web.xml has errors

2004-08-12 Thread Emerson Cargnin
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 Sistemas - Gerente Regional Auxiliar - Tubarão Setor de

Re: Tomact 5 - Out of Memory

2004-08-04 Thread Emerson Cargnin
-namereloading/param-name param-valuefalse/param-value /init-param You get a lot of free memory when setting 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

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: Different virtuel hosts with Tomcat 5

2004-07-22 Thread Emerson Cargnin
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 - TRE-SC

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);

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 closely

Re: Different virtuel hosts with Tomcat 5

2004-07-22 Thread Emerson Cargnin
. 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 with Tomcat 5 One question is not related

Re: User IP address

2004-07-16 Thread Emerson Cargnin
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 PROTECTED

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: DBCP pool

2004-07-15 Thread Emerson Cargnin
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 To: Tomcat

Re: DBCP pool

2004-07-15 Thread Emerson Cargnin
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 query

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 Mike

Re: DBCP pool

2004-07-15 Thread Emerson Cargnin
parameter nametestOnBorrow/name valuetrue/value /parameter -Original 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

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

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 Subject: Re

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

Re: Fwd: debug connection pool

2004-07-07 Thread Emerson Cargnin
] 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, e-mail

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

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

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

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 onto

Re: Log rotation HOWTO

2004-06-29 Thread Emerson Cargnin
...? thanks Emerson Jrme Duval wrote: Search the mailing list! This question was asked recently... These messages might be useful... -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Log rotation HOWTO I

Re: Log rotation HOWTO

2004-06-29 Thread Emerson Cargnin
-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 split each day. !-- Logger shared by all Contexts related to this virtual host. By default (when using

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??? init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param

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??? init-param param-namedevelopment/param-name param-valuefalse/param-value /init-param

Re: Tomcat 4.1 - 5.0

2004-06-23 Thread Emerson Cargnin
: [EMAIL 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 - Ramal

Re: Tomcat 4.1 - 5.0

2004-06-23 Thread Emerson Cargnin
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 Desenvolvimento de Sistemas

development/production configuration for JSPs

2004-06-23 Thread Emerson Cargnin
-name param-valuefalse/param-value /init-param init-param -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181 - To unsubscribe, e-mail

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 tool I

Re: A Servlet question

2004-06-14 Thread Emerson Cargnin
) is not available. if frame2.jsp makes the frame1.jsp submit to http://localhost:8008/testJSP;, it works. Look for further 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

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

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

2004-06-14 Thread Emerson Cargnin
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? or does anyone uses tomcat inside

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

2004-06-14 Thread Emerson Cargnin
. 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 List :: Subject: Re

aliases from apache don't work using soft links

2004-06-11 Thread Emerson Cargnin
, an 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 3181

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. Emerson Daxin

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

Re: A Servlet question

2004-06-11 Thread Emerson Cargnin
the servlet name. Could you please give the example for the servlet name mapping? Thanks. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 3:19 PM To: Tomcat Users List Subject: Re: A Servlet question AFAIK, submiting from a frame is the same as a single

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: Mod_jk error... help me please

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

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: 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$ControlRunnable run SEVERE: Caught

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 the msg: ... WARNING: Error

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: I am

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: Horrible memory leak in tomcat 5.0.19

2004-05-26 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

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

2004-05-26 Thread Emerson Cargnin
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 : (048) - 251-3700 - Ramal 3181

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 PROTECTED

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

2004-05-26 Thread Emerson Cargnin
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.HandlerRequest invoke INFO

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
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, even when

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: Tomcat Hung!!! Help needed

2004-05-25 Thread Emerson Cargnin
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 PROTECTED

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. Search

Short Read error

2004-05-21 Thread Emerson Cargnin
) 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 de Sistemas Setor de

Re: Memory leak with Tomcat 5.0.19

2004-05-20 Thread Emerson Cargnin
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] -- Emerson Cargnin Analista de

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?? Emerson Cargnin wrote: wsedio

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 your webapp

strange behaviour of available memory in status page

2004-05-19 Thread Emerson Cargnin
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 - TRE

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 simple to set up btw

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

Re: Why 41 processes with Tomcat under Linux

2004-05-17 Thread Emerson Cargnin
: [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

Re: BIG Problem

2004-05-14 Thread Emerson Cargnin
! - http://sport.netinfo.bg/ - ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE

Re: JProfiler vs. JProbe

2004-05-13 Thread Emerson Cargnin
, or the code. That helped a LOT for our system. Regards, Will Hartung ([EMAIL PROTECTED]) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor

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: Tomcat 5 JK2 and IIS 5

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 - Ramal 3181

Re: Muiltipul Tomcat 5.19 Servers on the same machine.

2004-05-10 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: auto-configuration of mod_jk

2004-04-23 Thread Emerson Cargnin
... :) 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, apache 2.0.47, mod_jk... Tomcat

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: VirtualHost localhost ServerName

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 3181

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 there a way to create connection pools

auto-configuration of mod_jk

2004-04-22 Thread Emerson Cargnin
/worker.properties / -- 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 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 before

Re: the pain of choice

2004-04-20 Thread Emerson Cargnin
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 the way

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 source tarball

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

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

virtual host...

2004-04-20 Thread Emerson Cargnin
/worker.properties / -- 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

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: VirtualHost localhost ServerName

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-3700 - Ramal

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

2004-04-19 Thread Emerson Cargnin
] 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 PROTECTED

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: auto generation of mod_jk.conf in tomcat 5

2004-04-19 Thread Emerson Cargnin
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 created How do I

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-19 Thread Emerson Cargnin
Any help on 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

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-16 Thread Emerson Cargnin
forwardAll=false modJk=/usr/local/apache/modules/mod_jk.so workersConfig=/usr/local/tomcat/conf/workers.properties / 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: Tomcat Users List Subject: auto

auto generation of mod_jk.conf in tomcat 5

2004-04-15 Thread Emerson Cargnin
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: [EMAIL

Re: auto generation of mod_jk.conf in tomcat 5

2004-04-15 Thread Emerson Cargnin
, and 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/logs

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 Desenvolvimento de

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

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 - To unsubscribe, e-mail

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

2004-04-06 Thread Emerson Cargnin
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 PROTECTED

Re: Is there a tomcat weblog anywhere?

2004-04-06 Thread Emerson Cargnin
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 one I develop and use: www.sf.net/projects

Re: Connecting the HTTP Server and Tomcat

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

Re: Connecting the HTTP Server and Tomcat

2004-04-06 Thread Emerson Cargnin
/ !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Let me know if there is something that is incorrect. -Original Message- From: Emerson Cargnin [mailto

any standart way to keep passwords encripted???

2004-04-02 Thread Emerson Cargnin
Is there any standart way to keep the passwords of databases encripted when creating a pool through tomcat? -- Emerson Cargnin Analista de Sistemas Setor de Desenvolvimento de Sistemas - TRE-SC tel : (048) - 251-3700 - Ramal 3181

Re: Memory Leak Solution?

2004-04-02 Thread Emerson Cargnin
delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Emerson Cargnin Analista de Sistemas Setor de

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 code

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

2004-04-02 Thread Emerson Cargnin
, this 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

  1   2   >