RE: How to turn off perssitent sessions in Tomcat 4.1?

2005-08-04 Thread ajith.skumar
I am waiting for a good response. Can any body help me out in this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 6:01 PM To: tomcat-user@jakarta.apache.org Subject: RE: How to turn off perssitent sessions in Tomcat 4.1? Hi

How bind Tomcat to an IP address?

2005-08-04 Thread Andrea Senatore
Hi all, I have installed jakarta-tomcat-4.1.18-LE-jdk14 on my windows 2000. I tried it locally typing in my browser http://localhost:8080 and all works fine. As I need to use Tomcat on machine different from mine I tried to change the address which Tomcat is listening to. I read on HOW-TO that you

How bind Tomcat to an IP address?

2005-08-04 Thread Andrea Senatore
Hi all, I have installed jakarta-tomcat-4.1.18-LE-jdk14 on my windows 2000. I tried it locally typing in my browser http://localhost:8080 and all works fine. As I need to use Tomcat on machine different from mine I tried to change the address which Tomcat is listening to. I read on HOW-TO that you

Regarding JDBC Driver error

2005-08-04 Thread tomcat
Hi all Placing jar in the tomcat_home/common/lib works fine. but placing jar in the webapp/application_name/WEB-INF/lib throws JDBC Driver error i think this is due to classloader.could anyone explain me in detail why placing a jar under WEB-INF/lib throws error reason? regards, siva

Re: How bind Tomcat to an IP address?

2005-08-04 Thread Justin Jaynes
Andrea, Let's say you install tomcat on machine A, (your server), and your network administrator has given that machine the address of 192.168.0.7. You and want to reach the server from a machine B, your workstation. All you need to do (assuming they are on the same network and properly

Re: How bind Tomcat to an IP address?

2005-08-04 Thread Andrea Senatore
Hi Justin, thanks for fast reply! I'm sorry but I'm rookie on Tomcat. What I've written is what happens, i.e. when I try to connect to Tomcat server typing localhost address (http://localhost:port) all works. If I type in the browser my IP address (http://myIP:port) the server doesn't accept any

RE: 1 jakarta server + multiple ip's

2005-08-04 Thread Peter Crowther
From: Justin Jaynes [mailto:[EMAIL PROTECTED] I tried the solution you offered (below) about creating more than one service and using the address=xxx parameter in the Connectors tags. It works great. Glad to hear it. However, what do you mean in your disclaimer that it is from the

Blog: JK1.2 load balancing as solution to 100% uptime

2005-08-04 Thread Allistair Crossley
Hi Chaps, If anyone is interested, I blogged last night on my experience setting up 2 tomcats on 1 server and then load balancing them with JK 1.2, and tested that bringing 1 down, and then back up did not lose any requests. This for my web application is an ideal way to avoid downtime

Exception initializing TldLocationsCache: zip file closed

2005-08-04 Thread IndianAtTech
Hi All, What is this Bug?? Exception initializing TldLocationsCache: zip file closed This exception wasn't logged till yesterday. What ever the log messages I have in my Java classess, I am not able to see them and find the above specified error in log file. I am using tomcat 4.3.2 and my JSP

Re: Blog: JK1.2 load balancing as solution to 100% uptime

2005-08-04 Thread Mladen Turk
Allistair Crossley wrote: Hi Chaps, If anyone is interested, I blogged last night on my experience setting up ... It would be great if you provide a link to your blog :) Regards, Mladen. - To unsubscribe, e-mail: [EMAIL

RE: Regarding JDBC Driver error

2005-08-04 Thread ajith.skumar
Hi Siva, Jar files placed in CATALINA_HOME/common/lib are visible both to all of your web applications and internal Tomcat code. I think u must be using JDBCRealm for your application security and this is managed by Tomcat internally. So u got error when u put your JDBC driver jar file in

Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Bootstrap

2005-08-04 Thread Rainer Jung
CVS head now includes an improvement: 1) If the directory containing tomcat-users.xml is not writeable you will get a nice warning instead of a strange exception. 2) You can configure the MemoryUserDatabase with the attribute readonly=true. Then there will be not write attempt at all.

Re: Blog: JK1.2 load balancing as solution to 100% uptime

2005-08-04 Thread Jon Wingfield
From one of Allistair's posts yesterday: www.adcworks.com/blog Mladen Turk wrote: Allistair Crossley wrote: Hi Chaps, If anyone is interested, I blogged last night on my experience setting up ... It would be great if you provide a link to your blog :) Regards, Mladen.

How to exclude weak ciphers from SSL in 5.5?

2005-08-04 Thread Paul Singleton
How can I best prevent the use of allegedly weak ciphers with my SSL-enabled Tomcat 5.5.9 setup? E.g. NULL-SHA (no encryption or key exchange) EXP-DES-CBC-SHA (40 bit encryption) DES-CBC-SHA (56 bit) etc. All I can find is the Connector attribute ciphers = comma separated list of

Connection reset by peer: socket write error

