Opposite of Persistent manager

2003-08-27 Thread achana
Hi all. Currently I am using session timeout on web.xml Ideally if a user walks away from the terminal, even for a short while, the session dies and the display is cleared. I guess that has to be handled programmaticaly rather than through TC4. ??? TIA :-) --

Re: Dynamically update server.xml & httpd.conf

2003-08-27 Thread Fred Kreek
At 21:22 26/08/03, you wrote: Tomcat 4 = no Tomcat 5 = I believe so Apache = yes ($APACHE_HOME/bin/apachectl graceful OR $APACHE_HOME/bin/apachectl restart) John Lars Nielsen Lind wrote: Hi. Is it possible to update and implement changes in server.xml and httpd.conf while Apache/Tomcat is run

Re: request.getRemoteUser() only non-null on protected pages

2003-08-27 Thread Bill Barker
Yup. That pretty much sums it up. Tomcat provides authentication information if it needs to, and otherwise doesn't. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Any comments, PLEASE... Could this be relavant ? http://marc.theaimsgroup.com/?l=jboss-user&m=103680567313168&w=2

Re: No need for catalina.policy?

2003-08-27 Thread achana
 How does a malicious foreign applet come to be on my linux/apache2 web-server where only two ports are listening and most services disabled ? The only way the applets can communicate with the servlets is through an a2s http-tunnel! Does this relate a "threat mode" where the threat comes from wit

Re: tomcat - request thread pool question

2003-08-27 Thread Bill Barker
Pretty much what Yoav said ;). If the servlet throws an exception out of the service method, Tomcat can't be sure that the input stream was fully read, so it doesn't know what the next data it's going to read is. In the case of an Exception, it is (usually) a clean shutdown (Tomcat sends a 'Conne

vhosts and workers

2003-08-27 Thread Christopher Garrett
I'm in the process of configuration Tomcat 4.1.27 to communicate with Apache 1.3.28 through mod_jk on a single machine. I have several virtual hosts set up on my server in the following way: /home/vhost1, /home/vhost2, etc.. I would like to configure Apache/Tomcat to allow users of these vhosts to

Re: Debug tomcat session serialization

2003-08-27 Thread Bill Barker
It looks like you have to explictly configure the Manager to get this info: Note: I haven't tested this, and only spent about a minute looking at the code, so this may not work. "Sasha Borodin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Where do I have to up the debug leve

Manager Application and catalina.policy?

2003-08-27 Thread achana
H Does HttpConnector have to be enabled on some port e.g. 8080 to use Manager Application ? I am happy with just Ajp at the moment. I am on TC4.0.x and it is not possible to upgrade to TC4.1.x at the moment. Cheers :-) "Shapira, Yoav" wrote: > > Howdy, > No, you're not right. The two provi

Re: Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Bill Barker
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22734. You can also search bugzilla, since this one has come up several times (this is just the latest incarnation :). "Neil Aggarwal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello: > > I am getting a failure in my code w

Re: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread Bill Barker
For (now somewhat outdated) security reasons, Tomcat ships the jmx jar in server/lib so that it is only accessable to Tomcat internals (and trusted webapps like 'admin'). It should be enough to move the jar to common/lib to get access to the JMX server. You may also have to move the commons-model

Re: [ANN] Apache Tomcat 5.0.9 Beta released

2003-08-27 Thread Bill Barker
This part of Tomcat didn't really change all that much from 4.1.x. There are no changes on the Apache side (i.e. you can use the same binaries for mod_jk(2) that you use for 4.1.x). Warp (aka mod_webapp) is not supported. On the Tomcat side, only the CoyoteConnector is supported. Other than that

Re: How to get reference of MBeanServer in Tomcat

2003-08-27 Thread Kwok Peng Tuck
Have a look a the source code for the Admin Webapp for tomcat. It uses JMX. s p wrote: I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other applica

MEI Whitelist Dequarantine Notice

2003-08-27 Thread paul
This message has been dequarantined. Although the system only presents the first 55 lines here, the original message was sent to paul intact. > From [EMAIL PROTECTED] Tue Aug 26 22:58:11 2003 > Return-Path: <[EMAIL PROTECTED]> > Received: from apache.org (daedalus.apache.org [208.185.179.12]) >

How to get reference of MBeanServer in Tomcat

2003-08-27 Thread s p
I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other application servers like weblogic and webshere. But I did not find suitable APIs for Tomcat. Any h

How reference of MBeanServer

2003-08-27 Thread s p
I am using JMX technology to get information of Tomcat server. I am unable to get the reference of the MBeanServer in Tomcat. Has any one worked on this before. I am able get the information for other application servers like weblogic and webshere. But I did not find suitable APIs for Tomcat. Any h

