Re: Thread Pool

2007-06-11 Thread Dima Retov
May be your servlet should close connection after data is sent. and/or your program should close connection with server before second request. If your program connection keeps open because of keep alive then second request is sent via old connection that is assigned to servlet that have not compl

class loading framework

2007-06-10 Thread Dima Retov
Hello, I need server to listen tcp port and parse request. (not HTTP protocol) Is there tomcats class loader framework available as separate project? I have not found in Commons. -- Best regards, Dima mailto:[EMAIL PROTECTED] ---

Re: wildcard certs in tomcat

2007-03-31 Thread Dima Retov
Brian, You should create CSR and KEY for *.yourdomain.com. Submit CSR to CA CA will send you CRT and may be CAcert. You should install KEY, CRT and (if CA sent you CAcert) Tomcat may work with 2 types of cert. Java (keytool) certs. (tomcat without native connector) - these certs are not tomca

Re: How to request a client Certificate Authentication ?

2007-03-06 Thread Dima Retov
Hi, SSL stuff happens before any actual HTTP data is sent. It not possible to see request's URL at this stage. Dima Tuesday, March 6, 2007, 3:29:15 PM, you wrote: JAA> Hello, JAA> I try to implement a custom client certificate authentication, that does JAA> some complicated LDAP-lookups in th

Posting Xml

2007-02-21 Thread Dima Retov
Hello, Is that good idea to POST XML data to Tomcat? I wish to make HTTP request to servlet in Tomcat. Method POST Content Type: text/xml Content would be non encoded XML file. Is it good idea in general. My tomcat handles such requests now. Is it expected that it will work in future? Is ther

Small CMS

2007-01-07 Thread Dima Retov
Please, advise small CMS for tomcat. I need smallest possible CMS with set of skins to rapidly setup several sites. I tried several CMS but they are too big. 30MB war file. It would be great if they would use internal databases or just store info in files. Thank You! -- Best regards, Dima

Re: [OT] Will you install VISTA?

2006-12-30 Thread Dima Retov
Linux has chance to become top platform for watching and coping pirate HD-DVD :) I guess there would be Ubuntu Media Edition soon or Mubuntu. Happy New Year! Saturday, December 30, 2006, 4:02:48 PM, you wrote: LR> Hi, LR> I don't want to start a flame war on microsoft or something, but I LR> st

Re: Question about http connections

2006-12-22 Thread Dima Retov
Is it connection between apache and tomcat? May be it is in keepalive connection to reuse existent connections? -- Best regards, Dimamailto:[EMAIL PROTECTED] Friday, December 22, 2006, 7:29:54 PM, you wrote: VC> Hello there! We have a Jboss 4.0.1 server, and we're e

Re[2]: Multiple designing.

2006-12-21 Thread Dima Retov
implemented in tomcat's admin page. It is JSP app that is able to add recourses and adjust server.xml file. -- Best regards, Dimamailto:[EMAIL PROTECTED] Thursday, December 21, 2006, 10:47:39 AM, you wrote: WP> Dima Retov ??: >> WP> We are starting t

Re: Multiple designing.

2006-12-21 Thread Dima Retov
WP> We are starting to design a ISP level JSP virutal hosting system which WP> could serve JSP and Servlets. Would you use have 1 tomcat per server? If yes, Would you protect it from abusing code? e.g. Anyone would be able to upload code with infinite loops to server. -- Best regards, Dima

Re[4]: PHP on Tomcat

2006-12-20 Thread Dima Retov
all it? Wednesday, December 20, 2006, 7:31:06 PM, you wrote: R> Thanks Dima, R> I may not understand how the the php-java bridge works. It did not seem to R> allow a php application to run under Tomcat ? R> ran R> On 12/20/06, Dima Retov <[EMAIL PROTECTED]> wrote: >> &g

Re[2]: PHP on Tomcat

2006-12-20 Thread Dima Retov
Here is faster solution. http://php-java-bridge.sourceforge.net/ It runs PHP in FastCGI mode. (much faster then CGI) Tuesday, December 19, 2006, 10:40:52 PM, you wrote: d> Ran-2 wrote: >> >> Has anyone managed to get PHP4/5 to work on Tomcat ? d> Try here .. d> http://tools.herberlin.de/

Re[2]: Notification of expiring sessions

2006-12-19 Thread Dima Retov
I agree that it worth to avoid storing session in DB. It is not reasonable to load session data from DB every 20 seconds. You can handle session create/destroy events using class that implements following interface. http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSessionLis

Re[2]: PHP on Tomcat

2006-12-14 Thread Dima Retov
You should better try to use PHP in FastCGI mode. Both are not well supported on tomcat. You may also check caucho's Quercus. Friday, December 15, 2006, 2:48:31 AM, you wrote: HS> On 12/14/06, Ran <[EMAIL PROTECTED]> wrote: >> Has anyone managed to get PHP4/5 to work on Tomcat ? Do I still nee

Re: about dynamic class loading

2006-12-14 Thread Dima Retov
You should read about class loader in Java. It does not relates to tomcat. But tomcat implements classloader to load servlets, libraries and jsp. You can't force class unload except calling gc. Thursday, December 14, 2006, 6:02:06 PM, you wrote: XN> hi everyone, XN> I'd like to know wether Tomc

