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

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 and http://machineB:8080 I have Apache 2.0.54 installed on machine A and following

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 So

RE: suppress directory listing

2005-08-04 Thread Aaron Loucks
Override the default servlet in your application's web.xml: default org.apache.catalina.servlets.DefaultServlet debug 0 listings false 1 default /images Aaron Loucks Web Developer Gardner, Inc. 3641 Interchange Road Columbus, OH 43204 614.456.3492 ---

please ignore...test

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

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 tag: I can bring up the app but a request to "/help", which is a symlink in the war to a directory outside of the tomcat appli

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

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: Sent: Thursday, August 04, 2005 12:59 PM Subject: Foro de Tomcat en español

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" To: Tomcat Users List Subject: anonymising Tomcat Dat

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

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

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_ fr

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 entienda

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

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 Arup Vidyerthy
In your TOMCAT_HOME/conf/web.xml there is some stuff that looks like this: default org.apache.catalina.servlets.DefaultServlet debug 0 listings false 1 Notice the listing is switched o

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 - T

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

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

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

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 Having

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

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

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 rea

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 d

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 new

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 ho

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 s

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 = but I only know the ciphe

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. -

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. Detai

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 WEB-INF

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 P

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

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 durin

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

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 c

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 configur

Regarding JDBC Driver error

2005-08-04 Thread tomcat
Hi all Placing jar in the /common/lib works fine. but placing jar in the webapp//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 --