MEI Whitelist Dequarantine Notice

2003-08-27 Thread paul
This message has been dequarantined. Although the system only presents the first 55 lines here, the original message was sent to paul intact. > From [EMAIL PROTECTED] Tue Aug 26 22:14:42 2003 > Return-Path: <[EMAIL PROTECTED]> > Received: from apache.org (daedalus.apache.org [208.185.179.12]) >

RE: Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Neil Aggarwal
Filip: There is no space in the url, it is an underscore. As far as the last slash, why would it work correctly with cookies on and not with cookies off? It should work the same with and without cookies. If it did not work in both cases, that would make sense to me. Thanks, Neil --

RE: javac problems with Tomcat as NT Service

2003-08-27 Thread John Corrigan
Far simpler to just edit the registry. -Original Message- From: Shatzer, Larry [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 2:31 PM To: 'Tomcat Users List' Subject: RE: javac problems with Tomcat as NT Service > -Original Message- > From: Turansky, Mark [mailto:[EMAIL

Re: mysql connection pooling problem

2003-08-27 Thread Eugene Lee
On Tue, Aug 26, 2003 at 08:25:31AM -0600, Steve Wilkinson wrote: : : I followed the example at : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/jndi-datasource-examples-howto.html#MySQL%20DBCP%20Example. : : The only thing I see wrong is the following line of code: : : DataSource ds =

RE: javac problems with Tomcat as NT Service

2003-08-27 Thread Shatzer, Larry
> -Original Message- > From: Turansky, Mark [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 1:57 PM > To: [EMAIL PROTECTED] > Subject: javac problems with Tomcat as NT Service > > Is there a way to set the Tomcat service to use my JAVA_HOME > installation instead of the Program

Re: ContextConfig.tldScanJar error on Linux but not Solaris

2003-08-27 Thread Jean-Francois Arcand
Hi, are you sure you have all the patches to run java? Be sure you have everything...if that still doesn't work, go the a java.sun.com forum and ask the question there (this is a jdk/vm problem) -- Jeanfrancois [EMAIL PROTECTED] wrote: Hi, I am getting the following error with Tomcat 4.1.24,

RE: Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Filip Hanik
that is a funky url, it has a space in it, and the last "/" should be encoded Filip > -Original Message- > From: Neil Aggarwal [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 5:45 PM > To: 'Tomcat-User' > Cc: Jeff Patterson > Subject: Request dispatcher fails on encoded url whe

Request dispatcher fails on encoded url when used in post (Bug?)

2003-08-27 Thread Neil Aggarwal
Hello: I am getting a failure in my code when using a request dispatcher to forward the request to an encoded url from a post operation. To see it in action, do the following: 1. Turn off cookies on your browser 2. Visit http://dev.jammconsulting.com/gen?_template=/index.jsp 3. Hit the Test butto

Re: request.getRemoteUser() only non-null on protected pages

2003-08-27 Thread Christopher Williams
Which type of authentication are you using. I find that SSL-Slient authentication causes getUserPrincipal() (or getRemoteUser()) to return null. I don't know why this is. BASIC or DIGEST authentication should work OK, though. If you describe your problem to me again, I may have some insights as

Reverse Proxy with 4.1.27

2003-08-27 Thread Brian Peterson
Many thanks to Henrik and Bill for helping me to get enough info to debug. Replying to my own, and changing subject to reflect changes in environment. Anybody have any idea why Tomcat would not honor 1.0 keep-alives? In general or specifically from a Squid proxy. I've included the request dumpe

jsp:include

2003-08-27 Thread Luke Vanderfluit
Hi, I want to include the output of a sevlet in my html page. I have the following: BlockOfHTMLCODE BlockOfHTMLCODE in my html file, The first block of HTML is output, then the server output is output but the last block of html is not output, can someone help and tell me why that is, thank

RE: Tomcat 3.2.4 behind a proxy

2003-08-27 Thread Brian Peterson
Hello, You may want to upgrade to a 4.1.x or 5.0.x version of Tomcat. I'm having issues with certain keep-alives in 4.1.27, but other than that the reverse proxy setup I have seems to work well. Good Luck! Brian Peterson > -Original Message- > From: Armenio Pinto [mailto:[EMAIL PROTECT

RE : Dynamically update server.xml & httpd.conf

2003-08-27 Thread Sylvain Barrette
Graceful restart for Apache 2.0 http://httpd.apache.org/docs-2.0/stopping.html#graceful Or 1.3 http://httpd.apache.org/docs/stopping.html >Jonh Turner wrote: >Yep, its a restart. If you use "restart" then all open connections will >be dropped. If you use "graceful", Apache will block new r

<    1   2