RE: Passing JVM parameters through the GUI in Tomcat 5.0.28

2007-11-27 Thread Karim Zaki
Hi Chuck, Great idea! :) I changed the service to log on as a domain user and it worked. Thanks a million. I don't know how that could have slipped my mind. Thanks again. Karim -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 6:14

Re: Java file name is displayed when the JSP file is accessed.

2007-11-27 Thread Ognjen Blagojevic
Pavan Singaraju wrote: i have a web application which is deployed on Tomcat 5.0.18. Sometimes when i am navigating to a page using menu of my application, it is displaying a java file name with full package name. The java file is a business logic processing location on the application. Why

RE: Tomcat implementation: please help

2007-11-27 Thread Patrick2901
Hi, the log file is empty! Then i've reinstalled everything: JDK and Tomcat. I've set the JAVA_HOME TOMCAT_HOME variables. I've changed the Tomcat port from 8080 to 1977; no change, logfile still empty and cannot find server. Caldarale, Charles R wrote: From: Patrick2901 [mailto:[EMAIL

additional ROOT folder

2007-11-27 Thread kz
Hi, Is it possible that I have more than one root folder? Regards, Khurram.

SV: additional ROOT folder

2007-11-27 Thread Wilhelmsen Tor Iver
Is it possible that I have more than one root folder? Yes, in the senses that * the same Tomcat install can be used to run multiple, separate instances on different ports, using different catalina.base folders * a Context in an instance can declare its own docBase folder elsewhere on the

AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-11-27 Thread Delian Krustev
Hi all, I'm running several similarly configured Tomcat containers all using security manager. On one of the instances I'm getting the following exception from the HTTP connector: Nov 26, 2007 7:42:19 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or

How to initialize variables when tomcat load a webservice?

2007-11-27 Thread Tomás Tormo
Hi I'm developing a webservice wich has to initialize some variables when it is loaded by tomcat (just because otherwise it is too slow). Can this be done? Has the client to initialize the class by means of the constructor or is tomcat the one that will initialize it? Thank you!

Tomcat 5.5, Apache 2.0.XX and mod_proxy

2007-11-27 Thread mip
I'm trying to proxy my Tomcat web application through Apache 2.0 using mod_proxy. I have uncommented the following in my server.xml: !-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about using this. -- Connector port=8082

[Windows service] how to update with new procrun (doc is deprecated)

2007-11-27 Thread galevsky
Hi all, I made a silent install of Tomcat 5.5 that generates a Tomcat5 Windows service, with JavaHome set reading my HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion key. But this key is false (still a 1.4 JRE) and I want to update the service during my install process to make

Re: How to initialize variables when tomcat load a webservice?

2007-11-27 Thread Delian Krustev
On Tue, 27 Nov 2007 13:18:47 +0100 Tomás Tormo wrote: I'm developing a webservice wich has to initialize some variables when it is loaded by tomcat (just because otherwise it is too slow). Can this be done? Has the client to initialize the class by means of the constructor or is tomcat the

Re: *SPAM* Re: How to initialize variables when tomcat load a webservice?

2007-11-27 Thread Tomás Tormo
Delian Krustev wrote: On Tue, 27 Nov 2007 13:18:47 +0100 Tomás Tormo wrote: I'm developing a webservice wich has to initialize some variables when it is loaded by tomcat (just because otherwise it is too slow). Can this be done? Has the client to initialize the class by means of the

Re: Tomcat 5.5, Apache 2.0.XX and mod_proxy

2007-11-27 Thread Peter Stavrinides
Thats because your configuration is incomplete, in order for Apache to pass the cookie to the correct context you need to do some additional configuration (or alternatively use a connector like mod_jk) You may need to configure the jvmRoute parameter in server.xml, this allows Apache to map

Re: Tomcat 5.5, Apache 2.0.XX and mod_proxy