Re[2]: Is jsp designed for use by large websites

2006-12-06 Thread Dima Retov
CPU throttling and thread termination are essential for shared hosting. The only way to terminate bad application is kill VM. .NET has Application Domains. You are able to unload it without restart of hole VM. I think it is alreadfy possible to make CPU throttling in Java and even in Tomcat. You

FastCGI

2006-11-30 Thread Dima Retov
Does tomcat supports FastCGI? -- Best regards, Dima mailto:[EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re[2]: Is jsp designed for use by large websites

2006-11-30 Thread Dima Retov
There is java implementation of PHP. http://caucho.com/resin-3.1/doc/quercus.xtp Thursday, November 30, 2006, 5:24:41 PM, you wrote: CS> -BEGIN PGP SIGNED MESSAGE- CS> Hash: SHA1 CS> Martin, CS> Martin Gainty wrote: >> This is going O/T so feel free to ping me off the list >> >

Re[2]: Is jsp designed for use by large websites

2006-11-30 Thread Dima Retov
How do you know that there are more PHP developers then Java? -- Best regards, Dimamailto:[EMAIL PROTECTED] Thursday, November 30, 2006, 4:39:59 PM, you wrote: HKN> I am a jsp developer ,too, but honestly not a j2ee guru. HKN> I don't see any reason that jsp/j2ee w

JSP alternative to ASP.NET

2006-11-28 Thread Dima Retov
Is there alternative to ASP.NET/Visual Studio What I mean is there is something good as ASP.NET not just set of controls. RAD tools like Visual Studio. May be commercial. -- Best regards, Dima mailto:[EMAIL PROTECTED] -

Re[2]: APR / SSL in 5.5.20

2006-11-28 Thread Dima Retov
You are using certificate for java's SSL. You need certificate for openssl. May be you can convert certificate using following commands http://mark.foster.cc/kb/openssl-keytool.html Let me know if it worked for you. Tuesday, November 28, 2006, 5:39:17 AM, you wrote: DB> I saw this, but unfort

Re: Security restriction

2006-11-23 Thread Dima Retov
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/SecurityManager.html You can apply your own Security Manager like web browser does with applets. Thursday, November 23, 2006, 6:45:00 PM, you wrote: AK> Hello, AK> i have a quick question. AK> if i wanted to restrict what direct

Re: How to enable APR in windows to work comet with Tomcat 6.0

2006-11-22 Thread Dima Retov
I think comet does not use APR. Comet is pure Java code that uses NIO (java.nio). APR handles keep-alive using non-blocking native io (not java.nio) Wednesday, November 22, 2006, 6:31:41 AM, you wrote: JK> Hi everybody, JK> This jayant from iTG Pvt. Ltd. India. I want to use the new feature come

Re: JSP Syntax Error

2006-11-09 Thread Dima Retov
You have changed <% to <%= Thursday, November 9, 2006, 9:24:36 PM, you wrote: FML> I am trying to modify the snoop.jsp that comes with Tomcat 5.5.20. I FML> have the following snippet in my jsp and it compiles fine: FML> FML> Path info<% FML> out.print(util.HTMLFilter.filter(request.ge

Re[2]: Comet + tomcat6

2006-11-08 Thread Dima Retov
JK> If you could guide us or send us a link as to how to use APR and NIO JK> connectors (which support Comet). APR is not comet. NIO is comet. I do not think that APR support async IO. APR only handles sleeping keep-alive connections in async way. APR processes requests in regular way. Am I righ

Re[2]: Change welcome page

2006-11-07 Thread Dima Retov
It is better to add index.jsp that would redirect to business objects. You would not have to move business objects. index.jsp <% response.sendRedirect("http://localhost:8080/businessobjects/enterprise115/desktoplaunch";); %> Tuesday, November 7, 2006, 10:40:49 PM, you wrote: >> From: Fabian

Re[2]: How stable is tomcat

2006-11-01 Thread Dima Retov
Thanks Dave. What version of JVM have you used? Wednesday, November 1, 2006, 8:57:19 PM, you wrote: DK> Dima Retov wrote: >>How stable is tomcat with Sun's HotSpot JVM 1.5? >> >>Right now we have apache servers that are up for 3 and 4 months. >>So I guess

How stable is tomcat

2006-11-01 Thread Dima Retov
Wednesday, November 1, 2006, 8:19:07 PM, you wrote: CS> John, CS> John Gorkos wrote: >> On Wednesday 01 November 2006 11:58, Christopher Schultz wrote: >>> John Gorkos wrote: I use per-context JNDI handles to the same Postgres database for multiple apps running inside tomcat. Each

Re[2]: Performance throttling

2006-10-29 Thread Dima Retov
Thanks Chuck. ThreadMXBean (JMX) must be used to determine CPU time used by this thread to change thread priority dynamically. Saturday, October 28, 2006, 9:56:38 PM, you wrote: >> From: Dima Retov [mailto:[EMAIL PROTECTED] >> Subject: Performance throttling >> >>

Performance throttling

2006-10-28 Thread Dima Retov
Hi, Is that possible to do performance throttling (or shaping) in tomcat on per context base? -- Best regards, Dima mailto:[EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To