2005-08-04 Thread Frank Schaare
Hi, i´m in trouble with a Tomcat 4.1.29 (Standalone, no Apache !, Win2K) acting as as Mapserver. It seems to work fine, but writes tons of exceptions to isapi.log and sterr.log. I´ve googled a few hours withe the result, that 'Connection reset by peer' may happen when the client presses the

Re: Using more than one SSL cert in keystore?

2005-08-04 Thread Paul Singleton
Justin Jaynes wrote: ...But now I would like to put up a new site that is completely independant of the others. It needs its own SSL cert and it needs four host names to all point to the same place and redirect to just one of the domain names so that the SSL cert will be valid, regardless of

war files not deploying on redhat

2005-08-04 Thread Paul Warner
Hello, I have read the documentation and searched the archives, and whatever I have found, I have tried, but still my .war files will not unpack and auto deploy. I have been running a tomcat server for several months in which the .war files unpacked and auto-deployed perfectly. But with this

Re: war files not deploying on redhat

2005-08-04 Thread Edgar Alves
Hi, I don't know if it was just a typo in your post, but AutoDeploy should be |autoDeploy. -- Edgar Alves | Paul Warner wrote: Hello, I have read the documentation and searched the archives, and whatever I have found, I have tried, but still my .war files will not unpack and auto deploy.

RE: war files not deploying on redhat

2005-08-04 Thread Paul Warner
Hi, I don't know if it was just a typo in your post, but AutoDeploy should be |autoDeploy. -- Edgar Alves Thanks for the quick answer and sharp eye - but it WAS a typo, sorry! In the server.xml file, it is listed as autoDeploy=true. It is the basic server.xml file, not really

Re: war files not deploying on redhat

2005-08-04 Thread Edgar Alves
A typo in a post about a typo... :) s/|autodeploy/autoDeploy/ Edgar Alves wrote: Hi, I don't know if it was just a typo in your post, but AutoDeploy should be |autoDeploy. -- Edgar Alves | Paul Warner wrote: - To

RE: Blog: JK1.2 load balancing as solution to 100% uptime

2005-08-04 Thread Allistair Crossley
Oops! :) http://www.adcworks.com/blog/index.php/archives/2005/08/03/load-balancing-with-tomcat-55-and-jk-12/ Cheers, Allistair. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 04 August 2005 12:42 To: Tomcat Users List Subject: Re: Blog: JK1.2 load balancing as

Cannot get symlinks in war to work in tomcat 5.0.28

2005-08-04 Thread Ben Ricker
I have an app that ahs to refernce http content outiside of the war. Since there are many references to the content using URI /context_name_for_app/help/foo.html, I cannot map the content to another context. I also did not want to have the 100s of MBs in the war. I am running Tomcat 5.0.28 with

Re: HELP: Tomcat 5.5.9 with jsvc as low priviledges user on Linux fails in Boots

2005-08-04 Thread MC Moisei
Thanks Rainer! Meanwhile what I did was to give root access to the conf folder.That worked as a charm. Right/Owner are chown -R tomcat:tomcat /usr/local/tomcat chown -R root:root /usr/local/tomcat/bin chown -R root:root /usr/local/tomcat/common chown -R root:root /usr/local/tomcat/conf

Help with a Class

2005-08-04 Thread Charles P. Killmer
Does Java provide any ability to do something like the following. C# and C++ both allow this functionlality and I am hoping that Java does as well %! public class myInteger { private Integer _test1; public Integer test1 { set { _test1 = value; } get

Problem with navigating a struts based webapp after logging in

2005-08-04 Thread Sujit Gangadharan
Hi We have a struts based web application running under Tomcat 4.1.12. There is this random issue that happens with certain users. The user logs in using the domain name, say http://www.xyz.com, he gets redirected to https://www.xyz.com. After the user logs in, he gets kicked out back to login

Re: Help with a Class

2005-08-04 Thread Wade Chandler
Yep...simple example of a class as a wrapper around the Integer class. Syntax way off and looks more like you're trying to do it in a JSP page where you would do it in a library. So surejust read a good java book for syntax and maybe some of the java tutorial and you can get all the info you

suppress directory listing

2005-08-04 Thread Paul Singleton
My JSP app has a /images folder and Tomcat 5.5.9 happily serves up a directory listing of this: how can I suppress this? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 3/Aug/2005

Re: suppress directory listing

2005-08-04 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#listing -Tim Paul Singleton wrote: My JSP app has a /images folder and Tomcat 5.5.9 happily serves up a directory listing of this: how can I suppress this? Paul Singleton -

RE: suppress directory listing

2005-08-04 Thread Arup Vidyerthy
In your TOMCAT_HOME/conf/web.xml there is some stuff that looks like this: servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-class init-param param-namedebug/param-name param-value0/param-value

Installing Tomcat 5.5 viewing site to see if works

2005-08-04 Thread Andrea Becker
Hello, I am having problems getting Tomcat 5.5 installed. Do you have to enter a Username Password at the time of installation where it has the number 8080 listed? Once I have java downloaded and tomcat downloaded the Compat zip