2007-11-27 Thread Peter Stavrinides
It is just the port your Tomcat is running on, which could be any port, so if you are using 8082 that will be your port... it's better though not to be on port 80. mip wrote: Thanks Peter. Should that be: -- servers.conf -- T1 tomcat.server.com:8082 ALL

Re: Tomcat 5.5, Apache 2.0.XX and mod_proxy

2007-11-27 Thread mip
Thanks Peter. Should that be: -- servers.conf -- T1 tomcat.server.com:8082 ALL tomcat.server.com:8082 ? If not what is port 8081 being used for? Peter Stavrinides wrote: Thats because your configuration is incomplete, in order for Apache to pass the cookie

Re: make error : during apache install.

2007-11-27 Thread Shekhar . Dhotre
Mark, I did not know that. I apologize . I will start a new thread next time . Thanks for the info. Shekhar Mark Thomas [EMAIL PROTECTED] 11/19/2007 01:43 PM Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject Re: make

Re: Tomcat 5.5, Apache 2.0.XX and mod_proxy

2007-11-27 Thread mip
I have two apps which I am trying to proxy through Apache. How do I set up the servers.conf if I have two apps I need to proxy? I'm using Apache 2.0.52 and httpd.conf looks like: VirtualHost *:80 ServerName app1.mydomain.com ProxyPass / http://localhost:8082/app1/

Logging and debugging j_security_check problems

2007-11-27 Thread Ognjen Blagojevic
Hi all, I have problems using j_security_check, and I'm not sure is it DB access problem or something else. I would like to make Tomcat log all the messages regarding this, but I don't know how to configure it. I read /tomcat-6.0-doc/logging.html, but I can't rebuild tomcat extras, since

Re: multithreaded with taglibs

2007-11-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yair, Yair Ben-Meir wrote: Btw - i thought of something: maybe the img tag will run a thread, return an outout to the page with some new image name, and release the jsp to continue. The thread will do the work and save the new image under the name

No logging done when clientAuth=true

2007-11-27 Thread Aaron Shettleroe
I'm trying to configure Tomcat 5.5.25 to log failed requests to a Connector that has enabled mutual authentication. When I try to request a page from the secured port and fail to send the client certificate, Tomcat doesn't log this request! What do I need to do in order to have the failed

Re: Logging Framework

2007-11-27 Thread Marcin Waldowski
Meybe this one will help you: http://jamonapi.sourceforge.net/ Marcin Andrew Hole wrote: Hello! My java application writes relevant log of database procedures executions. My goal is to develop a report at intervals of 30 minutes with a summary, including requests slowest, and average time of

mod_proxy_html setup

2007-11-27 Thread Rocco Scappatura
I have some problem after reversing proxy a web app. After many research I inferred that mod_proxy_html could solve the problem of accessing my web app through reverse proxy. My big clue is to: 1) find the exact instructions to setup mod_proxy_html 2) find all the binaries needed For 1) I

Re: Tomcat 6.0.14 startup on Windows

2007-11-27 Thread Bruce
Thank you. That might be what I am looking for. zhongliang zhang wrote: C:\apache-tomcat-6.0.14\bintomcat6 //IS//Tomcat6 --DisplayName=Apache Tomcat 6 --Install=c:\apache-tomcat-6.0.14\bin\tomcat6.exe --Jvm=auto --StartMode=jvm --StopMode=jvm

Re: mod_proxy_html setup

2007-11-27 Thread Rainer Jung
Rocco Scappatura wrote: I have some problem after reversing proxy a web app. After many research I inferred that mod_proxy_html could solve the problem of accessing my web app through reverse proxy. My big clue is to: 1) find the exact instructions to setup mod_proxy_html 2) find all the

RE: mod_proxy_html setup

2007-11-27 Thread Rocco Scappatura
I have some problem after reversing proxy a web app. After many research I inferred that mod_proxy_html could solve the problem of accessing my web app through reverse proxy. My big clue is to: 1) find the exact instructions to setup mod_proxy_html 2) find all the binaries

