RE: how to redirect System.out, or a relevant link please

2002-03-22 Thread Furmaniak Christophe

you want to see the trace of your System.out.print? nothing in catalina.out?

CF



 -Message d'origine-
 De : Leila Lappin [mailto:[EMAIL PROTECTED]]
 Envoyé : vendredi 22 mars 2002 19:51
 À : Tomcat Users List
 Objet : how to redirect System.out, or a relevant link please
 
 
 Hello everyone,
 
 Could someone please send me a link to find information on 
 redirecting system.out and system.err.  I've been to 
 http://www.jguru.com/faq/view.jsp?EID=302980 they suggested 
 reading the relevant discussion on the archived mailing list 
 http://mikal.org/interests/java/tomcat/archive/search?start=60
 search=how+to+redirect ).  I'm still reading through and 
 haven't found the answer.
 
 I've setup Logger tag in server.xml and it points to 
 org.apache.catalina.logger.FileLogger. I get all messages 
 generated by tomcat but nothing from my own diagnostics.  

 I'm using tomcat-4.0.2 on Redhat 7.2.
 
 thanks in advance for your help.
 Leila
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: many java processes

2002-03-21 Thread Furmaniak Christophe

 
 pstree -p might help to show what get's started by what
 

and if you prefer to have a true ps output, just try ps -faux


CF


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Furmaniak Christophe

Good job!

Except that you might specify that creating two instances of the tomcat
installation is not needed as you can share the main binaries and libs by
specifying 2 distinct CATALINA_BASE variables.


Just maybe one more question, why does Craig R. McClanahan did first answer
that load balancing was not working in TC4 and then Remy Maucherat answered
it worked by specifying the jvmRoute param for the engine?

What does not work and what does work in load balancing?

Christophe



 -Message d'origine-
 De : Pascal Forget [mailto:[EMAIL PROTECTED]]
 Envoyé : vendredi 25 janvier 2002 04:01
 À : Tomcat Users List
 Objet : Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO
 
 
 Hi All,
 
 As promised, this article contains step by step
 instructions for configuring an Apache 1.3.23 web
 server which handles static content and delegates
 JSP (Java Server Pages) and Servlet requests to two
 Tomcat 4.0.2 Beta2 servers using AJP 13 connectors
 and a load balancing worker on Linux.
 
 http://www.ubeans.com/tomcat
 
 Enjoy,
 
 Pascal
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO

2002-01-25 Thread Furmaniak Christophe

ok, thx.

Does it work only for mod_jk?

Christophe


 -Message d'origine-
 De : Remy Maucherat [mailto:[EMAIL PROTECTED]]
 Envoyé : vendredi 25 janvier 2002 15:21
 À : Tomcat Users List
 Objet : Re: Apache 1.3.23 + Tomcat 4.0.2 Load balancing HOWTO
 
 
  Just maybe one more question, why does Craig R. McClanahan did first
 answer
  that load balancing was not working in TC4 and then Remy Maucherat
 answered
  it worked by specifying the jvmRoute param for the engine?
 
 Because Craig was probably not aware of all the details, 
 since he didn't
 participate in the development of the feature.
 Also, the development process, as well as the timing of the 
 code inclusion
 (just before release) was quite confusing. Plus of course, 
 it's undocumented
 at the moment (will be fixed for 4.0.2 final).
 
 Remy
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: File Download - CSV question ****

2001-10-26 Thread Furmaniak Christophe

 
 I order to reduce the variable, I tried installing TC4.0 on the same 
 windows based machine. I am using the same client for both( IE5.0 ).
 
 Results:
 TC3.2 will present a popup box for downloading files with 
 .CSV extention.
 TC4.0 throws data directly up on the screen.
 
 
 Is there any reason for this? Can I change the configuration? 
 
 Is this a MIME type problem?
 
The next question is: is it a real .csv file or is it a file generated on
the fly by a servlet?

CF

 
 -Original Message-
 From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 24, 2001 10:11 PM
 To: Tomcat-User
 Subject: Re: File Download - CSV question 
 
 
 Are you using the same client between the two servers?  IE seems to
 consider itself more important than mimetypes, and if it sees a file
 extension it recognises it treats it as it deems fit, 
 regardless of the
 mimetype.  So one possibility is that you have just installed excel or
 something on the client, and IE is redirecting the download there.
 
 another option is that the mimetype being sent in tomcat 4.0 
 is different
 to 3.x, but I'm not sure about this, so will let someone else 
 answer this
 option.
 
 if you outline exactly what client/server you were using 
 before, and now,
 it will make the question more specific.  for intsance, tc3.2 
 on windows
 with a win98 client with IE4.0 and now using tc4.0 on linux 
 with a win2k
 client with IE5.0.
 
 cheers
 dim
 
 On Wed, 24 Oct 2001, Evan Swanson wrote:
 
  
  I wrote an application that for Tomcat 3.2 running on 
 window. In the HTML
  the is a reference ( A HREF=/filname.csv ) to the filename. 
  When I run this on windows I get a popup save as selection box. 
  When I run this on Tomcat4.0 on Unix it no longer gives me 
 the selection
 box
  but instead displays the data on the screen.
  
  Is this a difference between TC32 adn TC40 or Unix / Windows.
  Is this configurable.
  
  
  Thanks in advance.
  
  
 



RE: How to disable tomcat webserver ?

2001-02-02 Thread Furmaniak Christophe

check this http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml
http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml 
 
cF
 

-Message d'origine-
De: Marc Leblanc [mailto:[EMAIL PROTECTED]]
Date: vendredi 2 fvrier 2001 17:45
: [EMAIL PROTECTED]
Objet: How to disable tomcat webserver ?




Hi everyone ,
 
we devellope with tomcat/cocoon but recently ive noticed that everyone on
the net can see our code beacause tomcat allow people to browse the
directory where our code his.
 
anyone know how to shutdown the tomcat webserver or simply configure it ,
that he will not let everyone browse the directory.
 
i try with httpd.conf of apache with Directory and Location but was
unable to prevent this.
 
Thank you
Marc Leblanc
Nomad Logic
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: session variables in a server farm

2001-01-31 Thread Furmaniak Christophe

 
 Is there an elegant way to implement session variables in a 
 load balancing
 senario? If I understand correcty everything is stored on the
 server and a sessionID is store in the users browser so that the 
 server can look it up. But what happens when the user gets routed
 to another server which doesn't have their info stored in the session,
 we wouldn't want them to log in again.  We though about placing this
 info in our ejb layer. But we'd like to not have to do a remote call
 just for authentication purposes.
 

did you have a look at
http://java.apache.org/jserv/howto.load-balancing.html ?

CF

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]