Re: suppress directory listing

2005-08-04 Thread Stephen Caine
Paul, My JSP app has a /images folder and Tomcat 5.5.9 happily serves up a directory listing of this: how can I suppress this? Just add a filed named, index.html, to the directory. You can put whatever you want in the file. I often put, Access Prohibited or some such thing. Stephen

Foro de Tomcat en español

2005-08-04 Thread Marcos Jara
Hola Quisiera hacerles una pregunta a las personas de habla hispana, si conocen algún foro interesante como este sobre Tomcat, (Java, JBoss no excluyente) Esta lista me parece muy interesante, solamente que no puedo entender muchas veces la escritura de los amigos, o talvés ellos no

Which Oracle JDBC Drive for JDK 1.5?

2005-08-04 Thread Chuck
Getting ready to build some applications on Tomcat 5.5.9 on Solaris 9 using jdk 1.5 rev 4 and Oracle 10.1.0.3 as my backend. I noticed there are JDBC drivers for 10.1.0.2 and 10.1.0.4. Which should I use? (or should I patch to 10.1.0.4) Thanks, CC -- To reply to this message, remove _NOSPAM_

Re: Which Oracle JDBC Drive for JDK 1.5?

2005-08-04 Thread Paul Singleton
I noticed there are JDBC drivers for 10.1.0.2 and 10.1.0.4. Which should I use? I've always found that Oracle JDBC drivers are backwards compatible (not that I've driven them very hard) so I'd use the .4 (or should I patch to 10.1.0.4) not if it ain't broke :-) Paul S. -- No virus found in

Re: Which Oracle JDBC Drive for JDK 1.5?

2005-08-04 Thread Woodchuck
fwiw, i'm still using the old 9.2.0.x oracle jdbc drivers with my new TC 5.5/JDK 5.0 setup. works fine as far as i can tell :p woodchuck --- Paul Singleton [EMAIL PROTECTED] wrote: I noticed there are JDBC drivers for 10.1.0.2 and 10.1.0.4. Which should I use? I've always found that

anonymising Tomcat

2005-08-04 Thread Paul Singleton
Is it possible to configure Tomcat (5.5.9) so that a moderately able hacker couldn't figure out what is serving up our web apps? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 3/Aug/2005

RE: anonymising Tomcat

2005-08-04 Thread MC Moisei
That a good question Paul. On top of that is there a way to threat/redirect requests to a different application while the requested application is being deployed ? From: Paul Singleton [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List

Re: Foro de Tomcat en español

2005-08-04 Thread Héctor A . Abreu
Dale un vistazo a www.programacion.com en la sección de foros Java (Servlets y JSP). Ahí suelen publicar mensajes de Tomcat. Saludos, Héctor. - Original Message - From: Marcos Jara [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, August 04, 2005 12:59 PM Subject:

RE: Foro de Tomcat en español

2005-08-04 Thread Martín Cabrera
http://www.javahispano.org Saludos/Regards Martín. -Mensaje original- De: Héctor A. Abreu [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 04 de Agosto de 2005 03:12 p.m. Para: Tomcat Users List Asunto: Re: Foro de Tomcat en español Dale un vistazo a www.programacion.com en la sección de

Bug in allowlinking on AIX?

2005-08-04 Thread Ben Ricker
I am definitely having an issue getting allowlinking=true to work in a Tomcat 5.0.28, JDK 1.4 on AIX 5.2 install. I have tried multiple scenarios using the following Host tag: Host name=host debug=0 appBase=/sys_apps_01/tomcat/test unpackWARs=true autoDeploy=true allowlinking=true deployXML=true

please ignore...test

2005-08-04 Thread Wade Chandler
test - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: suppress directory listing

2005-08-04 Thread Aaron Loucks
Override the default servlet in your application's web.xml: servlet servlet-namedefault/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet/servlet-clas s init-param param-namedebug/param-name param-value0/param-value /init-param init-param

Re: Why Tomcat 5.0.28 uses a context's log4j.jar and log4j.properties?

2005-08-04 Thread KwonNam Son
I solved this problem. It was not the problem of tomcat. I just added the following lines into log4j.properties # Remove org.apache.* logs log4j.logger.org.apache=WARN It was because of struts and Digester which is used by struts. So I change the log level of org.apache.*. 2005/8/3, KwonNam

Apache mod_rewrite + Tomcat clustering/ load balancing.

2005-08-04 Thread Sunkersett, Jeevan \(Cognizant\)
Hi, I hv clustered 2 Tomcat (version 5.0.18) instances on 2 physically different machines A and B. Individually accessible as http://machineA:8080 http://machinea:8080/ and http://machineB:8080 http://machineb:8080/ I have Apache 2.0.54 installed on machine A and following

Re: anonymising Tomcat

2005-08-04 Thread Bill Barker
Paul Singleton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to configure Tomcat (5.5.9) so that a moderately able hacker couldn't figure out what is serving up our web apps? As documented at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html: