Programmatic set up for logging

2007-06-04 Thread Corobitsyn Roman
Hello list, Does anybody know how to set up programmatic logging? Result of this tunning must be identical with logging.properties? Thank - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Is there opportunity to replicate configuration files for nodes of cluster?

2007-05-28 Thread Corobitsyn Roman
Hello list Is there opportunity to replicate configuration files for nodes of cluster? Thx - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

How to recognize real webapps?

2007-04-09 Thread Corobitsyn Roman
you in advance Best regards, Corobitsyn Roman PS: I don't know what users typed in their browsers Full thread dump Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode): . TP-Processor3 daemon prio=1 tid=0x094558f0 nid=0x1b62 runnable [0x4e71d000..0x4e71eec0

Re: Tomcat as root and security issues

2007-01-28 Thread Corobitsyn Roman
Hi Try it http://wiki.apache.org/tomcat/HowTo#head-18d1c3f3fa702a1be769340784515eecce6e0ac9 JR jsvc works well for this but I haven't been able to figure JR out if it invokes java security, ideally using the JR catalina.policy. Does anyone know? Christopher Schultz [EMAIL PROTECTED] 1/26/2007

How to limit placing of jar-files in the user webapps?

2006-05-22 Thread Corobitsyn Roman
How to limit placing of jar-files in the user webapps? In other words, it is necessary to forbid, to the user to place jar-files in directory WEB-INF/lib You will recommend what suitable ways? Thanx for any help BR, Corobitsyn Roman

Re: How to limit placing of jar-files in the user webapps?

2006-05-22 Thread Corobitsyn Roman
Corobitsyn Roman wrote: How to limit placing of jar-files in the user webapps? In other words, it is necessary to forbid, to the user to place jar-files in directory WEB-INF/lib You will recommend what suitable ways? Thanx for any help BR, Corobitsyn Roman

Re: How to limit placing of jar-files in the user webapps?

2006-05-22 Thread Corobitsyn Roman
. DD On the other hand, even with only .jsps it is possibile to easily DD exhaust tomcat memory very quickly by mis use of ThreadLocal DD And, as far as i know, there is no way to remove use of WEB-INF/lib DD unless you hack the tomcat webapp classloader code DD Corobitsyn Roman wrote: Hello David

Re: Object sharing

2006-05-21 Thread Corobitsyn Roman
Hi Sharing is possible with Tomcat You must put your objects in shared classloader For example: public class ObjectPool { private static ObjectPool objectPool = null; private ObjectPool { // initialize object } public synchronized static ObjectPool

Re: Context Problem

2006-05-17 Thread Corobitsyn Roman
Hello fretzlaff, See http://tomcat.apache.org/tomcat-5.5-doc/config/context.html for atributes for container Context You wrote Context patch=/test ... must be Context path=/test ... What is atribute debug? I did not found this in docs. Also see tomcat's logs and output f I created a context

Re[4]: Tomcat works on Linux localhost but not in the network

2006-04-23 Thread Corobitsyn Roman
to enable the firewall and allow jl access to the port 8080 only jl I'm running RedHat EE r3 jl Thanks jl --- Corobitsyn Roman [EMAIL PROTECTED] wrote: You must check your network and firewall settings. Try to use iptables E.g. in SUSE can help SUSEFirewall2 (edit /etc/sysconfig/SuSEFirewall2

Re[2]: Tomcat works on Linux localhost but not in the network

2006-04-17 Thread Corobitsyn Roman
if that is the problem .??? jl Thanks again jl --- Corobitsyn Roman [EMAIL PROTECTED] wrote: Perhaps, you must to set up your firewall jl I recently installed Tomcat on a Linux Machine when I jl tried localhost:8080 I get the welcome page nut if I jl call the same from another computer on the network i jl

Re: Tomcat works on Linux localhost but not in the network

2006-04-16 Thread Corobitsyn Roman
Perhaps, you must to set up your firewall jl I recently installed Tomcat on a Linux Machine when I jl tried localhost:8080 I get the welcome page nut if I jl call the same from another computer on the network i jl don 't get any response at all jl Plase any help will be welcome... jl

JAAS for shared virtual hosting

2006-04-11 Thread Corobitsyn Roman
Hello list Is there most preferred way to use JAAS with Tomcat 5.5 for shared virtual hosting? I have read many articles about using JAAS in Tomcat but no ones says how approximate how to make this. many thanks -- Best regards, Corobitsyn Roman

Re: JAAS for shared virtual hosting

2006-04-11 Thread Corobitsyn Roman
Somebody has ideas? CR Hello list CR Is there most preferred way to use JAAS with Tomcat 5.5 for shared CR virtual hosting? CR I have read many articles about using JAAS in Tomcat but no ones says CR how approximate how to make this. CR many thanks

Context tuning problem

2006-04-07 Thread Corobitsyn Roman
Hello all I use Tomcat 5.5.15 on Win2000 Prof, jdk 1.5.0 I have some problems with context tuning. I RTFM, googled but I can't find solution Please help Problem description I have my web-application in c:/apps/www. This application is default for host localhost1 My server.xml is here ...

Re: Running Two Web Sites in Tomcat 5

2006-03-28 Thread Corobitsyn Roman
You must RTFM http://tomcat.apache.org/tomcat-5.5-doc/ http://tomcat.apache.org/tomcat-5.5-doc/connectors.html http://httpd.apache.org/docs http://httpd.apache.org/docs/2.2/vhosts/name-based.html SA Hi, I am to host two websites in Tomcat 5. What should I do. This is the SA scenario. SA I have

Re: Content-Encoding: chunked or Transfer-Encoding: chunked

2006-03-03 Thread Corobitsyn Roman
Hello COURTAULT, Friday, March 3, 2006, 1:47:19 PM, you wrote: CF Hello, CF Do you know if these options are supported by Tomcat 5.x ? CF Regards. Of course If 4.x support this feature, then 5.x supports one in 4.1.31 see DefaultHeaders.java HttpRequestStream.java HttpResponseStream.java.