Re: mod_proxy_html setup

2007-11-27 Thread Pid
Rocco Scappatura wrote: I have some problem after reversing proxy a web app. After many research I inferred that mod_proxy_html could solve the problem of accessing my web app through reverse proxy. My big clue is to: 1) find the exact instructions to setup mod_proxy_html 2) find

Re: Java file name is displayed when the JSP file is accessed.

2007-11-27 Thread david delbecq
You are probably trying to display a value in you jsp coming from a class that does not overrride 'toString', as the result java's default value for toString is packagename.classname@identifier example: [EMAIL PROTECTED] Ognjen Blagojevic a écrit : Pavan Singaraju wrote: i have a web

Tomcat 5.5 server.xml populating a context section by itself

2007-11-27 Thread Eddie Yee
Hi, I'm running Tomcat 5.5.25 on Solaris, and we are using a lot of environment entries in our applications. I have the environment entry specified in the conf/server.xml and also declared in the conf/context.xml.One thing I noticed is that our server.xml continually populates it's own

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-11-27 Thread Mark Thomas
Delian Krustev wrote: My guess is that either this is a bug in the Coyote HTTP connector or the security policy is not strict enough and one of the installed applications (third party, I don't have access to the source) modifies the security manager somehow. My modifications to the policy do

Re: [Windows service] how to update with new procrun (doc is deprecated)

2007-11-27 Thread Mark Thomas
galevsky wrote: I can't do it with the GUI bin\tomcat5w.exe, but I would like to run something like: - bin\tomcat5.exe //US//Tomcat5 --JavaHome=C:\Program Files\Java\JRE\1.5.0_11 I read it in the documentation at http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html, but it

Re: Tomcat 5.5 server.xml populating a context section by itself

2007-11-27 Thread Mark Thomas
Eddie Yee wrote: One thing I noticed is that our server.xml continually populates it's own context section for each application, even if I have it specified globally in the conf/context.xml. Could you expand on server.xml continually populates it's own context section for each application. I

Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread jnedzel
Folks: We're having an intermittent problem with Tomcat becoming non-responsive for a while (between 30 seconds and several minutes) and then recovering without any intervention. There are no error messages in the Tomcat logs. Any ideas what might be causing this or where to look? We're

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Alexey Solofnenko
Theoretically, the behaviour can be caused by network problems - [reverse] DNS could not be resolved (maybe for logging), file share becomes unavailable, etc. - Alexey. jnedzel wrote: Folks: We're having an intermittent problem with Tomcat becoming non-responsive for a while (between 30

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Delian Krustev
On Tue, 27 Nov 2007 10:58:24 -0800 (PST) jnedzel wrote: We're having an intermittent problem with Tomcat becoming non-responsive for a while (between 30 seconds and several minutes) and then recovering without any intervention. There are no error messages in the Tomcat logs. Any ideas what

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Martin Gainty
you'll want to max your logging to understand whats going on http://tomcat.apache.org/tomcat-5.5-doc/logging.html I concur with using JConsole *and logging* JMX is good for point in time System wide configuration snapshots If you are doing something like rendering giant PDF's or updating 1000's of

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread jnedzel
Our systems group is adding additional monitoring, but based on the monitoring currently in place we don't think it is due to network problems. We are adding more monitoring to see if could be caused by auto-mounter problems. Are there any cases where everything is working at the OS and network

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread jnedzel
Thanks, I'll look at maxing out the logging. There's only one webapp per Tomcat instance and none of them are heavily loaded. In the case of one system, the only webapp does hardly any updating (only tracks usage) and is basically query-only type of app that currently has very light usage. We

RE: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Caldarale, Charles R
From: jnedzel [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat becomes non-response for ~30 seconds Are there any cases where everything is working at the OS and network level but Tomcat itself hangs for 30 seconds or so? What JVM are you using? Older ones have been known to have long

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Hassan Schroeder
On Nov 27, 2007 12:25 PM, jnedzel [EMAIL PROTECTED] wrote: We are adding more monitoring to see if could be caused by auto-mounter problems. You're NFS-mounting resources that Tomcat uses via automounter?? I'd think that would be, er, problematic from the get-go :-) -- Hassan Schroeder

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Jim Cox
On Nov 27, 2007 3:30 PM, jnedzel [EMAIL PROTECTED] wrote: Thanks, I'll look at maxing out the logging. A simple thing to do would be to grab a stack dump with a kill -QUIT tomcat pid during one of these slow periods and see if anything jumps out at you, compare it to one from a normal period,

Re: [Windows service] how to update with new procrun (doc is deprecated)

2007-11-27 Thread galevsky
Mark Thomas markt at apache.org writes: The procrun docs are: http://commons.apache.org/daemon/procrun.html At first glance what you are doing looks right to me. What tells you it isn't working? Mark I 've just done another try: it is okay. In fact, I was mixing up --JAVA_HOME option

compiling APR/tcnative on Win32

2007-11-27 Thread Bruno Altobelli
Hello, I am trying to compile APR on Win32 without OpenSSL using the sources at http://tomcat.heanet.ie/native/ - manually removing references to any ssl library as I don't have autoconf (yet). I was able to compile the project called libtcnative without problems, but when trying to compile

Re: compiling APR/tcnative on Win32

2007-11-27 Thread Martin Gainty
Hi Bruno its supposed to be located in %SystemRoot%\system32\Rpcrt4.dll M-- - Original Message - From: Bruno Altobelli [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, November 27, 2007 5:45 PM Subject: compiling APR/tcnative on Win32 Hello, I am trying to compile APR on

Tomcat Clustering Support - Without any load balancer like component in the front

2007-11-27 Thread mfs
Guys, Pretty basic question, given this is my time experience on clustering where i am trying to use tomcat 6 clustering support. So basically i wanted to know if enabling the tomcat 6 clustering would be of any use without having a load-balancer in the front (something like mod_jk) ? well my

Tomcat's container architecture - Authenticator

2007-11-27 Thread Bárbara Vieira
Hi there! This question is about Authenticator package. I appreciate if anyone can help me. I’m implementing a Valve and a Realm to provides authentication and authorization using two authentications methods at the same time : FORM and CERT-CLIENT. Obviously, I’m looking to authenticator

Re: Tomcat Clustering Support - Without any load balancer like component in the front

2007-11-27 Thread mfs
Thanks for the quick reply Gary.. Some follow-up questions. 1) So the http server bundled with tomcat doesn't do any help ? like it doesnt provide any load-balancing implementation ? like e.g. mod-jk which has to be used in conjunction with apache...Further I presume mod-jk also handles the

Re: Tomcat Clustering Support - Without any load balancer like component in the front

2007-11-27 Thread Gary Evesson
mod_jk handles failover for you. Clustering tomcat makes it copy sessions to all members of the clusters so that any member of the cluster can take over the processing of a request seamlessly from any other. If you requests have no way of getting to the other members of the cluster, then there is

clustering iis with JK

2007-11-27 Thread Dmitry Beransky
Hi, Is it possible to implement the following setup with JK/isapi_redirect? 1. Two clustered IIS instances 2. Two load-balanced Tomcat instances 3. Each IIS uses JK to forward requests to two load-balanced Tomcat instances I know how to do each individual item in isolation, but I can't

Re: Logging Framework

2007-11-27 Thread Leon Rosenberg
gee! moskito.anotheria.net exact this ready to use. On Nov 26, 2007 1:27 PM, Andrew Hole [EMAIL PROTECTED] wrote: Hello! My java application writes relevant log of database procedures executions. My goal is to develop a report at intervals of 30 minutes with a summary, including requests