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: [EMA

How to recognize real webapps?

2007-04-09 Thread Corobitsyn Roman
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..0x4e71e

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

Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread Corobitsyn Roman
Hello Eric, Try to check OS permissions for dir webapps/myapp/conf Tuesday, August 1, 2006, 4:36:09 PM, you wrote: RE> Hello all, RE> When I start tomcat, I get several messages like these: RE> java.io.FileNotFoundException: RE> /usr/local/tomcat5/webapps/myapp/conf/myapp.properties (No

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

2006-05-22 Thread Corobitsyn Roman
ot decrease the load at all. 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 classload

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

2006-05-22 Thread Corobitsyn Roman
If so, could you tell me what is the point? It's pretty impossible to do DD> anything without .jar files in a java webapp :) DD> If what you want to avoid is people browsing a uploading .jar files DD> Unless you have a very badly written webapp it's already impossible :) DD> Co

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

Re: display exception in log

2006-05-17 Thread Corobitsyn Roman
Hello Tony, In Context container you must point swallowOutput="true" http://tomcat.apache.org/tomcat-5.5-doc/config/context.html "If the value of this flag is true, the bytes output to System.out and System.err by the web application will be redirected to the web application logger. If not spe

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 You wrote I created a context for my webapp with a file named teste.xml under the f> conf\Catalina\localhost with de content: f> crossContext="true" debug="3"> f> f> In my app I have

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

2006-04-23 Thread Corobitsyn Roman
u know how 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 iptabl

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

2006-04-17 Thread Corobitsyn Roman
hat 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"

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>

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

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

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[2]: Better Linux Distribution for production environment

2006-03-23 Thread Corobitsyn Roman
KE> I prefer Debian on all my production systems. It is very stable. I use KE> packages for only underlying components like openssl and custom compile my KE> Apache, Tomcat MySQL etc. KE> One of my systems has 2 processors, 4 gb RAM and lots of virtual hosts, jsps KE> and servlets on Debian and it

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.